-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For a complete list of changes see changelog.txt in the sources directory.
- Loading branch information
Showing
27 changed files
with
1,208 additions
and
806 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
/************************************************************************************ | ||
* | ||
* (C) COPYRIGHT AUTHORS, 2015 - 2021 | ||
* Translated from Microsoft sources/debugger or mentioned elsewhere. | ||
* | ||
* TITLE: NTUSER.H | ||
* | ||
* VERSION: 1.03 | ||
* | ||
* DATE: 01 Dec 2021 | ||
* | ||
* Common header file for the ntuser API functions and definitions. | ||
* | ||
* Only projects required API/definitions. | ||
* | ||
* Depends on: Windows.h | ||
* NtStatus.h | ||
* NtOs.h | ||
* | ||
* Include: Windows.h | ||
* NtStatus.h | ||
* NtOs.h | ||
* | ||
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF | ||
* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED | ||
* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A | ||
* PARTICULAR PURPOSE. | ||
* | ||
************************************************************************************/ | ||
|
||
#if defined (_MSC_VER) && (_MSC_VER >= 1020) | ||
#pragma once | ||
#endif | ||
|
||
#pragma warning(push) | ||
#pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union | ||
#pragma warning(disable: 4214) // nonstandard extension used : bit field types other than int | ||
|
||
#ifndef NTUSER_RTL | ||
#define NTUSER_RTL | ||
|
||
|
||
// | ||
// NTUSER_RTL HEADER END | ||
// | ||
|
||
#if defined(__cplusplus) | ||
extern "C" { | ||
#endif | ||
|
||
#ifdef _WIN32ULIB_PRESENT | ||
#pragma comment(lib, "win32u.lib") | ||
#endif | ||
|
||
// | ||
// Warning: DESKTOP and other shared WIN32K objects moved to separate headers as of 1.02. | ||
// | ||
|
||
typedef enum tagPROCESS_UICONTEXT { | ||
PROCESS_UICONTEXT_DESKTOP = 0, | ||
PROCESS_UICONTEXT_IMMERSIVE = 1, | ||
PROCESS_UICONTEXT_IMMERSIVE_BROKER = 2, | ||
PROCESS_UICONTEXT_IMMERSIVE_BROWSER = 3 | ||
} PROCESS_UICONTEXT; | ||
|
||
typedef enum tagPROCESS_UI_FLAGS { | ||
PROCESS_UIF_NONE = 0, | ||
PROCESS_UIF_AUTHORING_MODE = 1, | ||
PROCESS_UIF_RESTRICTIONS_DISABLED = 2 | ||
} PROCESS_UI_FLAGS; | ||
|
||
typedef struct tagPROCESS_UICONTEXT_INFORMATION { | ||
DWORD processUIContext; //PROCESS_UICONTEXT | ||
DWORD dwFlags; //PROCESS_UI_FLAGS | ||
} PROCESS_UICONTEXT_INFORMATION, * PPROCESS_UICONTEXT_INFORMATION; | ||
|
||
|
||
typedef HWINSTA(NTAPI* pfnNtUserOpenWindowStation)( | ||
_In_ POBJECT_ATTRIBUTES ObjectAttributes, | ||
_In_ ACCESS_MASK DesiredAccess); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#pragma warning(pop) | ||
|
||
#endif NTUSER_RTL |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.