mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:13:00 +00:00
[SDK] Introduce winbase_undoc.h for undocumented exported kernel32 definitions (#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
This commit is contained in:
parent
4fce13e06b
commit
6696d40cfc
16 changed files with 65 additions and 25 deletions
|
@ -536,6 +536,9 @@ extern "C" {
|
|||
#define STARTF_TITLEISAPPID 0x00001000
|
||||
#define STARTF_PREVENTPINNING 0x00002000
|
||||
#endif /* (WINVER >= 0x400) */
|
||||
#if (WINVER >= 0x0600)
|
||||
#define STARTF_UNTRUSTEDSOURCE 0x00008000
|
||||
#endif /* (WINVER >= 0x0600) */
|
||||
|
||||
#define TC_NORMAL 0
|
||||
#define TC_HARDERR 1
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef _UNDOCUSER_H
|
||||
#define _UNDOCUSER_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
@ -159,10 +161,13 @@ extern "C" {
|
|||
#define DFCS_MENUARROWDOWN 0x0010
|
||||
|
||||
//
|
||||
// Undocumented flags for CreateProcess
|
||||
// Win32-user-specific undocumented flags for CreateProcess
|
||||
//
|
||||
#ifndef STARTF_INHERITDESKTOP
|
||||
#define STARTF_INHERITDESKTOP 0x40000000
|
||||
#define STARTF_SCREENSAVER 0x80000000
|
||||
#endif
|
||||
|
||||
|
||||
#define MOD_WINLOGON_SAS 0x8000
|
||||
|
||||
|
@ -414,4 +419,4 @@ typedef enum tagSETIMEHOTKEY_ACTION
|
|||
} /* extern "C" */
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
#endif
|
||||
#endif /* _UNDOCUSER_H */
|
||||
|
|
41
sdk/include/reactos/winbase_undoc.h
Normal file
41
sdk/include/reactos/winbase_undoc.h
Normal file
|
@ -0,0 +1,41 @@
|
|||
/*
|
||||
* PROJECT: ReactOS SDK
|
||||
* LICENSE: Dual-licensed:
|
||||
* LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
|
||||
* MIT (https://spdx.org/licenses/MIT)
|
||||
* PURPOSE: Undocumented Base API definitions, absent from winbase.h
|
||||
* COPYRIGHT: Copyright 2025 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
|
||||
*
|
||||
* REMARK: 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
|
||||
*/
|
||||
|
||||
#ifndef _WINBASE_UNDOC_H
|
||||
#define _WINBASE_UNDOC_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Undocumented flags for CreateProcess
|
||||
*/
|
||||
#if (WINVER >= 0x400)
|
||||
#define STARTF_HASSHELLDATA 0x00000400 // As seen in um/minwin/winbasep.h
|
||||
#define STARTF_SHELLPRIVATE STARTF_HASSHELLDATA // ReactOS-specific name
|
||||
#endif /* (WINVER >= 0x400) */
|
||||
#if (WINVER >= 0x0A00)
|
||||
#define STARTF_TITLEISLOCALALLOCED 0x00004000
|
||||
#endif /* (WINVER >= 0x0A00) */
|
||||
#define STARTF_INHERITDESKTOP 0x40000000
|
||||
#define STARTF_SCREENSAVER 0x80000000
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _WINBASE_UNDOC_H */
|
Loading…
Add table
Add a link
Reference in a new issue