IMFWorkQueueServices::BeginUnregisterPlatformWorkQueueWithMMCSS method

Unregisters a platform work queue from a Multimedia Class Scheduler Service (MMCSS) task.

Syntax


HRESULT BeginUnregisterPlatformWorkQueueWithMMCSS(
  [in]  DWORD dwPlatformWorkQueue,
  [in]  IMFAsyncCallback *pCallback,
  [in]  IUnknown *pState
);

Parameters

dwPlatformWorkQueue [in]

Platform work queue to register with MMCSS. See IMFWorkQueueServices::BeginRegisterPlatformWorkQueueWithMMCSS.

pCallback [in]

Pointer to the IMFAsyncCallback interface of a callback object. The caller must implement this interface.

pState [in]

Pointer to the IUnknown interface of a state object, defined by the caller. This parameter can be NULL. You can use this object to hold state information. The object is returned to the caller when the callback is invoked.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

 

Remarks

This method is asynchronous. When the operation completes, the callback object's IMFAsyncCallback::Invoke method is called. At that point, the application should call IMFWorkQueueServices::EndUnregisterPlatformWorkQueueWithMMCSS to complete the asynchronous request.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mfuuid.lib

See also

IMFWorkQueueServices

 

 

Community Additions

ADD
Show:
© 2014 Microsoft