Windows Media Format SDK banner art
PreviousNext

IWMDeviceManager::GetDeviceCount

The GetDeviceCount method retrieves the number of devices installed but not necessarily physically present.

Syntax

HRESULT GetDeviceCount(
  DWORD*  pdwCount
);

Parameters

pdwCount

[out]  Pointer to a double word containing the count of known devices.

Return Values

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

Return code Description
E_INVALIDARG The pdwCount parameter is an invalid or NULL pointer.
E_FAIL An unspecified error occurred.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.