Export (0) Print
Expand All

DrtGetEventData function

The DrtGetEventData function retrieves event data associated with a signaled event.

Syntax


HRESULT WINAPI DrtGetEventData(
  _In_   HDRT hDrt,
  _Out_  ULONG ulEventDataLen,
  _Out_  DRT_EVENT_DATA *pEventData[bcount full (ulEventDataLen)]
);

Parameters

hDrt [in]

Handle to the Distributed Routing Table instance for which the event occurred.

ulEventDataLen [out]

The size, in bytes, of the pEventData buffer.

pEventData [out]

Pointer to a DRT_EVENT_DATA structure that contains the event data.

Return value

This function returns S_OK on success. Other possible values include:

Return codeDescription
E_UNEXPECTED

The DRT infrastructure is unaware of the requested search.

E_HANDLE

The hDrt handle is invalid.

DRT_E_INSUFFICIENT_BUFFER

The provided buffer is insufficient in size.

DRT_E_NO_MORE

No more event data available.

 

Requirements

Minimum supported client

Windows 7 Professional [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Drt.h

Library

Drt.lib

DLL

Drt.dll

See also

DRT_EVENT_DATA

 

 

Community Additions

ADD
Show:
© 2014 Microsoft