home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Entertainment 3
/
EPISODE_03_JUL_1994.iso
/
iw
/
ie.prt
< prev
next >
Wrap
Text File
|
1994-07-01
|
1KB
|
40 lines
USER.EXE: VOID WINAPI GetCursorPos(LPPOINT);
;Ex. GetCursorPos(@x) -- returns cursor position in pixels
USER.EXE: VOID WINAPI SetCursorPos(INT,INT);
;Ex. GetCursorPos(100,100) -- returns cursor position in pixels
USER.EXE: INT WINAPI GetSystemMetrics(INT); alias GetRes
;Ex. GetSystemMetrics(0) -- gets x resolution
;Ex. GetSystemMetrics(1) -- gets y resolution
USER.EXE: BOOL WINAPI SetWindowPos(HWND,HWND,INT,INT,INT,INT,UINT);
;Ex. SetWindowPos(@_run_wnd,-1,0,0,0,0,3)
USER.EXE: BOOL WINAPI ShowWindow(HWND,INT);
;Ex. ShowWindow(@handle, 6) min
;Ex. ShowWindow(@handle, 1) normal
;9 restore 3 max 0 hide
USER.EXE: BOOL WINAPI MoveWindow(HWND,INT,INT,INT,INT,BOOL);
;handle
;x
;y
;width
;height
;repaint T - paints
USER.EXE: INT WINAPI ShowCursor(BOOL);
;Ex. ShowCursor(0) hides cursor
;Ex. ShowCursor(-1) restores cursor
USER.EXE: HANDLE WINAPI LoadCursor(INT,LONG);
;Ex. LoadCursor(0, 32512) loads hourglass into @var
IAUTILS.DLL: HANDLE WINAPI iauSetRunCursor(HANDLE);
;Ex. iauSetRunCursor(@var)
KRNL386.EXE: HANDLE WINAPI OpenFile(LPCSTR, LPSTR, UINT);
;Ex. OpenFile("C:\config.sys", @junk, 0x4000)
; returns 5 if exists