PETW_BUFFER_COMPLETION_CALLBACK 콜백 함수(evntrace.h)

ProcessTraceAddBufferToBufferStream이 버퍼로 완료될 때 발생할 콜백에 대한 함수 정의입니다. 이 콜백은 일반적으로 버퍼를 적절하게 해제해야 합니다.

구문

PETW_BUFFER_COMPLETION_CALLBACK PetwBufferCompletionCallback;

void PetwBufferCompletionCallback(
  const ETW_BUFFER_HEADER *Buffer,
  void *CallbackContext
)
{...}

매개 변수

Buffer

원시 ETW 버퍼에 대한 포인터

CallbackContext

BufferCompletionContext로 OpenTraceFromBufferStream에 전달된 사용자 정의 컨텍스트입니다.

반환 값

없음

요구 사항

   
지원되는 최소 클라이언트 Windows 2000 Professional [데스크톱 앱 | UWP 앱]
지원되는 최소 서버 Windows 2000 Server [데스크톱 앱 | UWP 앱]
대상 플랫폼 Windows
헤더 evntrace.h
라이브러리 Windows 8.1 및 Windows Server 2012 R2의 Sechost.lib; Windows 8, Windows Server 2012, Windows 7, Windows Server 2008 R2, Windows Server 2008, Windows Vista 및 Windows XP의 Advapi32.lib
DLL Windows 8.1 및 Windows Server 2012 R2의 Sechost.dll, Windows 8, Windows Server 2012, Windows 7, Windows Server 2008 R2, Windows Server 2008, Windows Vista 및 Windows XP의 Advapi32.dll