This function retrieves the northbridge information from the PC's motherboard.

[C++Builder/Visual C++] BOOL PK3QueryHostBridgeID(LPLONG lpVendorID, LPSTR lpszVendorName, LPLONG lpVendorNameLen, LPLONG lpDeviceID);
[Delphi] function PK3QueryHostBridgeID(var lpVendorID: Longint; lpszVendorName: PAnsiChar; var lpVendorNameLen: Longint; var lpDeviceID: Longint): LongBool;
[Visual Basic] Function PK3QueryHostBridgeID(lpVendorID As Long, ByVal lpszVendorName As String, lpVendorNameLen As Long, lpDeviceID As Long) As Long

Parameters

Name Explanation
lpVendorID The retrieved vendor number
lpszVendorName The retrieved vendor name
In C++Builder, Visual C++, and Delphi. this is a string terminating with Null. In Visual Basic, this is a string of specified size.
lpVendorNameLen The length (in digits) of the retrieved vendor name.
lpDeviceID The retrieved product number.

Return Value

Returns the True (nonzero) if successful, otherwise returns False (0).

Explanation

The PK3QueryHostBridgeID function retrieves the northbridge vendor number, name, and product number from the PC's motherboard.

The PK3QueryHostBridgeID function is disabled if the PK3Initialize function has not been executed.

The Motherboard Northbridge identifier (contained in the PcID as retrieved by the PK3QueryPcID function) will be a number made of the "vendor number (4 digits)" + "product number (4 digits)" . This number is then converted to a string. In most cases, the northbridge cannot be detached from the motherboard which is not hte case with a CPU's video card or network card.