次の方法で共有


IOCTL_HAL_DDK_CALL (Compact 2013)

10/16/2014

This I/O control message calls the OEM functions OEMGetBusDataByOffset and OEMSetBusDataByOffset to read and write configuration cycle data to the PCI and ISA buses. Send this message with OEMIoControl.

Syntax

BOOL OEMIoControl(
    DWORD dwIoControlCode,    // use IOCTL_HAL_DDK_CALL
    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_DDK_CALL for this operation.
  • nInBufferSize
    [in] Size of the lpInBuffer parameter; in this case, the size of the BUSDATA_PARMS structure.
  • lpOutBuffer
    [in] Set to NULL.
  • nOutBufferSize
    [in] Set to zero.
  • lpBytesReturned
    [in] Set to zero.

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 I/O control is called by Ceddk.dll to implement the HalGetBusDataByOffset and the HalSetBusDataByOffset functions.

Requirements

Header

pkfuncs.h

See Also

Reference

CEDDK IOCTLs
IOCTL_HAL_GETBUSDATA
IOCTL_HAL_SETBUSDATA
OEMIoControl