Previous | Next |
The GetDeviceCount method retrieves the number of media devices that are installed (known by Windows Media Device Manager but not necessarily currently attached). This means that GetDeviceCount returns a count of all of the media devices supported by Windows Media Device Manager that have been installed.
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 E_FAIL.
See Also
Previous | Next |