Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e683d6ec
Commit
e683d6ec
authored
Apr 27, 2001
by
Patrik Stridvall
Committed by
Alexandre Julliard
Apr 27, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added documentation.
parent
ab8b7dba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
dosvm.c
dlls/winedos/dosvm.c
+18
-0
module.c
dlls/winedos/module.c
+15
-0
No files found.
dlls/winedos/dosvm.c
View file @
e683d6ec
...
...
@@ -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
;
...
...
dlls/winedos/module.c
View file @
e683d6ec
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment