Skip to content

Commit 6696d40

Browse files
committed
[SDK] Introduce winbase_undoc.h for undocumented exported kernel32 definitions (reactos#8019)
This header is based on the following files from the official Windows 10.0.10240.0 PSDK, a copy of which can be found at: - https://github.com/tpn/winsdk-10/blob/master/Include/10.0.10240.0/um/minwin/winbasep.h - https://github.com/tpn/winsdk-10/blob/master/Include/10.0.10240.0/um/minwin/wbasek.h
1 parent 4fce13e commit 6696d40

File tree

16 files changed

+65
-25
lines changed

16 files changed

+65
-25
lines changed

CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,8 @@
432432
# M:
433433
# R: HBelusca, Hermès Bélusca-Maïto
434434
# S: Maintained
435+
/sdk/include/reactos/winbase_undoc.h @HBelusca
436+
/subsystems/win/basesrv/
435437
/win32ss/user/winsrv/
436438
/win32ss/user/winsrv/usersrv/harderror.c @HBelusca
437439

base/services/schedsvc/job.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/* INCLUDES *****************************************************************/
1010

1111
#include "precomp.h"
12+
#include <winbase_undoc.h>
1213

1314
WINE_DEFAULT_DEBUG_CHANNEL(schedsvc);
1415

base/services/schedsvc/precomp.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include <winreg.h>
1313
#include <winsvc.h>
1414
#include <winuser.h>
15-
#include <undocuser.h>
1615

1716
#include <ndk/rtlfuncs.h>
1817

base/system/services/database.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@
1414

1515
#include "services.h"
1616

17+
#include <winbase_undoc.h>
1718
#include <userenv.h>
1819
#include <strsafe.h>
1920

20-
#include <reactos/undocuser.h>
21-
2221
#define NDEBUG
2322
#include <debug.h>
2423

base/system/winlogon/screensaver.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/* INCLUDES *****************************************************************/
1010

1111
#include "winlogon.h"
12+
#include <winbase_undoc.h>
1213

1314
/* FUNCTIONS ****************************************************************/
1415

base/system/winlogon/winlogon.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
/* PSEH for SEH Support */
4848
#include <pseh/pseh2.h>
4949

50-
#include <reactos/undocuser.h>
51-
#include <reactos/undocmpr.h>
50+
#include <undocuser.h>
51+
#include <undocmpr.h>
5252

5353
BOOL
5454
WINAPI

dll/win32/kernel32/include/kernel32.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@
5656
#define __EXCEPT_PAGE_FAULT _SEH2_EXCEPT(_SEH2_GetExceptionCode() == STATUS_ACCESS_VIOLATION)
5757
#define __ENDTRY _SEH2_END
5858

59-
/* Undocumented CreateProcess flag */
60-
#define STARTF_SHELLPRIVATE 0x400
61-
6259
typedef struct _CODEPAGE_ENTRY
6360
{
6461
LIST_ENTRY Entry;

dll/win32/kernel32/k32.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#define WIN32_NO_STATUS
1818
#include <windef.h>
1919
#include <winbase.h>
20+
#include <winbase_undoc.h>
2021
#include <wingdi.h>
2122
#include <winreg.h>
2223
#include <wincon.h>

dll/win32/shell32/shelldesktop/shelldesktop.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include <atlcom.h>
2727
#include <atlwin.h>
2828
#include <undocshell.h>
29-
#include <undocuser.h>
3029

3130
#include <shellutils.h>
3231
#include "CChangeNotifyServer.h"

dll/win32/shell32/shellmenu/shellmenu.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
#include <atlcom.h>
5050
#include <atlwin.h>
5151
#include <undocshell.h>
52-
#include <undocuser.h>
5352

5453
#include <shellutils.h>
5554
#include <ui/rosctrls.h>

0 commit comments

Comments
 (0)