IWMSStreamHeaderList::GetHeaderCount

The GetHeaderCount method retrieves a specific stream header from the list.

HRESULT GetHeaderCount(
  DWORD*  pdwNumHeaders
);

Arguments

pdwNumHeaders

[out] Pointer to a DWORD containing the number of headers in the list.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code

Number

Description

E_INVALIDARG

0x80070057

pdwNumHeaders is null.

Requirements

Header: streamdescription.h.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.

See Also

Concepts

IWMSStreamHeaderList Interface