WdsTransportServerRegisterCallback function

Registers a provider callback with the multicast server.

Syntax


HRESULT WDSMCSAPI WdsTransportServerRegisterCallback(
  _In_  HANDLE hProvider,
  _In_  TRANSPORTPROVIDER_CALLBACK_ID CallbackId,
  _In_  PVOID pfnCallback
);

Parameters

hProvider [in]

Handle to the provider. This handle was given to the provider in the WdsTransportProviderInitialize function.

CallbackId [in]

The value of this parameter is a TRANSPORTPROVIDER_CALLBACK_ID structure.

pfnCallback [in]

Pointer to the function pointer associated with this id.

Return value

If the function succeeds, the return is S_OK.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only]

Header

Wdstpdi.h

Library

Wdsmc.lib

DLL

Wdsmc.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft