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
d0421889
Commit
d0421889
authored
Nov 01, 1998
by
Huw D M Davies
Committed by
Alexandre Julliard
Nov 01, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of the redefinition of MAX_PATH and move PROCESSENTRY32
definition to toolhelp.h.
parent
7df1fbb3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
26 deletions
+26
-26
toolhelp.h
include/toolhelp.h
+23
-0
windows.h
include/windows.h
+0
-24
process.c
scheduler/process.c
+3
-2
No files found.
include/toolhelp.h
View file @
d0421889
...
...
@@ -362,4 +362,27 @@ typedef struct {
#pragma pack(4)
/*
* Process Entry list as created by CreateToolHelp32Snapshot
*/
typedef
struct
tagPROCESSENTRY32
{
DWORD
dwSize
;
DWORD
cntUsage
;
DWORD
th32ProcessID
;
DWORD
th32DefaultHeapID
;
DWORD
th32ModuleID
;
DWORD
cntThreads
;
DWORD
th32ParentProcessID
;
LONG
pcPriClassBase
;
DWORD
dwFlags
;
char
szExeFile
[
MAX_PATH
];
}
PROCESSENTRY32
;
typedef
PROCESSENTRY32
*
PPROCESSENTRY32
;
typedef
PROCESSENTRY32
*
LPPROCESSENTRY32
;
BOOL32
WINAPI
Process32First
(
HANDLE32
,
LPPROCESSENTRY32
);
BOOL32
WINAPI
Process32Next
(
HANDLE32
,
LPPROCESSENTRY32
);
#endif
/* __WINE_TOOLHELP_H */
include/windows.h
View file @
d0421889
...
...
@@ -5445,28 +5445,6 @@ typedef struct {
#define TIME_ZONE_ID_STANDARD 1
#define TIME_ZONE_ID_DAYLIGHT 2
/*
* Process Entry list as created by CreateToolHelp32Snapshot
*/
#ifndef MAX_PATH
#define MAX_PATH 260
#endif
typedef
struct
tagPROCESSENTRY32
{
DWORD
dwSize
;
DWORD
cntUsage
;
DWORD
th32ProcessID
;
DWORD
th32DefaultHeapID
;
DWORD
th32ModuleID
;
DWORD
cntThreads
;
DWORD
th32ParentProcessID
;
LONG
pcPriClassBase
;
DWORD
dwFlags
;
char
szExeFile
[
MAX_PATH
];
}
PROCESSENTRY32
;
typedef
PROCESSENTRY32
*
PPROCESSENTRY32
;
typedef
PROCESSENTRY32
*
LPPROCESSENTRY32
;
/* CreateProcess: dwCreationFlag values
*/
#define DEBUG_PROCESS 0x00000001
...
...
@@ -6980,8 +6958,6 @@ BOOL32 WINAPI PaintDesktop(HDC32);
BOOL32
WINAPI
PlayEnhMetaFile
(
HDC32
,
HENHMETAFILE32
,
const
RECT32
*
);
BOOL32
WINAPI
PlayEnhMetaFileRecord
(
HDC32
,
LPHANDLETABLE32
,
const
ENHMETARECORD
*
,
UINT32
);
BOOL32
WINAPI
PolyPolyline32
(
HDC32
,
const
POINT32
*
,
const
DWORD
*
,
DWORD
);
BOOL32
WINAPI
Process32First
(
HANDLE32
,
LPPROCESSENTRY32
);
BOOL32
WINAPI
Process32Next
(
HANDLE32
,
LPPROCESSENTRY32
);
BOOL32
WINAPI
PulseEvent
(
HANDLE32
);
DWORD
WINAPI
QueryDosDevice32A
(
LPCSTR
,
LPSTR
,
DWORD
);
DWORD
WINAPI
QueryDosDevice32W
(
LPCWSTR
,
LPWSTR
,
DWORD
);
...
...
scheduler/process.c
View file @
d0421889
...
...
@@ -22,6 +22,7 @@
#include "task.h"
#include "server.h"
#include "debug.h"
#include "toolhelp.h"
static
BOOL32
PROCESS_Signaled
(
K32OBJ
*
obj
,
DWORD
thread_id
);
static
BOOL32
PROCESS_Satisfied
(
K32OBJ
*
obj
,
DWORD
thread_id
);
...
...
@@ -905,14 +906,14 @@ void PROCESS_ResumeOtherThreads(void)
BOOL32
WINAPI
Process32First
(
HANDLE32
hSnapshot
,
LPPROCESSENTRY32
lppe
)
{
FIXME
(
process
,
"(0x%08
lx,0x%08lx
), stub!
\n
"
,
hSnapshot
,
lppe
);
FIXME
(
process
,
"(0x%08
x,%p
), stub!
\n
"
,
hSnapshot
,
lppe
);
SetLastError
(
ERROR_NO_MORE_FILES
);
return
FALSE
;
}
BOOL32
WINAPI
Process32Next
(
HANDLE32
hSnapshot
,
LPPROCESSENTRY32
lppe
)
{
FIXME
(
process
,
"(0x%08
lx,0x%08lx
), stub!
\n
"
,
hSnapshot
,
lppe
);
FIXME
(
process
,
"(0x%08
x,%p
), stub!
\n
"
,
hSnapshot
,
lppe
);
SetLastError
(
ERROR_NO_MORE_FILES
);
return
FALSE
;
}
...
...
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