@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm 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. !!!!C# Signature: [DllImport("Cfgmgr32.dll", CharSet = CharSet.Auto, SetLastError = true)] public static extern int CM_Setup_DevNode(int deviceInstance, CMSetupDevNodeFlags flags); !!!!Parameters: '''deviceInstance''', A device instance handle that is bound to the local system. '''flags''', Flags that select the mode of restarting. !!!!VB Signature: Declare Function CM_Setup_DevNode Lib "cfgmgr32.dll" (TODO) As TODO !!!!User-Defined Types: None. !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! Documentation: CM_Setup_DevNode@msdn on MSDN
Edit cfgmgr32.CM_Setup...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.