]> gitweb.factorcode.org Git - factor.git/blob - basis/windows/psapi/psapi.factor
windows: Add some win32 snapshot apis.
[factor.git] / basis / windows / psapi / psapi.factor
1 ! Copyright (C) 2009 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: alien.syntax windows.types ;
4 IN: windows.psapi
5
6 LIBRARY: psapi
7
8 FUNCTION: BOOL EnumDeviceDrivers ( LPVOID* lpImageBase, DWORD cb, LPDWORD lpcbNeeded )
9
10 FUNCTION: DWORD GetDeviceDriverBaseNameW ( LPVOID ImageBase, LPTSTR lpBaseName, DWORD nSize )
11
12 ALIAS: GetDeviceDriverBaseName GetDeviceDriverBaseNameW
13
14 FUNCTION: DWORD GetModuleFileNameExW ( HANDLE hProcess,
15   HMODULE hModule,
16   LPWSTR  lpFilename,
17   DWORD   nSize
18 )
19
20 FUNCTION: DWORD GetProcessImageFileNameA (
21   HANDLE hProcess,
22   LPSTR  lpImageFileName,
23   DWORD  nSize
24 )