ProcessTraceBufferDecrementReference function (evntrace.h)
Releases a reference to a Buffer that was added by ProcessTraceBufferIncrementReference.
Syntax
ETW_APP_DECLSPEC_DEPRECATED ULONG WMIAPI ProcessTraceBufferDecrementReference(
const ETW_BUFFER_HEADER *Buffer
);
Parameters
Buffer
The buffer to decrement a reference from.
Return value
Win32 Error Code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 2022 Update |
Minimum supported server | Windows Server 2022 |
Target Platform | Windows |
Header | evntrace.h |
Library | Advapi32.dll |
DLL | Sechost.dll on Windows 8.1 and Windows Server 2012 R2; Advapi32.dll on Windows 8, Windows Server 2012, Windows 7, Windows Server 2008 R2, Windows Server 2008, Windows Vista and Windows XP |