![]() |
Jungo WinDriver
Official Documentation
|
| 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.
| [out] | phDev | Pointer to the resulting WDC device handle |
| [in] | pPciDeviceInfo | Pointer 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] | pDevCtx | Pointer to user-defined device context |