Partager via


IAMBufferNegotiation::GetAllocatorProperties (Compact 2013)

3/26/2014

This method retrieves the allocator properties that the pin is using.

Syntax

HRESULT GetAllocatorProperties(
  ALLOCATOR_PROPERTIES* pprop
);

Parameters

  • pprop
    [out] Pointer to an ALLOCATOR_PROPERTIES structure, allocated by the caller, that receives the allocator properties.

Return Value

Returns an HRESULT value. The following table shows some of the possible return values.

Value

Description

S_OK

Success

E_POINTER

NULL pointer argument

VFW_E_NOT_CONNECTED

Pin is not connected

Remarks

Call this method after the pins connect, to determine the chosen allocator properties.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IAMBufferNegotiation Interface
ALLOCATOR_PROPERTIES