EventSetInformation function
Performs operations on a registration object.
Syntax
ULONG EventSetInformation( _In_ REGHANDLE RegHandle, _In_ EVENT_INFO_CLASS InformationClass, _In_ PVOID EventInformation, _In_ ULONG InformationLength );
Parameters
- RegHandle [in]
-
Type: REGHANDLE
Registration handle returned by EventRegister.
- InformationClass [in]
-
Type: EVENT_INFO_CLASS
Type of operation to be performed on the registration object.
- EventInformation [in]
-
Type: PVOID
The input buffer.
- InformationLength [in]
-
Type: ULONG
Size of the input buffer.
Return value
Type: ULONG
If the function succeeds, the return value is ERROR_SUCCESS.
If the function fails, the return value is one of the following error codes.
| Return code | Description |
|---|---|
|
The parameter is incorrect. This error is returned if the RegHandle parameter is not a valid registration handle. |
|
The request is not supported. |
|
Use FormatMessage to obtain the message string for the returned error. |
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also