DrtGetEventDataSize function

The DrtGetEventDataSize function returns the size of the DRT_EVENT_DATA structure associated with a signaled event.

Syntax


HRESULT WINAPI DrtGetEventDataSize(
  _In_   HDRT hDRT,
  _Out_  ULONG pulEventDataLen
);

Parameters

hDRT [in]

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

pulEventDataLen [out]

The size, in bytes, of 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_INVALIDARG

pulEventDataLen is NULL.

E_HANDLE

hDrt is invalid.

DRT_E_NO_MORE

There is 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:
© 2015 Microsoft