GetWindowModuleFileNameA method

int GetWindowModuleFileNameA(
  1. Pointer<HWND__> hwnd,
  2. Pointer<Int8> pszFileName,
  3. int cchFileNameMax
)

Implementation

int GetWindowModuleFileNameA(
  ffi.Pointer<HWND__> hwnd,
  ffi.Pointer<ffi.Int8> pszFileName,
  int cchFileNameMax,
) {
  return (_GetWindowModuleFileNameA ??= _dylib.lookupFunction<
      _c_GetWindowModuleFileNameA,
      _dart_GetWindowModuleFileNameA>('GetWindowModuleFileNameA'))(
    hwnd,
    pszFileName,
    cchFileNameMax,
  );
}