-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add InteractivityOneCore/RendererWddmCon projects (#13007)
`InteractivityOneCore` and `RendererWddmCon` were the last two remaining projects which are relevant for our internal console builds, but couldn't be easily compiled publicly by users on GitHub. This commit adds all definitions required to compile the two projects into dysfunctional libraries at least. (Since the added definitions are deliberately incorrect.) Additionally this commit fixes the AuditMode build for the two projects. ## Validation Steps Performed The two new projects compile fine.
- Loading branch information
Showing
50 changed files
with
932 additions
and
537 deletions.
There are no files selected for viewing
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,76 @@ | ||
/*++ | ||
Copyright (c) Microsoft Corporation. | ||
Licensed under the MIT license. | ||
--*/ | ||
|
||
#pragma once | ||
|
||
#include <ntlpcapi.h> | ||
|
||
#define CIS_ALPC_PORT_NAME L"" | ||
|
||
#define CIS_EVENT_TYPE_INPUT (0) | ||
#define CIS_EVENT_TYPE_FOCUS (1) | ||
#define CIS_EVENT_TYPE_FOCUS_ACK (2) | ||
|
||
#define CIS_MSG_TYPE_GETDISPLAYSIZE (3) | ||
#define CIS_MSG_TYPE_GETFONTSIZE (4) | ||
#define CIS_MSG_TYPE_SETCURSOR (5) | ||
#define CIS_MSG_TYPE_UPDATEDISPLAY (6) | ||
|
||
#define CIS_MSG_ATTR_FLAGS (0) | ||
|
||
#define CIS_MSG_ATTR_BUFFER_SIZE (1024) | ||
|
||
#define CIS_DISPLAY_MODE_NONE (0) | ||
#define CIS_DISPLAY_MODE_BGFX (1) | ||
#define CIS_DISPLAY_MODE_DIRECTX (2) | ||
|
||
typedef struct { | ||
PORT_MESSAGE AlpcHeader; | ||
UCHAR Type; | ||
|
||
union { | ||
struct { | ||
CD_IO_DISPLAY_SIZE DisplaySize; | ||
|
||
NTSTATUS ReturnValue; | ||
} GetDisplaySizeParams; | ||
|
||
struct { | ||
CD_IO_FONT_SIZE FontSize; | ||
|
||
NTSTATUS ReturnValue; | ||
} GetFontSizeParams; | ||
|
||
struct { | ||
CD_IO_CURSOR_INFORMATION CursorInformation; | ||
|
||
NTSTATUS ReturnValue; | ||
} SetCursorParams; | ||
|
||
struct { | ||
SHORT RowIndex; | ||
|
||
NTSTATUS ReturnValue; | ||
} UpdateDisplayParams; | ||
|
||
struct { | ||
USHORT DisplayMode; | ||
} GetDisplayModeParams; | ||
}; | ||
} CIS_MSG, *PCIS_MSG; | ||
|
||
typedef struct { | ||
UCHAR Type; | ||
|
||
union { | ||
struct { | ||
INPUT_RECORD Record; | ||
} InputEvent; | ||
|
||
struct { | ||
BOOLEAN IsActive; | ||
} FocusEvent; | ||
}; | ||
} CIS_EVENT, *PCIS_EVENT; |
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,24 @@ | ||
/*++ | ||
Copyright (c) Microsoft Corporation. | ||
Licensed under the MIT license. | ||
--*/ | ||
|
||
#pragma once | ||
|
||
#include <ntcsrmsg.h> | ||
|
||
typedef enum _USER_API_NUMBER { | ||
UserpEndTask, | ||
} USER_API_NUMBER, *PUSER_API_NUMBER; | ||
|
||
typedef struct _ENDTASKMSG { | ||
HANDLE ProcessId; | ||
ULONG ConsoleEventCode; | ||
ULONG ConsoleFlags; | ||
} ENDTASKMSG, *PENDTASKMSG; | ||
|
||
typedef struct _USER_API_MSG { | ||
union { | ||
ENDTASKMSG EndTask; | ||
} u; | ||
} USER_API_MSG, *PUSER_API_MSG; |
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,15 @@ | ||
/*++ | ||
Copyright (c) Microsoft Corporation. | ||
Licensed under the MIT license. | ||
--*/ | ||
|
||
#pragma once | ||
|
||
#include <ntcsrmsg.h> | ||
|
||
NTSTATUS CsrClientCallServer( | ||
PCSR_API_MSG m, | ||
PCSR_CAPTURE_HEADER CaptureBuffer OPTIONAL, | ||
ULONG ApiNumber, | ||
ULONG ArgLength | ||
); |
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,16 @@ | ||
/*++ | ||
Copyright (c) Microsoft Corporation. | ||
Licensed under the MIT license. | ||
--*/ | ||
|
||
#pragma once | ||
|
||
#include <ntlpcapi.h> | ||
|
||
typedef struct _CSR_CAPTURE_HEADER { | ||
} CSR_CAPTURE_HEADER, *PCSR_CAPTURE_HEADER; | ||
|
||
typedef struct _CSR_API_MSG { | ||
} CSR_API_MSG, *PCSR_API_MSG; | ||
|
||
#define CSR_MAKE_API_NUMBER(DllIndex, ApiIndex) 0 |
Oops, something went wrong.