GetMediaResolution method

Gets the media resolution.

Syntax

HRESULT retVal = object.GetMediaResolution(psizeResolution);

Parameters

  • psizeResolution [out, retval]
    Type: SIZE

    A pointer to a SIZE value that receives the media resolution.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.