]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/psapi/psapi.factor
mason: update table style
[factor.git] / basis / windows / psapi / psapi.factor
index a4d8ccff2319b9918793887b3aa9e623261bcc1a..28d87e97c77e2701db6df32f35762927c2c0d919 100644 (file)
@@ -1,5 +1,5 @@
 ! 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
 
@@ -10,3 +10,15 @@ FUNCTION: BOOL EnumDeviceDrivers ( LPVOID* lpImageBase, DWORD cb, LPDWORD lpcbNe
 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
+)