Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7e1f3803
Commit
7e1f3803
authored
Nov 03, 2003
by
Mike McCormack
Committed by
Alexandre Julliard
Nov 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stubs for job control.
parent
6d9350fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
2 deletions
+53
-2
kernel32.spec
dlls/kernel/kernel32.spec
+3
-2
sync.c
dlls/kernel/sync.c
+50
-0
No files found.
dlls/kernel/kernel32.spec
View file @
7e1f3803
...
@@ -1043,8 +1043,9 @@
...
@@ -1043,8 +1043,9 @@
@ stdcall SetThreadExecutionState(long)
@ stdcall SetThreadExecutionState(long)
# Windows 2000, Terminal Server 4.0 SP4 functions
# Windows 2000, Terminal Server 4.0 SP4 functions
@ stub AssignProcessToJobObject
@ stdcall AssignProcessToJobObject(ptr ptr)
@ stub CreateJobObjectW
@ stdcall CreateJobObjectA(ptr str)
@ stdcall CreateJobObjectW(ptr wstr)
@ stdcall CreateTimerQueue ()
@ stdcall CreateTimerQueue ()
@ stdcall CreateTimerQueueTimer(ptr long ptr ptr long long long)
@ stdcall CreateTimerQueueTimer(ptr long ptr ptr long long long)
@ stdcall DeleteTimerQueueEx (long long)
@ stdcall DeleteTimerQueueEx (long long)
...
...
dlls/kernel/sync.c
View file @
7e1f3803
...
@@ -1553,6 +1553,56 @@ BOOL WINAPI GetQueuedCompletionStatus( HANDLE CompletionPort, LPDWORD lpNumberOf
...
@@ -1553,6 +1553,56 @@ BOOL WINAPI GetQueuedCompletionStatus( HANDLE CompletionPort, LPDWORD lpNumberOf
return
FALSE
;
return
FALSE
;
}
}
/******************************************************************************
* CreateJobObjectW (KERNEL32.@)
*/
HANDLE
WINAPI
CreateJobObjectW
(
LPSECURITY_ATTRIBUTES
attr
,
LPCWSTR
name
)
{
FIXME
(
"%p %s
\n
"
,
attr
,
debugstr_w
(
name
)
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
}
/******************************************************************************
* CreateJobObjectA (KERNEL32.@)
*/
HANDLE
WINAPI
CreateJobObjectA
(
LPSECURITY_ATTRIBUTES
attr
,
LPCSTR
name
)
{
LPWSTR
str
=
NULL
;
UINT
len
;
HANDLE
r
;
TRACE
(
"%p %s
\n
"
,
attr
,
debugstr_a
(
name
)
);
if
(
name
)
{
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
name
,
-
1
,
NULL
,
0
);
str
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
*
sizeof
(
WCHAR
)
);
if
(
!
str
)
{
SetLastError
(
ERROR_OUTOFMEMORY
);
return
0
;
}
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
name
,
-
1
,
str
,
len
);
}
r
=
CreateJobObjectW
(
attr
,
str
);
if
(
str
)
HeapFree
(
GetProcessHeap
(),
0
,
str
);
return
r
;
}
/******************************************************************************
* AssignProcessToJobObject (KERNEL32.@)
*/
BOOL
WINAPI
AssignProcessToJobObject
(
HANDLE
hJob
,
HANDLE
hProcess
)
{
FIXME
(
"%p %p
\n
"
,
hJob
,
hProcess
);
return
TRUE
;
}
#ifdef __i386__
#ifdef __i386__
/***********************************************************************
/***********************************************************************
...
...
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