-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Namespace refactors: com, security, ole (#706)
* Big refactor of the security and com namespaces to help reduce unnecessary dependencies. * Update version
- Loading branch information
Showing
71 changed files
with
1,262 additions
and
350 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,20 @@ | ||
#define SECURITY_WIN32 // For sspi.h | ||
#define QCC_OS_GROUP_WINDOWS | ||
|
||
#include "intrinfix.h" | ||
#include "windows.fixed.h" | ||
|
||
#include <sdkddkver.h> | ||
|
||
#include <wtypes.h> | ||
#include <olectl.h> | ||
#include <vbinterf.h> | ||
#include <ocidl.h> | ||
#include <docobj.h> | ||
#include <oleidl.h> | ||
#include <objidl.h> | ||
#include <oledlg.h> | ||
#include <ole2.h> | ||
#include <objbase.h> | ||
|
||
#include <callobj.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,8 @@ | ||
--exclude | ||
_GUID | ||
--traverse | ||
<IncludeRoot>/um/callobj.h | ||
--namespace | ||
Windows.Win32.System.Com.CallObj | ||
--with-type | ||
STREAM_SEEK=uint |
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,20 @@ | ||
#define SECURITY_WIN32 // For sspi.h | ||
#define QCC_OS_GROUP_WINDOWS | ||
|
||
#include "intrinfix.h" | ||
#include "windows.fixed.h" | ||
|
||
#include <sdkddkver.h> | ||
|
||
#include <wtypes.h> | ||
#include <olectl.h> | ||
#include <vbinterf.h> | ||
#include <ocidl.h> | ||
#include <docobj.h> | ||
#include <oleidl.h> | ||
#include <objidl.h> | ||
#include <oledlg.h> | ||
#include <ole2.h> | ||
#include <objbase.h> | ||
|
||
#include <ichannelcredentials.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,8 @@ | ||
--exclude | ||
_GUID | ||
--traverse | ||
<IncludeRoot>/um/ichannelcredentials.h | ||
--namespace | ||
Windows.Win32.System.Com.ChannelCredentials | ||
--with-type | ||
STREAM_SEEK=uint |
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 @@ | ||
#define SECURITY_WIN32 // For sspi.h | ||
#define QCC_OS_GROUP_WINDOWS | ||
|
||
#define MICROSOFT_WINDOWS_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVERLOADS 0 | ||
|
||
#include "intrinfix.h" | ||
|
||
#include "windows.fixed.h" | ||
#include <sdkddkver.h> | ||
|
||
typedef LPVOID* PPVOID; | ||
|
||
#include <comsvcs.h> | ||
#include <combaseapi.h> | ||
#include <eventsys.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 | ||
IResourceManagerXXX | ||
--traverse | ||
<IncludeRoot>/um/EventSys.h | ||
--namespace | ||
Windows.Win32.System.Com.Events | ||
|
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 |
---|---|---|
|
@@ -16,4 +16,3 @@ | |
#include <propidlbase.h> | ||
#include <coml2api.h> | ||
#include <propapi.h> | ||
#include <esent.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
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,19 @@ | ||
#define SECURITY_WIN32 // For sspi.h | ||
#define QCC_OS_GROUP_WINDOWS | ||
|
||
#include "intrinfix.h" | ||
#include "windows.fixed.h" | ||
|
||
#include <sdkddkver.h> | ||
|
||
#include <wtypes.h> | ||
#include <olectl.h> | ||
#include <vbinterf.h> | ||
#include <ocidl.h> | ||
#include <docobj.h> | ||
#include <oleidl.h> | ||
#include <objidl.h> | ||
#include <oledlg.h> | ||
#include <ole2.h> | ||
#include <objbase.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,8 @@ | ||
--exclude | ||
_GUID | ||
--traverse | ||
<IncludeRoot>/um/urlmon.h | ||
--namespace | ||
Windows.Win32.System.Com.Urlmon | ||
--with-type | ||
STREAM_SEEK=uint |
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,31 @@ | ||
#define SECURITY_WIN32 // For sspi.h | ||
#define QCC_OS_GROUP_WINDOWS | ||
|
||
#include "intrinfix.h" | ||
#include "windows.fixed.h" | ||
|
||
#include <sdkddkver.h> | ||
|
||
#include <wtypes.h> | ||
#include <olectl.h> | ||
#include <vbinterf.h> | ||
#include <ocidl.h> | ||
#include <docobj.h> | ||
#include <oleidl.h> | ||
#include <objidl.h> | ||
#include <oledlg.h> | ||
#include <ole2.h> | ||
#include <objbase.h> | ||
|
||
#include <comcat.h> | ||
#include <callobj.h> | ||
#include <messagedispatcherapi.h> | ||
#include <ctxtcall.h> | ||
|
||
#include <ichannelcredentials.h> | ||
|
||
#include <mtx.h> | ||
#include <mtxadmin.h> | ||
#include <mtxattr.h> | ||
|
||
#include <idispids.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,16 @@ | ||
--exclude | ||
CreateDataAdviseHolder | ||
--traverse | ||
<IncludeRoot>/um/OleCtl.h | ||
<IncludeRoot>/um/vbinterf.h | ||
<IncludeRoot>/um/OCIdl.h | ||
<IncludeRoot>/um/DocObj.h | ||
<IncludeRoot>/um/oleidl.h | ||
<IncludeRoot>/um/ole.h | ||
<IncludeRoot>/um/ole2.h | ||
<IncludeRoot>/um/OleDlg.h | ||
<IncludeRoot>/um/idispids.h | ||
--namespace | ||
Windows.Win32.System.Ole | ||
--with-type | ||
STREAM_SEEK=uint |
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,33 @@ | ||
#define SECURITY_WIN32 // For sspi.h | ||
#define QCC_OS_GROUP_WINDOWS | ||
|
||
#include "intrinfix.h" | ||
|
||
#include "windows.fixed.h" | ||
#include <sdkddkver.h> | ||
|
||
#include <winternl.h> | ||
|
||
// Usually brought in by windows.h | ||
typedef NTSTATUS* PNTSTATUS; | ||
|
||
#define _NTDEF_ | ||
#define SECURITY_WIN32 | ||
#include <NTSecAPI.h> | ||
#include <sspi.h> | ||
#include <wincred.h> | ||
#include <NTSecPKG.h> | ||
#include <schannel.h> | ||
|
||
typedef struct _OLD_LARGE_INTEGER { | ||
ULONG LowPart; | ||
LONG HighPart; | ||
} OLD_LARGE_INTEGER, *POLD_LARGE_INTEGER; | ||
|
||
|
||
#include <winbase.h> | ||
#include <winnt.h> | ||
#include <winuser.h> | ||
|
||
#include <winsafer.h> | ||
|
11 changes: 11 additions & 0 deletions
11
generation/WinSDK/Partitions/Security.AppLocker/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,11 @@ | ||
--with-type | ||
_tagSLDATATYPE=uint | ||
SLDATATYPE=uint | ||
--exclude | ||
_CYPHER_BLOCK | ||
_LM_OWF_PASSWORD | ||
--traverse | ||
<IncludeRoot>/um/winsafer.h | ||
--namespace | ||
Windows.Win32.Security.AppLocker | ||
|
32 changes: 32 additions & 0 deletions
32
generation/WinSDK/Partitions/Security.ConfigurationSnapin/main.cpp
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,32 @@ | ||
#define SECURITY_WIN32 // For sspi.h | ||
#define QCC_OS_GROUP_WINDOWS | ||
|
||
#include "intrinfix.h" | ||
|
||
#include "windows.fixed.h" | ||
#include <sdkddkver.h> | ||
|
||
#include <winternl.h> | ||
|
||
// Usually brought in by windows.h | ||
typedef NTSTATUS* PNTSTATUS; | ||
|
||
#define _NTDEF_ | ||
#define SECURITY_WIN32 | ||
#include <NTSecAPI.h> | ||
#include <sspi.h> | ||
#include <wincred.h> | ||
#include <NTSecPKG.h> | ||
#include <schannel.h> | ||
|
||
typedef struct _OLD_LARGE_INTEGER { | ||
ULONG LowPart; | ||
LONG HighPart; | ||
} OLD_LARGE_INTEGER, *POLD_LARGE_INTEGER; | ||
|
||
|
||
#include <winbase.h> | ||
#include <winnt.h> | ||
#include <winuser.h> | ||
|
||
#include <scesvc.h> |
11 changes: 11 additions & 0 deletions
11
generation/WinSDK/Partitions/Security.ConfigurationSnapin/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,11 @@ | ||
--with-type | ||
_tagSLDATATYPE=uint | ||
SLDATATYPE=uint | ||
--exclude | ||
_CYPHER_BLOCK | ||
_LM_OWF_PASSWORD | ||
--traverse | ||
<IncludeRoot>/um/scesvc.h | ||
--namespace | ||
Windows.Win32.Security.ConfigurationSnapin | ||
|
Oops, something went wrong.