Windows Media Player 11 SDK IWMPContentPartner::VerifyPermission
Previous | Next |
IWMPContentPartner::VerifyPermission
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 VerifyPermission method initiates the process of verifying permission for Windows Media Player to perform an action.
Syntax
HRESULT VerifyPermission( BSTR bstrPermission, VARIANT* pContext );
Parameters
bstrPermission
[in] A BSTR that specifies the action for which permission is being requested. See Remarks for a list of possible values.
pContext
[in] A pointer to a VARIANT that contains information related to the request. See Remarks.
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 VerifyPermission method initiates a permission verification and then returns immediately. When the online store has completed the verification, it calls IWMPContentPartnerCallback::VerifyPermissionComplete to notify Windows Media Player that permission has been granted or denied.
The following list gives the possible values for bstrPermission along with the corresponding meanings of pContext.
g_szVerifyPermissionSync
Windows Media Player is requesting permission from the online store to synchronize the content on a portable device. The pContext parameter is a VT_BSTR that specifies the canonical device name.
Requirements
Version: Windows Media Player 11
Header: contentpartner.h
See Also
Previous | Next |