c# - Controlling power to PCMCIA slot/card -
I am currently working on a project that is proposing a proprietary PCMCIA radio card to communicate with some wireless devices. Uses. I currently have a background process which handles the card and card to read and process data, but whenever my application is not running, I want to be able to turn off the card power. I have done some inquiry, while WMI clearly supports the WIN32_PCMCIAController implementation in the CIM_PCMCIAController profile, while SetPowerState () and Reset () Functions are not implemented Do anyone know of a way to control the power position of the slot (with or without WMI)? I need to be able to make both power off and power programmatically on slots or cards.
Edit
I have suggested to add a function to the card that I have spoken to, which facilitates this facility. Unfortunately, modifying the card to provide this type of functionality is not really an option.
Edit
I have confirmed that the device is shown in the Device Manager under the "Multifunction Adapter" category, although the device is not disabled Or the PCMCIA controller will not affect the power of the card here.
Perhaps, the device has some of its drivers and the devices are shown in the manager.
In that case, you can disable the device (by calling the device's command line equivalent), from within your program. This will handle Windows to close the device.
Am I going to the right lines or have I given the wrong meaning of your question?
Comments
Post a Comment