Skip to content

Commit eff7708

Browse files
committed
msrpc: update revisions for non-dcom interfaces
1 parent 67521c5 commit eff7708

70 files changed

Lines changed: 45804 additions & 29836 deletions

Some content is hidden

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

README.md

Lines changed: 64 additions & 65 deletions
Large diffs are not rendered by default.

idl/.midl/config.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,52 @@ go:
66
gonames:
77
# The relative path to gonames configuration files.
88
path: "./gonames"
9+
idl:
10+
- eerr:
11+
rename:
12+
EEComputerNamePresent: [Computer, Name, Present, Type]
13+
- fasp:
14+
rename:
15+
FW_DUPLICATE_STATUS_FLAGS_EVALUATING: [Rule, Duplicate, Status, Flags, Evaluating]
16+
FW_DUPLICATE_STATUS_FLAGS_HAS_DUPLICATE: [Rule, Duplicate, Status, Flags, Has, Duplicate]
17+
FW_DUPLICATE_STATUS_FLAGS_IS_ENFORCED: [Rule, Duplicate, Status, Flags, Is, Enforced]
18+
- par:
19+
rename:
20+
pcbData: [Data, Out, Length]
21+
pcbValueName: [Value, Name, Out, Length]
22+
pcbEnumValues: [Enum, Values, Out, Length]
23+
pnEnumValues: [Enum, Values, Out, Actual, Length]
24+
pcbSubkey: [Sub, Key, Out, Length]
25+
RPC_PrintNamedProperty: [Print, Job, Named, Property]
26+
RPC_EPrintPropertyType: [Print, Job, Property, Type]
27+
RPC_PrintPropertyValue: [Print, Job, Property, Value]
28+
lookBehind:
29+
p: {status: [status, string], flags: [flags, out], options: [notify, options]}
30+
bi: {data: [binary, data]}
31+
b: {data: [bool, data]}
32+
s: {data: [string, data]}
33+
i: {data: [int, data]}
34+
f: {data: [float, data]}
35+
rpc: {e: [rpce]}
36+
rpce: {print: [print, job]}
37+
- rprn:
38+
rename:
39+
pcbData: [Data, Out, Length]
40+
pcbValueName: [Value, Name, Out, Length]
41+
pcbEnumValues: [Enum, Values, Out, Length]
42+
pnEnumValues: [Enum, Values, Out, Actual, Length]
43+
pcbSubkey: [Sub, Key, Out, Length]
44+
lookBehind:
45+
p: {status: [status, string], flags: [flags, out], options: [notify, options]}
46+
bi: {data: [binary, data]}
47+
b: {data: [bool, data]}
48+
s: {data: [string, data]}
49+
i: {data: [int, data]}
50+
f: {data: [float, data]}
51+
- raiw:
52+
abbr:
53+
add: Addr
54+
adds: Addrs
55+
lookBehind:
56+
p: {add: [addrs]}
57+
addrs: {vers: [addr, vers]}

idl/.midl/gonames/abbrs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ abbr:
104104
dc: DC
105105
del: Delete
106106
des: DES
107+
3des: 3DES
107108
descr: Description
108109
dest: Destination
109110
dfs: DFS

idl/capr.idl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ interface lsacap {
1616
[in] handle_t BindingHandle,
1717
[out] LSAPR_WRAPPED_CAPID_SET * WrappedCAPIDs);
1818
};
19-

idl/cmrp.idl

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2512,4 +2512,99 @@ error_status_t
25122512
[ in ] ULONGLONG flags,
25132513
[ out ] error_status_t *rpc_status
25142514
);
2515+
2516+
error_status_t
2517+
ApiClusterNativeUpdateControl(
2518+
[in] handle_t IDL_handle,
2519+
[in] UCHAR* inBuffer,
2520+
[in] DWORD inBufferSize,
2521+
[out] UCHAR* outBuffer,
2522+
[in] DWORD outBufferSize,
2523+
[out] LPDWORD lpBytesReturned,
2524+
[out] LPDWORD lpBytesNeeded,
2525+
[out] error_status_t *rpc_status
2526+
);
2527+
2528+
// reserved opnums
2529+
error_status_t Opnum186Reserved(void);
2530+
error_status_t Opnum187Reserved(void);
2531+
error_status_t Opnum188Reserved(void);
2532+
error_status_t Opnum189Reserved(void);
2533+
error_status_t Opnum190Reserved(void);
2534+
error_status_t Opnum191Reserved(void);
2535+
error_status_t Opnum192Reserved(void);
2536+
error_status_t Opnum193Reserved(void);
2537+
error_status_t Opnum194Reserved(void);
2538+
error_status_t Opnum195Reserved(void);
2539+
error_status_t Opnum196Reserved(void);
2540+
error_status_t Opnum197Reserved(void);
2541+
error_status_t Opnum198Reserved(void);
2542+
error_status_t Opnum199Reserved(void);
2543+
error_status_t Opnum200Reserved(void);
2544+
error_status_t Opnum201Reserved(void);
2545+
error_status_t Opnum202Reserved(void);
2546+
error_status_t Opnum203Reserved(void);
2547+
error_status_t Opnum204Reserved(void);
2548+
error_status_t Opnum205Reserved(void);
2549+
error_status_t Opnum206Reserved(void);
2550+
error_status_t Opnum207Reserved(void);
2551+
error_status_t Opnum208Reserved(void);
2552+
error_status_t Opnum209Reserved(void);
2553+
error_status_t Opnum210Reserved(void);
2554+
error_status_t Opnum211Reserved(void);
2555+
error_status_t Opnum212Reserved(void);
2556+
error_status_t Opnum213Reserved(void);
2557+
error_status_t Opnum214Reserved(void);
2558+
error_status_t Opnum215Reserved(void);
2559+
error_status_t Opnum216Reserved(void);
2560+
error_status_t Opnum217Reserved(void);
2561+
error_status_t Opnum218Reserved(void);
2562+
error_status_t Opnum219Reserved(void);
2563+
error_status_t Opnum220Reserved(void);
2564+
error_status_t Opnum221Reserved(void);
2565+
error_status_t Opnum222Reserved(void);
2566+
error_status_t Opnum223Reserved(void);
2567+
error_status_t Opnum224Reserved(void);
2568+
error_status_t Opnum225Reserved(void);
2569+
error_status_t Opnum226Reserved(void);
2570+
error_status_t Opnum227Reserved(void);
2571+
error_status_t Opnum228Reserved(void);
2572+
error_status_t Opnum229Reserved(void);
2573+
error_status_t Opnum230Reserved(void);
2574+
error_status_t Opnum231Reserved(void);
2575+
error_status_t Opnum232Reserved(void);
2576+
error_status_t Opnum233Reserved(void);
2577+
error_status_t Opnum234Reserved(void);
2578+
error_status_t Opnum235Reserved(void);
2579+
error_status_t Opnum236Reserved(void);
2580+
error_status_t Opnum237Reserved(void);
2581+
error_status_t Opnum238Reserved(void);
2582+
error_status_t Opnum239Reserved(void);
2583+
error_status_t Opnum240Reserved(void);
2584+
error_status_t Opnum241Reserved(void);
2585+
error_status_t Opnum242Reserved(void);
2586+
error_status_t Opnum243Reserved(void);
2587+
error_status_t Opnum244Reserved(void);
2588+
error_status_t Opnum245Reserved(void);
2589+
error_status_t Opnum246Reserved(void);
2590+
error_status_t Opnum247Reserved(void);
2591+
error_status_t Opnum248Reserved(void);
2592+
error_status_t Opnum249Reserved(void);
2593+
error_status_t Opnum250Reserved(void);
2594+
error_status_t Opnum251Reserved(void);
2595+
error_status_t Opnum252Reserved(void);
2596+
error_status_t Opnum253Reserved(void);
2597+
error_status_t Opnum254Reserved(void);
2598+
error_status_t Opnum255Reserved(void);
2599+
error_status_t Opnum256Reserved(void);
2600+
error_status_t Opnum257Reserved(void);
2601+
error_status_t Opnum258Reserved(void);
2602+
error_status_t Opnum259Reserved(void);
2603+
error_status_t Opnum260Reserved(void);
2604+
error_status_t Opnum261Reserved(void);
2605+
error_status_t Opnum262Reserved(void);
2606+
error_status_t Opnum263Reserved(void);
2607+
// not used on wire
2608+
error_status_t Opnum264NotUsedOnWire(void);
2609+
25152610
}

idl/dnsp.idl

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,7 +1762,8 @@ typedef enum _DnssrvRpcTypeId
17621762
DNSSRV_TYPEID_POLICY_ENUM, // 60
17631763
DNSSRV_TYPEID_RRL,
17641764
DNSSRV_TYPEID_VIRTUALIZATION_INSTANCE,
1765-
DNSSRV_TYPEID_VIRTUALIZATION_INSTANCE_ENUM
1765+
DNSSRV_TYPEID_VIRTUALIZATION_INSTANCE_ENUM,
1766+
DNSSRV_TYPEID_ENCRYPTION_CONFIG
17661767
}
17671768
DNS_RPC_TYPEID, *PDNS_RPC_TYPEID;
17681769

@@ -2146,7 +2147,9 @@ typedef [switch_type(DWORD)] union _DnssrvSrvRpcUnion
21462147

21472148
[case(DNSSRV_TYPEID_VIRTUALIZATION_INSTANCE_ENUM)]
21482149
PDNS_RPC_ENUM_VIRTUALIZATION_INSTANCE_LIST VirtualizationInstanceList;
2149-
2150+
2151+
[case(DNSSRV_TYPEID_ENCRYPTION_CONFIG)]
2152+
PDNS_RPC_ENCRYPTION_CONFIG pEncryptionConfig;
21502153

21512154
} DNSSRV_RPC_UNION;
21522155

@@ -2165,7 +2168,16 @@ typedef enum _ImportOperationResult
21652168
IMPORT_STATUS_CHANGED
21662169

21672170
} ImportOpResult;
2168-
2171+
2172+
typedef enum _DNS_ENCRYPTION_TYPE {
2173+
DnsEncryptionNone = 0,
2174+
DnsEncryptionDoH = 1
2175+
} DNS_ENCRYPTION_TYPE;
2176+
2177+
typedef struct _DNS_RPC_ENCRYPTION_CONFIG {
2178+
DWORD dwDnsEncryptionType;
2179+
LPWSTR pwszUriTemplate;
2180+
} DNS_RPC_ENCRYPTION_CONFIG, *PDNS_RPC_ENCRYPTION_CONFIG;
21692181

21702182
[
21712183
uuid(50abc2a4-574d-40b3-9d66-ee4fd5fba076),

idl/drsr.idl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,10 @@ typedef struct {
670670
unsigned long dwReplEpoch;
671671
unsigned long dwFlagsExt;
672672
GUID ConfigObjGUID;
673-
unsigned long dwExtCaps;
673+
[goext_layout(
674+
unsigned long dwExtCaps
675+
)]
676+
[size_is(*)] BYTE Extensions[];
674677
} DRS_EXTENSIONS_INT;
675678

676679
typedef struct {

idl/dtyp.idl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ typedef signed __int64 LONG64, *PLONG64;
4545
typedef const char* LPCSTR;
4646
typedef const void* LPCVOID;
4747
typedef const wchar_t* LPCWSTR;
48+
typedef LPCWSTR PCWSTR;
4849
typedef char* PSTR, *LPSTR;
4950

5051
typedef wchar_t* LPWSTR, *PWSTR;

idl/eerr.idl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ typedef enum tagEEComputerNamePresent
5757
{
5858
eecnpPresent = 1,
5959
eecnpNotPresent
60-
} EEComputerNamePresentType;
60+
} EEComputerNamePresent;
6161

6262
typedef struct tagEEComputerName
6363
{
64-
EEComputerNamePresentType Type;
64+
EEComputerNamePresent Type;
6565
[switch_type(short),switch_is(Type)] union {
6666
[case(1)] EEUString Name;
6767
[case(2)] ;

idl/efsr.idl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import "ms-dtyp.idl";
22

33
[
44
uuid(c681d488-d850-11d0-8c52-00c04fd90f7e),
5-
version(1.0) // XXX: remove comma: ,
5+
version(1.0),
66
]
77
interface efsrpc
88
{

0 commit comments

Comments
 (0)