MultiCam Boards Documentation > MultiCam Documentation > MultiCam DirectShow Reference > Reference Guide > Interfaces > IESFProperties > IESFProperties::GetResolution

IESFProperties::GetResolution

HRESULT GetResolution(
  ESF_RESOLUTION *pResolution,
  long *plWidth = NULL,
  long *plHeight = NULL
);

pResolution

[out] Pointer to a variable that receives the resolution.

plWidth

[out] Pointer to a variable that receives the width of the images. If NULL, the width is not returned.

plHeight

[out] Pointer to a variable that receives the height of the images. If NULL, the height is not returned.

Retrieves the resolution setting.

This determines the size of the images produced by the source filter.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code

Description

S_OK

No error.

E_POINTER

pResolution is not a valid pointer.

Requirements

Header

ESFilter.h

Library

ESFilter.dll

MultiCam

5.0 or later

See also

IESFProperties::SetResolution

IESFProperties::GetCustomResolutionRange