home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Entertainment 0
/
EPISODE_00_FEB_1994.iso
/
ie.prt
< prev
next >
Wrap
Text File
|
1994-01-17
|
2KB
|
77 lines
;DLL calls for executing various Autodesk Animation functions.
AAPLAY.DLL: BOOL WINAPI aaOpen(VOID);
;Example- aaOpen()
AAPLAY.DLL: WORD WINAPI aaLoad(LPCSTR,HWND,WORD,INT,INT,INT,INT,INT,INT);
;Example1- aaLoad("c:\aa\squirrel.fli,@_run_wnd,2,100,100,320,200,0,0)
;Example2- aaLoad(@aaflic,@_run_wnd,32,0,0,640,480,0,0)
AAPLAY.DLL: BOOL WINAPI aaPlay(WORD);
;Example1- aaPlay(@haa)
AAPLAY.DLL: VOID WINAPI aaClose(VOID);
;Example- aaClose()
AAPLAY.DLL: BOOL WINAPI aaReLoad(WORD,LPSTR,WORD,WORD);
AAPLAY.DLL: BOOL WINAPI aaUnload(WORD);
;The following call associates a sound file with an animation:
AAPLAY.DLL: BOOL WINAPI aaSound(WORD,LPCSTR,LPCSTR,WORD);
;Example- aaSound(@haa,0,"c:\iauthor\animate\squirrel.fli,0)
AAPLAY.DLL: BOOL WINAPI aaStop(WORD);
;Example- aaStop(@haa)
AAPLAY.DLL: BOOL WINAPI aaPause(WORD);
;Example- aaPause(@haa)
;The following call gets the specified parameters:
AAPLAY.DLL: DWORD WINAPI aaGetParm(WORD, WORD);
;The following call sets the specified parameters:
AAPLAY.DLL: BOOL WINAPI aaSetParm(WORD, WORD,WORD,DWORD);
;The following call shows or hides the animation window:
AAPLAY.DLL: BOOL WINAPI aaShow(WORD,BOOL);
;Example1- aaShow(@haa,1) hides
;Example2- aaShow(@haa,0) shows
;DLL functions for accessing system information
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);
;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)