-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More namespace dependency fixes (#709)
* Namespace depenency improvments: Controls, Input, Globalization, WindowsAndMessaging * Namespace refactoring for FileSystem, IO, Ioctl
- Loading branch information
Showing
33 changed files
with
344 additions
and
381 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
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,12 @@ | ||
#define SECURITY_WIN32 // For sspi.h | ||
#define QCC_OS_GROUP_WINDOWS | ||
|
||
#include "intrinfix.h" | ||
|
||
#include "windows.fixed.h" | ||
#include <sdkddkver.h> | ||
|
||
#include <richedit.h> | ||
#include <textserv.h> | ||
#include <richole.h> | ||
#include <tom.h> |
10 changes: 10 additions & 0 deletions
10
generation/WinSDK/Partitions/Controls.RichEdit/settings.rsp
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,10 @@ | ||
--exclude | ||
UiaRect | ||
--traverse | ||
<IncludeRoot>/um/Richedit.h | ||
<IncludeRoot>/um/TextServ.h | ||
<IncludeRoot>/um/RichOle.h | ||
<IncludeRoot>/um/TOM.h | ||
--namespace | ||
Windows.Win32.UI.Controls.RichEdit | ||
|
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
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,24 @@ | ||
#define SECURITY_WIN32 // For sspi.h | ||
|
||
#include "intrinfix.h" | ||
|
||
#include "windows.fixed.h" | ||
#include <sdkddkver.h> | ||
|
||
#include <mmsystem.h> | ||
|
||
// Headers needed for COM | ||
#include <objbase.h> | ||
#include <ObjIdl.h> | ||
#include <combaseapi.h> | ||
|
||
#include <winbase.h> | ||
#include <winnt.h> | ||
|
||
#define USERMODE_DRIVER | ||
#include <winddi.h> | ||
#undef USERMODE_DRIVER | ||
|
||
#include <winuser.h> | ||
|
||
#include <ioapiset.h> |
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,5 @@ | ||
--traverse | ||
<IncludeRoot>/um/ioapiset.h | ||
--namespace | ||
Windows.Win32.System.IO | ||
|
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,21 @@ | ||
#define SECURITY_WIN32 // For sspi.h | ||
#define QCC_OS_GROUP_WINDOWS | ||
|
||
#include "intrinfix.h" | ||
|
||
#include "windows.fixed.h" | ||
#include <sdkddkver.h> | ||
|
||
#include <winbase.h> | ||
#include <winnt.h> | ||
#include <winuser.h> | ||
|
||
#include <msime.h> | ||
#include <imm.h> | ||
#include <immdev.h> | ||
#include <imepad.h> | ||
#include <msimeapi.h> | ||
|
||
#define _DDKIMM_H_ // Keeps INPUTCONTEXT and IMEINFO from coming in again | ||
#include <dimm.h> | ||
|
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,10 @@ | ||
--traverse | ||
<IncludeRoot>/um/msime.h | ||
<IncludeRoot>/um/imm.h | ||
<IncludeRoot>/um/immdev.h | ||
<IncludeRoot>/um/imepad.h | ||
<IncludeRoot>/um/msimeapi.h | ||
<IncludeRoot>/um/dimm.h | ||
--namespace | ||
Windows.Win32.UI.Input.Ime | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--traverse | ||
<IncludeRoot>/um/RadialControllerInterop.h | ||
--namespace | ||
Windows.Win32.UI.RadialInput | ||
Windows.Win32.UI.Input.Radial |
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
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,11 @@ | ||
#define SECURITY_WIN32 // For sspi.h | ||
#define QCC_OS_GROUP_WINDOWS | ||
|
||
#include "intrinfix.h" | ||
|
||
#include "windows.fixed.h" | ||
#include <sdkddkver.h> | ||
|
||
#include <minwinbase.h> | ||
#include <winioctl.h> | ||
#include <ntddstor.h> |
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,7 @@ | ||
--exclude | ||
_VIRTUAL_STORAGE_TYPE | ||
--traverse | ||
<IncludeRoot>/shared/ntddstor.h | ||
<IncludeRoot>/um/winioctl.h | ||
--namespace | ||
Windows.Win32.System.Ioctl |
2 changes: 1 addition & 1 deletion
2
generation/WinSDK/Partitions/KeyboardAndMouseInput/settings.rsp
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--traverse | ||
<IncludeRoot>/um/kbd.h | ||
--namespace | ||
Windows.Win32.UI.KeyboardAndMouseInput | ||
Windows.Win32.UI.Input.KeyboardAndMouse |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--traverse | ||
<IncludeRoot>/um/Xinput.h | ||
--namespace | ||
Windows.Win32.UI.XInput | ||
Windows.Win32.UI.Input.XboxController |
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
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,16 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using Windows.Win32.Interop; | ||
|
||
namespace Windows.Win32.System.Ioctl | ||
{ | ||
public static unsafe partial class Apis | ||
{ | ||
public const uint IOCTL_STORAGE_BASE = FILE_DEVICE_MASS_STORAGE; | ||
public const uint IOCTL_SCMBUS_BASE = FILE_DEVICE_PERSISTENT_MEMORY; | ||
public const uint IOCTL_DISK_BASE = (uint)Windows.Win32.Storage.FileSystem.FILE_DEVICE_TYPE.FILE_DEVICE_DISK; | ||
public const uint IOCTL_CHANGER_BASE = FILE_DEVICE_CHANGER; | ||
public const uint FILE_SPECIAL_ACCESS = 0; | ||
public const uint FILE_DEVICE_UNKNOWN = 0x00000022; | ||
} | ||
} |
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.