Share via


IOCTL_OAL_BUSPOWERON (Compact 2013)

10/16/2014

This I/O control message is a subcode of IOCTL_HAL_DDK_CALL, which is used by the implementation of Ceddk.dll as ported by the OEM to their platform. It is only called in the context of Ceddk.dll. It can be customized by OEMs to meet the needs of their platforms. Send this message with OEMIoControl.

Syntax

BOOL OEMIoControl(
    DWORD dwIoControlCode,    // use IOCTL_OAL_BUSPOWERON
    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_OAL_BUSPOWERON for this operation.
  • lpInBuffer
    [in] Pointer to an OAL_DDK_PARAMS structure specifying the bus driver.
  • nInBufferSize
    [in] Set to sizeof(OAL_DDK_PARAMS).
  • lpOutBuffer
    [in] Set to NULL.
  • nOutBufferSize
    [in] Set to zero.
  • lpBytesReturned
    [in] Set to NULL.

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.

This subcode puts the bus driver specified in the OAL_DDK_PARAMS structure into power on mode. The lpBytesReturned parameter is not accessed. If the KernelIoControl call succeeds, the rc member of OAL_DDK_PARAMS provides status.

Requirements

Header

oal_io.h

See Also

Reference

OAL I/O IOCTLs
IOCTL_OAL_BUSPOWEROFF