GetDeviceDriverFileName function kernel32

int GetDeviceDriverFileName(
  1. Pointer<NativeType> ImageBase,
  2. Pointer<Utf16> lpFilename,
  3. int nSize
)

Retrieves the path available for the specified device driver.

DWORD K32GetDeviceDriverFileNameW(
  [in]  LPVOID ImageBase,
  [out] LPWSTR lpFilename,
  [in]  DWORD  nSize
);

Implementation

int GetDeviceDriverFileName(
        Pointer ImageBase, Pointer<Utf16> lpFilename, int nSize) =>
    _K32GetDeviceDriverFileName(ImageBase, lpFilename, nSize);