MgslEnumeratePciAdaptersEx


Prototype  
ULONG MgslEnumeratePciAdaptersEx( PMGSL_PCI_ADAPTER_EX 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

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_EX 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, PCI device number, and PCI device ID of installed SyncLink PCI adapters. The bus and device number can be used with MgslSetPortConfigEx to specify a SyncLink PCI adapter in the MGSL_PORT_CONFIG_EX structure.


Previous Contents Next