Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Registers a provider callback with the multicast server.
Syntax
HRESULT WDSMCSAPI WdsTransportServerRegisterCallback(
[in] HANDLE hProvider,
[in] TRANSPORTPROVIDER_CALLBACK_ID CallbackId,
[in] PVOID pfnCallback
);
Parameters
[in] hProvider
Handle to the provider. This handle was given to the provider in the WdsTransportProviderInitialize function.
[in] CallbackId
The value of this parameter is a TRANSPORTPROVIDER_CALLBACK_ID structure.
[in] pfnCallback
Pointer to the function pointer associated with this id.
Return value
If the function succeeds, the return is S_OK.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only] |
| Target Platform | Windows |
| Header | wdstpdi.h |
| Library | Wdsmc.lib |
| DLL | Wdsmc.dll |