Intel ZT 4901 manual ImbSendTimedI2cRequest, Lpvoid, Dword, Lpdword, Bool

Models: ZT 4901

1 136
Download 136 pages 35.65 Kb
Page 80
Image 80

IPMI API

LPVOID

lpvOutBuffer,

DWORD

cbOutBuffer,

LPDWORD

lpcbBytesReturned,

LPOVERLAPPEDlpoOverlapped

)

 

Parameters:

 

dummy_hDevice -

handle of device

dwIoControlCode -

control code of operation to perform

lpvInBuffer -

address of buffer for input data

cbInBuffer -

size of input buffer

lpvOutBuffer -

address of output buffer

cbOutBuffer -

size of output buffer

lpcbBytesReturned -

address of actual bytes of output

lpoOverlapped -

address of overlapped struct

Returns:

 

BOOL -

FALSE for fail and TRUE for success. Same as standard NTOS call as it

 

also sets Ntstatus.status.

Description:

Simulate NT imbDeviceIoControl using Unix calls and structures

8.4imbSendTimedI2cRequest

Prototype:

ACCESN_STATUS imbSendTimedI2cRequest (

I2CREQUESTDATA *pI2CReq,

Int

timeOut,

BYTE * pRespData,

int *

pRespDataLen,

BYTE * pCompCode

)

 

Parameters:

 

pI2Creq -

I2C request

timeOut -

how long to wait, mSec units

respDataPtr -

where to put response data

respDataLen -

size of response buffer/size of returned data

completionCode -

request status from xMC

Returns:

80

High Availability Software for the Intel® NetStructureTM ZT 4901 Technical Product Specification

Page 80
Image 80
Intel ZT 4901 manual ImbSendTimedI2cRequest, Lpvoid, Dword, Lpdword, Bool