Share via


IWMEncDeviceControlCollection::get_length

Windows Media Encoder SDK banner art

The get_length method retrieves the number of device control objects in the collection.

Syntax

HRESULT get_length(
  long*  plCount
);

Parameters

plCount

[out]  Pointer to a long that indicates the number of objects in the collection.

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 The pointer to the count is NULL.

Remarks

This is the JScript version of the get_Count method and is included for developers more comfortable with JScript syntax.

Requirements

Header: wmdevctl.h

Library: wmdevctl.dll

See Also