IOCTL_HAL_ENABLE_WAKE (Compact 2013)
10/16/2014
This I/O control message enables an interrupt source to wake the system. Send this message with OEMIoControl.
Syntax
BOOL OEMIoControl(
DWORD dwIoControlCode, // use IOCTL_HAL_ENABLE_WAKE
LPVOID lpInBuffer, // pointer to input buffer
DWORD nInBufferSize, // input buffer size
LPVOID lpOutBuffer, // pointer to output buffer
DWORD nOutBufferSize, // output buffer size
LPDWORD lpBytesReturned // number of bytes returned
);
Parameters
- dwIoControlCode
[in] Control code for the operation. Use IOCTL_HAL_ENABLE_WAKE for this operation.
- lpInBuffer
[in] Set to the dwSysIntr of the driver, which is the source of the interrupt.
- nInBufferSize
Ignored.
- lpOutBuffer
Ignored.
- nOutBufferSize
Ignored.
- lpBytesReturned
Ignored.
Return Values
Returns TRUE if successful; otherwise, returns FALSE.
Remarks
To get extended error information, call GetLastError. GetLastError may return other standard error messages as appropriate.
Remarks
This I/O control helps enable the interrupt line associated with the provided SYSINTR value.
Note
If the interrupt line is shared among other devices with different SYSINTR values, the devices may also become wake sources.
Requirements
Header |
pkfuncs.h |