IMSVidVideoRenderer2::get__Allocator method (segment.h)
[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
The get__Allocator method retrieves the allocator-presenter from the VMR.
Syntax
HRESULT get__Allocator(
[out] IVMRSurfaceAllocator **AllocPresent
);
Parameters
[out] AllocPresent
Receives an IVMRSurfaceAllocator interface pointer.
Return value
Returns an HRESULT value. Possible values include the following.
Return code | Description |
---|---|
|
Success. |
|
NULL pointer argument. |
Remarks
The caller must release the IVMRSurfaceAllocator interface.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows�XP with SP1 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | segment.h (include Msvidctl.h) |