IltmmObjectWrapper::GetWrappedObject

#include "ltmm.h"

C Syntax

HRESULT IltmmObjectWrapper__getWrappedObject(pObjectWrapper, ppObject)

C++ Syntax

HRESULT GetWrappedObject(ppObject)

 

IltmmObjectWrapper *pObjectWrapper;

/* pointer to an interface */

IUnknown ** ppObject;

/* wrapped object */

Retrieves the wrapped object.

Parameter

Description

pObjectWrapper

Pointer to an IltmmObjectWrapper interface.

ppObject

Pointer to a variable to be updated with the pointer to the wrapped object.

Returns

S_OK

The function was successful.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

If the function succeeds, the caller must free the object referenced by ppObject by calling the interface's Release method.

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

IltmmObjectWrapper::SetWrappedObject

Topics:

Multimedia Function Group

 

IltmmObjectWrapper interface

Example

For a C example, refer to Accessing the IMediaSample Interface for C.

For a C++ example, refer to Accessing the IMediaSample Interface for C++.