Windows Media Player 11 SDK IWMPContentPartnerCallback::VerifyPermissionComplete
Previous | Next |
IWMPContentPartnerCallback::VerifyPermissionComplete
Note This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported.
The VerifyPermissionComplete method notifies Windows Media Player that the online store has finished processing a call to IWMPContentPartner::VerifyPermission.
Syntax
HRESULT VerifyPermissionComplete( BSTR bstrPermission, VARIANT* pContext, HRESULT hrPermission );
Parameters
bstrPermission
[in] A BSTR that specifies the action for which permission was requested. Windows Media Player previously requested permission to perform this action by calling IWMPContentPartner::VerifyPermission. See Remarks for a list of possible values.
pContext
[in] A pointer to a VARIANT that contains information related to the notification. See Remarks.
hrPermission
[in] An HRESULT that indicates whether permission is granted. Any success code indicates that permission is granted. Any failure code indicates that permission is denied.
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
S_OK | The method succeeded. |
Remarks
The following list gives the possible values for bstrPermission along with the corresponding meanings of pContext.
g_szVerifyPermissionSync
Windows Media Player previously requested permission to synchronize the content on a portable device by calling IWMPContentPartner::VerifyPermission. In that call, Windows Media Player supplied the canonical device name in the pContext parameter. The online store supplies that same canonical device name in the pContext parameter of VerifyPermissionComplete.
Requirements
Version: Windows Media Player 11
Header: contentpartner.h
See Also
Previous | Next |