Skip to content
Snippets Groups Projects
Commit e683d6ec authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard
Browse files

Added documentation.

parent ab8b7dba
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment