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
4cc1b339
Commit
4cc1b339
authored
May 23, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented the Win32 debug API functions.
parent
e712e077
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
4 additions
and
62 deletions
+4
-62
winbase.h
include/winbase.h
+2
-0
lstr.c
misc/lstr.c
+0
-35
Makefile.in
scheduler/Makefile.in
+1
-0
client.c
scheduler/client.c
+1
-1
debugger.c
scheduler/debugger.c
+0
-0
newfns.c
win32/newfns.c
+0
-18
process.c
win32/process.c
+0
-8
No files found.
include/winbase.h
View file @
4cc1b339
...
...
@@ -1188,6 +1188,7 @@ BOOL WINAPI AllocConsole(void);
BOOL
WINAPI
AreFileApisANSI
(
void
);
BOOL
WINAPI
Beep
(
DWORD
,
DWORD
);
BOOL
WINAPI
CloseHandle
(
HANDLE
);
BOOL
WINAPI
ContinueDebugEvent
(
DWORD
,
DWORD
,
DWORD
);
HANDLE
WINAPI
ConvertToGlobalHandle
(
HANDLE
hSrc
);
BOOL
WINAPI
CopyFileA
(
LPCSTR
,
LPCSTR
,
BOOL
);
BOOL
WINAPI
CopyFileW
(
LPCWSTR
,
LPCWSTR
,
BOOL
);
...
...
@@ -1224,6 +1225,7 @@ HANDLE WINAPI CreateSemaphoreA(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCSTR);
HANDLE
WINAPI
CreateSemaphoreW
(
LPSECURITY_ATTRIBUTES
,
LONG
,
LONG
,
LPCWSTR
);
#define CreateSemaphore WINELIB_NAME_AW(CreateSemaphore)
HANDLE
WINAPI
CreateThread
(
LPSECURITY_ATTRIBUTES
,
DWORD
,
LPTHREAD_START_ROUTINE
,
LPVOID
,
DWORD
,
LPDWORD
);
BOOL
WINAPI
DebugActiveProcess
(
DWORD
);
BOOL
WINAPI
DisableThreadLibraryCalls
(
HMODULE
);
BOOL
WINAPI
DosDateTimeToFileTime
(
WORD
,
WORD
,
LPFILETIME
);
BOOL
WINAPI
DuplicateHandle
(
HANDLE
,
HANDLE
,
HANDLE
,
HANDLE
*
,
DWORD
,
BOOL
,
DWORD
);
...
...
misc/lstr.c
View file @
4cc1b339
...
...
@@ -173,41 +173,6 @@ SEGPTR WINAPI AnsiPrev16( SEGPTR start, SEGPTR current )
/***********************************************************************
* OutputDebugString16 (KERNEL.115)
*/
void
WINAPI
OutputDebugString16
(
LPCSTR
str
)
{
char
module
[
10
];
if
(
!
GetModuleName16
(
GetCurrentTask
(),
module
,
sizeof
(
module
)
))
strcpy
(
module
,
"???"
);
DUMP
(
"%s says %s
\n
"
,
module
,
debugstr_a
(
str
)
);
}
/***********************************************************************
* OutputDebugString32A (KERNEL32
*/
void
WINAPI
OutputDebugStringA
(
LPCSTR
str
)
{
OutputDebugString16
(
str
);
}
/***********************************************************************
* OutputDebugString32W (KERNEL32
*/
void
WINAPI
OutputDebugStringW
(
LPCWSTR
str
)
{
LPSTR
p
=
HEAP_strdupWtoA
(
GetProcessHeap
(),
0
,
str
);
OutputDebugStringA
(
p
);
HeapFree
(
GetProcessHeap
(),
0
,
p
);
}
/***********************************************************************
* CharNext32A (USER32.29)
*/
LPSTR
WINAPI
CharNextA
(
LPCSTR
ptr
)
...
...
scheduler/Makefile.in
View file @
4cc1b339
...
...
@@ -8,6 +8,7 @@ MODULE = scheduler
C_SRCS
=
\
client.c
\
critsection.c
\
debugger.c
\
event.c
\
handle.c
\
mutex.c
\
...
...
scheduler/client.c
View file @
4cc1b339
...
...
@@ -41,7 +41,7 @@ static void CLIENT_Die( THDB *thdb )
/***********************************************************************
* CLIENT_ProtocolError
*/
static
void
CLIENT_ProtocolError
(
const
char
*
err
,
...
)
void
CLIENT_ProtocolError
(
const
char
*
err
,
...
)
{
THDB
*
thdb
=
THREAD_Current
();
va_list
args
;
...
...
scheduler/debugger.c
0 → 100644
View file @
4cc1b339
This diff is collapsed.
Click to expand it.
win32/newfns.c
View file @
4cc1b339
...
...
@@ -265,24 +265,6 @@ VOID WINAPI SetDebugErrorLevel( DWORD dwLevel )
/******************************************************************************
* WaitForDebugEvent [KERNEL32.720]
* Waits for a debugging event to occur in a process being debugged
*
* PARAMS
* lpDebugEvent [I] Address of structure for event information
* dwMilliseconds [I] Number of milliseconds to wait for event
*
* RETURNS STD
*/
BOOL
WINAPI
WaitForDebugEvent
(
LPDEBUG_EVENT
lpDebugEvent
,
DWORD
dwMilliseconds
)
{
FIXME_
(
win32
)(
"(%p,%ld): stub
\n
"
,
lpDebugEvent
,
dwMilliseconds
);
return
FALSE
;
}
/******************************************************************************
* SetComputerName32A [KERNEL32.621]
*/
BOOL
WINAPI
SetComputerNameA
(
LPCSTR
lpComputerName
)
...
...
win32/process.c
View file @
4cc1b339
...
...
@@ -21,14 +21,6 @@
DEFAULT_DEBUG_CHANNEL
(
win32
)
/**********************************************************************
* ContinueDebugEvent [KERNEL32.146]
*/
BOOL
WINAPI
ContinueDebugEvent
(
DWORD
pid
,
DWORD
tid
,
DWORD
contstatus
)
{
FIXME
(
"(0x%lx,%ld,%ld): stub
\n
"
,
pid
,
tid
,
contstatus
);
return
TRUE
;
}
/*********************************************************************
* Process_ClockTimeToFileTime
* (olorin@fandra.org, 20-Sep-1998)
...
...
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