]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/psapi/psapi.factor
windows: Add some win32 snapshot apis.
[factor.git] / basis / windows / psapi / psapi.factor
index a4d8ccff2319b9918793887b3aa9e623261bcc1a..cc475cb15f175ddc4711dd71ac7f0b692c625348 100644 (file)
@@ -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
+)