Share via


Windows Media Player 11 SDK IWMPSubscriptionService::startBackgroundProcessing 

Windows Media Player SDK banner art

Previous Next

IWMPSubscriptionService::startBackgroundProcessing

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 startBackgroundProcessing method is implemented by the online store to initiate background processing tasks.

Syntax

  HRESULT startBackgroundProcessing(
  HWND  hwnd
);

Parameters

hwnd

[in] The handle of the parent window.

Return Values

The method returns an HRESULT.

Remarks

Your code should not perform lengthy operations synchronously when Windows Media Player calls this method. Instead, you must perform time-consuming processing tasks on a separate worker thread.

Windows Media Player calls startBackgroundProcessing during idle time after the user selects the online store. This is useful for the online store to acquire play count data or renew expired licenses.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Defined in subscriptionservices.h.

See Also

Previous Next