IWMSPacketList::GetPacketCount

The GetPacketCount method retrieves the number of packets in the packet list.

HRESULT GetPacketCount(
  DWORD*  pdwNumPackets
);

Arguments

pdwNumPackets

[out] Pointer to a DWORD containing the number of packets.

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

pdwNumPackets is null.

Requirements

Header: wmspacket.h.

Library: WMSServerTypeLib.dll.

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

See Also

Concepts

IWMSPacketList Interface