Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "CM_Get_Device_Interface_List" in [All]

Constants

.
Summary
Specifies that the CM_Get_Device_Interface_List and CM_Get_Device_Interface_List_Size functions provide a list containing device interfaces associated with all devices that match the specified GUID and device instance ID, if any.
.

const uint CM_GET_DEVICE_INTERFACE_LIST_ALL_DEVICES = 0x1;

.

Const CM_GET_DEVICE_INTERFACE_LIST_ALL_DEVICES As UInt32 = &h1

.

const uint CM_GET_DEVICE_INTERFACE_LIST_ALL_DEVICES = 0x1;

.
Summary
Specifies that the CM_Get_Device_Interface_List and CM_Get_Device_Interface_List_Size functions provide a list containing device interfaces associated with devices that are currently active, and which match the specified GUID and device instance ID, if any.
.

const uint CM_GET_DEVICE_INTERFACE_LIST_PRESENT = 0x0;

.

Const CM_GET_DEVICE_INTERFACE_LIST_PRESENT As UInt32 = &h0

.

const uint CM_GET_DEVICE_INTERFACE_LIST_PRESENT = 0x0;

.

Const CM_GET_DEVICE_INTERFACE_LIST_PRESENT As UInt32 = &h0

cfgmgr32

. .
Summary
The CM_Get_Device_Interface_List function retrieves a list of device interface instances that belong to a specified device interface class.
.

static extern uint CM_Get_Device_Interface_List(ref Guid interfaceClassGuid, string deviceID, char[] buffer, uint bufferLength, uint flags);

.
Documentation
[CM_Get_Device_Interface_List] on MSDN
.

const uint CM_GET_DEVICE_INTERFACE_LIST_PRESENT = 0x0;

.

  var cr = CM_Get_Device_Interface_List_Size(out uint size, ref GUID_DEVINTERFACE_COMPORT, null, CM_GET_DEVICE_INTERFACE_LIST_PRESENT);        

.

    cr = CM_Get_Device_Interface_List(ref GUID_DEVINTERFACE_COMPORT, null, data, (uint)data.Length, CM_GET_DEVICE_INTERFACE_LIST_PRESENT);

.
Summary
The CM_Get_Device_Interface_List_Size function retrieves the buffer size that must be passed to the CM_Get_Device_Interface_List function.
.

static extern uint CM_Get_Device_Interface_List_Size(out uint size, ref Guid interfaceClassGuid, string deviceID, uint flags);

.
Documentation
[CM_Get_Device_Interface_List_Size] on MSDN

 
Access PInvoke.net directly from VS: