]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/psapi/psapi.factor
Reformat
[factor.git] / basis / windows / psapi / psapi.factor
old mode 100755 (executable)
new mode 100644 (file)
index b45928f..28d87e9
@@ -1,12 +1,24 @@
 ! Copyright (C) 2009 Doug Coleman.
-! See http://factorcode.org/license.txt for BSD license.
+! See https://factorcode.org/license.txt for BSD license.
 USING: alien.syntax windows.types ;
 IN: windows.psapi
 
 LIBRARY: psapi
 
-FUNCTION: BOOL EnumDeviceDrivers ( LPVOID* lpImageBase, DWORD cb, LPDWORD lpcbNeeded ) ;
+FUNCTION: BOOL EnumDeviceDrivers ( LPVOID* lpImageBase, DWORD cb, LPDWORD lpcbNeeded )
 
-FUNCTION: DWORD GetDeviceDriverBaseNameW ( LPVOID ImageBase, LPTSTR lpBaseName, DWORD nSize ) ;
+FUNCTION: DWORD GetDeviceDriverBaseNameW ( LPVOID ImageBase, LPTSTR lpBaseName, DWORD nSize )
 
 ALIAS: GetDeviceDriverBaseName GetDeviceDriverBaseNameW
+
+FUNCTION: DWORD GetModuleFileNameExW ( HANDLE hProcess,
+  HMODULE hModule,
+  LPWSTR  lpFilename,
+  DWORD   nSize
+)
+
+FUNCTION: DWORD GetProcessImageFileNameA (
+  HANDLE hProcess,
+  LPSTR  lpImageFileName,
+  DWORD  nSize
+)