Jungo WinDriver  
Official Documentation

◆ WDC_DeviceOpen()

DWORD DLLCALLCONV WDC_DeviceOpen ( _Outptr_ WDC_DEVICE_HANDLE phDev,
_In_ const WD_PCI_CARD_INFO pPciDeviceInfo,
_In_ const WD_PLATFORM_CARD_INFO pPlatformDeviceInfo,
_In_ const PVOID  pDevCtx 
)

A versatile function that opens a handle for either a PCI device, a platform device.

Parameters
[out]phDevPointer to the resulting WDC device handle
[in]pPciDeviceInfoPointer to PCI card information. Pass NULL if not opening a PCI device.
[in]pPlatformDeviceInfo[Only if PLATFORM_API is defined] Pointer to platform card information. Pass NULL if not opening a platform device.
[in]pDevCtxPointer to user-defined device context
Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise