How To: switch off slot power for Wireless LAN card

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to switch off slot power for Wireless LAN card from my application on
Symbol MC9000K with Windows Mobile 2003. I want to switch on power only when
I am communicating. I tried SetDevice Power() and DevicePowerNotify()
functions without success. These two functions execute successfully but
GetDevicePower() doesn't give updated status. Can somebody send me sample
code in C#. Thanking you in advance.
 
Hi,

I have a Symbol MC9000S and I use DevicePowerNotify.
I not pinvoked it. My code is ...

__declspec(dllexport) BOOL WINAPI PowerOn(void)
{
if (DevicePowerNotify(_T("WLP1:"), D0, POWER_NAME) != 0)
return FALSE;

return TRUE;
}

__declspec(dllexport) BOOL WINAPI PowerOff(void)
{
if (DevicePowerNotify(_T("WLP1:"), D4, POWER_NAME) != 0)
return FALSE;

return TRUE;
}

Regards

ACP
 
How do you check feedback after issuing DevicePowerNotify? Do you use
GetDevicePower?

Ray
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top