From aef4890a7c426c32a5c8df6f2108a24439dafeca Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 11 Mar 2010 08:46:39 +0100 Subject: drsuapi.idl: finish drsuapi_DsGetNT4ChangeLog idl metze --- librpc/idl/drsuapi.idl | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) (limited to 'librpc') diff --git a/librpc/idl/drsuapi.idl b/librpc/idl/drsuapi.idl index 258ed6d069..54a7b93810 100644 --- a/librpc/idl/drsuapi.idl +++ b/librpc/idl/drsuapi.idl @@ -877,11 +877,16 @@ interface drsuapi /*****************/ /* Function 0x0b */ + typedef [bitmap32bit] bitmap { + DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG = 0x00000001, + DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS = 0x00000002 + } drsuapi_DsGetNT4ChangeLogFlags; + typedef struct { - uint32 unknown1; - uint32 unknown2; - [range(0,0x00A00000)] uint32 length; - [size_is(length)] uint8 *data; + drsuapi_DsGetNT4ChangeLogFlags flags; + uint32 preferred_maximum_length; + [range(0,0x00A00000)] uint32 restart_length; + [size_is(restart_length)] uint8 *restart_data; } drsuapi_DsGetNT4ChangeLogRequest1; typedef [switch_type(uint32)] union { @@ -889,24 +894,24 @@ interface drsuapi } drsuapi_DsGetNT4ChangeLogRequest; typedef struct { - [range(0,0x00A00000)] uint32 length1; - [range(0,0x00A00000)] uint32 length2; - hyper unknown1; - NTTIME time2; - hyper unknown3; - NTTIME time4; - hyper unknown5; - NTTIME time6; + [range(0,0x00A00000)] uint32 restart_length; + [range(0,0x00A00000)] uint32 log_length; + hyper sam_serial_number; + NTTIME sam_creation_time; + hyper builtin_serial_number; + NTTIME builtin_creation_time; + hyper lsa_serial_number; + NTTIME lsa_creation_time; NTSTATUS status; - [size_is(length1)] uint8 *data1; - [size_is(length2)] uint8 *data2; + [size_is(restart_length)] uint8 *restart_data; + [size_is(log_length)] uint8 *log_data; } drsuapi_DsGetNT4ChangeLogInfo1; typedef [switch_type(uint32)] union { [case(1)] drsuapi_DsGetNT4ChangeLogInfo1 info1; } drsuapi_DsGetNT4ChangeLogInfo; - [todo] WERROR drsuapi_DsGetNT4ChangeLog( + WERROR drsuapi_DsGetNT4ChangeLog( [in] policy_handle *bind_handle, [in] uint32 level, [in,ref] [switch_is(level)] drsuapi_DsGetNT4ChangeLogRequest *req, -- cgit