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
7f1fe90e
Commit
7f1fe90e
authored
Nov 14, 2009
by
Stefan Leichter
Committed by
Alexandre Julliard
Nov 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Added stub for CreateMemoryResourceNotification.
parent
7f2943e7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-1
sync.c
dlls/kernel32/sync.c
+12
-0
winbase.h
include/winbase.h
+5
-0
No files found.
dlls/kernel32/kernel32.spec
View file @
7f1fe90e
...
...
@@ -236,7 +236,7 @@
@ stub CreateKernelThread
@ stdcall CreateMailslotA(ptr long long ptr)
@ stdcall CreateMailslotW(ptr long long ptr)
# @ stub CreateMemoryResourceNotification
@ stdcall CreateMemoryResourceNotification(long)
@ stdcall CreateMutexA(ptr long str)
@ stdcall CreateMutexExA(ptr str long long)
@ stdcall CreateMutexExW(ptr wstr long long)
...
...
dlls/kernel32/sync.c
View file @
7f1fe90e
...
...
@@ -2171,6 +2171,18 @@ BOOL WINAPI BindIoCompletionCallback( HANDLE FileHandle, LPOVERLAPPED_COMPLETION
return
FALSE
;
}
/***********************************************************************
* CreateMemoryResourceNotification (KERNEL32.@)
*/
HANDLE
WINAPI
CreateMemoryResourceNotification
(
MEMORY_RESOURCE_NOTIFICATION_TYPE
nt
)
{
FIXME
(
"(%d) stub
\n
"
,
nt
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
NULL
;
}
#ifdef __i386__
/***********************************************************************
...
...
include/winbase.h
View file @
7f1fe90e
...
...
@@ -501,6 +501,10 @@ typedef struct tagMEMORYSTATUSEX {
}
MEMORYSTATUSEX
,
*
LPMEMORYSTATUSEX
;
#include <poppack.h>
typedef
enum
_MEMORY_RESOURCE_NOTIFICATION_TYPE
{
LowMemoryResourceNotification
,
HighMemoryResourceNotification
}
MEMORY_RESOURCE_NOTIFICATION_TYPE
;
#ifndef _SYSTEMTIME_
#define _SYSTEMTIME_
...
...
@@ -1391,6 +1395,7 @@ WINBASEAPI HANDLE WINAPI CreateJobObjectW(LPSECURITY_ATTRIBUTES,LPCWSTR);
WINBASEAPI
HANDLE
WINAPI
CreateMailslotA
(
LPCSTR
,
DWORD
,
DWORD
,
LPSECURITY_ATTRIBUTES
);
WINBASEAPI
HANDLE
WINAPI
CreateMailslotW
(
LPCWSTR
,
DWORD
,
DWORD
,
LPSECURITY_ATTRIBUTES
);
#define CreateMailslot WINELIB_NAME_AW(CreateMailslot)
WINBASEAPI
HANDLE
WINAPI
CreateMemoryResourceNotification
(
MEMORY_RESOURCE_NOTIFICATION_TYPE
);
WINBASEAPI
HANDLE
WINAPI
CreateMutexA
(
LPSECURITY_ATTRIBUTES
,
BOOL
,
LPCSTR
);
WINBASEAPI
HANDLE
WINAPI
CreateMutexW
(
LPSECURITY_ATTRIBUTES
,
BOOL
,
LPCWSTR
);
#define CreateMutex WINELIB_NAME_AW(CreateMutex)
...
...
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