Directory
Desktop Functions: Smart Device Functions:
Misc. Pages
Search Results for "cfgmgr32" in [All] setupapi
.
Summary
The CM_Get_Child function obtains a device instance handle to the child node of a specified device node, in the local machine's device tree. If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h
.
Summary
The CM_Get_DevNode_Registry_Property function retrieves a specified device property from the registry. If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes that are defined in Cfgmgr32.h.
.
property , A CM_DRP_-prefixed constant value that identifies the device property to be obtained from the registry. These constants are defined in Cfgmgr32.h.
.
[DllImport("cfgmgr32.dll", SetLastError=true)]
.
<DllImport("cfgmgr32.dll", SetLastError :=True, CharSet :=CharSet.Unicode)> _
The SetLastError API
1/26/2016 3:27:33 AM - -124.148.167.58
Click to read this page 4/6/2008 7:23:14 AM - anonymous
.
Summary
The CM_Get_Sibling function obtains a device instance handle to the next sibling node of a specified device node (devnode) in the local machine's device tree. If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h
.
// static readonly int CR_SUCCESS = 0x00000000; // cfgmgr32.h
comctl32
.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,cfgmgr32,hlink,Constants,Delegates,Enums,Interfaces,Structures
hlink
.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,comctl32,cfgmgr32,Constants,Delegates,Enums,Interfaces,Structures
ipaqutil
.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,comctl32,cfgmgr32,hlink,Constants,Delegates,Enums,Interfaces,Structures
userenv
.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,comctl32,cfgmgr32,hlink,ipaqutil,quickusb,Constants,Delegates,Enums,Interfaces,Structures
misc
.
Import
advapi32,avifil32,cards,comdlg32,credui,crypt32,dmcl40,gdi32,gdiplus,glu32,glut32,gsapi,hhctrl,httpapi,icmp,imm32,iphlpapi,iprop,kernel32,mapi32,mpr,mqrt,mscorsn,msdrm,msi,msvcrt,netapi32,ntdll,ntdsapi,odbc32,odbccp32,ole32,oleacc,oleaut32,opengl32,powrprof,pstorec,query,rasapi32,rpcrt4,secur32,setupapi,shell32,shlwapi,twain_32,unicows,urlmon,user32,uxtheme,winfax,wininet,winmm,winscard,winspool,ws2_32,wtsapi32,xolehlp,aygshell,coredll,rapi,cfgmgr32,comctl32,hlink,Constants,Delegates,Enums,Interfaces,Structures,Glossary
Constants
.
Summary
Indicates success after calling a cfgmgr32 function
cfgmgr32
.
[DllImport("cfgmgr32.dll", SetLastError=true)]
.
<DllImport("cfgmgr32.dll", _
.
Declare Function CM_Get_Device_ID_List Lib "cfgmgr32.dll" (TODO) As TODO
.
Declare Function CM_Get_Device_ID_List_Size Lib "cfgmgr32.dll" (TODO) As TODO
.
.
[DllImport("CfgMgr32.dll", CharSet = CharSet.Unicode)]
.
[DllImport("CfgMgr32.dll", CharSet = CharSet.Unicode)]
.
[DllImport("CfgMgr32.dll", CharSet = CharSet.Unicode)]
.
[DllImport("CfgMgr32.dll", CharSet = CharSet.Unicode)]
.
Documentation
.
[DllImport("CfgMgr32.dll", CharSet = CharSet.Unicode)]
.
[DllImport("cfgmgr32.dll")]
.
<DllImport("cfgmgr32.dll", _
.
Summary
Checks whether a device instance and its children can be removed and, if so, it removes them. If the operation succeeds, the function returns CR_SUCCESS. Otherwise it returns one of the error codes with "CR_" prefix that are defined in Cfgmgr32.h
.
[DllImport("Cfgmgr32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
.
Declare Function CM_Query_And_Remove_SubTree_Ex Lib "cfgmgr32.dll" (TODO) As TODO
.
[DllImport("cfgmgr32.dll", SetLastError=true)]
.
[DllImport("cfgmgr32.dll", SetLastError = true)]
.
Summary
Restarts a device instance that is not running because there is a problem with the device configuration. If the operation succeeds, the function returns CR_SUCCESS. Otherwise it returns one of the error codes with "CR_" prefix that are defined in Cfgmgr32.h.
.
[DllImport("Cfgmgr32.dll", CharSet = CharSet.Auto, SetLastError = true)]
.
Declare Function CM_Setup_DevNode Lib "cfgmgr32.dll" (TODO) As TODO
.
Namespace
cfgmgr32
.
Description
cfgmgr32.dll
.
Title
cfgmgr32.dll
quickusb
.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,comctl32,cfgmgr32,hlink,ipaqutil,Constants,Delegates,Enums,Interfaces,Structures