Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
e683d6ec
Commit
e683d6ec
authored
23 years ago
by
Patrik Stridvall
Committed by
Alexandre Julliard
23 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added documentation.
parent
ab8b7dba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/winedos/dosvm.c
+18
-0
18 additions, 0 deletions
dlls/winedos/dosvm.c
dlls/winedos/module.c
+15
-0
15 additions, 0 deletions
dlls/winedos/module.c
with
33 additions
and
0 deletions
dlls/winedos/dosvm.c
+
18
−
0
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
;
...
...
This diff is collapsed.
Click to expand it.
dlls/winedos/module.c
+
15
−
0
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment