diff options
Diffstat (limited to 'librpc/gen_ndr/drsuapi.h')
-rw-r--r-- | librpc/gen_ndr/drsuapi.h | 318 |
1 files changed, 159 insertions, 159 deletions
diff --git a/librpc/gen_ndr/drsuapi.h b/librpc/gen_ndr/drsuapi.h index 4c8d232901..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=(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 + 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=(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 + 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=(int)0x00010000, - DRSUAPI_OBJECTCLASS_classSchema=(int)0x0003000d, - DRSUAPI_OBJECTCLASS_attributeSchema=(int)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=(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 + 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} @@ -646,8 +646,8 @@ struct drsuapi_DsGetNCChangesXPRESSCtr6 { enum drsuapi_DsGetNCChangesCompressionType #ifndef USE_UINT_ENUMS { - DRSUAPI_COMPRESSION_TYPE_MSZIP=(int)2, - DRSUAPI_COMPRESSION_TYPE_XPRESS=(int)3 + DRSUAPI_COMPRESSION_TYPE_MSZIP=(int)(2), + DRSUAPI_COMPRESSION_TYPE_XPRESS=(int)(3) } #else { __donnot_use_enum_drsuapi_DsGetNCChangesCompressionType=0x7FFFFFFF} @@ -758,13 +758,13 @@ union drsuapi_DsReplicaModRequest { enum drsuapi_DsMembershipType #ifndef USE_UINT_ENUMS { - 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 + 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} @@ -835,14 +835,14 @@ union drsuapi_DsGetNT4ChangeLogInfo { enum drsuapi_DsNameStatus #ifndef USE_UINT_ENUMS { - 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 + 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} @@ -860,11 +860,11 @@ enum drsuapi_DsNameStatus enum drsuapi_DsNameFlags #ifndef USE_UINT_ENUMS { - 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 + 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} @@ -879,17 +879,17 @@ enum drsuapi_DsNameFlags enum drsuapi_DsNameFormat #ifndef USE_UINT_ENUMS { - 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 + 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} @@ -943,9 +943,9 @@ union drsuapi_DsNameCtr { enum drsuapi_DsSpnOperation #ifndef USE_UINT_ENUMS { - DRSUAPI_DS_SPN_OPERATION_ADD=(int)0, - DRSUAPI_DS_SPN_OPERATION_REPLACE=(int)1, - DRSUAPI_DS_SPN_OPERATION_DELETE=(int)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} @@ -1080,10 +1080,10 @@ struct drsuapi_DsGetDCConnectionCtr01 { enum drsuapi_DsGetDCInfoCtrLevels #ifndef USE_UINT_ENUMS { - 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 + 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} @@ -1201,8 +1201,8 @@ union drsuapi_DsExecuteKCCRequest { enum drsuapi_DsReplicaGetInfoLevel #ifndef USE_UINT_ENUMS { - DRSUAPI_DS_REPLICA_GET_INFO=(int)1, - DRSUAPI_DS_REPLICA_GET_INFO2=(int)2 + DRSUAPI_DS_REPLICA_GET_INFO=(int)(1), + DRSUAPI_DS_REPLICA_GET_INFO2=(int)(2) } #else { __donnot_use_enum_drsuapi_DsReplicaGetInfoLevel=0x7FFFFFFF} @@ -1214,21 +1214,21 @@ enum drsuapi_DsReplicaGetInfoLevel enum drsuapi_DsReplicaInfoType #ifndef USE_UINT_ENUMS { - 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 + 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} @@ -1334,11 +1334,11 @@ struct drsuapi_DsReplicaKccDsaFailuresCtr { enum drsuapi_DsReplicaOpType #ifndef USE_UINT_ENUMS { - 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 + 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} |