Share via


IOCTL_OAL_BUSPOWEROFF (Windows Embedded CE 6.0)

1/5/2010

This IOCTL can be customized by OEMs to meet the needs of their platforms.

This IOCTL 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.

The OEMIoControl function calls this IOCTL.

Parameters

  • dwIoControlCode
    [in] Set to IOCTL_OAL_BUSPOWEROFF.
  • lpInBuf
    [in] Pointer to a OAL_DDK_PARAMS structure specifying the bus driver.
  • nInBufSize
    [in] Set to sizeof(OAL_DDK_PARAMS).
  • lpOutBuf
    [in] Set to NULL.
  • nOutBufSize
    [in] Set to 0.
  • lpBytesReturned
    [in] Set to NULL.

Return Values

TRUE indicates success.

FALSE indicates failure.

Remarks

This subcode puts the bus driver specified in the OAL_DDK_PARAMS structure into power off 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
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

I/O IOCTLs
IOCTL_OAL_BUSPOWERON