xico 0 Report post Posted August 1, 2008 I need a function to test if Storage Card write-protect switch is ON or OFF. This Storage Card is inserted in a Pocket PC with windows mobile 5.Can anybody help me??!?!thanks! Share this post Link to post Share on other sites
osknockout 0 Report post Posted August 2, 2008 Wow there. That's highly specific with not enough information. Do you have some sort of driver that lets you access your storage card or are you making your own driver for it?Either way, if you're using embedded c++ (not c?) then you'd want a bool function testing the specified bit on the card. There should be an interrupt which lets you test that. Share this post Link to post Share on other sites