IMMDeviceCollectionVtable.GetCount

Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
struct IMMDeviceCollectionVtable
extern (Windows) @nogc nothrow
HRESULT function(This_, UINT* pcDevices) GetCount;

Meta