Share via


IResize::get_Size

 
Microsoft DirectShow 9.0

IResize::get_Size

The get_Size method returns the current output size and stretch mode.

Syntax

  HRESULT get_Size(
    int *piHeight,
    int *piWidth
    long *pFlag
);

Parameters

piHeight

[out] Pointer to a variable that receives the video height, in pixels.

piWidth

[out] Pointer to a variable that receives the video width, in pixels.

pFlag

[out] Pointer to a variable that receives a flag specifying the stretch mode. See Resize Flags for possible values.

Return Value

Returns an HRESULT value.

Remarks

If the output type has not been set, the filter should return default values. These values can be arbitrarily chosen at design time.

Requirements

Requires DirectX 9.0 or later.

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also