NPAB_Get_Bus_Type
Returns a value indicating the bus type of the bus specified
by busTag.
- Thread Context:Non-Blocking
Syntax
LONG NPAB_Get_Bus_Type (
LONG npaHandle,
LONG busTag,
LONG *busType
);
Parameters
- npaHandle
- (IN) The HAM's handle for using the NPA APIs, assigned
during NPA_Register_HAM_Module.
- busTag
- (IN) A value returned by NPAB_Search_Adapter or by parsing the Product ID option
of the NPAOptionStruct. This
value specifies the bus on which the operation is to be performed.
- busType
- (OUT) Points to a value that indicates one of the
following bus types:
Return Values
The following table lists return values and descriptions.
Remarks
This function returns a pointer to a value that indicates
the bus type of the specified bus. All instances of a particular
bus type return the same value. For example, all EISA buses return
2.