IMMDeviceCollectionGetCount Method
retrieves a count of the devices in the device collection.
Namespace: DevCase.Win32.InterfacesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
HResult GetCount(
ref int refNumDevices
)
Function GetCount (
ByRef refNumDevices As Integer
) As HResult
Dim instance As IMMDeviceCollection
Dim refNumDevices As Integer
Dim returnValue As HResult
returnValue = instance.GetCount(refNumDevices)
HResult GetCount(
int% refNumDevices
)
abstract GetCount :
refNumDevices : int byref -> HResult
No code example is currently available or this language may not be supported.
- refNumDevices Int32
-
Pointer to a Int32 variable into which the method writes the number of devices in the device collection.
HResult
If the method succeeds, it returns
S_OK.
If it fails, it returns an
HResult value.