DrtGetEventDataSize function (drt.h)
The DrtGetEventDataSize function returns the size of the DRT_EVENT_DATA structure associated with a signaled event.
Syntax
HRESULT DrtGetEventDataSize(
[in] HDRT hDrt,
[out] ULONG *pulEventDataLen
);
Parameters
[in] hDrt
Handle to the Distributed Routing Table instance for which the event occurred.
[out] pulEventDataLen
The size, in bytes, of the event data.
Return value
This function returns S_OK on success. Other possible values include:
Return code | Description |
---|---|
|
The DRT infrastructure is unaware of the requested search. |
|
pulEventDataLen is NULL. |
|
hDrt is invalid. |
|
There is no more event data available. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 Professional [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | drt.h |
Library | Drt.lib |
DLL | Drt.dll |