mirror of https://github.com/dahall/Vanara.git
Fixed incorrect values in User32.WINEVENT (#398)
parent
8d84d71928
commit
19922b219d
|
@ -264,20 +264,17 @@ namespace Vanara.PInvoke
|
||||||
[Flags]
|
[Flags]
|
||||||
public enum WINEVENT
|
public enum WINEVENT
|
||||||
{
|
{
|
||||||
/// <summary>
|
|
||||||
/// The DLL that contains the callback function is mapped into the address space of the process that generates the event. With
|
|
||||||
/// this flag, the system sends event notifications to the callback function as they occur. The hook function must be in a DLL
|
|
||||||
/// when this flag is specified. This flag has no effect when both the calling process and the generating process are not 32-bit
|
|
||||||
/// or 64-bit processes, or when the generating process is a console application. For more information, see In-Context Hook Functions.
|
|
||||||
/// </summary>
|
|
||||||
WINEVENT_INCONTEXT = 0,
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The callback function is not mapped into the address space of the process that generates the event. Because the hook
|
/// The callback function is not mapped into the address space of the process that generates the event. Because the hook
|
||||||
/// function is called across process boundaries, the system must queue events. Although this method is asynchronous, events are
|
/// function is called across process boundaries, the system must queue events. Although this method is asynchronous, events are
|
||||||
/// guaranteed to be in sequential order. For more information, see Out-of-Context Hook Functions.
|
/// guaranteed to be in sequential order. For more information, see Out-of-Context Hook Functions.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
WINEVENT_OUTOFCONTEXT = 1,
|
WINEVENT_OUTOFCONTEXT = 0,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Prevents this instance of the hook from receiving the events that are generated by the thread that is registering this hook.
|
||||||
|
/// </summary>
|
||||||
|
WINEVENT_SKIPOWNTHREAD = 1,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Prevents this instance of the hook from receiving the events that are generated by threads in this process. This flag does
|
/// Prevents this instance of the hook from receiving the events that are generated by threads in this process. This flag does
|
||||||
|
@ -286,9 +283,12 @@ namespace Vanara.PInvoke
|
||||||
WINEVENT_SKIPOWNPROCESS = 2,
|
WINEVENT_SKIPOWNPROCESS = 2,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Prevents this instance of the hook from receiving the events that are generated by the thread that is registering this hook.
|
/// The DLL that contains the callback function is mapped into the address space of the process that generates the event. With
|
||||||
|
/// this flag, the system sends event notifications to the callback function as they occur. The hook function must be in a DLL
|
||||||
|
/// when this flag is specified. This flag has no effect when both the calling process and the generating process are not 32-bit
|
||||||
|
/// or 64-bit processes, or when the generating process is a console application. For more information, see In-Context Hook Functions.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
WINEVENT_SKIPOWNTHREAD = 4,
|
WINEVENT_INCONTEXT = 4,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue