RtmGetOpaqueInformationPointer function (rtmv2.h)
The RtmGetOpaqueInformationPointer function returns a pointer to the opaque information field in a destination that is reserved for this client. The pointer enables the client to store client-specific information with the destination in the routing table.
DWORD RtmGetOpaqueInformationPointer( [in] RTM_ENTITY_HANDLE RtmRegHandle, [in] RTM_DEST_HANDLE DestHandle, [out] PVOID *OpaqueInfoPointer );
Handle to the client obtained from a previous call to RtmRegisterEntity.
Handle to the destination.
On input, OpaqueInfoPointer is a pointer to NULL.
On output, OpaqueInfoPointer receives a pointer to the opaque information pointer. If a client has not reserved an opaque pointer during registration, this parameter remains unchanged.
If the function succeeds, the return value is NO_ERROR.
If the function fails, the return value is one of the following error codes.
||The handle is invalid.|
||No opaque pointer was reserved by the client.|
For sample code using this function, see Access the Opaque Pointer in a Destination.
|Minimum supported client||None supported|
|Minimum supported server||Windows 2000 Server [desktop apps only]|