Freigeben über


IMFByteStreamHandler::CancelObjectCreation Method

Cancels the current request to create a media source.

Syntax

HRESULT CancelObjectCreation(
  [in]  IUnknown *pIUnknownCancelCookie
);

Parameter

Rückgabewert

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

Rückgabecode Beschreibung
S_OK

The method succeeded.

 

Hinweise

You can use this method to cancel a previous call to BeginCreateObject. Because that method is asynchronous, however, it might be completed before the operation can be canceled. Therefore, your callback might still be invoked after you call this method.

Anforderungen

Mindestens unterstützter Client

Windows Vista

Mindestens unterstützter Server

Windows Server 2008

Header

Mfidl.h

Bibliothek

Mfuuid.lib

Siehe auch

IMFByteStreamHandler

Scheme Handlers and Byte-Stream Handlers