Desktop Functions: Smart Device Functions:
|
Search Results for "CM_Get_Device_ID" in [All]setupapiTypically used to get the size of the buffer needed for a subsequent CM_Get_Device_ID call.
static extern int CM_Get_Device_ID_Size(out int pulLen, UInt32 dnDevInst, int flags = 0);
Declare Function CM_Get_Device_ID_Size Lib "setupapi.dll" (TODO) As TODO
static extern int CM_Get_Device_IDA(int dnDevInst, StringBuilder Buffer, int BufferLen, int ulFlags);
static extern TODO CM_Get_Device_IDA(TODO);
Declare Function CM_Get_Device_IDA Lib "setupapi.dll" (TODO) As TODO
static extern TODO CM_Get_Device_ID_Size(TODO);
Declare Function CM_Get_Device_ID_Size Lib "setupapi.dll" (TODO) As TODO
CM_Get_Device_ID(ptrPrevious, ptrInstanceBuf, nBytes, 0);
CM_Get_Device_ID(ptrPrevious, ptrInstanceBuf, nBytes, 0);
CM_Get_Device_ID(ptrPrevious, ptrInstanceBuf, nBytes, 0);
CM_Get_Device_ID(ptrPrevious, ptrInstanceBuf, nBytes, 0); |