Jungo WinDriver  
Official Documentation

◆ WDC_PlatformDeviceOpen()

DWORD DLLCALLCONV WDC_PlatformDeviceOpen ( _Outptr_ WDC_DEVICE_HANDLE phDev,
_In_ const WD_PLATFORM_CARD_INFO pDeviceInfo,
_In_ const PVOID  pDevCtx 
)

Allocates and initializes a WDC platform device structure, registers the device with WinDriver, and returns a handle.

Used for non-PCI/ISA or custom bus devices.

Note
This function is available only if PLATFORM_API is defined.
Parameters
[out]phDevPointer to a handle to the WDC device allocated by the function
[in]pDeviceInfoPointer to a platform card information structure
[in]pDevCtxPointer to device context information, to be stored in the device structure
Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise