oamBoardGetBusSlot

Returns the PCI bus and slot number for a specified board. For more information, see Retrieving board information.

Prototype

DWORD oamBoardGetBusSlot ( CTAHD ctahd, const char *szName, DWORD *pdwBus, DWORD *pdwSlot )

Argument

Description

ctahd

[in] Context handle

szName

[in] Pointer to a name of board to look up.

pdwBus

[out] Pointer to the board's PCI bus number.

pdwSlot

[out] Pointer to the board's slot number.


Return values

Return value

Description

SUCCESS

 

CTAERR_BAD_ARGUMENT

szName, pdwBus, or pdwSlot is NULL or 0.

CTAERR_SVR_COMM

Natural Access Server is not running.

OAMERR_NOT_FOUND

Board not found.

OAMERR_SERVER_NOT_RUNNING

Supervisor is shut down.


See also

oamBoardGetDriverIDs, oamBoardGetMACAddress, oamBoardGetNumber, oamBoardGetProduct, oamBoardGetSerialNumber, oamBoardGetShelfSlot, oamBoardGetStatus