Run-time
Routines
- ushort WINAPI DLLExport GetRunObjectDataSize(fprh
rhPtr, LPEDATA edPtr):
This function returns the size of the RUNDATA structure.
- short WINAPI DLLExport CreateRunObject(LPRDATA
rdPtr, LPEDATA edPtr, fpcob cobPtr):
This function is called when on of you objects is
actually created. You should initialize the data in your
RUNDATA structure and use the data in your EDITDATA
structure. After this, you will no longer be able to
access the EDITDATA structure.
- short WINAPI DLLExport DestroyRunObject(LPRDATA
rdPtr, long fast):
This function is called when on of your objects is
destroyed. You should free up any memory your object has
allocated.
- short WINAPI DLLExport HandleRunObject(LPRDATA
rdPtr):
This function is called every program loop. Do not use
this to write to the screen. Return REFLAG_ONESHOT if
your object will not use this routine. Return
REFLAG_DISPLAY to tell MMF to call the DisplayRunObject
routine.
- short WINAPI DLLExport DisplayRunObject(LPRDATA
rdPtr):
If your object will draw to the screen, this is where you
should do it.
- short WINAPI DLLExport PauseRunObject(LPRDATA
rdPtr):
This function is called when the application enters pause
mode.
- short WINAPI DLLExport ContinueRunObject(LPRDATA
rdPtr):
This function is called when pause mode is exited.
Back to Main Page