|Microsoft DirectX 9.0|
This topic applies to Windows XP Service Pack 1 only.
The get__Allocator method retrieves the allocator-presenter from the VMR as an IUnknown pointer.
This method is provided for Automation clients. C++ applications can also use the get__Allocator method, which returns an IVMRSurfaceAllocator pointer.
HRESULT get_Allocator( IUnknown **ppAllocPresent );
[out] Address of a variable that receives a pointer to the allocator-presenter's IUnknown interface.
Returns an HRESULT value. Possible values include the following.
The caller must release the returned IUnknown interface.