IWMEncDataView::GetViewSetting

Windows Media Encoder SDK banner art

The GetViewSetting method retrieves the display settings of a specific input stream.

Syntax

HRESULT GetViewSetting(
  DWORD  dwStreamCookie,
  DWORD*  pdwSize,
  byte*  pData
);

Parameters

dwStreamCookie

[in]  DWORD containing the stream ID.

pdwSize

[in]  Pointer to a DWORD containing the size of the information to which the pData parameter points. This must equal the size of an HWND data type.

pData

[in]  Pointer to the data used to specify the display settings. This parameter must point to a window handle (HWND).

Return Values

If the method succeeds, it returns S_OK. If it fails, it supports the IErrorInfo interface and returns an HRESULT error code.

Return code Number Description
E_POINTER 0x80004003 A pointer is NULL.

Requirements

Header: wmencvu.h

Library: wmprevu.dll

See Also