The GetRegistrationChallenge method generates a Windows Media DRM for Network Devices registration challenge message.
HRESULT GetRegistrationChallenge( [out] BYTE **ppbRegistrationChallenge, [out] DWORD *pcbRegistrationChallenge );
Address of a pointer that receives the address of the generated challenge. When finished with this data, you must release the memory by calling CoTaskMemFree.
Address of a variable that receives the size of the registration challenge in bytes.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
||The method succeeded.