Jungo WinDriver  
Official Documentation

◆ WDC_PciGetHeaderType()

DWORD DLLCALLCONV WDC_PciGetHeaderType ( _In_ WDC_DEVICE_HANDLE  hDev,
_Outptr_ WDC_PCI_HEADER_TYPE pHeaderType 
)

Retrieves the PCI device's configuration space header type.

The header type is hardware dependent and determines how the configuration space is arranged.

Parameters
[in]hDevHandle to a WDC PCI device structure, returned by WDC_PciDeviceOpen()
[out]pHeaderTypeA pointer to the structure where the header type will be updated. WDC_PCI_HEADER_TYPE definition and available values can be seen in WinDriver/include/pci_regs.h
Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise