Getting and setting power modes on a Wireless network card

I have been looking but to no avail for a good example of how to use the NDIS_802_11_POWER_MODE to get and et the power mode. I have searched all over the net and cant find a good example.

Answer this question

Getting and setting power modes on a Wireless network card