Skip to content

Commit

Permalink
Fixes #161 - Add Hypervisor namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Otteson committed Mar 28, 2021
1 parent dd51e1e commit 0a6b556
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions generation/emitter/autoTypes.rsp
Expand Up @@ -210,3 +210,4 @@ Windows.Win32.AllJoyn,alljoyn_sessionportlistener,AllJoynHandle
Windows.Win32.SystemServices,HPCON,IntPtr,ClosePseudoConsole
Windows.Win32.Controls,HTREEITEM,IntPtr
Windows.Win32.SystemServices,LPPROC_THREAD_ATTRIBUTE_LIST,void*
Windows.Win32.Hypervisor,WHV_PARTITION_HANDLE,IntPtr,WHvDeletePartition
11 changes: 11 additions & 0 deletions generation/scraper/Partitions/Hypervisor/main.cpp
@@ -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 <WinHvPlatform.h>
#include <WinHvEmulation.h>

15 changes: 15 additions & 0 deletions generation/scraper/Partitions/Hypervisor/settings.rsp
@@ -0,0 +1,15 @@
--file
<PartitionDir>\main.cpp
--output
<GeneratedSourceDir>\<PartitionName>.cs
--include-directory
<RepoRoot>\generation\scraper
<IncludeRoot>/shared
<IncludeRoot>/um
<IncludeRoot>/winrt
--traverse
<IncludeRoot>/um/WinHvPlatformDefs.h
<IncludeRoot>/um/WinHvPlatform.h
<IncludeRoot>/um/WinHvEmulation.h
--namespace
Windows.Win32.Hypervisor
2 changes: 2 additions & 0 deletions generation/scraper/baseRemap.rsp
Expand Up @@ -11199,3 +11199,5 @@ _PfForwardAction=PFFORWARD_ACTION
_PfAddresType=PFADDRESSTYPE
_PfFrameType=PFFRAMETYPE
_pfLogFrame=PFLOGFRAME
_WHV_PROCESSOR_XSAVE_FEATURES=WHV_PROCESSOR_XSAVE_FEATURES
_WHV_HYPERCALL_CONTEXT=WHV_HYPERCALL_CONTEXT

0 comments on commit 0a6b556

Please sign in to comment.