Added documentation.

This commit is contained in:
Patrik Stridvall 2001-04-27 18:03:09 +00:00 committed by Alexandre Julliard
parent ab8b7dba77
commit e683d6ec1f
2 changed files with 33 additions and 0 deletions

View File

@ -212,6 +212,9 @@ static void DOSVM_SendQueuedEvents(CONTEXT86 *context)
DOSVM_SendQueuedEvent(context);
}
/***********************************************************************
* QueueEvent (WINEDOS.@)
*/
void WINAPI DOSVM_QueueEvent( INT irq, INT priority, DOSRELAY relay, LPVOID data)
{
LPDOSEVENT event, cur, prev;
@ -412,6 +415,9 @@ static void DOSVM_ProcessMessage(MSG *msg)
}
}
/***********************************************************************
* Wait (WINEDOS.@)
*/
void WINAPI DOSVM_Wait( INT read_pipe, HANDLE hObject )
{
MSG msg;
@ -480,6 +486,9 @@ chk_console_input:
} while (TRUE);
}
/***********************************************************************
* Enter (WINEDOS.@)
*/
INT WINAPI DOSVM_Enter( CONTEXT86 *context )
{
struct vm86plus_struct VM86;
@ -553,6 +562,9 @@ INT WINAPI DOSVM_Enter( CONTEXT86 *context )
return 0;
}
/***********************************************************************
* OutPIC (WINEDOS.@)
*/
void WINAPI DOSVM_PIC_ioport_out( WORD port, BYTE val)
{
LPDOSEVENT event;
@ -583,6 +595,9 @@ void WINAPI DOSVM_PIC_ioport_out( WORD port, BYTE val)
}
}
/***********************************************************************
* SetTimer (WINEDOS.@)
*/
void WINAPI DOSVM_SetTimer( UINT ticks )
{
int stat=DOSMOD_SET_TIMER;
@ -607,6 +622,9 @@ void WINAPI DOSVM_SetTimer( UINT ticks )
}
}
/***********************************************************************
* GetTimer (WINEDOS.@)
*/
UINT WINAPI DOSVM_GetTimer( void )
{
int stat=DOSMOD_GET_TIMER;

View File

@ -333,11 +333,17 @@ load_error:
return FALSE;
}
/***********************************************************************
* LoadDosExe (WINEDOS.@)
*/
void WINAPI MZ_LoadImage( LPCSTR filename, HANDLE hFile )
{
if (MZ_DoLoadImage( hFile, filename, NULL )) MZ_Launch();
}
/***********************************************************************
* Exec (WINEDOS.@)
*/
BOOL WINAPI MZ_Exec( CONTEXT86 *context, LPCSTR filename, BYTE func, LPVOID paramblk )
{
/* this may only be called from existing DOS processes
@ -400,6 +406,9 @@ BOOL WINAPI MZ_Exec( CONTEXT86 *context, LPCSTR filename, BYTE func, LPVOID para
return ret;
}
/***********************************************************************
* LoadDPMI (WINEDOS.@)
*/
LPDOSTASK WINAPI MZ_AllocDPMITask( void )
{
LPDOSTASK lpDosTask = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(DOSTASK));
@ -546,6 +555,9 @@ static void MZ_KillTask(void)
kill(dosmod_pid,SIGTERM);
}
/***********************************************************************
* Exit (WINEDOS.@)
*/
void WINAPI MZ_Exit( CONTEXT86 *context, BOOL cs_psp, WORD retval )
{
LPDOSTASK lpDosTask = MZ_Current();
@ -611,6 +623,9 @@ void WINAPI MZ_Exit( CONTEXT86 *context, BOOL cs_psp, WORD retval )
#endif /* !MZ_SUPPORTED */
/***********************************************************************
* GetCurrent (WINEDOS.@)
*/
LPDOSTASK WINAPI MZ_Current( void )
{
return dos_current;