diff options
Diffstat (limited to 'librpc/gen_ndr/drsuapi.h')
-rw-r--r-- | librpc/gen_ndr/drsuapi.h | 357 |
1 files changed, 197 insertions, 160 deletions
diff --git a/librpc/gen_ndr/drsuapi.h b/librpc/gen_ndr/drsuapi.h index b7ebe4cbc6..258c2731bd 100644 --- a/librpc/gen_ndr/drsuapi.h +++ b/librpc/gen_ndr/drsuapi.h @@ -178,14 +178,14 @@ struct drsuapi_DsReplicaCursorCtrEx { enum drsuapi_DsExtendedOperation #ifndef USE_UINT_ENUMS { - DRSUAPI_EXOP_NONE=0x00000000, - DRSUAPI_EXOP_FSMO_REQ_ROLE=0x00000001, - DRSUAPI_EXOP_FSMO_RID_ALLOC=0x00000002, - DRSUAPI_EXOP_FSMO_RID_REQ_ROLE=0x00000003, - DRSUAPI_EXOP_FSMO_REQ_PDC=0x00000004, - DRSUAPI_EXOP_FSMO_ABANDON_ROLE=0x00000005, - DRSUAPI_EXOP_REPL_OBJ=0x00000006, - DRSUAPI_EXOP_REPL_SECRET=0x00000007 + DRSUAPI_EXOP_NONE=(int)(0x00000000), + DRSUAPI_EXOP_FSMO_REQ_ROLE=(int)(0x00000001), + DRSUAPI_EXOP_FSMO_RID_ALLOC=(int)(0x00000002), + DRSUAPI_EXOP_FSMO_RID_REQ_ROLE=(int)(0x00000003), + DRSUAPI_EXOP_FSMO_REQ_PDC=(int)(0x00000004), + DRSUAPI_EXOP_FSMO_ABANDON_ROLE=(int)(0x00000005), + DRSUAPI_EXOP_REPL_OBJ=(int)(0x00000006), + DRSUAPI_EXOP_REPL_SECRET=(int)(0x00000007) } #else { __donnot_use_enum_drsuapi_DsExtendedOperation=0x7FFFFFFF} @@ -203,23 +203,23 @@ enum drsuapi_DsExtendedOperation enum drsuapi_DsExtendedError #ifndef USE_UINT_ENUMS { - DRSUAPI_EXOP_ERR_NONE=0x00000000, - DRSUAPI_EXOP_ERR_SUCCESS=0x00000001, - DRSUAPI_EXOP_ERR_UNKNOWN_OP=0x00000002, - DRSUAPI_EXOP_ERR_FSMO_NOT_OWNER=0x00000003, - DRSUAPI_EXOP_ERR_UPDATE_ERR=0x00000004, - DRSUAPI_EXOP_ERR_EXCEPTION=0x00000005, - DRSUAPI_EXOP_ERR_UNKNOWN_CALLER=0x00000006, - DRSUAPI_EXOP_ERR_RID_ALLOC=0x00000007, - DRSUAPI_EXOP_ERR_FSMO_OWNER_DELETED=0x00000008, - DRSUAPI_EXOP_ERR_FMSO_PENDING_OP=0x00000009, - DRSUAPI_EXOP_ERR_MISMATCH=0x0000000A, - DRSUAPI_EXOP_ERR_COULDNT_CONTACT=0x0000000B, - DRSUAPI_EXOP_ERR_FSMO_REFUSING_ROLES=0x0000000C, - DRSUAPI_EXOP_ERR_DIR_ERROR=0x0000000D, - DRSUAPI_EXOP_ERR_FSMO_MISSING_SETTINGS=0x0000000E, - DRSUAPI_EXOP_ERR_ACCESS_DENIED=0x0000000F, - DRSUAPI_EXOP_ERR_PARAM_ERROR=0x00000010 + DRSUAPI_EXOP_ERR_NONE=(int)(0x00000000), + DRSUAPI_EXOP_ERR_SUCCESS=(int)(0x00000001), + DRSUAPI_EXOP_ERR_UNKNOWN_OP=(int)(0x00000002), + DRSUAPI_EXOP_ERR_FSMO_NOT_OWNER=(int)(0x00000003), + DRSUAPI_EXOP_ERR_UPDATE_ERR=(int)(0x00000004), + DRSUAPI_EXOP_ERR_EXCEPTION=(int)(0x00000005), + DRSUAPI_EXOP_ERR_UNKNOWN_CALLER=(int)(0x00000006), + DRSUAPI_EXOP_ERR_RID_ALLOC=(int)(0x00000007), + DRSUAPI_EXOP_ERR_FSMO_OWNER_DELETED=(int)(0x00000008), + DRSUAPI_EXOP_ERR_FMSO_PENDING_OP=(int)(0x00000009), + DRSUAPI_EXOP_ERR_MISMATCH=(int)(0x0000000A), + DRSUAPI_EXOP_ERR_COULDNT_CONTACT=(int)(0x0000000B), + DRSUAPI_EXOP_ERR_FSMO_REFUSING_ROLES=(int)(0x0000000C), + DRSUAPI_EXOP_ERR_DIR_ERROR=(int)(0x0000000D), + DRSUAPI_EXOP_ERR_FSMO_MISSING_SETTINGS=(int)(0x0000000E), + DRSUAPI_EXOP_ERR_ACCESS_DENIED=(int)(0x0000000F), + DRSUAPI_EXOP_ERR_PARAM_ERROR=(int)(0x00000010) } #else { __donnot_use_enum_drsuapi_DsExtendedError=0x7FFFFFFF} @@ -274,9 +274,9 @@ struct drsuapi_DsReplicaOIDMapping_Ctr { enum drsuapi_DsObjectClassId #ifndef USE_UINT_ENUMS { - DRSUAPI_OBJECTCLASS_top=0x00010000, - DRSUAPI_OBJECTCLASS_classSchema=0x0003000d, - DRSUAPI_OBJECTCLASS_attributeSchema=0x0003000e + DRSUAPI_OBJECTCLASS_top=(int)(0x00010000), + DRSUAPI_OBJECTCLASS_classSchema=(int)(0x0003000d), + DRSUAPI_OBJECTCLASS_attributeSchema=(int)(0x0003000e) } #else { __donnot_use_enum_drsuapi_DsObjectClassId=0x7FFFFFFF} @@ -289,75 +289,75 @@ enum drsuapi_DsObjectClassId enum drsuapi_DsAttributeId #ifndef USE_UINT_ENUMS { - DRSUAPI_ATTRIBUTE_objectClass=0x00000000, - DRSUAPI_ATTRIBUTE_description=0x0000000d, - DRSUAPI_ATTRIBUTE_member=0x0000001f, - DRSUAPI_ATTRIBUTE_instanceType=0x00020001, - DRSUAPI_ATTRIBUTE_whenCreated=0x00020002, - DRSUAPI_ATTRIBUTE_possSuperiors=0x00020008, - DRSUAPI_ATTRIBUTE_hasMasterNCs=0x0002000e, - DRSUAPI_ATTRIBUTE_subClassOf=0x00020015, - DRSUAPI_ATTRIBUTE_governsID=0x00020016, - DRSUAPI_ATTRIBUTE_mustContain=0x00020018, - DRSUAPI_ATTRIBUTE_mayContain=0x00020019, - DRSUAPI_ATTRIBUTE_attributeID=0x0002001e, - DRSUAPI_ATTRIBUTE_attributeSyntax=0x00020020, - DRSUAPI_ATTRIBUTE_isSingleValued=0x00020021, - DRSUAPI_ATTRIBUTE_rangeLower=0x00020022, - DRSUAPI_ATTRIBUTE_rangeUpper=0x00020023, - DRSUAPI_ATTRIBUTE_dMDLocation=0x00020024, - DRSUAPI_ATTRIBUTE_objectVersion=0x0002004c, - DRSUAPI_ATTRIBUTE_invocationId=0x00020073, - DRSUAPI_ATTRIBUTE_showInAdvancedViewOnly=0x000200a9, - DRSUAPI_ATTRIBUTE_adminDisplayName=0x000200c2, - DRSUAPI_ATTRIBUTE_adminDescription=0x000200e2, - DRSUAPI_ATTRIBUTE_oMSyntax=0x000200e7, - DRSUAPI_ATTRIBUTE_ntSecurityDescriptor=0x00020119, - DRSUAPI_ATTRIBUTE_searchFlags=0x0002014e, - DRSUAPI_ATTRIBUTE_auxiliaryClass=0x0002015f, - DRSUAPI_ATTRIBUTE_lDAPDisplayName=0x000201cc, - DRSUAPI_ATTRIBUTE_name=0x00090001, - DRSUAPI_ATTRIBUTE_userAccountControl=0x00090008, - DRSUAPI_ATTRIBUTE_currentValue=0x0009001b, - DRSUAPI_ATTRIBUTE_homeDirectory=0x0009002c, - DRSUAPI_ATTRIBUTE_homeDrive=0x0009002d, - DRSUAPI_ATTRIBUTE_scriptPath=0x0009003e, - DRSUAPI_ATTRIBUTE_profilePath=0x0009008b, - DRSUAPI_ATTRIBUTE_objectSid=0x00090092, - DRSUAPI_ATTRIBUTE_schemaIDGUID=0x00090094, - DRSUAPI_ATTRIBUTE_dBCSPwd=0x00090037, - DRSUAPI_ATTRIBUTE_logonHours=0x00090040, - DRSUAPI_ATTRIBUTE_userWorkstations=0x00090056, - DRSUAPI_ATTRIBUTE_unicodePwd=0x0009005a, - DRSUAPI_ATTRIBUTE_ntPwdHistory=0x0009005e, - DRSUAPI_ATTRIBUTE_priorValue=0x00090064, - DRSUAPI_ATTRIBUTE_supplementalCredentials=0x0009007d, - DRSUAPI_ATTRIBUTE_trustAuthIncoming=0x00090081, - DRSUAPI_ATTRIBUTE_trustAuthOutgoing=0x00090087, - DRSUAPI_ATTRIBUTE_lmPwdHistory=0x000900a0, - DRSUAPI_ATTRIBUTE_systemPossSuperiors=0x000900c3, - DRSUAPI_ATTRIBUTE_systemMayContain=0x000900c4, - DRSUAPI_ATTRIBUTE_systemMustContain=0x000900c5, - DRSUAPI_ATTRIBUTE_sAMAccountName=0x000900dd, - DRSUAPI_ATTRIBUTE_sAMAccountType=0x0009012e, - DRSUAPI_ATTRIBUTE_fSMORoleOwner=0x00090171, - DRSUAPI_ATTRIBUTE_systemFlags=0x00090177, - DRSUAPI_ATTRIBUTE_serverReference=0x00090203, - DRSUAPI_ATTRIBUTE_serverReferenceBL=0x00090204, - DRSUAPI_ATTRIBUTE_initialAuthIncoming=0x0009021b, - DRSUAPI_ATTRIBUTE_initialAuthOutgoing=0x0009021c, - DRSUAPI_ATTRIBUTE_wellKnownObjects=0x0009026a, - DRSUAPI_ATTRIBUTE_dNSHostName=0x0009026b, - DRSUAPI_ATTRIBUTE_isMemberOfPartialAttributeSet=0x0009027f, - DRSUAPI_ATTRIBUTE_userPrincipalName=0x00090290, - DRSUAPI_ATTRIBUTE_groupType=0x000902ee, - DRSUAPI_ATTRIBUTE_servicePrincipalName=0x00090303, - DRSUAPI_ATTRIBUTE_objectCategory=0x0009030e, - DRSUAPI_ATTRIBUTE_gPLink=0x0009037b, - DRSUAPI_ATTRIBUTE_msDS_Behavior_Version=0x000905b3, - DRSUAPI_ATTRIBUTE_msDS_KeyVersionNumber=0x000906f6, - DRSUAPI_ATTRIBUTE_msDS_HasDomainNCs=0x0009071c, - DRSUAPI_ATTRIBUTE_msDS_hasMasterNCs=0x0009072c + DRSUAPI_ATTRIBUTE_objectClass=(int)(0x00000000), + DRSUAPI_ATTRIBUTE_description=(int)(0x0000000d), + DRSUAPI_ATTRIBUTE_member=(int)(0x0000001f), + DRSUAPI_ATTRIBUTE_instanceType=(int)(0x00020001), + DRSUAPI_ATTRIBUTE_whenCreated=(int)(0x00020002), + DRSUAPI_ATTRIBUTE_possSuperiors=(int)(0x00020008), + DRSUAPI_ATTRIBUTE_hasMasterNCs=(int)(0x0002000e), + DRSUAPI_ATTRIBUTE_subClassOf=(int)(0x00020015), + DRSUAPI_ATTRIBUTE_governsID=(int)(0x00020016), + DRSUAPI_ATTRIBUTE_mustContain=(int)(0x00020018), + DRSUAPI_ATTRIBUTE_mayContain=(int)(0x00020019), + DRSUAPI_ATTRIBUTE_attributeID=(int)(0x0002001e), + DRSUAPI_ATTRIBUTE_attributeSyntax=(int)(0x00020020), + DRSUAPI_ATTRIBUTE_isSingleValued=(int)(0x00020021), + DRSUAPI_ATTRIBUTE_rangeLower=(int)(0x00020022), + DRSUAPI_ATTRIBUTE_rangeUpper=(int)(0x00020023), + DRSUAPI_ATTRIBUTE_dMDLocation=(int)(0x00020024), + DRSUAPI_ATTRIBUTE_objectVersion=(int)(0x0002004c), + DRSUAPI_ATTRIBUTE_invocationId=(int)(0x00020073), + DRSUAPI_ATTRIBUTE_showInAdvancedViewOnly=(int)(0x000200a9), + DRSUAPI_ATTRIBUTE_adminDisplayName=(int)(0x000200c2), + DRSUAPI_ATTRIBUTE_adminDescription=(int)(0x000200e2), + DRSUAPI_ATTRIBUTE_oMSyntax=(int)(0x000200e7), + DRSUAPI_ATTRIBUTE_ntSecurityDescriptor=(int)(0x00020119), + DRSUAPI_ATTRIBUTE_searchFlags=(int)(0x0002014e), + DRSUAPI_ATTRIBUTE_auxiliaryClass=(int)(0x0002015f), + DRSUAPI_ATTRIBUTE_lDAPDisplayName=(int)(0x000201cc), + DRSUAPI_ATTRIBUTE_name=(int)(0x00090001), + DRSUAPI_ATTRIBUTE_userAccountControl=(int)(0x00090008), + DRSUAPI_ATTRIBUTE_currentValue=(int)(0x0009001b), + DRSUAPI_ATTRIBUTE_homeDirectory=(int)(0x0009002c), + DRSUAPI_ATTRIBUTE_homeDrive=(int)(0x0009002d), + DRSUAPI_ATTRIBUTE_scriptPath=(int)(0x0009003e), + DRSUAPI_ATTRIBUTE_profilePath=(int)(0x0009008b), + DRSUAPI_ATTRIBUTE_objectSid=(int)(0x00090092), + DRSUAPI_ATTRIBUTE_schemaIDGUID=(int)(0x00090094), + DRSUAPI_ATTRIBUTE_dBCSPwd=(int)(0x00090037), + DRSUAPI_ATTRIBUTE_logonHours=(int)(0x00090040), + DRSUAPI_ATTRIBUTE_userWorkstations=(int)(0x00090056), + DRSUAPI_ATTRIBUTE_unicodePwd=(int)(0x0009005a), + DRSUAPI_ATTRIBUTE_ntPwdHistory=(int)(0x0009005e), + DRSUAPI_ATTRIBUTE_priorValue=(int)(0x00090064), + DRSUAPI_ATTRIBUTE_supplementalCredentials=(int)(0x0009007d), + DRSUAPI_ATTRIBUTE_trustAuthIncoming=(int)(0x00090081), + DRSUAPI_ATTRIBUTE_trustAuthOutgoing=(int)(0x00090087), + DRSUAPI_ATTRIBUTE_lmPwdHistory=(int)(0x000900a0), + DRSUAPI_ATTRIBUTE_systemPossSuperiors=(int)(0x000900c3), + DRSUAPI_ATTRIBUTE_systemMayContain=(int)(0x000900c4), + DRSUAPI_ATTRIBUTE_systemMustContain=(int)(0x000900c5), + DRSUAPI_ATTRIBUTE_sAMAccountName=(int)(0x000900dd), + DRSUAPI_ATTRIBUTE_sAMAccountType=(int)(0x0009012e), + DRSUAPI_ATTRIBUTE_fSMORoleOwner=(int)(0x00090171), + DRSUAPI_ATTRIBUTE_systemFlags=(int)(0x00090177), + DRSUAPI_ATTRIBUTE_serverReference=(int)(0x00090203), + DRSUAPI_ATTRIBUTE_serverReferenceBL=(int)(0x00090204), + DRSUAPI_ATTRIBUTE_initialAuthIncoming=(int)(0x0009021b), + DRSUAPI_ATTRIBUTE_initialAuthOutgoing=(int)(0x0009021c), + DRSUAPI_ATTRIBUTE_wellKnownObjects=(int)(0x0009026a), + DRSUAPI_ATTRIBUTE_dNSHostName=(int)(0x0009026b), + DRSUAPI_ATTRIBUTE_isMemberOfPartialAttributeSet=(int)(0x0009027f), + DRSUAPI_ATTRIBUTE_userPrincipalName=(int)(0x00090290), + DRSUAPI_ATTRIBUTE_groupType=(int)(0x000902ee), + DRSUAPI_ATTRIBUTE_servicePrincipalName=(int)(0x00090303), + DRSUAPI_ATTRIBUTE_objectCategory=(int)(0x0009030e), + DRSUAPI_ATTRIBUTE_gPLink=(int)(0x0009037b), + DRSUAPI_ATTRIBUTE_msDS_Behavior_Version=(int)(0x000905b3), + DRSUAPI_ATTRIBUTE_msDS_KeyVersionNumber=(int)(0x000906f6), + DRSUAPI_ATTRIBUTE_msDS_HasDomainNCs=(int)(0x0009071c), + DRSUAPI_ATTRIBUTE_msDS_hasMasterNCs=(int)(0x0009072c) } #else { __donnot_use_enum_drsuapi_DsAttributeId=0x7FFFFFFF} @@ -456,9 +456,27 @@ struct drsuapi_DsGetNCChangesRequest8 { struct drsuapi_DsReplicaOIDMapping_Ctr mapping_ctr; }; +struct drsuapi_DsGetNCChangesRequest10 { + struct GUID destination_dsa_guid; + struct GUID source_dsa_invocation_id; + struct drsuapi_DsReplicaObjectIdentifier *naming_context;/* [ref] */ + struct drsuapi_DsReplicaHighWaterMark highwatermark; + struct drsuapi_DsReplicaCursorCtrEx *uptodateness_vector;/* [unique] */ + uint32_t replica_flags; + uint32_t max_object_count; + uint32_t max_ndr_size; + enum drsuapi_DsExtendedOperation extended_op; + uint64_t fsmo_info; + struct drsuapi_DsPartialAttributeSet *partial_attribute_set;/* [unique] */ + struct drsuapi_DsPartialAttributeSet *partial_attribute_set_ex;/* [unique] */ + struct drsuapi_DsReplicaOIDMapping_Ctr mapping_ctr; + uint32_t more_flags; +}; + union drsuapi_DsGetNCChangesRequest { struct drsuapi_DsGetNCChangesRequest5 req5;/* [case(5)] */ struct drsuapi_DsGetNCChangesRequest8 req8;/* [case(8)] */ + struct drsuapi_DsGetNCChangesRequest10 req10;/* [case(10)] */ }/* [switch_type(int32)] */; struct drsuapi_DsReplicaCursor2 { @@ -628,8 +646,8 @@ struct drsuapi_DsGetNCChangesXPRESSCtr6 { enum drsuapi_DsGetNCChangesCompressionType #ifndef USE_UINT_ENUMS { - DRSUAPI_COMPRESSION_TYPE_MSZIP=2, - DRSUAPI_COMPRESSION_TYPE_XPRESS=3 + DRSUAPI_COMPRESSION_TYPE_MSZIP=(int)(2), + DRSUAPI_COMPRESSION_TYPE_XPRESS=(int)(3) } #else { __donnot_use_enum_drsuapi_DsGetNCChangesCompressionType=0x7FFFFFFF} @@ -740,13 +758,13 @@ union drsuapi_DsReplicaModRequest { enum drsuapi_DsMembershipType #ifndef USE_UINT_ENUMS { - DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_AND_DOMAIN_GROUPS=1, - DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS=2, - DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS=3, - DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS2=4, - DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_GROUPS=5, - DRSUAPI_DS_MEMBERSHIP_TYPE_GROUPMEMBERS=6, - DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS2=7 + DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_AND_DOMAIN_GROUPS=(int)(1), + DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS=(int)(2), + DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS=(int)(3), + DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS2=(int)(4), + DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_GROUPS=(int)(5), + DRSUAPI_DS_MEMBERSHIP_TYPE_GROUPMEMBERS=(int)(6), + DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS2=(int)(7) } #else { __donnot_use_enum_drsuapi_DsMembershipType=0x7FFFFFFF} @@ -817,14 +835,14 @@ union drsuapi_DsGetNT4ChangeLogInfo { enum drsuapi_DsNameStatus #ifndef USE_UINT_ENUMS { - DRSUAPI_DS_NAME_STATUS_OK=0, - DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR=1, - DRSUAPI_DS_NAME_STATUS_NOT_FOUND=2, - DRSUAPI_DS_NAME_STATUS_NOT_UNIQUE=3, - DRSUAPI_DS_NAME_STATUS_NO_MAPPING=4, - DRSUAPI_DS_NAME_STATUS_DOMAIN_ONLY=5, - DRSUAPI_DS_NAME_STATUS_NO_SYNTACTICAL_MAPPING=6, - DRSUAPI_DS_NAME_STATUS_TRUST_REFERRAL=7 + DRSUAPI_DS_NAME_STATUS_OK=(int)(0), + DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR=(int)(1), + DRSUAPI_DS_NAME_STATUS_NOT_FOUND=(int)(2), + DRSUAPI_DS_NAME_STATUS_NOT_UNIQUE=(int)(3), + DRSUAPI_DS_NAME_STATUS_NO_MAPPING=(int)(4), + DRSUAPI_DS_NAME_STATUS_DOMAIN_ONLY=(int)(5), + DRSUAPI_DS_NAME_STATUS_NO_SYNTACTICAL_MAPPING=(int)(6), + DRSUAPI_DS_NAME_STATUS_TRUST_REFERRAL=(int)(7) } #else { __donnot_use_enum_drsuapi_DsNameStatus=0x7FFFFFFF} @@ -842,11 +860,11 @@ enum drsuapi_DsNameStatus enum drsuapi_DsNameFlags #ifndef USE_UINT_ENUMS { - DRSUAPI_DS_NAME_FLAG_NO_FLAGS=0x0, - DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY=0x1, - DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC=0x2, - DRSUAPI_DS_NAME_FLAG_GCVERIFY=0x4, - DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL=0x8 + DRSUAPI_DS_NAME_FLAG_NO_FLAGS=(int)(0x0), + DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY=(int)(0x1), + DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC=(int)(0x2), + DRSUAPI_DS_NAME_FLAG_GCVERIFY=(int)(0x4), + DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL=(int)(0x8) } #else { __donnot_use_enum_drsuapi_DsNameFlags=0x7FFFFFFF} @@ -861,17 +879,17 @@ enum drsuapi_DsNameFlags enum drsuapi_DsNameFormat #ifndef USE_UINT_ENUMS { - DRSUAPI_DS_NAME_FORMAT_UNKNOWN=0, - DRSUAPI_DS_NAME_FORMAT_FQDN_1779=1, - DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT=2, - DRSUAPI_DS_NAME_FORMAT_DISPLAY=3, - DRSUAPI_DS_NAME_FORMAT_GUID=6, - DRSUAPI_DS_NAME_FORMAT_CANONICAL=7, - DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL=8, - DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX=9, - DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL=10, - DRSUAPI_DS_NAME_FORMAT_SID_OR_SID_HISTORY=11, - DRSUAPI_DS_NAME_FORMAT_DNS_DOMAIN=12 + DRSUAPI_DS_NAME_FORMAT_UNKNOWN=(int)(0), + DRSUAPI_DS_NAME_FORMAT_FQDN_1779=(int)(1), + DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT=(int)(2), + DRSUAPI_DS_NAME_FORMAT_DISPLAY=(int)(3), + DRSUAPI_DS_NAME_FORMAT_GUID=(int)(6), + DRSUAPI_DS_NAME_FORMAT_CANONICAL=(int)(7), + DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL=(int)(8), + DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX=(int)(9), + DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL=(int)(10), + DRSUAPI_DS_NAME_FORMAT_SID_OR_SID_HISTORY=(int)(11), + DRSUAPI_DS_NAME_FORMAT_DNS_DOMAIN=(int)(12) } #else { __donnot_use_enum_drsuapi_DsNameFormat=0x7FFFFFFF} @@ -925,9 +943,9 @@ union drsuapi_DsNameCtr { enum drsuapi_DsSpnOperation #ifndef USE_UINT_ENUMS { - DRSUAPI_DS_SPN_OPERATION_ADD=0, - DRSUAPI_DS_SPN_OPERATION_REPLACE=1, - DRSUAPI_DS_SPN_OPERATION_DELETE=2 + DRSUAPI_DS_SPN_OPERATION_ADD=(int)(0), + DRSUAPI_DS_SPN_OPERATION_REPLACE=(int)(1), + DRSUAPI_DS_SPN_OPERATION_DELETE=(int)(2) } #else { __donnot_use_enum_drsuapi_DsSpnOperation=0x7FFFFFFF} @@ -1062,10 +1080,10 @@ struct drsuapi_DsGetDCConnectionCtr01 { enum drsuapi_DsGetDCInfoCtrLevels #ifndef USE_UINT_ENUMS { - DRSUAPI_DC_INFO_CTR_1=1, - DRSUAPI_DC_INFO_CTR_2=2, - DRSUAPI_DC_INFO_CTR_3=3, - DRSUAPI_DC_CONNECTION_CTR_01=-1 + DRSUAPI_DC_INFO_CTR_1=(int)(1), + DRSUAPI_DC_INFO_CTR_2=(int)(2), + DRSUAPI_DC_INFO_CTR_3=(int)(3), + DRSUAPI_DC_CONNECTION_CTR_01=(int)(-1) } #else { __donnot_use_enum_drsuapi_DsGetDCInfoCtrLevels=0x7FFFFFFF} @@ -1167,11 +1185,24 @@ union drsuapi_DsAddEntryCtr { struct drsuapi_DsAddEntryCtr3 ctr3;/* [case(3)] */ }/* [switch_type(int32)] */; +/* bitmap drsuapi_DsExecuteKCCFlags */ +#define DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION ( 0x00000001 ) +#define DRSUAPI_DS_EXECUTE_KCC_DAMPED ( 0x00000002 ) + +struct drsuapi_DsExecuteKCC1 { + uint32_t taskID; + uint32_t flags; +}; + +union drsuapi_DsExecuteKCCRequest { + struct drsuapi_DsExecuteKCC1 ctr1;/* [case] */ +}/* [switch_type(uint32)] */; + enum drsuapi_DsReplicaGetInfoLevel #ifndef USE_UINT_ENUMS { - DRSUAPI_DS_REPLICA_GET_INFO=1, - DRSUAPI_DS_REPLICA_GET_INFO2=2 + DRSUAPI_DS_REPLICA_GET_INFO=(int)(1), + DRSUAPI_DS_REPLICA_GET_INFO2=(int)(2) } #else { __donnot_use_enum_drsuapi_DsReplicaGetInfoLevel=0x7FFFFFFF} @@ -1183,21 +1214,21 @@ enum drsuapi_DsReplicaGetInfoLevel enum drsuapi_DsReplicaInfoType #ifndef USE_UINT_ENUMS { - DRSUAPI_DS_REPLICA_INFO_NEIGHBORS=0, - DRSUAPI_DS_REPLICA_INFO_CURSORS=1, - DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA=2, - DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES=3, - DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES=4, - DRSUAPI_DS_REPLICA_INFO_PENDING_OPS=5, - DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA=6, - DRSUAPI_DS_REPLICA_INFO_CURSORS2=7, - DRSUAPI_DS_REPLICA_INFO_CURSORS3=8, - DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2=9, - DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2=10, - DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02=-2, - DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04=-4, - DRSUAPI_DS_REPLICA_INFO_CURSORS05=-5, - DRSUAPI_DS_REPLICA_INFO_06=-6 + DRSUAPI_DS_REPLICA_INFO_NEIGHBORS=(int)(0), + DRSUAPI_DS_REPLICA_INFO_CURSORS=(int)(1), + DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA=(int)(2), + DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES=(int)(3), + DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES=(int)(4), + DRSUAPI_DS_REPLICA_INFO_PENDING_OPS=(int)(5), + DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA=(int)(6), + DRSUAPI_DS_REPLICA_INFO_CURSORS2=(int)(7), + DRSUAPI_DS_REPLICA_INFO_CURSORS3=(int)(8), + DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2=(int)(9), + DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2=(int)(10), + DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02=(int)(-2), + DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04=(int)(-4), + DRSUAPI_DS_REPLICA_INFO_CURSORS05=(int)(-5), + DRSUAPI_DS_REPLICA_INFO_06=(int)(-6) } #else { __donnot_use_enum_drsuapi_DsReplicaInfoType=0x7FFFFFFF} @@ -1303,11 +1334,11 @@ struct drsuapi_DsReplicaKccDsaFailuresCtr { enum drsuapi_DsReplicaOpType #ifndef USE_UINT_ENUMS { - DRSUAPI_DS_REPLICA_OP_TYPE_SYNC=0, - DRSUAPI_DS_REPLICA_OP_TYPE_ADD=1, - DRSUAPI_DS_REPLICA_OP_TYPE_DELETE=2, - DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY=3, - DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS=4 + DRSUAPI_DS_REPLICA_OP_TYPE_SYNC=(int)(0), + DRSUAPI_DS_REPLICA_OP_TYPE_ADD=(int)(1), + DRSUAPI_DS_REPLICA_OP_TYPE_DELETE=(int)(2), + DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY=(int)(3), + DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS=(int)(4) } #else { __donnot_use_enum_drsuapi_DsReplicaOpType=0x7FFFFFFF} @@ -1769,7 +1800,13 @@ struct drsuapi_DsAddEntry { }; -struct DRSUAPI_EXECUTE_KCC { +struct drsuapi_DsExecuteKCC { + struct { + struct policy_handle *bind_handle;/* [ref] */ + uint32_t level; + union drsuapi_DsExecuteKCCRequest *req;/* [ref,switch_is(level)] */ + } in; + struct { WERROR result; } out; |