MgslEnumeratePciAdapters


Prototype  
ULONG MgslEnumeratePciAdapters( PMGSL_PCI_ADAPTER pAdapters,
                                ULONG BufferSize,
                                PULONG AdapterCount );
Parameters  
pAdapters
Pointer to buffer that receives PCI adapter information
BufferSize
Size of the buffer pointed to by pAdapters in bytes
AdapterCount
Pointer to ULONG that receives the count of PCI adapters
Return Value  
ERROR_SUCCESS (0)
success
ERROR_INVALID_PARAMETER
pAdapters or AdapterCount pointer invalid, or return buffer to small
ERROR_GEN_FAILURE
call failed for unspecified reason

NOTE: This function is obsolete. New applications should used MgslEnumeratePciAdaptersEx.


This function is used only on Windows NT 3.51-4.0.

Enumerate all SyncLink PCI adapters installed in the computer. An array of MGSL_PCI_ADAPTER structures is returned in the buffer pointed to by pAdapters, and the ULONG pointer to by AdapterCount is set to the number of structures returned.

Use this function to determine the PCI bus number and PCI device number of installed SyncLink PCI adapters. The bus and device number can be used with MgslSetPortConfig to specify a SyncLink PCI adapter in the MGSL_PORT_CONFIG structure.

See also: MGSL_PCI_ADAPTER Structure, MgslSetPortConfig


Previous Contents Next