Skip to main content
IWMWriterPostView::GetPostViewProps method

The GetPostViewProps method retrieves the properties for the specified output stream.

Syntax


HRESULT GetPostViewProps(
  [in]  WORD          wStreamNumber,
  [out] IWMMediaProps **ppOutput
);

Parameters

wStreamNumber [in]

WORD containing the stream number.

ppOutput [out]

Pointer to a pointer to an IWMMediaProps interface.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

E_INVALIDARG

NULL value passed in to ppOutput.

 

Remarks

An application can enumerate through the various outputs, and retrieve the output format properties for that data. Manipulating the object retrieved has no effect on the output, unless the application also calls SetPostViewProps.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Version

Windows Media Format 7 SDK, or later versions of the SDK

Header

Wmsdkidl.h (include Wmsdk.h)

Library

Wmvcore.lib;
WMStubDRM.lib (if you use DRM)

See also

IWMReader::SetOutputProps
IWMWriterPostView Interface