## Physical Device Driver Reference

[prev][next][parent][TOC]

### POWER_SETPOWEREVENTRES (41h) - ReqFlags

ReqFlags A bit mask with the following bit definitions:

Bit # Meaning If Set
0 SemSetup request
1 SemRemoval request
2 16BitSemFlag
3 32BitSemFlag
4 NoSemFlag

All other bits are reserved and must be 0.

If any of the reserved bits in the ReqFlags field are set (value = 1), the request fails with a ReturnCode value of PowerBadReserved.

SemSetup requests (bit 0 set) must have the appropriate semaphore type defined (bit 2 or 3 set). SemSetup requests that do not have the semaphore type properly defined (bit 2 or 3 set, but not both) are returned to the caller with a ReturnCode value of PowerBadFlags.

Requests that are not manipulating the semaphore resource must have the NoSemFlag (bit 4) set and all other bits clear. Requests that do no conform to this requirement are returned to the caller with a ReturnCode value of PowerBadFlags.