Skip to content

Commit 3591031

Browse files
committed
Update IDLs & recompile
1 parent da4e9ec commit 3591031

File tree

130 files changed

+2179
-2441
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+2179
-2441
lines changed

midl-to-scapy/idl/patches/ms-csvp.idl.patch

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ index 8325d02..ec9a705 100644
99

1010
typedef enum _CPREP_DISKID_ENUM {
1111
CprepIdSignature = 0x00000000,
12-
@@ -10,7 +10,7 @@
13-
14-
typedef struct _CPREP_DISKID {
15-
CPREP_DISKID_ENUM DiskIdType;
16-
- [switch_is(DiskIdType)] union {
17-
+ [switch_is(DiskIdType), switch_type(_CPREP_DISKID_ENUM)] union {
18-
[case(CprepIdSignature)] unsigned long DiskSignature;
19-
[case(CprepIdGuid)] GUID DiskGuid;
20-
[case(CprepIdNumber)] unsigned long DeviceNumber;
2112
@@ -393,7 +393,7 @@
2213
ClusterLogTypeHealth = 1,
2314
ClusterLogTypeClusterSet = 2,

midl-to-scapy/idl/patches/ms-dmrp_dmintf3.idl.patch

Lines changed: 0 additions & 22 deletions
This file was deleted.

midl-to-scapy/idl/patches/ms-even6.idl.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

midl-to-scapy/idl/patches/ms-mqmr.idl.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

midl-to-scapy/idl/patches/ms-nrpc.idl.patch

Lines changed: 0 additions & 68 deletions
This file was deleted.

midl-to-scapy/idl/patches/ms-oaut.idl.patch

Lines changed: 0 additions & 22 deletions
This file was deleted.

midl-to-scapy/idl/patches/ms-par.idl.patch

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ index e665a77..e1256b9 100644
1111
[case(BIDI_NULL, BIDI_BOOL)]
1212
int bData;
1313
[case(BIDI_INT)]
14-
@@ -866,7 +866,7 @@
15-
16-
typedef struct {
17-
RPC_EPrintPropertyType ePropertyType;
18-
- [switch_is(ePropertyType)] union {
19-
+ [switch_is(ePropertyType), switch_type(RPC_EPrintPropertyType)] union {
20-
[case(kRpcPropertyTypeString)] [string] wchar_t *propertyString;
21-
[case(kRpcPropertyTypeInt32)] LONG propertyInt32;
22-
[case(kRpcPropertyTypeInt64)] LONGLONG propertyInt64;
2314
@@ -1501,7 +1501,6 @@
2415
[in, string, unique] wchar_t* pDatatype,
2516
[in] DEVMODE_CONTAINER* pDevModeContainer

midl-to-scapy/idl/patches/ms-rprn.idl.patch

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ index add9a67..bb7a122 100644
1111
[case(BIDI_NULL, BIDI_BOOL)]
1212
int bData;
1313
[case(BIDI_INT)]
14-
@@ -729,7 +729,7 @@
15-
typedef struct {
16-
RPC_EPrintPropertyType ePropertyType;
17-
18-
- [switch_is(ePropertyType)]
19-
+ [switch_is(ePropertyType), switch_type(RPC_EPrintPropertyType)]
20-
union {
21-
[case(kRpcPropertyTypeString)]
22-
[string] wchar_t *propertyString;
2314
@@ -1616,7 +1616,7 @@
2415
[out, size_is(,*pcProperties)] RPC_PrintNamedProperty **ppProperties);
2516

midl-to-scapy/idl/patches/ms-vds.idl.patch

Lines changed: 0 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,6 @@ diff --git a/midl-to-scapy/idl/win/ms-vds.idl b/midl-to-scapy/idl/win/ms-vds.idl
22
index e51b1c9..00ee6c3 100644
33
--- a/midl-to-scapy/idl/win/ms-vds.idl
44
+++ b/midl-to-scapy/idl/win/ms-vds.idl
5-
@@ -394,7 +394,7 @@
6-
typedef struct _VDS_NOTIFICATION
7-
{
8-
VDS_NOTIFICATION_TARGET_TYPE objectType;
9-
- [switch_is(objectType)] union
10-
+ [switch_is(objectType), switch_type(_VDS_NOTIFICATION_TARGET_TYPE)] union
11-
{
12-
[case(VDS_NTT_PACK)]
13-
VDS_PACK_NOTIFICATION Pack;
14-
@@ -416,7 +416,7 @@
15-
16-
typedef struct _VDS_ASYNC_OUTPUT {
17-
VDS_ASYNC_OUTPUT_TYPE type;
18-
- [switch_is(type)] union
19-
+ [switch_is(type), switch_type(_VDS_ASYNC_OUTPUT_TYPE)] union
20-
{
21-
[case(VDS_ASYNCOUT_CREATEPARTITION)]
22-
struct _cp
23-
@@ -554,7 +554,7 @@
24-
unsigned long ulPartitionNumber;
25-
ULONGLONG ullOffset;
26-
ULONGLONG ullSize;
27-
- [switch_is(PartitionStyle)] union
28-
+ [switch_is(PartitionStyle), switch_type(_VDS_PARTITION_STYLE)] union
29-
{
30-
[case(VDS_PST_MBR)]
31-
VDS_PARTITION_INFO_MBR Mbr;
32-
@@ -575,7 +575,7 @@
33-
typedef struct _CREATE_PARTITION_PARAMETERS
34-
{
35-
VDS_PARTITION_STYLE style;
36-
- [switch_is(style)] union
37-
+ [switch_is(style), switch_type(_VDS_PARTITION_STYLE)] union
38-
{
39-
[case(VDS_PST_MBR)]
40-
struct
415
@@ -808,7 +808,7 @@
426
typedef struct VDS_REPARSE_POINT_PROP
437
{
@@ -47,48 +11,3 @@ index e51b1c9..00ee6c3 100644
4711
} VDS_REPARSE_POINT_PROP, *PVDS_REPARSE_POINT_PROP;
4812

4913
typedef struct _VDS_DRIVE_LETTER_PROP
50-
@@ -846,7 +846,7 @@
51-
typedef struct _CHANGE_ATTRIBUTES_PARAMETERS
52-
{
53-
VDS_PARTITION_STYLE style; // legal values: MBR or GPT
54-
- [switch_is(style)] union
55-
+ [switch_is(style), switch_type(_VDS_PARTITION_STYLE)] union
56-
{
57-
[case(VDS_PST_MBR)]
58-
struct
59-
@@ -867,7 +867,7 @@
60-
typedef struct _CHANGE_PARTITION_TYPE_PARAMETERS
61-
{
62-
VDS_PARTITION_STYLE style;
63-
- [switch_is(style)] union
64-
+ [switch_is(style), switch_type(_VDS_PARTITION_STYLE)] union
65-
{
66-
[case(VDS_PST_MBR)]
67-
struct
68-
@@ -974,7 +974,7 @@
69-
unsigned long ulFlags;
70-
VDS_STORAGE_BUS_TYPE BusType;
71-
VDS_PARTITION_STYLE PartitionStyle;
72-
- [switch_is(PartitionStyle)] union
73-
+ [switch_is(PartitionStyle), switch_type(_VDS_PARTITION_STYLE)] union
74-
{
75-
[case(VDS_PST_MBR)]
76-
DWORD dwSignature;
77-
@@ -1004,7 +1004,7 @@
78-
unsigned long ulFlags;
79-
VDS_STORAGE_BUS_TYPE BusType;
80-
VDS_PARTITION_STYLE PartitionStyle;
81-
- [switch_is(PartitionStyle)] union
82-
+ [switch_is(PartitionStyle), switch_type(_VDS_PARTITION_STYLE)] union
83-
{
84-
[case(VDS_PST_MBR)]
85-
DWORD dwSignature;
86-
@@ -1042,7 +1042,7 @@
87-
VDS_HEALTH health;
88-
VDS_STORAGE_BUS_TYPE BusType;
89-
VDS_PARTITION_STYLE PartitionStyle;
90-
- [switch_is(PartitionStyle)] union
91-
+ [switch_is(PartitionStyle), switch_type(_VDS_PARTITION_STYLE)] union
92-
{
93-
[case(VDS_PST_MBR)]
94-
DWORD dwSignature;

midl-to-scapy/idl/win/ms-csvp.idl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
typedef struct _CPREP_DISKID {
1212
CPREP_DISKID_ENUM DiskIdType;
13-
[switch_is(DiskIdType), switch_type(_CPREP_DISKID_ENUM)] union {
13+
[switch_is(DiskIdType)] union {
1414
[case(CprepIdSignature)] unsigned long DiskSignature;
1515
[case(CprepIdGuid)] GUID DiskGuid;
1616
[case(CprepIdNumber)] unsigned long DeviceNumber;

0 commit comments

Comments
 (0)