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.
This function attempts to perform registration with specified DRM enabled server. If successful, the service is added to the service list and a proximity responder for the service is started.
This function is typically called by the initialization code of a Networked Media Device.
Syntax
long DRM_ND_RegisterWithService ( BSTR sOurUDN,
BSTR sServerUDN,
IUPnPService *pService
);
Parameters
sOurUDN
[in] The unique device name (UDN) of the device. This can be a string under a registry value. For example:Key: HKEY_LOCAL_MACHINE\COMM\UPnPDevices\MediaRenderer;
Value name: UPNPUDN
sServerUDN
[in] The unique device name (UDN) of the server.*pService
[in] The DRM service provided by server.The application uses the IUPnPDevice found to enumerate the services provided by server. The service with an identifier containing CARDEA_SERVICETYPE is the DRM service.
Return Values
The following table shows a list of possible error values.
| Error value | Description |
|---|---|
| ERROR_SUCCESS | No errors. |
| ERROR_INVALID_PARAMETER | One or more of the parameters are bad. |
Requirements
OS Versions: Windows CE 5.0 Networked Media Device Feature Pack.
Header: WMDRM10ND.h
Link Library: cardea_wince.lib
See Also
Windows Media DRM 10 For Network Devices Interfaces
Send Feedback on this topic to the authors