Share via


Windows Media Player 11 SDK IWMPSubscriptionService::allowPDATransfer 

Windows Media Player SDK banner art

Previous Next

IWMPSubscriptionService::allowPDATransfer

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 allowPDATransfer method is implemented by the online store to manage permission for Windows Media Player to copy premium content to a device.

Syntax

  HRESULT allowPDATransfer(
  HWND  hwnd,
  IWMPPlaylist*  pPlaylist,
  BOOL*  pfAllowTransfer
);

Parameters

hwnd

[in] The handle of the parent window.

pPlaylist

[in/out] Pointer to a playlist object.

pfAllowTransfer

[out] Pointer to a BOOL. If true, copying to a device is allowed.

Return Values

The method returns an HRESULT.

Remarks

Your code should not perform lengthy operations synchronously when Windows Media Player calls this method.

Windows Media Player passes allowPDATransfer a pointer to a playlist object as a parameter when the user attempts to copy premium content to a device. The playlist contains only digital media items from the individual online store that the user has added to the transfer queue. It is the responsibility of the online store to remove any items from the playlist that should not be copied.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Defined in subscriptionservices.h.

See Also

Previous Next