Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SetPayload method sets the payload for an event.
Syntax
HRESULT SetPayload(
[in] BYTE *Payload,
[in] ULONG PayloadSize
);
Parameters
[in] Payload
Type: BYTE*
The event payload data.
[in] PayloadSize
Type: ULONG
Size of the payload data, in bytes.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Payloads contain only developer-defined data.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | relogger.h |