Windows Media Player 11 SDK 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.
HRESULT VerifyPermissionComplete( BSTR bstrPermission, VARIANT* pContext, HRESULT hrPermission );
[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.
[in] A pointer to a VARIANT that contains information related to the notification. See Remarks.
[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.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
|S_OK||The method succeeded.|
The following list gives the possible values for bstrPermission along with the corresponding meanings of pContext.
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.
Version: Windows Media Player 11