summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--librpc/gen_ndr/dcerpc.h72
-rw-r--r--librpc/gen_ndr/dfs.h24
-rw-r--r--librpc/gen_ndr/drsblobs.h22
-rw-r--r--librpc/gen_ndr/drsuapi.h318
-rw-r--r--librpc/gen_ndr/dssetup.h34
-rw-r--r--librpc/gen_ndr/echo.h8
-rw-r--r--librpc/gen_ndr/epmapper.h52
-rw-r--r--librpc/gen_ndr/eventlog.h20
-rw-r--r--librpc/gen_ndr/initshutdown.h70
-rw-r--r--librpc/gen_ndr/krb5pac.h12
-rw-r--r--librpc/gen_ndr/lsa.h154
-rw-r--r--librpc/gen_ndr/misc.h10
-rw-r--r--librpc/gen_ndr/nbt.h136
-rw-r--r--librpc/gen_ndr/netlogon.h130
-rw-r--r--librpc/gen_ndr/ntlmssp.h42
-rw-r--r--librpc/gen_ndr/samr.h148
-rw-r--r--librpc/gen_ndr/schannel.h14
-rw-r--r--librpc/gen_ndr/security.h74
-rw-r--r--librpc/gen_ndr/spoolss.h532
-rw-r--r--librpc/gen_ndr/srvsvc.h34
-rw-r--r--librpc/gen_ndr/svcctl.h64
-rw-r--r--librpc/gen_ndr/winreg.h30
-rw-r--r--librpc/gen_ndr/wkssvc.h28
-rw-r--r--source3/librpc/gen_ndr/messaging.h106
24 files changed, 1068 insertions, 1066 deletions
diff --git a/librpc/gen_ndr/dcerpc.h b/librpc/gen_ndr/dcerpc.h
index 78834f6d28..00df9f8a2e 100644
--- a/librpc/gen_ndr/dcerpc.h
+++ b/librpc/gen_ndr/dcerpc.h
@@ -124,16 +124,16 @@ struct dcerpc_fault {
enum dcerpc_AuthType
#ifndef USE_UINT_ENUMS
{
- DCERPC_AUTH_TYPE_NONE=0,
- DCERPC_AUTH_TYPE_KRB5_1=1,
- DCERPC_AUTH_TYPE_SPNEGO=9,
- DCERPC_AUTH_TYPE_NTLMSSP=10,
- DCERPC_AUTH_TYPE_KRB5=16,
- DCERPC_AUTH_TYPE_DPA=17,
- DCERPC_AUTH_TYPE_MSN=18,
- DCERPC_AUTH_TYPE_DIGEST=21,
- DCERPC_AUTH_TYPE_SCHANNEL=68,
- DCERPC_AUTH_TYPE_MSMQ=100
+ DCERPC_AUTH_TYPE_NONE=(int)0,
+ DCERPC_AUTH_TYPE_KRB5_1=(int)1,
+ DCERPC_AUTH_TYPE_SPNEGO=(int)9,
+ DCERPC_AUTH_TYPE_NTLMSSP=(int)10,
+ DCERPC_AUTH_TYPE_KRB5=(int)16,
+ DCERPC_AUTH_TYPE_DPA=(int)17,
+ DCERPC_AUTH_TYPE_MSN=(int)18,
+ DCERPC_AUTH_TYPE_DIGEST=(int)21,
+ DCERPC_AUTH_TYPE_SCHANNEL=(int)68,
+ DCERPC_AUTH_TYPE_MSMQ=(int)100
}
#else
{ __donnot_use_enum_dcerpc_AuthType=0x7FFFFFFF}
@@ -153,12 +153,12 @@ enum dcerpc_AuthType
enum dcerpc_AuthLevel
#ifndef USE_UINT_ENUMS
{
- DCERPC_AUTH_LEVEL_NONE=1,
- DCERPC_AUTH_LEVEL_CONNECT=2,
- DCERPC_AUTH_LEVEL_CALL=3,
- DCERPC_AUTH_LEVEL_PACKET=4,
- DCERPC_AUTH_LEVEL_INTEGRITY=5,
- DCERPC_AUTH_LEVEL_PRIVACY=6
+ DCERPC_AUTH_LEVEL_NONE=(int)1,
+ DCERPC_AUTH_LEVEL_CONNECT=(int)2,
+ DCERPC_AUTH_LEVEL_CALL=(int)3,
+ DCERPC_AUTH_LEVEL_PACKET=(int)4,
+ DCERPC_AUTH_LEVEL_INTEGRITY=(int)5,
+ DCERPC_AUTH_LEVEL_PRIVACY=(int)6
}
#else
{ __donnot_use_enum_dcerpc_AuthLevel=0x7FFFFFFF}
@@ -236,26 +236,26 @@ struct dcerpc_working {
enum dcerpc_pkt_type
#ifndef USE_UINT_ENUMS
{
- DCERPC_PKT_REQUEST=0,
- DCERPC_PKT_PING=1,
- DCERPC_PKT_RESPONSE=2,
- DCERPC_PKT_FAULT=3,
- DCERPC_PKT_WORKING=4,
- DCERPC_PKT_NOCALL=5,
- DCERPC_PKT_REJECT=6,
- DCERPC_PKT_ACK=7,
- DCERPC_PKT_CL_CANCEL=8,
- DCERPC_PKT_FACK=9,
- DCERPC_PKT_CANCEL_ACK=10,
- DCERPC_PKT_BIND=11,
- DCERPC_PKT_BIND_ACK=12,
- DCERPC_PKT_BIND_NAK=13,
- DCERPC_PKT_ALTER=14,
- DCERPC_PKT_ALTER_RESP=15,
- DCERPC_PKT_AUTH3=16,
- DCERPC_PKT_SHUTDOWN=17,
- DCERPC_PKT_CO_CANCEL=18,
- DCERPC_PKT_ORPHANED=19
+ DCERPC_PKT_REQUEST=(int)0,
+ DCERPC_PKT_PING=(int)1,
+ DCERPC_PKT_RESPONSE=(int)2,
+ DCERPC_PKT_FAULT=(int)3,
+ DCERPC_PKT_WORKING=(int)4,
+ DCERPC_PKT_NOCALL=(int)5,
+ DCERPC_PKT_REJECT=(int)6,
+ DCERPC_PKT_ACK=(int)7,
+ DCERPC_PKT_CL_CANCEL=(int)8,
+ DCERPC_PKT_FACK=(int)9,
+ DCERPC_PKT_CANCEL_ACK=(int)10,
+ DCERPC_PKT_BIND=(int)11,
+ DCERPC_PKT_BIND_ACK=(int)12,
+ DCERPC_PKT_BIND_NAK=(int)13,
+ DCERPC_PKT_ALTER=(int)14,
+ DCERPC_PKT_ALTER_RESP=(int)15,
+ DCERPC_PKT_AUTH3=(int)16,
+ DCERPC_PKT_SHUTDOWN=(int)17,
+ DCERPC_PKT_CO_CANCEL=(int)18,
+ DCERPC_PKT_ORPHANED=(int)19
}
#else
{ __donnot_use_enum_dcerpc_pkt_type=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/dfs.h b/librpc/gen_ndr/dfs.h
index 41be3bd28d..23dc90968c 100644
--- a/librpc/gen_ndr/dfs.h
+++ b/librpc/gen_ndr/dfs.h
@@ -12,10 +12,10 @@
enum dfs_ManagerVersion
#ifndef USE_UINT_ENUMS
{
- DFS_MANAGER_VERSION_NT4=1,
- DFS_MANAGER_VERSION_W2K=2,
- DFS_MANAGER_VERSION_W2K3=4,
- DFS_MANAGER_VERSION_W2K8=6
+ DFS_MANAGER_VERSION_NT4=(int)1,
+ DFS_MANAGER_VERSION_W2K=(int)2,
+ DFS_MANAGER_VERSION_W2K3=(int)4,
+ DFS_MANAGER_VERSION_W2K8=(int)6
}
#else
{ __donnot_use_enum_dfs_ManagerVersion=0x7FFFFFFF}
@@ -99,12 +99,12 @@ struct dfs_Info5 {
enum dfs_Target_PriorityClass
#ifndef USE_UINT_ENUMS
{
- DFS_INVALID_PRIORITY_CLASS=-1,
- DFS_SITE_COST_NORMAL_PRIORITY_CLASS=0,
- DFS_GLOBAL_HIGH_PRIORITY_CLASS=1,
- DFS_SITE_COST_HIGH_PRIORITY_CLASS=2,
- DFS_SITE_COST_LOW_PRIORITY_CLASS=3,
- DFS_GLOBAL_LOW_PRIORITY_CLASS=4
+ DFS_INVALID_PRIORITY_CLASS=(int)-1,
+ DFS_SITE_COST_NORMAL_PRIORITY_CLASS=(int)0,
+ DFS_GLOBAL_HIGH_PRIORITY_CLASS=(int)1,
+ DFS_SITE_COST_HIGH_PRIORITY_CLASS=(int)2,
+ DFS_SITE_COST_LOW_PRIORITY_CLASS=(int)3,
+ DFS_GLOBAL_LOW_PRIORITY_CLASS=(int)4
}
#else
{ __donnot_use_enum_dfs_Target_PriorityClass=0x7FFFFFFF}
@@ -184,8 +184,8 @@ struct dfs_Info200 {
enum dfs_VolumeFlavor
#ifndef USE_UINT_ENUMS
{
- DFS_VOLUME_FLAVOR_STANDALONE=0x100,
- DFS_VOLUME_FLAVOR_AD_BLOB=0x200
+ DFS_VOLUME_FLAVOR_STANDALONE=(int)0x100,
+ DFS_VOLUME_FLAVOR_AD_BLOB=(int)0x200
}
#else
{ __donnot_use_enum_dfs_VolumeFlavor=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/drsblobs.h b/librpc/gen_ndr/drsblobs.h
index 190e012cb5..c6a48949be 100644
--- a/librpc/gen_ndr/drsblobs.h
+++ b/librpc/gen_ndr/drsblobs.h
@@ -110,7 +110,7 @@ struct partialAttributeSetBlob {
enum prefixMapVersion
#ifndef USE_UINT_ENUMS
{
- PREFIX_MAP_VERSION_DSDB=0x44534442
+ PREFIX_MAP_VERSION_DSDB=(int)0x44534442
}
#else
{ __donnot_use_enum_prefixMapVersion=0x7FFFFFFF}
@@ -159,7 +159,7 @@ struct supplementalCredentialsPackage {
enum supplementalCredentialsSignature
#ifndef USE_UINT_ENUMS
{
- SUPPLEMENTAL_CREDENTIALS_SIGNATURE=0x0050
+ SUPPLEMENTAL_CREDENTIALS_SIGNATURE=(int)0x0050
}
#else
{ __donnot_use_enum_supplementalCredentialsSignature=0x7FFFFFFF}
@@ -344,8 +344,8 @@ struct ExtendedErrorBlob {
enum ExtendedErrorComputerNamePresent
#ifndef USE_UINT_ENUMS
{
- EXTENDED_ERROR_COMPUTER_NAME_PRESENT=1,
- EXTENDED_ERROR_COMPUTER_NAME_NOT_PRESENT=2
+ EXTENDED_ERROR_COMPUTER_NAME_PRESENT=(int)1,
+ EXTENDED_ERROR_COMPUTER_NAME_NOT_PRESENT=(int)2
}
#else
{ __donnot_use_enum_ExtendedErrorComputerNamePresent=0x7FFFFFFF}
@@ -366,13 +366,13 @@ struct ExtendedErrorComputerName {
enum ExtendedErrorParamType
#ifndef USE_UINT_ENUMS
{
- EXTENDED_ERROR_PARAM_TYPE_ASCII_STRING=1,
- EXTENDED_ERROR_PARAM_TYPE_UNICODE_STRING=2,
- EXTENDED_ERROR_PARAM_TYPE_UINT32=3,
- EXTENDED_ERROR_PARAM_TYPE_UINT16=4,
- EXTENDED_ERROR_PARAM_TYPE_UINT64=5,
- EXTENDED_ERROR_PARAM_TYPE_NONE=6,
- EXTENDED_ERROR_PARAM_TYPE_BLOB=7
+ EXTENDED_ERROR_PARAM_TYPE_ASCII_STRING=(int)1,
+ EXTENDED_ERROR_PARAM_TYPE_UNICODE_STRING=(int)2,
+ EXTENDED_ERROR_PARAM_TYPE_UINT32=(int)3,
+ EXTENDED_ERROR_PARAM_TYPE_UINT16=(int)4,
+ EXTENDED_ERROR_PARAM_TYPE_UINT64=(int)5,
+ EXTENDED_ERROR_PARAM_TYPE_NONE=(int)6,
+ EXTENDED_ERROR_PARAM_TYPE_BLOB=(int)7
}
#else
{ __donnot_use_enum_ExtendedErrorParamType=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/drsuapi.h b/librpc/gen_ndr/drsuapi.h
index 971f16d70c..4c8d232901 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}
@@ -646,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}
@@ -758,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}
@@ -835,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}
@@ -860,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}
@@ -879,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}
@@ -943,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}
@@ -1080,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}
@@ -1201,8 +1201,8 @@ union drsuapi_DsExecuteKCCRequest {
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}
@@ -1214,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}
@@ -1334,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}
diff --git a/librpc/gen_ndr/dssetup.h b/librpc/gen_ndr/dssetup.h
index 5d254fe92e..4b3c6446b3 100644
--- a/librpc/gen_ndr/dssetup.h
+++ b/librpc/gen_ndr/dssetup.h
@@ -11,12 +11,12 @@
enum dssetup_DsRole
#ifndef USE_UINT_ENUMS
{
- DS_ROLE_STANDALONE_WORKSTATION=0,
- DS_ROLE_MEMBER_WORKSTATION=1,
- DS_ROLE_STANDALONE_SERVER=2,
- DS_ROLE_MEMBER_SERVER=3,
- DS_ROLE_BACKUP_DC=4,
- DS_ROLE_PRIMARY_DC=5
+ DS_ROLE_STANDALONE_WORKSTATION=(int)0,
+ DS_ROLE_MEMBER_WORKSTATION=(int)1,
+ DS_ROLE_STANDALONE_SERVER=(int)2,
+ DS_ROLE_MEMBER_SERVER=(int)3,
+ DS_ROLE_BACKUP_DC=(int)4,
+ DS_ROLE_PRIMARY_DC=(int)5
}
#else
{ __donnot_use_enum_dssetup_DsRole=0x7FFFFFFF}
@@ -47,8 +47,8 @@ struct dssetup_DsRolePrimaryDomInfoBasic {
enum dssetup_DsUpgrade
#ifndef USE_UINT_ENUMS
{
- DS_ROLE_NOT_UPGRADING=0,
- DS_ROLE_UPGRADING=1
+ DS_ROLE_NOT_UPGRADING=(int)0,
+ DS_ROLE_UPGRADING=(int)1
}
#else
{ __donnot_use_enum_dssetup_DsUpgrade=0x7FFFFFFF}
@@ -60,9 +60,9 @@ enum dssetup_DsUpgrade
enum dssetup_DsPrevious
#ifndef USE_UINT_ENUMS
{
- DS_ROLE_PREVIOUS_UNKNOWN=0,
- DS_ROLE_PREVIOUS_PRIMARY=1,
- DS_ROLE_PREVIOUS_BACKUP=2
+ DS_ROLE_PREVIOUS_UNKNOWN=(int)0,
+ DS_ROLE_PREVIOUS_PRIMARY=(int)1,
+ DS_ROLE_PREVIOUS_BACKUP=(int)2
}
#else
{ __donnot_use_enum_dssetup_DsPrevious=0x7FFFFFFF}
@@ -80,9 +80,9 @@ struct dssetup_DsRoleUpgradeStatus {
enum dssetup_DsRoleOp
#ifndef USE_UINT_ENUMS
{
- DS_ROLE_OP_IDLE=0,
- DS_ROLE_OP_ACTIVE=1,
- DS_ROLE_OP_NEEDS_REBOOT=2
+ DS_ROLE_OP_IDLE=(int)0,
+ DS_ROLE_OP_ACTIVE=(int)1,
+ DS_ROLE_OP_NEEDS_REBOOT=(int)2
}
#else
{ __donnot_use_enum_dssetup_DsRoleOp=0x7FFFFFFF}
@@ -99,9 +99,9 @@ struct dssetup_DsRoleOpStatus {
enum dssetup_DsRoleInfoLevel
#ifndef USE_UINT_ENUMS
{
- DS_ROLE_BASIC_INFORMATION=1,
- DS_ROLE_UPGRADE_STATUS=2,
- DS_ROLE_OP_STATUS=3
+ DS_ROLE_BASIC_INFORMATION=(int)1,
+ DS_ROLE_UPGRADE_STATUS=(int)2,
+ DS_ROLE_OP_STATUS=(int)3
}
#else
{ __donnot_use_enum_dssetup_DsRoleInfoLevel=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/echo.h b/librpc/gen_ndr/echo.h
index 9c783046f3..ce9969c8a7 100644
--- a/librpc/gen_ndr/echo.h
+++ b/librpc/gen_ndr/echo.h
@@ -51,8 +51,8 @@ union echo_Info {
enum echo_Enum1
#ifndef USE_UINT_ENUMS
{
- ECHO_ENUM1=1,
- ECHO_ENUM2=2
+ ECHO_ENUM1=(int)1,
+ ECHO_ENUM2=(int)2
}
#else
{ __donnot_use_enum_echo_Enum1=0x7FFFFFFF}
@@ -64,8 +64,8 @@ enum echo_Enum1
enum echo_Enum1_32
#ifndef USE_UINT_ENUMS
{
- ECHO_ENUM1_32=1,
- ECHO_ENUM2_32=2
+ ECHO_ENUM1_32=(int)1,
+ ECHO_ENUM2_32=(int)2
}
#else
{ __donnot_use_enum_echo_Enum1_32=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/epmapper.h b/librpc/gen_ndr/epmapper.h
index 2030e1e54f..09f46a3889 100644
--- a/librpc/gen_ndr/epmapper.h
+++ b/librpc/gen_ndr/epmapper.h
@@ -14,32 +14,32 @@
enum epm_protocol
#ifndef USE_UINT_ENUMS
{
- EPM_PROTOCOL_DNET_NSP=0x04,
- EPM_PROTOCOL_OSI_TP4=0x05,
- EPM_PROTOCOL_OSI_CLNS=0x06,
- EPM_PROTOCOL_TCP=0x07,
- EPM_PROTOCOL_UDP=0x08,
- EPM_PROTOCOL_IP=0x09,
- EPM_PROTOCOL_NCADG=0x0a,
- EPM_PROTOCOL_NCACN=0x0b,
- EPM_PROTOCOL_NCALRPC=0x0c,
- EPM_PROTOCOL_UUID=0x0d,
- EPM_PROTOCOL_IPX=0x0e,
- EPM_PROTOCOL_SMB=0x0f,
- EPM_PROTOCOL_NAMED_PIPE=0x10,
- EPM_PROTOCOL_NETBIOS=0x11,
- EPM_PROTOCOL_NETBEUI=0x12,
- EPM_PROTOCOL_SPX=0x13,
- EPM_PROTOCOL_NB_IPX=0x14,
- EPM_PROTOCOL_DSP=0x16,
- EPM_PROTOCOL_DDP=0x17,
- EPM_PROTOCOL_APPLETALK=0x18,
- EPM_PROTOCOL_VINES_SPP=0x1a,
- EPM_PROTOCOL_VINES_IPC=0x1b,
- EPM_PROTOCOL_STREETTALK=0x1c,
- EPM_PROTOCOL_HTTP=0x1f,
- EPM_PROTOCOL_UNIX_DS=0x20,
- EPM_PROTOCOL_NULL=0x21
+ EPM_PROTOCOL_DNET_NSP=(int)0x04,
+ EPM_PROTOCOL_OSI_TP4=(int)0x05,
+ EPM_PROTOCOL_OSI_CLNS=(int)0x06,
+ EPM_PROTOCOL_TCP=(int)0x07,
+ EPM_PROTOCOL_UDP=(int)0x08,
+ EPM_PROTOCOL_IP=(int)0x09,
+ EPM_PROTOCOL_NCADG=(int)0x0a,
+ EPM_PROTOCOL_NCACN=(int)0x0b,
+ EPM_PROTOCOL_NCALRPC=(int)0x0c,
+ EPM_PROTOCOL_UUID=(int)0x0d,
+ EPM_PROTOCOL_IPX=(int)0x0e,
+ EPM_PROTOCOL_SMB=(int)0x0f,
+ EPM_PROTOCOL_NAMED_PIPE=(int)0x10,
+ EPM_PROTOCOL_NETBIOS=(int)0x11,
+ EPM_PROTOCOL_NETBEUI=(int)0x12,
+ EPM_PROTOCOL_SPX=(int)0x13,
+ EPM_PROTOCOL_NB_IPX=(int)0x14,
+ EPM_PROTOCOL_DSP=(int)0x16,
+ EPM_PROTOCOL_DDP=(int)0x17,
+ EPM_PROTOCOL_APPLETALK=(int)0x18,
+ EPM_PROTOCOL_VINES_SPP=(int)0x1a,
+ EPM_PROTOCOL_VINES_IPC=(int)0x1b,
+ EPM_PROTOCOL_STREETTALK=(int)0x1c,
+ EPM_PROTOCOL_HTTP=(int)0x1f,
+ EPM_PROTOCOL_UNIX_DS=(int)0x20,
+ EPM_PROTOCOL_NULL=(int)0x21
}
#else
{ __donnot_use_enum_epm_protocol=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/eventlog.h b/librpc/gen_ndr/eventlog.h
index 3895017d94..1629b977c6 100644
--- a/librpc/gen_ndr/eventlog.h
+++ b/librpc/gen_ndr/eventlog.h
@@ -18,12 +18,12 @@
enum eventlogEventTypes
#ifndef USE_UINT_ENUMS
{
- EVENTLOG_SUCCESS=0x0000,
- EVENTLOG_ERROR_TYPE=0x0001,
- EVENTLOG_WARNING_TYPE=0x0002,
- EVENTLOG_INFORMATION_TYPE=0x0004,
- EVENTLOG_AUDIT_SUCCESS=0x0008,
- EVENTLOG_AUDIT_FAILURE=0x0010
+ EVENTLOG_SUCCESS=(int)0x0000,
+ EVENTLOG_ERROR_TYPE=(int)0x0001,
+ EVENTLOG_WARNING_TYPE=(int)0x0002,
+ EVENTLOG_INFORMATION_TYPE=(int)0x0004,
+ EVENTLOG_AUDIT_SUCCESS=(int)0x0008,
+ EVENTLOG_AUDIT_FAILURE=(int)0x0010
}
#else
{ __donnot_use_enum_eventlogEventTypes=0x7FFFFFFF}
@@ -73,10 +73,10 @@ struct eventlog_Record_tdb {
enum EVENTLOG_HEADER_FLAGS
#ifndef USE_UINT_ENUMS
{
- ELF_LOGFILE_HEADER_DIRTY=0x0001,
- ELF_LOGFILE_HEADER_WRAP=0x0002,
- ELF_LOGFILE_LOGFULL_WRITTEN=0x0004,
- ELF_LOGFILE_ARCHIVE_SET=0x0008
+ ELF_LOGFILE_HEADER_DIRTY=(int)0x0001,
+ ELF_LOGFILE_HEADER_WRAP=(int)0x0002,
+ ELF_LOGFILE_LOGFULL_WRITTEN=(int)0x0004,
+ ELF_LOGFILE_ARCHIVE_SET=(int)0x0008
}
#else
{ __donnot_use_enum_EVENTLOG_HEADER_FLAGS=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/initshutdown.h b/librpc/gen_ndr/initshutdown.h
index d9b89ad2ac..9db5a7677d 100644
--- a/librpc/gen_ndr/initshutdown.h
+++ b/librpc/gen_ndr/initshutdown.h
@@ -11,14 +11,14 @@
enum initshutdown_ReasonMajor
#ifndef USE_UINT_ENUMS
{
- SHTDN_REASON_MAJOR_OTHER=0x00000000,
- SHTDN_REASON_MAJOR_HARDWARE=0x00010000,
- SHTDN_REASON_MAJOR_OPERATINGSYSTEM=0x00020000,
- SHTDN_REASON_MAJOR_SOFTWARE=0x00030000,
- SHTDN_REASON_MAJOR_APPLICATION=0x00040000,
- SHTDN_REASON_MAJOR_SYSTEM=0x00050000,
- SHTDN_REASON_MAJOR_POWER=0x00060000,
- SHTDN_REASON_MAJOR_LEGACY_API=0x00070000
+ SHTDN_REASON_MAJOR_OTHER=(int)0x00000000,
+ SHTDN_REASON_MAJOR_HARDWARE=(int)0x00010000,
+ SHTDN_REASON_MAJOR_OPERATINGSYSTEM=(int)0x00020000,
+ SHTDN_REASON_MAJOR_SOFTWARE=(int)0x00030000,
+ SHTDN_REASON_MAJOR_APPLICATION=(int)0x00040000,
+ SHTDN_REASON_MAJOR_SYSTEM=(int)0x00050000,
+ SHTDN_REASON_MAJOR_POWER=(int)0x00060000,
+ SHTDN_REASON_MAJOR_LEGACY_API=(int)0x00070000
}
#else
{ __donnot_use_enum_initshutdown_ReasonMajor=0x7FFFFFFF}
@@ -36,33 +36,33 @@ enum initshutdown_ReasonMajor
enum initshutdown_ReasonMinor
#ifndef USE_UINT_ENUMS
{
- SHTDN_REASON_MINOR_OTHER=0x00000000,
- SHTDN_REASON_MINOR_MAINTENANCE=0x00000001,
- SHTDN_REASON_MINOR_INSTALLATION=0x00000002,
- SHTDN_REASON_MINOR_UPGRADE=0x00000003,
- SHTDN_REASON_MINOR_RECONFIG=0x00000004,
- SHTDN_REASON_MINOR_HUNG=0x00000005,
- SHTDN_REASON_MINOR_UNSTABLE=0x00000006,
- SHTDN_REASON_MINOR_DISK=0x00000007,
- SHTDN_REASON_MINOR_PROCESSOR=0x00000008,
- SHTDN_REASON_MINOR_NETWORKCARD=0x00000009,
- SHTDN_REASON_MINOR_POWER_SUPPLY=0x0000000a,
- SHTDN_REASON_MINOR_CORDUNPLUGGED=0x0000000b,
- SHTDN_REASON_MINOR_ENVIRONMENT=0x0000000c,
- SHTDN_REASON_MINOR_HARDWARE_DRIVER=0x0000000d,
- SHTDN_REASON_MINOR_OTHERDRIVER=0x0000000e,
- SHTDN_REASON_MINOR_BLUESCREEN=0x0000000f,
- SHTDN_REASON_MINOR_SERVICEPACK=0x00000010,
- SHTDN_REASON_MINOR_HOTFIX=0x00000011,
- SHTDN_REASON_MINOR_SECURITYFIX=0x00000012,
- SHTDN_REASON_MINOR_SECURITY=0x00000013,
- SHTDN_REASON_MINOR_NETWORK_CONNECTIVITY=0x00000014,
- SHTDN_REASON_MINOR_WMI=0x00000015,
- SHTDN_REASON_MINOR_SERVICEPACK_UNINSTALL=0x00000016,
- SHTDN_REASON_MINOR_HOTFIX_UNINSTALL=0x00000017,
- SHTDN_REASON_MINOR_SECURITYFIX_UNINSTALL=0x00000018,
- SHTDN_REASON_MINOR_MMC=0x00000019,
- SHTDN_REASON_MINOR_TERMSRV=0x00000020
+ SHTDN_REASON_MINOR_OTHER=(int)0x00000000,
+ SHTDN_REASON_MINOR_MAINTENANCE=(int)0x00000001,
+ SHTDN_REASON_MINOR_INSTALLATION=(int)0x00000002,
+ SHTDN_REASON_MINOR_UPGRADE=(int)0x00000003,
+ SHTDN_REASON_MINOR_RECONFIG=(int)0x00000004,
+ SHTDN_REASON_MINOR_HUNG=(int)0x00000005,
+ SHTDN_REASON_MINOR_UNSTABLE=(int)0x00000006,
+ SHTDN_REASON_MINOR_DISK=(int)0x00000007,
+ SHTDN_REASON_MINOR_PROCESSOR=(int)0x00000008,
+ SHTDN_REASON_MINOR_NETWORKCARD=(int)0x00000009,
+ SHTDN_REASON_MINOR_POWER_SUPPLY=(int)0x0000000a,
+ SHTDN_REASON_MINOR_CORDUNPLUGGED=(int)0x0000000b,
+ SHTDN_REASON_MINOR_ENVIRONMENT=(int)0x0000000c,
+ SHTDN_REASON_MINOR_HARDWARE_DRIVER=(int)0x0000000d,
+ SHTDN_REASON_MINOR_OTHERDRIVER=(int)0x0000000e,
+ SHTDN_REASON_MINOR_BLUESCREEN=(int)0x0000000f,
+ SHTDN_REASON_MINOR_SERVICEPACK=(int)0x00000010,
+ SHTDN_REASON_MINOR_HOTFIX=(int)0x00000011,
+ SHTDN_REASON_MINOR_SECURITYFIX=(int)0x00000012,
+ SHTDN_REASON_MINOR_SECURITY=(int)0x00000013,
+ SHTDN_REASON_MINOR_NETWORK_CONNECTIVITY=(int)0x00000014,
+ SHTDN_REASON_MINOR_WMI=(int)0x00000015,
+ SHTDN_REASON_MINOR_SERVICEPACK_UNINSTALL=(int)0x00000016,
+ SHTDN_REASON_MINOR_HOTFIX_UNINSTALL=(int)0x00000017,
+ SHTDN_REASON_MINOR_SECURITYFIX_UNINSTALL=(int)0x00000018,
+ SHTDN_REASON_MINOR_MMC=(int)0x00000019,
+ SHTDN_REASON_MINOR_TERMSRV=(int)0x00000020
}
#else
{ __donnot_use_enum_initshutdown_ReasonMinor=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/krb5pac.h b/librpc/gen_ndr/krb5pac.h
index 03b23bdaae..0fca0c5991 100644
--- a/librpc/gen_ndr/krb5pac.h
+++ b/librpc/gen_ndr/krb5pac.h
@@ -48,12 +48,12 @@ struct PAC_LOGON_INFO_CTR {
enum PAC_TYPE
#ifndef USE_UINT_ENUMS
{
- PAC_TYPE_LOGON_INFO=1,
- PAC_TYPE_SRV_CHECKSUM=6,
- PAC_TYPE_KDC_CHECKSUM=7,
- PAC_TYPE_LOGON_NAME=10,
- PAC_TYPE_CONSTRAINED_DELEGATION=11,
- PAC_TYPE_UNKNOWN_12=12
+ PAC_TYPE_LOGON_INFO=(int)1,
+ PAC_TYPE_SRV_CHECKSUM=(int)6,
+ PAC_TYPE_KDC_CHECKSUM=(int)7,
+ PAC_TYPE_LOGON_NAME=(int)10,
+ PAC_TYPE_CONSTRAINED_DELEGATION=(int)11,
+ PAC_TYPE_UNKNOWN_12=(int)12
}
#else
{ __donnot_use_enum_PAC_TYPE=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/lsa.h b/librpc/gen_ndr/lsa.h
index a47259145b..3770756488 100644
--- a/librpc/gen_ndr/lsa.h
+++ b/librpc/gen_ndr/lsa.h
@@ -135,11 +135,11 @@ struct lsa_AuditLogInfo {
enum lsa_PolicyAuditPolicy
#ifndef USE_UINT_ENUMS
{
- LSA_AUDIT_POLICY_NONE=0,
- LSA_AUDIT_POLICY_SUCCESS=1,
- LSA_AUDIT_POLICY_FAILURE=2,
- LSA_AUDIT_POLICY_ALL=(LSA_AUDIT_POLICY_SUCCESS|LSA_AUDIT_POLICY_FAILURE),
- LSA_AUDIT_POLICY_CLEAR=4
+ LSA_AUDIT_POLICY_NONE=(int)0,
+ LSA_AUDIT_POLICY_SUCCESS=(int)1,
+ LSA_AUDIT_POLICY_FAILURE=(int)2,
+ LSA_AUDIT_POLICY_ALL=(int)(LSA_AUDIT_POLICY_SUCCESS|LSA_AUDIT_POLICY_FAILURE),
+ LSA_AUDIT_POLICY_CLEAR=(int)4
}
#else
{ __donnot_use_enum_lsa_PolicyAuditPolicy=0x7FFFFFFF}
@@ -154,15 +154,15 @@ enum lsa_PolicyAuditPolicy
enum lsa_PolicyAuditEventType
#ifndef USE_UINT_ENUMS
{
- LSA_AUDIT_CATEGORY_SYSTEM=0,
- LSA_AUDIT_CATEGORY_LOGON=1,
- LSA_AUDIT_CATEGORY_FILE_AND_OBJECT_ACCESS=2,
- LSA_AUDIT_CATEGORY_USE_OF_USER_RIGHTS=3,
- LSA_AUDIT_CATEGORY_PROCCESS_TRACKING=4,
- LSA_AUDIT_CATEGORY_SECURITY_POLICY_CHANGES=5,
- LSA_AUDIT_CATEGORY_ACCOUNT_MANAGEMENT=6,
- LSA_AUDIT_CATEGORY_DIRECTORY_SERVICE_ACCESS=7,
- LSA_AUDIT_CATEGORY_ACCOUNT_LOGON=8
+ LSA_AUDIT_CATEGORY_SYSTEM=(int)0,
+ LSA_AUDIT_CATEGORY_LOGON=(int)1,
+ LSA_AUDIT_CATEGORY_FILE_AND_OBJECT_ACCESS=(int)2,
+ LSA_AUDIT_CATEGORY_USE_OF_USER_RIGHTS=(int)3,
+ LSA_AUDIT_CATEGORY_PROCCESS_TRACKING=(int)4,
+ LSA_AUDIT_CATEGORY_SECURITY_POLICY_CHANGES=(int)5,
+ LSA_AUDIT_CATEGORY_ACCOUNT_MANAGEMENT=(int)6,
+ LSA_AUDIT_CATEGORY_DIRECTORY_SERVICE_ACCESS=(int)7,
+ LSA_AUDIT_CATEGORY_ACCOUNT_LOGON=(int)8
}
#else
{ __donnot_use_enum_lsa_PolicyAuditEventType=0x7FFFFFFF}
@@ -196,8 +196,8 @@ struct lsa_PDAccountInfo {
enum lsa_Role
#ifndef USE_UINT_ENUMS
{
- LSA_ROLE_BACKUP=2,
- LSA_ROLE_PRIMARY=3
+ LSA_ROLE_BACKUP=(int)2,
+ LSA_ROLE_PRIMARY=(int)3
}
#else
{ __donnot_use_enum_lsa_Role=0x7FFFFFFF}
@@ -249,20 +249,20 @@ struct lsa_DnsDomainInfo {
enum lsa_PolicyInfo
#ifndef USE_UINT_ENUMS
{
- LSA_POLICY_INFO_AUDIT_LOG=1,
- LSA_POLICY_INFO_AUDIT_EVENTS=2,
- LSA_POLICY_INFO_DOMAIN=3,
- LSA_POLICY_INFO_PD=4,
- LSA_POLICY_INFO_ACCOUNT_DOMAIN=5,
- LSA_POLICY_INFO_ROLE=6,
- LSA_POLICY_INFO_REPLICA=7,
- LSA_POLICY_INFO_QUOTA=8,
- LSA_POLICY_INFO_MOD=9,
- LSA_POLICY_INFO_AUDIT_FULL_SET=10,
- LSA_POLICY_INFO_AUDIT_FULL_QUERY=11,
- LSA_POLICY_INFO_DNS=12,
- LSA_POLICY_INFO_DNS_INT=13,
- LSA_POLICY_INFO_L_ACCOUNT_DOMAIN=14
+ LSA_POLICY_INFO_AUDIT_LOG=(int)1,
+ LSA_POLICY_INFO_AUDIT_EVENTS=(int)2,
+ LSA_POLICY_INFO_DOMAIN=(int)3,
+ LSA_POLICY_INFO_PD=(int)4,
+ LSA_POLICY_INFO_ACCOUNT_DOMAIN=(int)5,
+ LSA_POLICY_INFO_ROLE=(int)6,
+ LSA_POLICY_INFO_REPLICA=(int)7,
+ LSA_POLICY_INFO_QUOTA=(int)8,
+ LSA_POLICY_INFO_MOD=(int)9,
+ LSA_POLICY_INFO_AUDIT_FULL_SET=(int)10,
+ LSA_POLICY_INFO_AUDIT_FULL_QUERY=(int)11,
+ LSA_POLICY_INFO_DNS=(int)12,
+ LSA_POLICY_INFO_DNS_INT=(int)13,
+ LSA_POLICY_INFO_L_ACCOUNT_DOMAIN=(int)14
}
#else
{ __donnot_use_enum_lsa_PolicyInfo=0x7FFFFFFF}
@@ -316,16 +316,16 @@ struct lsa_DomainList {
enum lsa_SidType
#ifndef USE_UINT_ENUMS
{
- SID_NAME_USE_NONE=0,
- SID_NAME_USER=1,
- SID_NAME_DOM_GRP=2,
- SID_NAME_DOMAIN=3,
- SID_NAME_ALIAS=4,
- SID_NAME_WKN_GRP=5,
- SID_NAME_DELETED=6,
- SID_NAME_INVALID=7,
- SID_NAME_UNKNOWN=8,
- SID_NAME_COMPUTER=9
+ SID_NAME_USE_NONE=(int)0,
+ SID_NAME_USER=(int)1,
+ SID_NAME_DOM_GRP=(int)2,
+ SID_NAME_DOMAIN=(int)3,
+ SID_NAME_ALIAS=(int)4,
+ SID_NAME_WKN_GRP=(int)5,
+ SID_NAME_DELETED=(int)6,
+ SID_NAME_INVALID=(int)7,
+ SID_NAME_UNKNOWN=(int)8,
+ SID_NAME_COMPUTER=(int)9
}
#else
{ __donnot_use_enum_lsa_SidType=0x7FFFFFFF}
@@ -362,13 +362,13 @@ struct lsa_RefDomainList {
enum lsa_LookupNamesLevel
#ifndef USE_UINT_ENUMS
{
- LSA_LOOKUP_NAMES_ALL=1,
- LSA_LOOKUP_NAMES_DOMAINS_ONLY=2,
- LSA_LOOKUP_NAMES_PRIMARY_DOMAIN_ONLY=3,
- LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY=4,
- LSA_LOOKUP_NAMES_FOREST_TRUSTS_ONLY=5,
- LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY2=6,
- LSA_LOOKUP_NAMES_RODC_REFERRAL_TO_FULL_DC=7
+ LSA_LOOKUP_NAMES_ALL=(int)1,
+ LSA_LOOKUP_NAMES_DOMAINS_ONLY=(int)2,
+ LSA_LOOKUP_NAMES_PRIMARY_DOMAIN_ONLY=(int)3,
+ LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY=(int)4,
+ LSA_LOOKUP_NAMES_FOREST_TRUSTS_ONLY=(int)5,
+ LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY2=(int)6,
+ LSA_LOOKUP_NAMES_RODC_REFERRAL_TO_FULL_DC=(int)7
}
#else
{ __donnot_use_enum_lsa_LookupNamesLevel=0x7FFFFFFF}
@@ -433,19 +433,19 @@ struct lsa_DATA_BUF2 {
enum lsa_TrustDomInfoEnum
#ifndef USE_UINT_ENUMS
{
- LSA_TRUSTED_DOMAIN_INFO_NAME=1,
- LSA_TRUSTED_DOMAIN_INFO_CONTROLLERS=2,
- LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET=3,
- LSA_TRUSTED_DOMAIN_INFO_PASSWORD=4,
- LSA_TRUSTED_DOMAIN_INFO_BASIC=5,
- LSA_TRUSTED_DOMAIN_INFO_INFO_EX=6,
- LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO=7,
- LSA_TRUSTED_DOMAIN_INFO_FULL_INFO=8,
- LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO_INTERNAL=9,
- LSA_TRUSTED_DOMAIN_INFO_FULL_INFO_INTERNAL=10,
- LSA_TRUSTED_DOMAIN_INFO_INFO_EX2_INTERNAL=11,
- LSA_TRUSTED_DOMAIN_INFO_FULL_INFO_2_INTERNAL=12,
- LSA_TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES=13
+ LSA_TRUSTED_DOMAIN_INFO_NAME=(int)1,
+ LSA_TRUSTED_DOMAIN_INFO_CONTROLLERS=(int)2,
+ LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET=(int)3,
+ LSA_TRUSTED_DOMAIN_INFO_PASSWORD=(int)4,
+ LSA_TRUSTED_DOMAIN_INFO_BASIC=(int)5,
+ LSA_TRUSTED_DOMAIN_INFO_INFO_EX=(int)6,
+ LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO=(int)7,
+ LSA_TRUSTED_DOMAIN_INFO_FULL_INFO=(int)8,
+ LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO_INTERNAL=(int)9,
+ LSA_TRUSTED_DOMAIN_INFO_FULL_INFO_INTERNAL=(int)10,
+ LSA_TRUSTED_DOMAIN_INFO_INFO_EX2_INTERNAL=(int)11,
+ LSA_TRUSTED_DOMAIN_INFO_FULL_INFO_2_INTERNAL=(int)12,
+ LSA_TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES=(int)13
}
#else
{ __donnot_use_enum_lsa_TrustDomInfoEnum=0x7FFFFFFF}
@@ -472,9 +472,9 @@ enum lsa_TrustDomInfoEnum
enum lsa_TrustType
#ifndef USE_UINT_ENUMS
{
- LSA_TRUST_TYPE_DOWNLEVEL=0x00000001,
- LSA_TRUST_TYPE_UPLEVEL=0x00000002,
- LSA_TRUST_TYPE_MIT=0x00000003
+ LSA_TRUST_TYPE_DOWNLEVEL=(int)0x00000001,
+ LSA_TRUST_TYPE_UPLEVEL=(int)0x00000002,
+ LSA_TRUST_TYPE_MIT=(int)0x00000003
}
#else
{ __donnot_use_enum_lsa_TrustType=0x7FFFFFFF}
@@ -529,10 +529,10 @@ struct lsa_TrustDomainInfoInfoEx {
enum lsa_TrustAuthType
#ifndef USE_UINT_ENUMS
{
- TRUST_AUTH_TYPE_NONE=0,
- TRUST_AUTH_TYPE_NT4OWF=1,
- TRUST_AUTH_TYPE_CLEAR=2,
- TRUST_AUTH_TYPE_VERSION=3
+ TRUST_AUTH_TYPE_NONE=(int)0,
+ TRUST_AUTH_TYPE_NT4OWF=(int)1,
+ TRUST_AUTH_TYPE_CLEAR=(int)2,
+ TRUST_AUTH_TYPE_VERSION=(int)3
}
#else
{ __donnot_use_enum_lsa_TrustAuthType=0x7FFFFFFF}
@@ -641,8 +641,8 @@ struct lsa_DomainInfoEfs {
enum lsa_DomainInfoEnum
#ifndef USE_UINT_ENUMS
{
- LSA_DOMAIN_INFO_POLICY_EFS=2,
- LSA_DOMAIN_INFO_POLICY_KERBEROS=3
+ LSA_DOMAIN_INFO_POLICY_EFS=(int)2,
+ LSA_DOMAIN_INFO_POLICY_KERBEROS=(int)3
}
#else
{ __donnot_use_enum_lsa_DomainInfoEnum=0x7FFFFFFF}
@@ -671,8 +671,8 @@ struct lsa_TransNameArray2 {
enum lsa_LookupOptions
#ifndef USE_UINT_ENUMS
{
- LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES=0x00000000,
- LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES_LOCAL=0x80000000
+ LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES=(int)0x00000000,
+ LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES_LOCAL=(int)0x80000000
}
#else
{ __donnot_use_enum_lsa_LookupOptions=0x7FFFFFFF}
@@ -684,8 +684,8 @@ enum lsa_LookupOptions
enum lsa_ClientRevision
#ifndef USE_UINT_ENUMS
{
- LSA_CLIENT_REVISION_1=0x00000001,
- LSA_CLIENT_REVISION_2=0x00000002
+ LSA_CLIENT_REVISION_1=(int)0x00000001,
+ LSA_CLIENT_REVISION_2=(int)0x00000002
}
#else
{ __donnot_use_enum_lsa_ClientRevision=0x7FFFFFFF}
@@ -739,10 +739,10 @@ union lsa_ForestTrustData {
enum lsa_ForestTrustRecordType
#ifndef USE_UINT_ENUMS
{
- LSA_FOREST_TRUST_TOP_LEVEL_NAME=0,
- LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX=1,
- LSA_FOREST_TRUST_DOMAIN_INFO=2,
- LSA_FOREST_TRUST_RECORD_TYPE_LAST=3
+ LSA_FOREST_TRUST_TOP_LEVEL_NAME=(int)0,
+ LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX=(int)1,
+ LSA_FOREST_TRUST_DOMAIN_INFO=(int)2,
+ LSA_FOREST_TRUST_RECORD_TYPE_LAST=(int)3
}
#else
{ __donnot_use_enum_lsa_ForestTrustRecordType=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/misc.h b/librpc/gen_ndr/misc.h
index 824483d292..84dc3aee7e 100644
--- a/librpc/gen_ndr/misc.h
+++ b/librpc/gen_ndr/misc.h
@@ -28,11 +28,11 @@ struct policy_handle {
enum netr_SchannelType
#ifndef USE_UINT_ENUMS
{
- SEC_CHAN_NULL=0,
- SEC_CHAN_WKSTA=2,
- SEC_CHAN_DNS_DOMAIN=3,
- SEC_CHAN_DOMAIN=4,
- SEC_CHAN_BDC=6
+ SEC_CHAN_NULL=(int)0,
+ SEC_CHAN_WKSTA=(int)2,
+ SEC_CHAN_DNS_DOMAIN=(int)3,
+ SEC_CHAN_DOMAIN=(int)4,
+ SEC_CHAN_BDC=(int)6
}
#else
{ __donnot_use_enum_netr_SchannelType=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/nbt.h b/librpc/gen_ndr/nbt.h
index affbeffa08..2ddfe0a31b 100644
--- a/librpc/gen_ndr/nbt.h
+++ b/librpc/gen_ndr/nbt.h
@@ -31,13 +31,13 @@
enum nbt_opcode
#ifndef USE_UINT_ENUMS
{
- NBT_OPCODE_QUERY=(0x0<<11),
- NBT_OPCODE_REGISTER=(0x5<<11),
- NBT_OPCODE_RELEASE=(0x6<<11),
- NBT_OPCODE_WACK=(0x7<<11),
- NBT_OPCODE_REFRESH=(0x8<<11),
- NBT_OPCODE_REFRESH2=(0x9<<11),
- NBT_OPCODE_MULTI_HOME_REG=(0xf<<11)
+ NBT_OPCODE_QUERY=(int)(0x0<<11),
+ NBT_OPCODE_REGISTER=(int)(0x5<<11),
+ NBT_OPCODE_RELEASE=(int)(0x6<<11),
+ NBT_OPCODE_WACK=(int)(0x7<<11),
+ NBT_OPCODE_REFRESH=(int)(0x8<<11),
+ NBT_OPCODE_REFRESH2=(int)(0x9<<11),
+ NBT_OPCODE_MULTI_HOME_REG=(int)(0xf<<11)
}
#else
{ __donnot_use_enum_nbt_opcode=0x7FFFFFFF}
@@ -54,14 +54,14 @@ enum nbt_opcode
enum nbt_rcode
#ifndef USE_UINT_ENUMS
{
- NBT_RCODE_OK=0x0,
- NBT_RCODE_FMT=0x1,
- NBT_RCODE_SVR=0x2,
- NBT_RCODE_NAM=0x3,
- NBT_RCODE_IMP=0x4,
- NBT_RCODE_RFS=0x5,
- NBT_RCODE_ACT=0x6,
- NBT_RCODE_CFT=0x7
+ NBT_RCODE_OK=(int)0x0,
+ NBT_RCODE_FMT=(int)0x1,
+ NBT_RCODE_SVR=(int)0x2,
+ NBT_RCODE_NAM=(int)0x3,
+ NBT_RCODE_IMP=(int)0x4,
+ NBT_RCODE_RFS=(int)0x5,
+ NBT_RCODE_ACT=(int)0x6,
+ NBT_RCODE_CFT=(int)0x7
}
#else
{ __donnot_use_enum_nbt_rcode=0x7FFFFFFF}
@@ -79,14 +79,14 @@ enum nbt_rcode
enum nbt_name_type
#ifndef USE_UINT_ENUMS
{
- NBT_NAME_CLIENT=0x00,
- NBT_NAME_MS=0x01,
- NBT_NAME_USER=0x03,
- NBT_NAME_SERVER=0x20,
- NBT_NAME_PDC=0x1B,
- NBT_NAME_LOGON=0x1C,
- NBT_NAME_MASTER=0x1D,
- NBT_NAME_BROWSER=0x1E
+ NBT_NAME_CLIENT=(int)0x00,
+ NBT_NAME_MS=(int)0x01,
+ NBT_NAME_USER=(int)0x03,
+ NBT_NAME_SERVER=(int)0x20,
+ NBT_NAME_PDC=(int)0x1B,
+ NBT_NAME_LOGON=(int)0x1C,
+ NBT_NAME_MASTER=(int)0x1D,
+ NBT_NAME_BROWSER=(int)0x1E
}
#else
{ __donnot_use_enum_nbt_name_type=0x7FFFFFFF}
@@ -110,7 +110,7 @@ struct nbt_name {
enum nbt_qclass
#ifndef USE_UINT_ENUMS
{
- NBT_QCLASS_IP=0x01
+ NBT_QCLASS_IP=(int)0x01
}
#else
{ __donnot_use_enum_nbt_qclass=0x7FFFFFFF}
@@ -121,11 +121,11 @@ enum nbt_qclass
enum nbt_qtype
#ifndef USE_UINT_ENUMS
{
- NBT_QTYPE_ADDRESS=0x0001,
- NBT_QTYPE_NAMESERVICE=0x0002,
- NBT_QTYPE_NULL=0x000A,
- NBT_QTYPE_NETBIOS=0x0020,
- NBT_QTYPE_STATUS=0x0021
+ NBT_QTYPE_ADDRESS=(int)0x0001,
+ NBT_QTYPE_NAMESERVICE=(int)0x0002,
+ NBT_QTYPE_NULL=(int)0x000A,
+ NBT_QTYPE_NETBIOS=(int)0x0020,
+ NBT_QTYPE_STATUS=(int)0x0021
}
#else
{ __donnot_use_enum_nbt_qtype=0x7FFFFFFF}
@@ -146,10 +146,10 @@ struct nbt_name_question {
enum nbt_node_type
#ifndef USE_UINT_ENUMS
{
- NBT_NODE_B=0x0000,
- NBT_NODE_P=0x2000,
- NBT_NODE_M=0x4000,
- NBT_NODE_H=0x6000
+ NBT_NODE_B=(int)0x0000,
+ NBT_NODE_P=(int)0x2000,
+ NBT_NODE_M=(int)0x4000,
+ NBT_NODE_H=(int)0x6000
}
#else
{ __donnot_use_enum_nbt_node_type=0x7FFFFFFF}
@@ -250,13 +250,13 @@ struct nbt_name_packet {
enum dgram_msg_type
#ifndef USE_UINT_ENUMS
{
- DGRAM_DIRECT_UNIQUE=0x10,
- DGRAM_DIRECT_GROUP=0x11,
- DGRAM_BCAST=0x12,
- DGRAM_ERROR=0x13,
- DGRAM_QUERY=0x14,
- DGRAM_QUERY_POSITIVE=0x15,
- DGRAM_QUERY_NEGATIVE=0x16
+ DGRAM_DIRECT_UNIQUE=(int)0x10,
+ DGRAM_DIRECT_GROUP=(int)0x11,
+ DGRAM_BCAST=(int)0x12,
+ DGRAM_ERROR=(int)0x13,
+ DGRAM_QUERY=(int)0x14,
+ DGRAM_QUERY_POSITIVE=(int)0x15,
+ DGRAM_QUERY_NEGATIVE=(int)0x16
}
#else
{ __donnot_use_enum_dgram_msg_type=0x7FFFFFFF}
@@ -278,10 +278,10 @@ enum dgram_msg_type
enum dgram_node_type
#ifndef USE_UINT_ENUMS
{
- DGRAM_NODE_B=0x00,
- DGRAM_NODE_P=0x04,
- DGRAM_NODE_M=0x08,
- DGRAM_NODE_NBDD=0x0C
+ DGRAM_NODE_B=(int)0x00,
+ DGRAM_NODE_P=(int)0x04,
+ DGRAM_NODE_M=(int)0x08,
+ DGRAM_NODE_NBDD=(int)0x0C
}
#else
{ __donnot_use_enum_dgram_node_type=0x7FFFFFFF}
@@ -295,7 +295,7 @@ enum dgram_node_type
enum smb_command
#ifndef USE_UINT_ENUMS
{
- SMB_TRANSACTION=0x25
+ SMB_TRANSACTION=(int)0x25
}
#else
{ __donnot_use_enum_smb_command=0x7FFFFFFF}
@@ -365,9 +365,9 @@ struct dgram_message {
enum dgram_err_code
#ifndef USE_UINT_ENUMS
{
- DGRAM_ERROR_NAME_NOT_PRESENT=0x82,
- DGRAM_ERROR_INVALID_SOURCE=0x83,
- DGRAM_ERROR_INVALID_DEST=0x84
+ DGRAM_ERROR_NAME_NOT_PRESENT=(int)0x82,
+ DGRAM_ERROR_INVALID_SOURCE=(int)0x83,
+ DGRAM_ERROR_INVALID_DEST=(int)0x84
}
#else
{ __donnot_use_enum_dgram_err_code=0x7FFFFFFF}
@@ -427,16 +427,16 @@ struct nbt_sockaddr {
enum netlogon_command
#ifndef USE_UINT_ENUMS
{
- LOGON_PRIMARY_QUERY=7,
- NETLOGON_ANNOUNCE_UAS=10,
- NETLOGON_RESPONSE_FROM_PDC=12,
- LOGON_SAM_LOGON_REQUEST=18,
- LOGON_SAM_LOGON_RESPONSE=19,
- LOGON_SAM_LOGON_PAUSE_RESPONSE=20,
- LOGON_SAM_LOGON_USER_UNKNOWN=21,
- LOGON_SAM_LOGON_RESPONSE_EX=23,
- LOGON_SAM_LOGON_PAUSE_RESPONSE_EX=24,
- LOGON_SAM_LOGON_USER_UNKNOWN_EX=25
+ LOGON_PRIMARY_QUERY=(int)7,
+ NETLOGON_ANNOUNCE_UAS=(int)10,
+ NETLOGON_RESPONSE_FROM_PDC=(int)12,
+ LOGON_SAM_LOGON_REQUEST=(int)18,
+ LOGON_SAM_LOGON_RESPONSE=(int)19,
+ LOGON_SAM_LOGON_PAUSE_RESPONSE=(int)20,
+ LOGON_SAM_LOGON_USER_UNKNOWN=(int)21,
+ LOGON_SAM_LOGON_RESPONSE_EX=(int)23,
+ LOGON_SAM_LOGON_PAUSE_RESPONSE_EX=(int)24,
+ LOGON_SAM_LOGON_USER_UNKNOWN_EX=(int)25
}
#else
{ __donnot_use_enum_netlogon_command=0x7FFFFFFF}
@@ -574,16 +574,16 @@ struct nbt_netlogon_packet {
enum nbt_browse_opcode
#ifndef USE_UINT_ENUMS
{
- HostAnnouncement=1,
- AnnouncementRequest=2,
- Election=8,
- GetBackupListReq=9,
- GetBackupListResp=10,
- BecomeBackup=11,
- DomainAnnouncement=12,
- MasterAnnouncement=13,
- ResetBrowserState=14,
- LocalMasterAnnouncement=15
+ HostAnnouncement=(int)1,
+ AnnouncementRequest=(int)2,
+ Election=(int)8,
+ GetBackupListReq=(int)9,
+ GetBackupListResp=(int)10,
+ BecomeBackup=(int)11,
+ DomainAnnouncement=(int)12,
+ MasterAnnouncement=(int)13,
+ ResetBrowserState=(int)14,
+ LocalMasterAnnouncement=(int)15
}
#else
{ __donnot_use_enum_nbt_browse_opcode=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/netlogon.h b/librpc/gen_ndr/netlogon.h
index 234ea10ff3..36317d6eda 100644
--- a/librpc/gen_ndr/netlogon.h
+++ b/librpc/gen_ndr/netlogon.h
@@ -108,13 +108,13 @@ struct netr_GenericInfo {
enum netr_LogonInfoClass
#ifndef USE_UINT_ENUMS
{
- NetlogonInteractiveInformation=1,
- NetlogonNetworkInformation=2,
- NetlogonServiceInformation=3,
- NetlogonGenericInformation=4,
- NetlogonInteractiveTransitiveInformation=5,
- NetlogonNetworkTransitiveInformation=6,
- NetlogonServiceTransitiveInformation=7
+ NetlogonInteractiveInformation=(int)1,
+ NetlogonNetworkInformation=(int)2,
+ NetlogonServiceInformation=(int)3,
+ NetlogonGenericInformation=(int)4,
+ NetlogonInteractiveTransitiveInformation=(int)5,
+ NetlogonNetworkTransitiveInformation=(int)6,
+ NetlogonServiceTransitiveInformation=(int)7
}
#else
{ __donnot_use_enum_netr_LogonInfoClass=0x7FFFFFFF}
@@ -231,11 +231,11 @@ struct netr_GenericInfo2 {
enum netr_ValidationInfoClass
#ifndef USE_UINT_ENUMS
{
- NetlogonValidationUasInfo=1,
- NetlogonValidationSamInfo=2,
- NetlogonValidationSamInfo2=3,
- NetlogonValidationGenericInfo2=5,
- NetlogonValidationSamInfo4=6
+ NetlogonValidationUasInfo=(int)1,
+ NetlogonValidationSamInfo=(int)2,
+ NetlogonValidationSamInfo2=(int)3,
+ NetlogonValidationGenericInfo2=(int)5,
+ NetlogonValidationSamInfo4=(int)6
}
#else
{ __donnot_use_enum_netr_ValidationInfoClass=0x7FFFFFFF}
@@ -545,28 +545,28 @@ struct netr_DELTA_SECRET {
enum netr_DeltaEnum
#ifndef USE_UINT_ENUMS
{
- NETR_DELTA_DOMAIN=1,
- NETR_DELTA_GROUP=2,
- NETR_DELTA_DELETE_GROUP=3,
- NETR_DELTA_RENAME_GROUP=4,
- NETR_DELTA_USER=5,
- NETR_DELTA_DELETE_USER=6,
- NETR_DELTA_RENAME_USER=7,
- NETR_DELTA_GROUP_MEMBER=8,
- NETR_DELTA_ALIAS=9,
- NETR_DELTA_DELETE_ALIAS=10,
- NETR_DELTA_RENAME_ALIAS=11,
- NETR_DELTA_ALIAS_MEMBER=12,
- NETR_DELTA_POLICY=13,
- NETR_DELTA_TRUSTED_DOMAIN=14,
- NETR_DELTA_DELETE_TRUST=15,
- NETR_DELTA_ACCOUNT=16,
- NETR_DELTA_DELETE_ACCOUNT=17,
- NETR_DELTA_SECRET=18,
- NETR_DELTA_DELETE_SECRET=19,
- NETR_DELTA_DELETE_GROUP2=20,
- NETR_DELTA_DELETE_USER2=21,
- NETR_DELTA_MODIFY_COUNT=22
+ NETR_DELTA_DOMAIN=(int)1,
+ NETR_DELTA_GROUP=(int)2,
+ NETR_DELTA_DELETE_GROUP=(int)3,
+ NETR_DELTA_RENAME_GROUP=(int)4,
+ NETR_DELTA_USER=(int)5,
+ NETR_DELTA_DELETE_USER=(int)6,
+ NETR_DELTA_RENAME_USER=(int)7,
+ NETR_DELTA_GROUP_MEMBER=(int)8,
+ NETR_DELTA_ALIAS=(int)9,
+ NETR_DELTA_DELETE_ALIAS=(int)10,
+ NETR_DELTA_RENAME_ALIAS=(int)11,
+ NETR_DELTA_ALIAS_MEMBER=(int)12,
+ NETR_DELTA_POLICY=(int)13,
+ NETR_DELTA_TRUSTED_DOMAIN=(int)14,
+ NETR_DELTA_DELETE_TRUST=(int)15,
+ NETR_DELTA_ACCOUNT=(int)16,
+ NETR_DELTA_DELETE_ACCOUNT=(int)17,
+ NETR_DELTA_SECRET=(int)18,
+ NETR_DELTA_DELETE_SECRET=(int)19,
+ NETR_DELTA_DELETE_GROUP2=(int)20,
+ NETR_DELTA_DELETE_USER2=(int)21,
+ NETR_DELTA_MODIFY_COUNT=(int)22
}
#else
{ __donnot_use_enum_netr_DeltaEnum=0x7FFFFFFF}
@@ -691,22 +691,22 @@ union netr_CONTROL_QUERY_INFORMATION {
enum netr_LogonControlCode
#ifndef USE_UINT_ENUMS
{
- NETLOGON_CONTROL_QUERY=0x00000001,
- NETLOGON_CONTROL_REPLICATE=0x00000002,
- NETLOGON_CONTROL_SYNCHRONIZE=0x00000003,
- NETLOGON_CONTROL_PDC_REPLICATE=0x00000004,
- NETLOGON_CONTROL_REDISCOVER=0x00000005,
- NETLOGON_CONTROL_TC_QUERY=0x00000006,
- NETLOGON_CONTROL_TRANSPORT_NOTIFY=0x00000007,
- NETLOGON_CONTROL_FIND_USER=0x00000008,
- NETLOGON_CONTROL_CHANGE_PASSWORD=0x00000009,
- NETLOGON_CONTROL_TC_VERIFY=0x0000000A,
- NETLOGON_CONTROL_FORCE_DNS_REG=0x0000000B,
- NETLOGON_CONTROL_QUERY_DNS_REG=0x0000000C,
- NETLOGON_CONTROL_BACKUP_CHANGE_LOG=0x0000FFFC,
- NETLOGON_CONTROL_TRUNCATE_LOG=0x0000FFFD,
- NETLOGON_CONTROL_SET_DBFLAG=0x0000FFFE,
- NETLOGON_CONTROL_BREAKPOINT=0x0000FFFF
+ NETLOGON_CONTROL_QUERY=(int)0x00000001,
+ NETLOGON_CONTROL_REPLICATE=(int)0x00000002,
+ NETLOGON_CONTROL_SYNCHRONIZE=(int)0x00000003,
+ NETLOGON_CONTROL_PDC_REPLICATE=(int)0x00000004,
+ NETLOGON_CONTROL_REDISCOVER=(int)0x00000005,
+ NETLOGON_CONTROL_TC_QUERY=(int)0x00000006,
+ NETLOGON_CONTROL_TRANSPORT_NOTIFY=(int)0x00000007,
+ NETLOGON_CONTROL_FIND_USER=(int)0x00000008,
+ NETLOGON_CONTROL_CHANGE_PASSWORD=(int)0x00000009,
+ NETLOGON_CONTROL_TC_VERIFY=(int)0x0000000A,
+ NETLOGON_CONTROL_FORCE_DNS_REG=(int)0x0000000B,
+ NETLOGON_CONTROL_QUERY_DNS_REG=(int)0x0000000C,
+ NETLOGON_CONTROL_BACKUP_CHANGE_LOG=(int)0x0000FFFC,
+ NETLOGON_CONTROL_TRUNCATE_LOG=(int)0x0000FFFD,
+ NETLOGON_CONTROL_SET_DBFLAG=(int)0x0000FFFE,
+ NETLOGON_CONTROL_BREAKPOINT=(int)0x0000FFFF
}
#else
{ __donnot_use_enum_netr_LogonControlCode=0x7FFFFFFF}
@@ -766,15 +766,15 @@ union netr_CONTROL_DATA_INFORMATION {
enum SyncStateEnum
#ifndef USE_UINT_ENUMS
{
- SYNCSTATE_NORMAL_STATE=0,
- SYNCSTATE_DOMAIN_STATE=1,
- SYNCSTATE_GROUP_STATE=2,
- SYNCSTATE_UAS_BUILT_IN_GROUP_STATE=3,
- SYNCSTATE_USER_STATE=4,
- SYNCSTATE_GROUP_MEMBER_STATE=5,
- SYNCSTATE_ALIAS_STATE=6,
- SYNCSTATE_ALIAS_MEMBER_STATE=7,
- SYNCSTATE_SAM_DONE_STATE=8
+ SYNCSTATE_NORMAL_STATE=(int)0,
+ SYNCSTATE_DOMAIN_STATE=(int)1,
+ SYNCSTATE_GROUP_STATE=(int)2,
+ SYNCSTATE_UAS_BUILT_IN_GROUP_STATE=(int)3,
+ SYNCSTATE_USER_STATE=(int)4,
+ SYNCSTATE_GROUP_MEMBER_STATE=(int)5,
+ SYNCSTATE_ALIAS_STATE=(int)6,
+ SYNCSTATE_ALIAS_MEMBER_STATE=(int)7,
+ SYNCSTATE_SAM_DONE_STATE=(int)8
}
#else
{ __donnot_use_enum_SyncStateEnum=0x7FFFFFFF}
@@ -842,8 +842,8 @@ struct netr_Blob {
enum netr_DsRGetDCNameInfo_AddressType
#ifndef USE_UINT_ENUMS
{
- DS_ADDRESS_TYPE_INET=1,
- DS_ADDRESS_TYPE_NETBIOS=2
+ DS_ADDRESS_TYPE_INET=(int)1,
+ DS_ADDRESS_TYPE_NETBIOS=(int)2
}
#else
{ __donnot_use_enum_netr_DsRGetDCNameInfo_AddressType=0x7FFFFFFF}
@@ -1051,10 +1051,10 @@ struct netr_DsRAddress {
enum netr_TrustType
#ifndef USE_UINT_ENUMS
{
- NETR_TRUST_TYPE_DOWNLEVEL=1,
- NETR_TRUST_TYPE_UPLEVEL=2,
- NETR_TRUST_TYPE_MIT=3,
- NETR_TRUST_TYPE_DCE=4
+ NETR_TRUST_TYPE_DOWNLEVEL=(int)1,
+ NETR_TRUST_TYPE_UPLEVEL=(int)2,
+ NETR_TRUST_TYPE_MIT=(int)3,
+ NETR_TRUST_TYPE_DCE=(int)4
}
#else
{ __donnot_use_enum_netr_TrustType=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/ntlmssp.h b/librpc/gen_ndr/ntlmssp.h
index 5205dce57d..88d9a22830 100644
--- a/librpc/gen_ndr/ntlmssp.h
+++ b/librpc/gen_ndr/ntlmssp.h
@@ -13,9 +13,9 @@
enum ntlmssp_MessageType
#ifndef USE_UINT_ENUMS
{
- NtLmNegotiate=0x00000001,
- NtLmChallenge=0x00000002,
- NtLmAuthenticate=0x00000003
+ NtLmNegotiate=(int)0x00000001,
+ NtLmChallenge=(int)0x00000002,
+ NtLmAuthenticate=(int)0x00000003
}
#else
{ __donnot_use_enum_ntlmssp_MessageType=0x7FFFFFFF}
@@ -56,8 +56,8 @@ enum ntlmssp_MessageType
enum ntlmssp_WindowsMajorVersion
#ifndef USE_UINT_ENUMS
{
- NTLMSSP_WINDOWS_MAJOR_VERSION_5=0x05,
- NTLMSSP_WINDOWS_MAJOR_VERSION_6=0x06
+ NTLMSSP_WINDOWS_MAJOR_VERSION_5=(int)0x05,
+ NTLMSSP_WINDOWS_MAJOR_VERSION_6=(int)0x06
}
#else
{ __donnot_use_enum_ntlmssp_WindowsMajorVersion=0x7FFFFFFF}
@@ -69,9 +69,9 @@ enum ntlmssp_WindowsMajorVersion
enum ntlmssp_WindowsMinorVersion
#ifndef USE_UINT_ENUMS
{
- NTLMSSP_WINDOWS_MINOR_VERSION_0=0x00,
- NTLMSSP_WINDOWS_MINOR_VERSION_1=0x01,
- NTLMSSP_WINDOWS_MINOR_VERSION_2=0x02
+ NTLMSSP_WINDOWS_MINOR_VERSION_0=(int)0x00,
+ NTLMSSP_WINDOWS_MINOR_VERSION_1=(int)0x01,
+ NTLMSSP_WINDOWS_MINOR_VERSION_2=(int)0x02
}
#else
{ __donnot_use_enum_ntlmssp_WindowsMinorVersion=0x7FFFFFFF}
@@ -84,8 +84,8 @@ enum ntlmssp_WindowsMinorVersion
enum ntlmssp_NTLMRevisionCurrent
#ifndef USE_UINT_ENUMS
{
- NTLMSSP_REVISION_W2K3_RC1=0x0A,
- NTLMSSP_REVISION_W2K3=0x0F
+ NTLMSSP_REVISION_W2K3_RC1=(int)0x0A,
+ NTLMSSP_REVISION_W2K3=(int)0x0F
}
#else
{ __donnot_use_enum_ntlmssp_NTLMRevisionCurrent=0x7FFFFFFF}
@@ -122,17 +122,17 @@ struct NEGOTIATE_MESSAGE {
enum ntlmssp_AvId
#ifndef USE_UINT_ENUMS
{
- MsvAvEOL=0,
- MsvAvNbComputerName=1,
- MsvAvNbDomainName=2,
- MsvAvDnsComputerName=3,
- MsvAvDnsDomainName=4,
- MsvAvDnsTreeName=5,
- MsvAvFlags=6,
- MsvAvTimestamp=7,
- MsAvRestrictions=8,
- MsvAvTargetName=9,
- MsvChannelBindings=10
+ MsvAvEOL=(int)0,
+ MsvAvNbComputerName=(int)1,
+ MsvAvNbDomainName=(int)2,
+ MsvAvDnsComputerName=(int)3,
+ MsvAvDnsDomainName=(int)4,
+ MsvAvDnsTreeName=(int)5,
+ MsvAvFlags=(int)6,
+ MsvAvTimestamp=(int)7,
+ MsAvRestrictions=(int)8,
+ MsvAvTargetName=(int)9,
+ MsvChannelBindings=(int)10
}
#else
{ __donnot_use_enum_ntlmssp_AvId=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/samr.h b/librpc/gen_ndr/samr.h
index ce84b45a9e..f3192c45ea 100644
--- a/librpc/gen_ndr/samr.h
+++ b/librpc/gen_ndr/samr.h
@@ -41,9 +41,9 @@
enum netr_SamDatabaseID
#ifndef USE_UINT_ENUMS
{
- SAM_DATABASE_DOMAIN=0,
- SAM_DATABASE_BUILTIN=1,
- SAM_DATABASE_PRIVS=2
+ SAM_DATABASE_DOMAIN=(int)0,
+ SAM_DATABASE_BUILTIN=(int)1,
+ SAM_DATABASE_PRIVS=(int)2
}
#else
{ __donnot_use_enum_netr_SamDatabaseID=0x7FFFFFFF}
@@ -56,10 +56,10 @@ enum netr_SamDatabaseID
enum samr_RejectReason
#ifndef USE_UINT_ENUMS
{
- SAMR_REJECT_OTHER=0,
- SAMR_REJECT_TOO_SHORT=1,
- SAMR_REJECT_IN_HISTORY=2,
- SAMR_REJECT_COMPLEXITY=5
+ SAMR_REJECT_OTHER=(int)0,
+ SAMR_REJECT_TOO_SHORT=(int)1,
+ SAMR_REJECT_IN_HISTORY=(int)2,
+ SAMR_REJECT_COMPLEXITY=(int)5
}
#else
{ __donnot_use_enum_samr_RejectReason=0x7FFFFFFF}
@@ -152,19 +152,19 @@ struct samr_SamArray {
enum samr_DomainInfoClass
#ifndef USE_UINT_ENUMS
{
- DomainPasswordInformation=1,
- DomainGeneralInformation=2,
- DomainLogoffInformation=3,
- DomainOemInformation=4,
- DomainNameInformation=5,
- DomainReplicationInformation=6,
- DomainServerRoleInformation=7,
- DomainModifiedInformation=8,
- DomainStateInformation=9,
- DomainUasInformation=10,
- DomainGeneralInformation2=11,
- DomainLockoutInformation=12,
- DomainModifiedInformation2=13
+ DomainPasswordInformation=(int)1,
+ DomainGeneralInformation=(int)2,
+ DomainLogoffInformation=(int)3,
+ DomainOemInformation=(int)4,
+ DomainNameInformation=(int)5,
+ DomainReplicationInformation=(int)6,
+ DomainServerRoleInformation=(int)7,
+ DomainModifiedInformation=(int)8,
+ DomainStateInformation=(int)9,
+ DomainUasInformation=(int)10,
+ DomainGeneralInformation2=(int)11,
+ DomainLockoutInformation=(int)12,
+ DomainModifiedInformation2=(int)13
}
#else
{ __donnot_use_enum_samr_DomainInfoClass=0x7FFFFFFF}
@@ -187,10 +187,10 @@ enum samr_DomainInfoClass
enum samr_Role
#ifndef USE_UINT_ENUMS
{
- SAMR_ROLE_STANDALONE=0,
- SAMR_ROLE_DOMAIN_MEMBER=1,
- SAMR_ROLE_DOMAIN_BDC=2,
- SAMR_ROLE_DOMAIN_PDC=3
+ SAMR_ROLE_STANDALONE=(int)0,
+ SAMR_ROLE_DOMAIN_MEMBER=(int)1,
+ SAMR_ROLE_DOMAIN_BDC=(int)2,
+ SAMR_ROLE_DOMAIN_PDC=(int)3
}
#else
{ __donnot_use_enum_samr_Role=0x7FFFFFFF}
@@ -212,8 +212,8 @@ enum samr_Role
enum samr_DomainServerState
#ifndef USE_UINT_ENUMS
{
- DOMAIN_SERVER_ENABLED=1,
- DOMAIN_SERVER_DISABLED=2
+ DOMAIN_SERVER_ENABLED=(int)1,
+ DOMAIN_SERVER_DISABLED=(int)2
}
#else
{ __donnot_use_enum_samr_DomainServerState=0x7FFFFFFF}
@@ -339,11 +339,11 @@ struct samr_GroupInfoDescription {
enum samr_GroupInfoEnum
#ifndef USE_UINT_ENUMS
{
- GROUPINFOALL=1,
- GROUPINFONAME=2,
- GROUPINFOATTRIBUTES=3,
- GROUPINFODESCRIPTION=4,
- GROUPINFOALL2=5
+ GROUPINFOALL=(int)1,
+ GROUPINFONAME=(int)2,
+ GROUPINFOATTRIBUTES=(int)3,
+ GROUPINFODESCRIPTION=(int)4,
+ GROUPINFOALL2=(int)5
}
#else
{ __donnot_use_enum_samr_GroupInfoEnum=0x7FFFFFFF}
@@ -378,9 +378,9 @@ struct samr_AliasInfoAll {
enum samr_AliasInfoEnum
#ifndef USE_UINT_ENUMS
{
- ALIASINFOALL=1,
- ALIASINFONAME=2,
- ALIASINFODESCRIPTION=3
+ ALIASINFOALL=(int)1,
+ ALIASINFONAME=(int)2,
+ ALIASINFODESCRIPTION=(int)3
}
#else
{ __donnot_use_enum_samr_AliasInfoEnum=0x7FFFFFFF}
@@ -399,29 +399,29 @@ union samr_AliasInfo {
enum samr_UserInfoLevel
#ifndef USE_UINT_ENUMS
{
- UserGeneralInformation=1,
- UserPreferencesInformation=2,
- UserLogonInformation=3,
- UserLogonHoursInformation=4,
- UserAccountInformation=5,
- UserNameInformation=6,
- UserAccountNameInformation=7,
- UserFullNameInformation=8,
- UserPrimaryGroupInformation=9,
- UserHomeInformation=10,
- UserScriptInformation=11,
- UserProfileInformation=12,
- UserAdminCommentInformation=13,
- UserWorkStationsInformation=14,
- UserControlInformation=16,
- UserExpiresInformation=17,
- UserInternal1Information=18,
- UserParametersInformation=20,
- UserAllInformation=21,
- UserInternal4Information=23,
- UserInternal5Information=24,
- UserInternal4InformationNew=25,
- UserInternal5InformationNew=26
+ UserGeneralInformation=(int)1,
+ UserPreferencesInformation=(int)2,
+ UserLogonInformation=(int)3,
+ UserLogonHoursInformation=(int)4,
+ UserAccountInformation=(int)5,
+ UserNameInformation=(int)6,
+ UserAccountNameInformation=(int)7,
+ UserFullNameInformation=(int)8,
+ UserPrimaryGroupInformation=(int)9,
+ UserHomeInformation=(int)10,
+ UserScriptInformation=(int)11,
+ UserProfileInformation=(int)12,
+ UserAdminCommentInformation=(int)13,
+ UserWorkStationsInformation=(int)14,
+ UserControlInformation=(int)16,
+ UserExpiresInformation=(int)17,
+ UserInternal1Information=(int)18,
+ UserParametersInformation=(int)20,
+ UserAllInformation=(int)21,
+ UserInternal4Information=(int)23,
+ UserInternal5Information=(int)24,
+ UserInternal4InformationNew=(int)25,
+ UserInternal5InformationNew=(int)26
}
#else
{ __donnot_use_enum_samr_UserInfoLevel=0x7FFFFFFF}
@@ -778,9 +778,9 @@ struct samr_PwInfo {
enum samr_ConnectVersion
#ifndef USE_UINT_ENUMS
{
- SAMR_CONNECT_PRE_W2K=1,
- SAMR_CONNECT_W2K=2,
- SAMR_CONNECT_AFTER_W2K=3
+ SAMR_CONNECT_PRE_W2K=(int)1,
+ SAMR_CONNECT_W2K=(int)2,
+ SAMR_CONNECT_AFTER_W2K=(int)3
}
#else
{ __donnot_use_enum_samr_ConnectVersion=0x7FFFFFFF}
@@ -816,9 +816,9 @@ union samr_ConnectInfo {
enum samr_ValidatePasswordLevel
#ifndef USE_UINT_ENUMS
{
- NetValidateAuthentication=1,
- NetValidatePasswordChange=2,
- NetValidatePasswordReset=3
+ NetValidateAuthentication=(int)1,
+ NetValidatePasswordChange=(int)2,
+ NetValidatePasswordReset=(int)3
}
#else
{ __donnot_use_enum_samr_ValidatePasswordLevel=0x7FFFFFFF}
@@ -831,17 +831,17 @@ enum samr_ValidatePasswordLevel
enum samr_ValidationStatus
#ifndef USE_UINT_ENUMS
{
- SAMR_VALIDATION_STATUS_SUCCESS=0,
- SAMR_VALIDATION_STATUS_PASSWORD_MUST_CHANGE=1,
- SAMR_VALIDATION_STATUS_ACCOUNT_LOCKED_OUT=2,
- SAMR_VALIDATION_STATUS_PASSWORD_EXPIRED=3,
- SAMR_VALIDATION_STATUS_BAD_PASSWORD=4,
- SAMR_VALIDATION_STATUS_PWD_HISTORY_CONFLICT=5,
- SAMR_VALIDATION_STATUS_PWD_TOO_SHORT=6,
- SAMR_VALIDATION_STATUS_PWD_TOO_LONG=7,
- SAMR_VALIDATION_STATUS_NOT_COMPLEX_ENOUGH=8,
- SAMR_VALIDATION_STATUS_PASSWORD_TOO_RECENT=9,
- SAMR_VALIDATION_STATUS_PASSWORD_FILTER_ERROR=10
+ SAMR_VALIDATION_STATUS_SUCCESS=(int)0,
+ SAMR_VALIDATION_STATUS_PASSWORD_MUST_CHANGE=(int)1,
+ SAMR_VALIDATION_STATUS_ACCOUNT_LOCKED_OUT=(int)2,
+ SAMR_VALIDATION_STATUS_PASSWORD_EXPIRED=(int)3,
+ SAMR_VALIDATION_STATUS_BAD_PASSWORD=(int)4,
+ SAMR_VALIDATION_STATUS_PWD_HISTORY_CONFLICT=(int)5,
+ SAMR_VALIDATION_STATUS_PWD_TOO_SHORT=(int)6,
+ SAMR_VALIDATION_STATUS_PWD_TOO_LONG=(int)7,
+ SAMR_VALIDATION_STATUS_NOT_COMPLEX_ENOUGH=(int)8,
+ SAMR_VALIDATION_STATUS_PASSWORD_TOO_RECENT=(int)9,
+ SAMR_VALIDATION_STATUS_PASSWORD_FILTER_ERROR=(int)10
}
#else
{ __donnot_use_enum_samr_ValidationStatus=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/schannel.h b/librpc/gen_ndr/schannel.h
index c07212fea6..64c5489d1b 100644
--- a/librpc/gen_ndr/schannel.h
+++ b/librpc/gen_ndr/schannel.h
@@ -25,8 +25,8 @@ struct netlogon_creds_CredentialState {
enum NL_AUTH_MESSAGE_TYPE
#ifndef USE_UINT_ENUMS
{
- NL_NEGOTIATE_REQUEST=0x00000000,
- NL_NEGOTIATE_RESPONSE=0x00000001
+ NL_NEGOTIATE_REQUEST=(int)0x00000000,
+ NL_NEGOTIATE_RESPONSE=(int)0x00000001
}
#else
{ __donnot_use_enum_NL_AUTH_MESSAGE_TYPE=0x7FFFFFFF}
@@ -65,8 +65,8 @@ struct NL_AUTH_MESSAGE {
enum NL_SIGNATURE_ALGORITHM
#ifndef USE_UINT_ENUMS
{
- NL_SIGN_HMAC_SHA256=0x0013,
- NL_SIGN_HMAC_MD5=0x0077
+ NL_SIGN_HMAC_SHA256=(int)0x0013,
+ NL_SIGN_HMAC_MD5=(int)0x0077
}
#else
{ __donnot_use_enum_NL_SIGNATURE_ALGORITHM=0x7FFFFFFF}
@@ -78,9 +78,9 @@ enum NL_SIGNATURE_ALGORITHM
enum NL_SEAL_ALGORITHM
#ifndef USE_UINT_ENUMS
{
- NL_SEAL_AES128=0x001A,
- NL_SEAL_RC4=0x007A,
- NL_SEAL_NONE=0xFFFF
+ NL_SEAL_AES128=(int)0x001A,
+ NL_SEAL_RC4=(int)0x007A,
+ NL_SEAL_NONE=(int)0xFFFF
}
#else
{ __donnot_use_enum_NL_SEAL_ALGORITHM=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/security.h b/librpc/gen_ndr/security.h
index e0a3528251..5bd2cbafd5 100644
--- a/librpc/gen_ndr/security.h
+++ b/librpc/gen_ndr/security.h
@@ -153,31 +153,31 @@ struct dom_sid {
enum sec_privilege
#ifndef USE_UINT_ENUMS
{
- SEC_PRIV_SECURITY=1,
- SEC_PRIV_BACKUP=2,
- SEC_PRIV_RESTORE=3,
- SEC_PRIV_SYSTEMTIME=4,
- SEC_PRIV_SHUTDOWN=5,
- SEC_PRIV_REMOTE_SHUTDOWN=6,
- SEC_PRIV_TAKE_OWNERSHIP=7,
- SEC_PRIV_DEBUG=8,
- SEC_PRIV_SYSTEM_ENVIRONMENT=9,
- SEC_PRIV_SYSTEM_PROFILE=10,
- SEC_PRIV_PROFILE_SINGLE_PROCESS=11,
- SEC_PRIV_INCREASE_BASE_PRIORITY=12,
- SEC_PRIV_LOAD_DRIVER=13,
- SEC_PRIV_CREATE_PAGEFILE=14,
- SEC_PRIV_INCREASE_QUOTA=15,
- SEC_PRIV_CHANGE_NOTIFY=16,
- SEC_PRIV_UNDOCK=17,
- SEC_PRIV_MANAGE_VOLUME=18,
- SEC_PRIV_IMPERSONATE=19,
- SEC_PRIV_CREATE_GLOBAL=20,
- SEC_PRIV_ENABLE_DELEGATION=21,
- SEC_PRIV_INTERACTIVE_LOGON=22,
- SEC_PRIV_NETWORK_LOGON=23,
- SEC_PRIV_REMOTE_INTERACTIVE_LOGON=24,
- SEC_PRIV_MACHINE_ACCOUNT=25
+ SEC_PRIV_SECURITY=(int)1,
+ SEC_PRIV_BACKUP=(int)2,
+ SEC_PRIV_RESTORE=(int)3,
+ SEC_PRIV_SYSTEMTIME=(int)4,
+ SEC_PRIV_SHUTDOWN=(int)5,
+ SEC_PRIV_REMOTE_SHUTDOWN=(int)6,
+ SEC_PRIV_TAKE_OWNERSHIP=(int)7,
+ SEC_PRIV_DEBUG=(int)8,
+ SEC_PRIV_SYSTEM_ENVIRONMENT=(int)9,
+ SEC_PRIV_SYSTEM_PROFILE=(int)10,
+ SEC_PRIV_PROFILE_SINGLE_PROCESS=(int)11,
+ SEC_PRIV_INCREASE_BASE_PRIORITY=(int)12,
+ SEC_PRIV_LOAD_DRIVER=(int)13,
+ SEC_PRIV_CREATE_PAGEFILE=(int)14,
+ SEC_PRIV_INCREASE_QUOTA=(int)15,
+ SEC_PRIV_CHANGE_NOTIFY=(int)16,
+ SEC_PRIV_UNDOCK=(int)17,
+ SEC_PRIV_MANAGE_VOLUME=(int)18,
+ SEC_PRIV_IMPERSONATE=(int)19,
+ SEC_PRIV_CREATE_GLOBAL=(int)20,
+ SEC_PRIV_ENABLE_DELEGATION=(int)21,
+ SEC_PRIV_INTERACTIVE_LOGON=(int)22,
+ SEC_PRIV_NETWORK_LOGON=(int)23,
+ SEC_PRIV_REMOTE_INTERACTIVE_LOGON=(int)24,
+ SEC_PRIV_MACHINE_ACCOUNT=(int)25
}
#else
{ __donnot_use_enum_sec_privilege=0x7FFFFFFF}
@@ -222,15 +222,15 @@ enum sec_privilege
enum security_ace_type
#ifndef USE_UINT_ENUMS
{
- SEC_ACE_TYPE_ACCESS_ALLOWED=0,
- SEC_ACE_TYPE_ACCESS_DENIED=1,
- SEC_ACE_TYPE_SYSTEM_AUDIT=2,
- SEC_ACE_TYPE_SYSTEM_ALARM=3,
- SEC_ACE_TYPE_ALLOWED_COMPOUND=4,
- SEC_ACE_TYPE_ACCESS_ALLOWED_OBJECT=5,
- SEC_ACE_TYPE_ACCESS_DENIED_OBJECT=6,
- SEC_ACE_TYPE_SYSTEM_AUDIT_OBJECT=7,
- SEC_ACE_TYPE_SYSTEM_ALARM_OBJECT=8
+ SEC_ACE_TYPE_ACCESS_ALLOWED=(int)0,
+ SEC_ACE_TYPE_ACCESS_DENIED=(int)1,
+ SEC_ACE_TYPE_SYSTEM_AUDIT=(int)2,
+ SEC_ACE_TYPE_SYSTEM_ALARM=(int)3,
+ SEC_ACE_TYPE_ALLOWED_COMPOUND=(int)4,
+ SEC_ACE_TYPE_ACCESS_ALLOWED_OBJECT=(int)5,
+ SEC_ACE_TYPE_ACCESS_DENIED_OBJECT=(int)6,
+ SEC_ACE_TYPE_SYSTEM_AUDIT_OBJECT=(int)7,
+ SEC_ACE_TYPE_SYSTEM_ALARM_OBJECT=(int)8
}
#else
{ __donnot_use_enum_security_ace_type=0x7FFFFFFF}
@@ -280,8 +280,8 @@ struct security_ace {
enum security_acl_revision
#ifndef USE_UINT_ENUMS
{
- SECURITY_ACL_REVISION_NT4=2,
- SECURITY_ACL_REVISION_ADS=4
+ SECURITY_ACL_REVISION_NT4=(int)2,
+ SECURITY_ACL_REVISION_ADS=(int)4
}
#else
{ __donnot_use_enum_security_acl_revision=0x7FFFFFFF}
@@ -300,7 +300,7 @@ struct security_acl {
enum security_descriptor_revision
#ifndef USE_UINT_ENUMS
{
- SECURITY_DESCRIPTOR_REVISION_1=1
+ SECURITY_DESCRIPTOR_REVISION_1=(int)1
}
#else
{ __donnot_use_enum_security_descriptor_revision=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/spoolss.h b/librpc/gen_ndr/spoolss.h
index 71e1e9414e..57c42695b8 100644
--- a/librpc/gen_ndr/spoolss.h
+++ b/librpc/gen_ndr/spoolss.h
@@ -68,9 +68,9 @@ struct spoolss_TimeCtr {
enum spoolss_ProcessorArchitecture
#ifndef USE_UINT_ENUMS
{
- PROCESSOR_ARCHITECTURE_INTEL=0x0000,
- PROCESSOR_ARCHITECTURE_IA64=0x0006,
- PROCESSOR_ARCHITECTURE_AMD64=0x0009
+ PROCESSOR_ARCHITECTURE_INTEL=(int)0x0000,
+ PROCESSOR_ARCHITECTURE_IA64=(int)0x0006,
+ PROCESSOR_ARCHITECTURE_AMD64=(int)0x0009
}
#else
{ __donnot_use_enum_spoolss_ProcessorArchitecture=0x7FFFFFFF}
@@ -83,11 +83,11 @@ enum spoolss_ProcessorArchitecture
enum spoolss_ProcessorType
#ifndef USE_UINT_ENUMS
{
- PROCESSOR_INTEL_386=0x00000182,
- PROCESSOR_INTEL_486=0x000001E6,
- PROCESSOR_INTEL_PENTIUM=0x0000024A,
- PROCESSOR_INTEL_IA64=0x00000898,
- PROCESSOR_AMD_X8664=0x000022A0
+ PROCESSOR_INTEL_386=(int)0x00000182,
+ PROCESSOR_INTEL_486=(int)0x000001E6,
+ PROCESSOR_INTEL_PENTIUM=(int)0x0000024A,
+ PROCESSOR_INTEL_IA64=(int)0x00000898,
+ PROCESSOR_AMD_X8664=(int)0x000022A0
}
#else
{ __donnot_use_enum_spoolss_ProcessorType=0x7FFFFFFF}
@@ -102,9 +102,9 @@ enum spoolss_ProcessorType
enum spoolss_MajorVersion
#ifndef USE_UINT_ENUMS
{
- SPOOLSS_MAJOR_VERSION_NT4_95_98_ME=0x00000004,
- SPOOLSS_MAJOR_VERSION_2000_2003_XP=0x00000005,
- SPOOLSS_MAJOR_VERSION_2008_VISTA=0x00000006
+ SPOOLSS_MAJOR_VERSION_NT4_95_98_ME=(int)0x00000004,
+ SPOOLSS_MAJOR_VERSION_2000_2003_XP=(int)0x00000005,
+ SPOOLSS_MAJOR_VERSION_2008_VISTA=(int)0x00000006
}
#else
{ __donnot_use_enum_spoolss_MajorVersion=0x7FFFFFFF}
@@ -117,11 +117,11 @@ enum spoolss_MajorVersion
enum spoolss_MinorVersion
#ifndef USE_UINT_ENUMS
{
- SPOOLSS_MINOR_VERSION_0=0x00000000,
- SPOOLSS_MINOR_VERSION_XP=0x00000001,
- SPOOLSS_MINOR_VERSION_2003_XP64=0x00000002,
- SPOOLSS_MINOR_VERSION_98=0x0000000a,
- SPOOLSS_MINOR_VERSION_ME=0x0000005a
+ SPOOLSS_MINOR_VERSION_0=(int)0x00000000,
+ SPOOLSS_MINOR_VERSION_XP=(int)0x00000001,
+ SPOOLSS_MINOR_VERSION_2003_XP64=(int)0x00000002,
+ SPOOLSS_MINOR_VERSION_98=(int)0x0000000a,
+ SPOOLSS_MINOR_VERSION_ME=(int)0x0000005a
}
#else
{ __donnot_use_enum_spoolss_MinorVersion=0x7FFFFFFF}
@@ -240,9 +240,9 @@ struct spoolss_PrinterInfo0 {
enum spoolss_DeviceModeSpecVersion
#ifndef USE_UINT_ENUMS
{
- DMSPEC_NT3=0x320,
- DMSPEC_WIN95_98_ME=0x400,
- DMSPEC_NT4_AND_ABOVE=0x401
+ DMSPEC_NT3=(int)0x320,
+ DMSPEC_WIN95_98_ME=(int)0x400,
+ DMSPEC_NT4_AND_ABOVE=(int)0x401
}
#else
{ __donnot_use_enum_spoolss_DeviceModeSpecVersion=0x7FFFFFFF}
@@ -255,8 +255,8 @@ enum spoolss_DeviceModeSpecVersion
enum spoolss_DeviceModeOrientation
#ifndef USE_UINT_ENUMS
{
- DMORIENT_PORTRAIT=0x0001,
- DMORIENT_LANDSCAPE=0x0002
+ DMORIENT_PORTRAIT=(int)0x0001,
+ DMORIENT_LANDSCAPE=(int)0x0002
}
#else
{ __donnot_use_enum_spoolss_DeviceModeOrientation=0x7FFFFFFF}
@@ -268,97 +268,97 @@ enum spoolss_DeviceModeOrientation
enum spoolss_DeviceModePaperSize
#ifndef USE_UINT_ENUMS
{
- DMPAPER_LETTER=0x0001,
- DMPAPER_LETTERSMALL=0x0002,
- DMPAPER_TABLOID=0x0003,
- DMPAPER_LEDGER=0x0004,
- DMPAPER_LEGAL=0x0005,
- DMPAPER_STATEMENT=0x0006,
- DMPAPER_EXECUTIVE=0x0007,
- DMPAPER_A3=0x0008,
- DMPAPER_A4=0x0009,
- DMPAPER_A4SMALL=0x000A,
- DMPAPER_A5=0x000B,
- DMPAPER_B4=0x000C,
- DMPAPER_B5=0x000D,
- DMPAPER_FOLIO=0x000E,
- DMPAPER_QUARTO=0x000F,
- DMPAPER_10X14=0x0010,
- DMPAPER_11X17=0x0011,
- DMPAPER_NOTE=0x0012,
- DMPAPER_ENV_9=0x0013,
- DMPAPER_ENV_10=0x0014,
- DMPAPER_ENV_11=0x0015,
- DMPAPER_ENV_12=0x0016,
- DMPAPER_ENV_14=0x0017,
- DMPAPER_CSHEET=0x0018,
- DMPAPER_DSHEET=0x0019,
- DMPAPER_ESHEET=0x001A,
- DMPAPER_ENV_DL=0x001B,
- DMPAPER_ENV_C5=0x001C,
- DMPAPER_ENV_C3=0x001D,
- DMPAPER_ENV_C4=0x001E,
- DMPAPER_ENV_C6=0x001F,
- DMPAPER_ENV_C65=0x0020,
- DMPAPER_ENV_B4=0x0021,
- DMPAPER_ENV_B5=0x0022,
- DMPAPER_ENV_B6=0x0023,
- DMPAPER_ENV_ITALY=0x0024,
- DMPAPER_ENV_MONARCH=0x0025,
- DMPAPER_ENV_PERSONAL=0x0026,
- DMPAPER_FANFOLD_US=0x0027,
- DMPAPER_FANFOLD_STD_GERMAN=0x0028,
- DMPAPER_FANFOLD_LGL_GERMAN=0x0029,
- DMPAPER_DBL_JAPANESE_POSTCARD=0x0045,
- DMPAPER_A6=0x0046,
- DMPAPER_JENV_KAKU2=0x0047,
- DMPAPER_JENV_KAKU3=0x0048,
- DMPAPER_JENV_CHOU3=0x0049,
- DMPAPER_JENV_CHOU4=0x004A,
- DMPAPER_LETTER_ROTATED=0x004B,
- DMPAPER_A3_ROTATED=0x004C,
- DMPAPER_A4_ROTATED=0x004D,
- DMPAPER_A5_ROTATED=0x004E,
- DMPAPER_B4_JIS_ROTATED=0x004F,
- DMPAPER_B5_JIS_ROTATED=0x0050,
- DMPAPER_JAPANESE_POSTCARD_ROTATED=0x0051,
- DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED=0x0052,
- DMPAPER_A6_ROTATED=0x0053,
- DMPAPER_JENV_KAKU2_ROTATED=0x0054,
- DMPAPER_JENV_KAKU3_ROTATED=0x0055,
- DMPAPER_JENV_CHOU3_ROTATED=0x0056,
- DMPAPER_JENV_CHOU4_ROTATED=0x0057,
- DMPAPER_B6_JIS=0x0058,
- DMPAPER_B6_JIS_ROTATED=0x0059,
- DMPAPER_12X11=0x005A,
- DMPAPER_JENV_YOU4=0x005B,
- DMPAPER_JENV_YOU4_ROTATED=0x005C,
- DMPAPER_P16K=0x005D,
- DMPAPER_P32K=0x005E,
- DMPAPER_P32KBIG=0x005F,
- DMPAPER_PENV_1=0x0060,
- DMPAPER_PENV_2=0x0061,
- DMPAPER_PENV_3=0x0062,
- DMPAPER_PENV_4=0x0063,
- DMPAPER_PENV_5=0x0064,
- DMPAPER_PENV_6=0x0065,
- DMPAPER_PENV_7=0x0066,
- DMPAPER_PENV_8=0x0067,
- DMPAPER_PENV_9=0x0068,
- DMPAPER_PENV_10=0x0069,
- DMPAPER_P16K_ROTATED=0x006A,
- DMPAPER_P32K_ROTATED=0x006B,
- DMPAPER_P32KBIG_ROTATED=0x006C,
- DMPAPER_PENV_1_ROTATED=0x006D,
- DMPAPER_PENV_2_ROTATED=0x006E,
- DMPAPER_PENV_3_ROTATED=0x006F,
- DMPAPER_PENV_4_ROTATED=0x0070,
- DMPAPER_PENV_5_ROTATED=0x0071,
- DMPAPER_PENV_6_ROTATED=0x0072,
- DMPAPER_PENV_7_ROTATED=0x0073,
- DMPAPER_PENV_8_ROTATED=0x0074,
- DMPAPER_PENV_9_ROTATED=0x0075,
- DMPAPER_PENV_10_ROTATED=0x0076
+ DMPAPER_LETTER=(int)0x0001,
+ DMPAPER_LETTERSMALL=(int)0x0002,
+ DMPAPER_TABLOID=(int)0x0003,
+ DMPAPER_LEDGER=(int)0x0004,
+ DMPAPER_LEGAL=(int)0x0005,
+ DMPAPER_STATEMENT=(int)0x0006,
+ DMPAPER_EXECUTIVE=(int)0x0007,
+ DMPAPER_A3=(int)0x0008,
+ DMPAPER_A4=(int)0x0009,
+ DMPAPER_A4SMALL=(int)0x000A,
+ DMPAPER_A5=(int)0x000B,
+ DMPAPER_B4=(int)0x000C,
+ DMPAPER_B5=(int)0x000D,
+ DMPAPER_FOLIO=(int)0x000E,
+ DMPAPER_QUARTO=(int)0x000F,
+ DMPAPER_10X14=(int)0x0010,
+ DMPAPER_11X17=(int)0x0011,
+ DMPAPER_NOTE=(int)0x0012,
+ DMPAPER_ENV_9=(int)0x0013,
+ DMPAPER_ENV_10=(int)0x0014,
+ DMPAPER_ENV_11=(int)0x0015,
+ DMPAPER_ENV_12=(int)0x0016,
+ DMPAPER_ENV_14=(int)0x0017,
+ DMPAPER_CSHEET=(int)0x0018,
+ DMPAPER_DSHEET=(int)0x0019,
+ DMPAPER_ESHEET=(int)0x001A,
+ DMPAPER_ENV_DL=(int)0x001B,
+ DMPAPER_ENV_C5=(int)0x001C,
+ DMPAPER_ENV_C3=(int)0x001D,
+ DMPAPER_ENV_C4=(int)0x001E,
+ DMPAPER_ENV_C6=(int)0x001F,
+ DMPAPER_ENV_C65=(int)0x0020,
+ DMPAPER_ENV_B4=(int)0x0021,
+ DMPAPER_ENV_B5=(int)0x0022,
+ DMPAPER_ENV_B6=(int)0x0023,
+ DMPAPER_ENV_ITALY=(int)0x0024,
+ DMPAPER_ENV_MONARCH=(int)0x0025,
+ DMPAPER_ENV_PERSONAL=(int)0x0026,
+ DMPAPER_FANFOLD_US=(int)0x0027,
+ DMPAPER_FANFOLD_STD_GERMAN=(int)0x0028,
+ DMPAPER_FANFOLD_LGL_GERMAN=(int)0x0029,
+ DMPAPER_DBL_JAPANESE_POSTCARD=(int)0x0045,
+ DMPAPER_A6=(int)0x0046,
+ DMPAPER_JENV_KAKU2=(int)0x0047,
+ DMPAPER_JENV_KAKU3=(int)0x0048,
+ DMPAPER_JENV_CHOU3=(int)0x0049,
+ DMPAPER_JENV_CHOU4=(int)0x004A,
+ DMPAPER_LETTER_ROTATED=(int)0x004B,
+ DMPAPER_A3_ROTATED=(int)0x004C,
+ DMPAPER_A4_ROTATED=(int)0x004D,
+ DMPAPER_A5_ROTATED=(int)0x004E,
+ DMPAPER_B4_JIS_ROTATED=(int)0x004F,
+ DMPAPER_B5_JIS_ROTATED=(int)0x0050,
+ DMPAPER_JAPANESE_POSTCARD_ROTATED=(int)0x0051,
+ DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED=(int)0x0052,
+ DMPAPER_A6_ROTATED=(int)0x0053,
+ DMPAPER_JENV_KAKU2_ROTATED=(int)0x0054,
+ DMPAPER_JENV_KAKU3_ROTATED=(int)0x0055,
+ DMPAPER_JENV_CHOU3_ROTATED=(int)0x0056,
+ DMPAPER_JENV_CHOU4_ROTATED=(int)0x0057,
+ DMPAPER_B6_JIS=(int)0x0058,
+ DMPAPER_B6_JIS_ROTATED=(int)0x0059,
+ DMPAPER_12X11=(int)0x005A,
+ DMPAPER_JENV_YOU4=(int)0x005B,
+ DMPAPER_JENV_YOU4_ROTATED=(int)0x005C,
+ DMPAPER_P16K=(int)0x005D,
+ DMPAPER_P32K=(int)0x005E,
+ DMPAPER_P32KBIG=(int)0x005F,
+ DMPAPER_PENV_1=(int)0x0060,
+ DMPAPER_PENV_2=(int)0x0061,
+ DMPAPER_PENV_3=(int)0x0062,
+ DMPAPER_PENV_4=(int)0x0063,
+ DMPAPER_PENV_5=(int)0x0064,
+ DMPAPER_PENV_6=(int)0x0065,
+ DMPAPER_PENV_7=(int)0x0066,
+ DMPAPER_PENV_8=(int)0x0067,
+ DMPAPER_PENV_9=(int)0x0068,
+ DMPAPER_PENV_10=(int)0x0069,
+ DMPAPER_P16K_ROTATED=(int)0x006A,
+ DMPAPER_P32K_ROTATED=(int)0x006B,
+ DMPAPER_P32KBIG_ROTATED=(int)0x006C,
+ DMPAPER_PENV_1_ROTATED=(int)0x006D,
+ DMPAPER_PENV_2_ROTATED=(int)0x006E,
+ DMPAPER_PENV_3_ROTATED=(int)0x006F,
+ DMPAPER_PENV_4_ROTATED=(int)0x0070,
+ DMPAPER_PENV_5_ROTATED=(int)0x0071,
+ DMPAPER_PENV_6_ROTATED=(int)0x0072,
+ DMPAPER_PENV_7_ROTATED=(int)0x0073,
+ DMPAPER_PENV_8_ROTATED=(int)0x0074,
+ DMPAPER_PENV_9_ROTATED=(int)0x0075,
+ DMPAPER_PENV_10_ROTATED=(int)0x0076
}
#else
{ __donnot_use_enum_spoolss_DeviceModePaperSize=0x7FFFFFFF}
@@ -459,19 +459,19 @@ enum spoolss_DeviceModePaperSize
enum spoolss_DeviceModeDefaultSource
#ifndef USE_UINT_ENUMS
{
- DMBIN_UPPER=0x0001,
- DMBIN_LOWER=0x0002,
- DMBIN_MIDDLE=0x0003,
- DMBIN_MANUAL=0x0004,
- DMBIN_ENVELOPE=0x0005,
- DMBIN_ENVMANUAL=0x0006,
- DMBIN_AUTO=0x0007,
- DMBIN_TRACTOR=0x0008,
- DMBIN_SMALLFMT=0x0009,
- DMBIN_LARGEFMT=0x000a,
- DMBIN_LARGECAPACITY=0x000b,
- DMBIN_CASSETTE=0x000e,
- DMBIN_FORMSOURCE=0x000f
+ DMBIN_UPPER=(int)0x0001,
+ DMBIN_LOWER=(int)0x0002,
+ DMBIN_MIDDLE=(int)0x0003,
+ DMBIN_MANUAL=(int)0x0004,
+ DMBIN_ENVELOPE=(int)0x0005,
+ DMBIN_ENVMANUAL=(int)0x0006,
+ DMBIN_AUTO=(int)0x0007,
+ DMBIN_TRACTOR=(int)0x0008,
+ DMBIN_SMALLFMT=(int)0x0009,
+ DMBIN_LARGEFMT=(int)0x000a,
+ DMBIN_LARGECAPACITY=(int)0x000b,
+ DMBIN_CASSETTE=(int)0x000e,
+ DMBIN_FORMSOURCE=(int)0x000f
}
#else
{ __donnot_use_enum_spoolss_DeviceModeDefaultSource=0x7FFFFFFF}
@@ -494,10 +494,10 @@ enum spoolss_DeviceModeDefaultSource
enum spoolss_DeviceModePrintQuality
#ifndef USE_UINT_ENUMS
{
- DMRES_HIGH=0xfffc,
- DMRES_MEDIUM=0xfffd,
- DMRES_LOW=0xfffe,
- DMRES_DRAFT=0xffff
+ DMRES_HIGH=(int)0xfffc,
+ DMRES_MEDIUM=(int)0xfffd,
+ DMRES_LOW=(int)0xfffe,
+ DMRES_DRAFT=(int)0xffff
}
#else
{ __donnot_use_enum_spoolss_DeviceModePrintQuality=0x7FFFFFFF}
@@ -511,8 +511,8 @@ enum spoolss_DeviceModePrintQuality
enum spoolss_DeviceModeColor
#ifndef USE_UINT_ENUMS
{
- DMRES_MONOCHROME=0x0001,
- DMRES_COLOR=0x0002
+ DMRES_MONOCHROME=(int)0x0001,
+ DMRES_COLOR=(int)0x0002
}
#else
{ __donnot_use_enum_spoolss_DeviceModeColor=0x7FFFFFFF}
@@ -524,9 +524,9 @@ enum spoolss_DeviceModeColor
enum spoolss_DeviceModeDuplex
#ifndef USE_UINT_ENUMS
{
- DMDUP_SIMPLEX=0x0001,
- DMDUP_VERTICAL=0x0002,
- DMDUP_HORIZONTAL=0x0003
+ DMDUP_SIMPLEX=(int)0x0001,
+ DMDUP_VERTICAL=(int)0x0002,
+ DMDUP_HORIZONTAL=(int)0x0003
}
#else
{ __donnot_use_enum_spoolss_DeviceModeDuplex=0x7FFFFFFF}
@@ -539,10 +539,10 @@ enum spoolss_DeviceModeDuplex
enum spoolss_DeviceModeTTOption
#ifndef USE_UINT_ENUMS
{
- DMTT_BITMAP=0x0001,
- DMTT_DOWNLOAD=0x0002,
- DMTT_SUBDEV=0x0003,
- DMTT_DOWNLOAD_OUTLINE=0x0004
+ DMTT_BITMAP=(int)0x0001,
+ DMTT_DOWNLOAD=(int)0x0002,
+ DMTT_SUBDEV=(int)0x0003,
+ DMTT_DOWNLOAD_OUTLINE=(int)0x0004
}
#else
{ __donnot_use_enum_spoolss_DeviceModeTTOption=0x7FFFFFFF}
@@ -556,8 +556,8 @@ enum spoolss_DeviceModeTTOption
enum spoolss_DeviceModeCollate
#ifndef USE_UINT_ENUMS
{
- DMCOLLATE_FALSE=0x0000,
- DMCOLLATE_TRUE=0x0001
+ DMCOLLATE_FALSE=(int)0x0000,
+ DMCOLLATE_TRUE=(int)0x0001
}
#else
{ __donnot_use_enum_spoolss_DeviceModeCollate=0x7FFFFFFF}
@@ -569,8 +569,8 @@ enum spoolss_DeviceModeCollate
enum spoolss_DeviceModeNUp
#ifndef USE_UINT_ENUMS
{
- DMNUP_SYSTEM=0x00000001,
- DMNUP_ONEUP=0x00000002
+ DMNUP_SYSTEM=(int)0x00000001,
+ DMNUP_ONEUP=(int)0x00000002
}
#else
{ __donnot_use_enum_spoolss_DeviceModeNUp=0x7FFFFFFF}
@@ -582,10 +582,10 @@ enum spoolss_DeviceModeNUp
enum spoolss_DeviceModeICMMethod
#ifndef USE_UINT_ENUMS
{
- DMICMMETHOD_NONE=0x00000001,
- DMICMMETHOD_SYSTEM=0x00000002,
- DMICMMETHOD_DRIVER=0x00000003,
- DMICMMETHOD_DEVICE=0x00000004
+ DMICMMETHOD_NONE=(int)0x00000001,
+ DMICMMETHOD_SYSTEM=(int)0x00000002,
+ DMICMMETHOD_DRIVER=(int)0x00000003,
+ DMICMMETHOD_DEVICE=(int)0x00000004
}
#else
{ __donnot_use_enum_spoolss_DeviceModeICMMethod=0x7FFFFFFF}
@@ -599,10 +599,10 @@ enum spoolss_DeviceModeICMMethod
enum spoolss_DeviceModeICMIntent
#ifndef USE_UINT_ENUMS
{
- DMICM_SATURATE=0x00000001,
- DMICM_CONTRAST=0x00000002,
- DMICM_COLORIMETRIC=0x00000003,
- DMICM_ABS_COLORIMETRIC=0x00000004
+ DMICM_SATURATE=(int)0x00000001,
+ DMICM_CONTRAST=(int)0x00000002,
+ DMICM_COLORIMETRIC=(int)0x00000003,
+ DMICM_ABS_COLORIMETRIC=(int)0x00000004
}
#else
{ __donnot_use_enum_spoolss_DeviceModeICMIntent=0x7FFFFFFF}
@@ -616,9 +616,9 @@ enum spoolss_DeviceModeICMIntent
enum spoolss_DeviceModeMediaType
#ifndef USE_UINT_ENUMS
{
- DMMEDIA_STANDARD=0x00000001,
- DMMEDIA_TRANSPARENCY=0x00000002,
- DMMEDIA_GLOSSY=0x00000003
+ DMMEDIA_STANDARD=(int)0x00000001,
+ DMMEDIA_TRANSPARENCY=(int)0x00000002,
+ DMMEDIA_GLOSSY=(int)0x00000003
}
#else
{ __donnot_use_enum_spoolss_DeviceModeMediaType=0x7FFFFFFF}
@@ -631,16 +631,16 @@ enum spoolss_DeviceModeMediaType
enum spoolss_DeviceModeDitherType
#ifndef USE_UINT_ENUMS
{
- DMDITHER_NONE=0x00000001,
- DMDITHER_COARSE=0x00000002,
- DMDITHER_FINE=0x00000003,
- DMDITHER_LINEART=0x00000004,
- DMDITHER_ERRORDIFFUSION=0x00000005,
- DMDITHER_RESERVED6=0x00000006,
- DMDITHER_RESERVED7=0x00000007,
- DMDITHER_RESERVED8=0x00000008,
- DMDITHER_RESERVED9=0x00000009,
- DMDITHER_GRAYSCALE=0x0000000A
+ DMDITHER_NONE=(int)0x00000001,
+ DMDITHER_COARSE=(int)0x00000002,
+ DMDITHER_FINE=(int)0x00000003,
+ DMDITHER_LINEART=(int)0x00000004,
+ DMDITHER_ERRORDIFFUSION=(int)0x00000005,
+ DMDITHER_RESERVED6=(int)0x00000006,
+ DMDITHER_RESERVED7=(int)0x00000007,
+ DMDITHER_RESERVED8=(int)0x00000008,
+ DMDITHER_RESERVED9=(int)0x00000009,
+ DMDITHER_GRAYSCALE=(int)0x0000000A
}
#else
{ __donnot_use_enum_spoolss_DeviceModeDitherType=0x7FFFFFFF}
@@ -987,15 +987,15 @@ struct spoolss_JobInfoContainer {
enum spoolss_JobControl
#ifndef USE_UINT_ENUMS
{
- SPOOLSS_JOB_CONTROL_PAUSE=1,
- SPOOLSS_JOB_CONTROL_RESUME=2,
- SPOOLSS_JOB_CONTROL_CANCEL=3,
- SPOOLSS_JOB_CONTROL_RESTART=4,
- SPOOLSS_JOB_CONTROL_DELETE=5,
- SPOOLSS_JOB_CONTROL_SEND_TO_PRINTER=6,
- SPOOLSS_JOB_CONTROL_LAST_PAGE_EJECTED=7,
- SPOOLSS_JOB_CONTROL_RETAIN=8,
- SPOOLSS_JOB_CONTROL_RELEASE=9
+ SPOOLSS_JOB_CONTROL_PAUSE=(int)1,
+ SPOOLSS_JOB_CONTROL_RESUME=(int)2,
+ SPOOLSS_JOB_CONTROL_CANCEL=(int)3,
+ SPOOLSS_JOB_CONTROL_RESTART=(int)4,
+ SPOOLSS_JOB_CONTROL_DELETE=(int)5,
+ SPOOLSS_JOB_CONTROL_SEND_TO_PRINTER=(int)6,
+ SPOOLSS_JOB_CONTROL_LAST_PAGE_EJECTED=(int)7,
+ SPOOLSS_JOB_CONTROL_RETAIN=(int)8,
+ SPOOLSS_JOB_CONTROL_RELEASE=(int)9
}
#else
{ __donnot_use_enum_spoolss_JobControl=0x7FFFFFFF}
@@ -1014,11 +1014,11 @@ enum spoolss_JobControl
enum spoolss_PrinterControl
#ifndef USE_UINT_ENUMS
{
- SPOOLSS_PRINTER_CONTROL_UNPAUSE=0,
- SPOOLSS_PRINTER_CONTROL_PAUSE=1,
- SPOOLSS_PRINTER_CONTROL_RESUME=2,
- SPOOLSS_PRINTER_CONTROL_PURGE=3,
- SPOOLSS_PRINTER_CONTROL_SET_STATUS=4
+ SPOOLSS_PRINTER_CONTROL_UNPAUSE=(int)0,
+ SPOOLSS_PRINTER_CONTROL_PAUSE=(int)1,
+ SPOOLSS_PRINTER_CONTROL_RESUME=(int)2,
+ SPOOLSS_PRINTER_CONTROL_PURGE=(int)3,
+ SPOOLSS_PRINTER_CONTROL_SET_STATUS=(int)4
}
#else
{ __donnot_use_enum_spoolss_PrinterControl=0x7FFFFFFF}
@@ -1150,10 +1150,10 @@ struct spoolss_AddDriverInfo1 {
enum spoolss_DriverOSVersion
#ifndef USE_UINT_ENUMS
{
- SPOOLSS_DRIVER_VERSION_9X=0,
- SPOOLSS_DRIVER_VERSION_NT35=1,
- SPOOLSS_DRIVER_VERSION_NT4=2,
- SPOOLSS_DRIVER_VERSION_200X=3
+ SPOOLSS_DRIVER_VERSION_9X=(int)0,
+ SPOOLSS_DRIVER_VERSION_NT35=(int)1,
+ SPOOLSS_DRIVER_VERSION_NT4=(int)2,
+ SPOOLSS_DRIVER_VERSION_200X=(int)3
}
#else
{ __donnot_use_enum_spoolss_DriverOSVersion=0x7FFFFFFF}
@@ -1389,11 +1389,11 @@ struct spoolss_DriverInfo8 {
enum spoolss_DriverFileType
#ifndef USE_UINT_ENUMS
{
- SPOOLSS_DRIVER_FILE_TYPE_RENDERING=0x00000000,
- SPOOLSS_DRIVER_FILE_TYPE_CONFIGURATION=0x00000001,
- SPOOLSS_DRIVER_FILE_TYPE_DATA=0x00000002,
- SPOOLSS_DRIVER_FILE_TYPE_HELP=0x00000003,
- SPOOLSS_DRIVER_FILE_TYPE_OTHER=0x00000004
+ SPOOLSS_DRIVER_FILE_TYPE_RENDERING=(int)0x00000000,
+ SPOOLSS_DRIVER_FILE_TYPE_CONFIGURATION=(int)0x00000001,
+ SPOOLSS_DRIVER_FILE_TYPE_DATA=(int)0x00000002,
+ SPOOLSS_DRIVER_FILE_TYPE_HELP=(int)0x00000003,
+ SPOOLSS_DRIVER_FILE_TYPE_OTHER=(int)0x00000004
}
#else
{ __donnot_use_enum_spoolss_DriverFileType=0x7FFFFFFF}
@@ -1507,9 +1507,9 @@ union spoolss_PrinterData {
enum spoolss_FormFlags
#ifndef USE_UINT_ENUMS
{
- SPOOLSS_FORM_USER=0,
- SPOOLSS_FORM_BUILTIN=1,
- SPOOLSS_FORM_PRINTER=2
+ SPOOLSS_FORM_USER=(int)0,
+ SPOOLSS_FORM_BUILTIN=(int)1,
+ SPOOLSS_FORM_PRINTER=(int)2
}
#else
{ __donnot_use_enum_spoolss_FormFlags=0x7FFFFFFF}
@@ -1607,19 +1607,19 @@ struct spoolss_PortInfo2 {
enum spoolss_PortStatus
#ifndef USE_UINT_ENUMS
{
- PORT_STATUS_CLEAR=0x00000000,
- PORT_STATUS_OFFLINE=0x00000001,
- PORT_STATUS_PAPER_JAM=0x00000002,
- PORT_STATUS_PAPER_OUT=0x00000003,
- PORT_STATUS_OUTPUT_BIN_FULL=0x00000004,
- PORT_STATUS_PAPER_PROBLEM=0x00000005,
- PORT_STATUS_NO_TONER=0x00000006,
- PORT_STATUS_DOOR_OPEN=0x00000007,
- PORT_STATUS_USER_INTERVENTION=0x00000008,
- PORT_STATUS_OUT_OF_MEMORY=0x00000009,
- PORT_STATUS_TONER_LOW=0x0000000A,
- PORT_STATUS_WARMING_UP=0x0000000B,
- PORT_STATUS_POWER_SAVE=0x0000000C
+ PORT_STATUS_CLEAR=(int)0x00000000,
+ PORT_STATUS_OFFLINE=(int)0x00000001,
+ PORT_STATUS_PAPER_JAM=(int)0x00000002,
+ PORT_STATUS_PAPER_OUT=(int)0x00000003,
+ PORT_STATUS_OUTPUT_BIN_FULL=(int)0x00000004,
+ PORT_STATUS_PAPER_PROBLEM=(int)0x00000005,
+ PORT_STATUS_NO_TONER=(int)0x00000006,
+ PORT_STATUS_DOOR_OPEN=(int)0x00000007,
+ PORT_STATUS_USER_INTERVENTION=(int)0x00000008,
+ PORT_STATUS_OUT_OF_MEMORY=(int)0x00000009,
+ PORT_STATUS_TONER_LOW=(int)0x0000000A,
+ PORT_STATUS_WARMING_UP=(int)0x0000000B,
+ PORT_STATUS_POWER_SAVE=(int)0x0000000C
}
#else
{ __donnot_use_enum_spoolss_PortStatus=0x7FFFFFFF}
@@ -1642,9 +1642,9 @@ enum spoolss_PortStatus
enum spoolss_PortSeverity
#ifndef USE_UINT_ENUMS
{
- PORT_STATUS_TYPE_ERROR=0x00000001,
- PORT_STATUS_TYPE_WARNING=0x00000002,
- PORT_STATUS_TYPE_INFO=0x00000003
+ PORT_STATUS_TYPE_ERROR=(int)0x00000001,
+ PORT_STATUS_TYPE_WARNING=(int)0x00000002,
+ PORT_STATUS_TYPE_INFO=(int)0x00000003
}
#else
{ __donnot_use_enum_spoolss_PortSeverity=0x7FFFFFFF}
@@ -1721,30 +1721,30 @@ union spoolss_PrintProcDataTypesInfo {
enum spoolss_JobNotifyField
#ifndef USE_UINT_ENUMS
{
- JOB_NOTIFY_FIELD_PRINTER_NAME=0x00,
- JOB_NOTIFY_FIELD_MACHINE_NAME=0x01,
- JOB_NOTIFY_FIELD_PORT_NAME=0x02,
- JOB_NOTIFY_FIELD_USER_NAME=0x03,
- JOB_NOTIFY_FIELD_NOTIFY_NAME=0x04,
- JOB_NOTIFY_FIELD_DATATYPE=0x05,
- JOB_NOTIFY_FIELD_PRINT_PROCESSOR=0x06,
- JOB_NOTIFY_FIELD_PARAMETERS=0x07,
- JOB_NOTIFY_FIELD_DRIVER_NAME=0x08,
- JOB_NOTIFY_FIELD_DEVMODE=0x09,
- JOB_NOTIFY_FIELD_STATUS=0x0a,
- JOB_NOTIFY_FIELD_STATUS_STRING=0x0b,
- JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR=0x0c,
- JOB_NOTIFY_FIELD_DOCUMENT=0x0d,
- JOB_NOTIFY_FIELD_PRIORITY=0x0e,
- JOB_NOTIFY_FIELD_POSITION=0x0f,
- JOB_NOTIFY_FIELD_SUBMITTED=0x10,
- JOB_NOTIFY_FIELD_START_TIME=0x11,
- JOB_NOTIFY_FIELD_UNTIL_TIME=0x12,
- JOB_NOTIFY_FIELD_TIME=0x13,
- JOB_NOTIFY_FIELD_TOTAL_PAGES=0x14,
- JOB_NOTIFY_FIELD_PAGES_PRINTED=0x15,
- JOB_NOTIFY_FIELD_TOTAL_BYTES=0x16,
- JOB_NOTIFY_FIELD_BYTES_PRINTED=0x17
+ JOB_NOTIFY_FIELD_PRINTER_NAME=(int)0x00,
+ JOB_NOTIFY_FIELD_MACHINE_NAME=(int)0x01,
+ JOB_NOTIFY_FIELD_PORT_NAME=(int)0x02,
+ JOB_NOTIFY_FIELD_USER_NAME=(int)0x03,
+ JOB_NOTIFY_FIELD_NOTIFY_NAME=(int)0x04,
+ JOB_NOTIFY_FIELD_DATATYPE=(int)0x05,
+ JOB_NOTIFY_FIELD_PRINT_PROCESSOR=(int)0x06,
+ JOB_NOTIFY_FIELD_PARAMETERS=(int)0x07,
+ JOB_NOTIFY_FIELD_DRIVER_NAME=(int)0x08,
+ JOB_NOTIFY_FIELD_DEVMODE=(int)0x09,
+ JOB_NOTIFY_FIELD_STATUS=(int)0x0a,
+ JOB_NOTIFY_FIELD_STATUS_STRING=(int)0x0b,
+ JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR=(int)0x0c,
+ JOB_NOTIFY_FIELD_DOCUMENT=(int)0x0d,
+ JOB_NOTIFY_FIELD_PRIORITY=(int)0x0e,
+ JOB_NOTIFY_FIELD_POSITION=(int)0x0f,
+ JOB_NOTIFY_FIELD_SUBMITTED=(int)0x10,
+ JOB_NOTIFY_FIELD_START_TIME=(int)0x11,
+ JOB_NOTIFY_FIELD_UNTIL_TIME=(int)0x12,
+ JOB_NOTIFY_FIELD_TIME=(int)0x13,
+ JOB_NOTIFY_FIELD_TOTAL_PAGES=(int)0x14,
+ JOB_NOTIFY_FIELD_PAGES_PRINTED=(int)0x15,
+ JOB_NOTIFY_FIELD_TOTAL_BYTES=(int)0x16,
+ JOB_NOTIFY_FIELD_BYTES_PRINTED=(int)0x17
}
#else
{ __donnot_use_enum_spoolss_JobNotifyField=0x7FFFFFFF}
@@ -1778,34 +1778,34 @@ enum spoolss_JobNotifyField
enum spoolss_PrintNotifyField
#ifndef USE_UINT_ENUMS
{
- PRINTER_NOTIFY_FIELD_SERVER_NAME=0x00,
- PRINTER_NOTIFY_FIELD_PRINTER_NAME=0x01,
- PRINTER_NOTIFY_FIELD_SHARE_NAME=0x02,
- PRINTER_NOTIFY_FIELD_PORT_NAME=0x03,
- PRINTER_NOTIFY_FIELD_DRIVER_NAME=0x04,
- PRINTER_NOTIFY_FIELD_COMMENT=0x05,
- PRINTER_NOTIFY_FIELD_LOCATION=0x06,
- PRINTER_NOTIFY_FIELD_DEVMODE=0x07,
- PRINTER_NOTIFY_FIELD_SEPFILE=0x08,
- PRINTER_NOTIFY_FIELD_PRINT_PROCESSOR=0x09,
- PRINTER_NOTIFY_FIELD_PARAMETERS=0x0a,
- PRINTER_NOTIFY_FIELD_DATATYPE=0x0b,
- PRINTER_NOTIFY_FIELD_SECURITY_DESCRIPTOR=0x0c,
- PRINTER_NOTIFY_FIELD_ATTRIBUTES=0x0d,
- PRINTER_NOTIFY_FIELD_PRIORITY=0x0e,
- PRINTER_NOTIFY_FIELD_DEFAULT_PRIORITY=0x0f,
- PRINTER_NOTIFY_FIELD_START_TIME=0x10,
- PRINTER_NOTIFY_FIELD_UNTIL_TIME=0x11,
- PRINTER_NOTIFY_FIELD_STATUS=0x12,
- PRINTER_NOTIFY_FIELD_STATUS_STRING=0x13,
- PRINTER_NOTIFY_FIELD_CJOBS=0x14,
- PRINTER_NOTIFY_FIELD_AVERAGE_PPM=0x15,
- PRINTER_NOTIFY_FIELD_TOTAL_PAGES=0x16,
- PRINTER_NOTIFY_FIELD_PAGES_PRINTED=0x17,
- PRINTER_NOTIFY_FIELD_TOTAL_BYTES=0x18,
- PRINTER_NOTIFY_FIELD_BYTES_PRINTED=0x19,
- PRINTER_NOTIFY_FIELD_OBJECT_GUID=0x1a,
- PRINTER_NOTIFY_FIELD_FRIENDLY_NAME=0x1b
+ PRINTER_NOTIFY_FIELD_SERVER_NAME=(int)0x00,
+ PRINTER_NOTIFY_FIELD_PRINTER_NAME=(int)0x01,
+ PRINTER_NOTIFY_FIELD_SHARE_NAME=(int)0x02,
+ PRINTER_NOTIFY_FIELD_PORT_NAME=(int)0x03,
+ PRINTER_NOTIFY_FIELD_DRIVER_NAME=(int)0x04,
+ PRINTER_NOTIFY_FIELD_COMMENT=(int)0x05,
+ PRINTER_NOTIFY_FIELD_LOCATION=(int)0x06,
+ PRINTER_NOTIFY_FIELD_DEVMODE=(int)0x07,
+ PRINTER_NOTIFY_FIELD_SEPFILE=(int)0x08,
+ PRINTER_NOTIFY_FIELD_PRINT_PROCESSOR=(int)0x09,
+ PRINTER_NOTIFY_FIELD_PARAMETERS=(int)0x0a,
+ PRINTER_NOTIFY_FIELD_DATATYPE=(int)0x0b,
+ PRINTER_NOTIFY_FIELD_SECURITY_DESCRIPTOR=(int)0x0c,
+ PRINTER_NOTIFY_FIELD_ATTRIBUTES=(int)0x0d,
+ PRINTER_NOTIFY_FIELD_PRIORITY=(int)0x0e,
+ PRINTER_NOTIFY_FIELD_DEFAULT_PRIORITY=(int)0x0f,
+ PRINTER_NOTIFY_FIELD_START_TIME=(int)0x10,
+ PRINTER_NOTIFY_FIELD_UNTIL_TIME=(int)0x11,
+ PRINTER_NOTIFY_FIELD_STATUS=(int)0x12,
+ PRINTER_NOTIFY_FIELD_STATUS_STRING=(int)0x13,
+ PRINTER_NOTIFY_FIELD_CJOBS=(int)0x14,
+ PRINTER_NOTIFY_FIELD_AVERAGE_PPM=(int)0x15,
+ PRINTER_NOTIFY_FIELD_TOTAL_PAGES=(int)0x16,
+ PRINTER_NOTIFY_FIELD_PAGES_PRINTED=(int)0x17,
+ PRINTER_NOTIFY_FIELD_TOTAL_BYTES=(int)0x18,
+ PRINTER_NOTIFY_FIELD_BYTES_PRINTED=(int)0x19,
+ PRINTER_NOTIFY_FIELD_OBJECT_GUID=(int)0x1a,
+ PRINTER_NOTIFY_FIELD_FRIENDLY_NAME=(int)0x1b
}
#else
{ __donnot_use_enum_spoolss_PrintNotifyField=0x7FFFFFFF}
@@ -1843,8 +1843,8 @@ enum spoolss_PrintNotifyField
enum spoolss_NotifyType
#ifndef USE_UINT_ENUMS
{
- PRINTER_NOTIFY_TYPE=0x00,
- JOB_NOTIFY_TYPE=0x01
+ PRINTER_NOTIFY_TYPE=(int)0x00,
+ JOB_NOTIFY_TYPE=(int)0x01
}
#else
{ __donnot_use_enum_spoolss_NotifyType=0x7FFFFFFF}
@@ -1884,11 +1884,11 @@ struct spoolss_NotifyString {
enum spoolss_NotifyTable
#ifndef USE_UINT_ENUMS
{
- NOTIFY_TABLE_DWORD=0x0001,
- NOTIFY_TABLE_STRING=0x0002,
- NOTIFY_TABLE_DEVMODE=0x0003,
- NOTIFY_TABLE_TIME=0x0004,
- NOTIFY_TABLE_SECURITYDESCRIPTOR=0x0005
+ NOTIFY_TABLE_DWORD=(int)0x0001,
+ NOTIFY_TABLE_STRING=(int)0x0002,
+ NOTIFY_TABLE_DEVMODE=(int)0x0003,
+ NOTIFY_TABLE_TIME=(int)0x0004,
+ NOTIFY_TABLE_SECURITYDESCRIPTOR=(int)0x0005
}
#else
{ __donnot_use_enum_spoolss_NotifyTable=0x7FFFFFFF}
@@ -1994,8 +1994,8 @@ struct spoolss_PrinterEnumValues {
enum spoolss_PortProtocol
#ifndef USE_UINT_ENUMS
{
- PROTOCOL_RAWTCP_TYPE=1,
- PROTOCOL_LPR_TYPE=2
+ PROTOCOL_RAWTCP_TYPE=(int)1,
+ PROTOCOL_LPR_TYPE=(int)2
}
#else
{ __donnot_use_enum_spoolss_PortProtocol=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/srvsvc.h b/librpc/gen_ndr/srvsvc.h
index 4a8fd051f6..cfb1a7a095 100644
--- a/librpc/gen_ndr/srvsvc.h
+++ b/librpc/gen_ndr/srvsvc.h
@@ -239,18 +239,18 @@ struct srvsvc_NetSessInfoCtr {
enum srvsvc_ShareType
#ifndef USE_UINT_ENUMS
{
- STYPE_DISKTREE=0,
- STYPE_DISKTREE_TEMPORARY=STYPE_DISKTREE|STYPE_TEMPORARY,
- STYPE_DISKTREE_HIDDEN=STYPE_DISKTREE|STYPE_HIDDEN,
- STYPE_PRINTQ=1,
- STYPE_PRINTQ_TEMPORARY=STYPE_PRINTQ|STYPE_TEMPORARY,
- STYPE_PRINTQ_HIDDEN=STYPE_PRINTQ|STYPE_HIDDEN,
- STYPE_DEVICE=2,
- STYPE_DEVICE_TEMPORARY=STYPE_DEVICE|STYPE_TEMPORARY,
- STYPE_DEVICE_HIDDEN=STYPE_DEVICE|STYPE_HIDDEN,
- STYPE_IPC=3,
- STYPE_IPC_TEMPORARY=STYPE_IPC|STYPE_TEMPORARY,
- STYPE_IPC_HIDDEN=STYPE_IPC|STYPE_HIDDEN
+ STYPE_DISKTREE=(int)0,
+ STYPE_DISKTREE_TEMPORARY=(int)STYPE_DISKTREE|STYPE_TEMPORARY,
+ STYPE_DISKTREE_HIDDEN=(int)STYPE_DISKTREE|STYPE_HIDDEN,
+ STYPE_PRINTQ=(int)1,
+ STYPE_PRINTQ_TEMPORARY=(int)STYPE_PRINTQ|STYPE_TEMPORARY,
+ STYPE_PRINTQ_HIDDEN=(int)STYPE_PRINTQ|STYPE_HIDDEN,
+ STYPE_DEVICE=(int)2,
+ STYPE_DEVICE_TEMPORARY=(int)STYPE_DEVICE|STYPE_TEMPORARY,
+ STYPE_DEVICE_HIDDEN=(int)STYPE_DEVICE|STYPE_HIDDEN,
+ STYPE_IPC=(int)3,
+ STYPE_IPC_TEMPORARY=(int)STYPE_IPC|STYPE_TEMPORARY,
+ STYPE_IPC_HIDDEN=(int)STYPE_IPC|STYPE_HIDDEN
}
#else
{ __donnot_use_enum_srvsvc_ShareType=0x7FFFFFFF}
@@ -414,11 +414,11 @@ struct srvsvc_NetShareInfoCtr {
enum srvsvc_PlatformId
#ifndef USE_UINT_ENUMS
{
- PLATFORM_ID_DOS=300,
- PLATFORM_ID_OS2=400,
- PLATFORM_ID_NT=500,
- PLATFORM_ID_OSF=600,
- PLATFORM_ID_VMS=700
+ PLATFORM_ID_DOS=(int)300,
+ PLATFORM_ID_OS2=(int)400,
+ PLATFORM_ID_NT=(int)500,
+ PLATFORM_ID_OSF=(int)600,
+ PLATFORM_ID_VMS=(int)700
}
#else
{ __donnot_use_enum_srvsvc_PlatformId=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/svcctl.h b/librpc/gen_ndr/svcctl.h
index eb48fa0d4f..4de6004077 100644
--- a/librpc/gen_ndr/svcctl.h
+++ b/librpc/gen_ndr/svcctl.h
@@ -39,14 +39,14 @@ struct SERVICE_LOCK_STATUS {
enum svcctl_ServiceStatus
#ifndef USE_UINT_ENUMS
{
- SVCCTL_STATE_UNKNOWN=0x00000000,
- SVCCTL_STOPPED=0x00000001,
- SVCCTL_START_PENDING=0x00000002,
- SVCCTL_STOP_PENDING=0x00000003,
- SVCCTL_RUNNING=0x00000004,
- SVCCTL_CONTINUE_PENDING=0x00000005,
- SVCCTL_PAUSE_PENDING=0x00000006,
- SVCCTL_PAUSED=0x00000007
+ SVCCTL_STATE_UNKNOWN=(int)0x00000000,
+ SVCCTL_STOPPED=(int)0x00000001,
+ SVCCTL_START_PENDING=(int)0x00000002,
+ SVCCTL_STOP_PENDING=(int)0x00000003,
+ SVCCTL_RUNNING=(int)0x00000004,
+ SVCCTL_CONTINUE_PENDING=(int)0x00000005,
+ SVCCTL_PAUSE_PENDING=(int)0x00000006,
+ SVCCTL_PAUSED=(int)0x00000007
}
#else
{ __donnot_use_enum_svcctl_ServiceStatus=0x7FFFFFFF}
@@ -130,11 +130,11 @@ struct ENUM_SERVICE_STATUSA {
enum SERVICE_CONTROL
#ifndef USE_UINT_ENUMS
{
- SVCCTL_CONTROL_STOP=0x00000001,
- SVCCTL_CONTROL_PAUSE=0x00000002,
- SVCCTL_CONTROL_CONTINUE=0x00000003,
- SVCCTL_CONTROL_INTERROGATE=0x00000004,
- SVCCTL_CONTROL_SHUTDOWN=0x00000005
+ SVCCTL_CONTROL_STOP=(int)0x00000001,
+ SVCCTL_CONTROL_PAUSE=(int)0x00000002,
+ SVCCTL_CONTROL_CONTINUE=(int)0x00000003,
+ SVCCTL_CONTROL_INTERROGATE=(int)0x00000004,
+ SVCCTL_CONTROL_SHUTDOWN=(int)0x00000005
}
#else
{ __donnot_use_enum_SERVICE_CONTROL=0x7FFFFFFF}
@@ -149,10 +149,10 @@ enum SERVICE_CONTROL
enum svcctl_ErrorControl
#ifndef USE_UINT_ENUMS
{
- SVCCTL_SVC_ERROR_IGNORE=0x00000000,
- SVCCTL_SVC_ERROR_NORMAL=0x00000001,
- SVCCTL_SVC_ERROR_CRITICAL=0x00000002,
- SVCCTL_SVC_ERROR_SEVERE=0x00000003
+ SVCCTL_SVC_ERROR_IGNORE=(int)0x00000000,
+ SVCCTL_SVC_ERROR_NORMAL=(int)0x00000001,
+ SVCCTL_SVC_ERROR_CRITICAL=(int)0x00000002,
+ SVCCTL_SVC_ERROR_SEVERE=(int)0x00000003
}
#else
{ __donnot_use_enum_svcctl_ErrorControl=0x7FFFFFFF}
@@ -166,11 +166,11 @@ enum svcctl_ErrorControl
enum svcctl_StartType
#ifndef USE_UINT_ENUMS
{
- SVCCTL_BOOT_START=0x00000000,
- SVCCTL_SYSTEM_START=0x00000001,
- SVCCTL_AUTO_START=0x00000002,
- SVCCTL_DEMAND_START=0x00000003,
- SVCCTL_DISABLED=0x00000004
+ SVCCTL_BOOT_START=(int)0x00000000,
+ SVCCTL_SYSTEM_START=(int)0x00000001,
+ SVCCTL_AUTO_START=(int)0x00000002,
+ SVCCTL_DEMAND_START=(int)0x00000003,
+ SVCCTL_DISABLED=(int)0x00000004
}
#else
{ __donnot_use_enum_svcctl_StartType=0x7FFFFFFF}
@@ -185,9 +185,9 @@ enum svcctl_StartType
enum svcctl_ServiceState
#ifndef USE_UINT_ENUMS
{
- SERVICE_STATE_ACTIVE=0x00000001,
- SERVICE_STATE_INACTIVE=0x00000002,
- SERVICE_STATE_ALL=(SERVICE_STATE_ACTIVE|SERVICE_STATE_INACTIVE)
+ SERVICE_STATE_ACTIVE=(int)0x00000001,
+ SERVICE_STATE_INACTIVE=(int)0x00000002,
+ SERVICE_STATE_ALL=(int)(SERVICE_STATE_ACTIVE|SERVICE_STATE_INACTIVE)
}
#else
{ __donnot_use_enum_svcctl_ServiceState=0x7FFFFFFF}
@@ -235,8 +235,8 @@ struct svcctl_ArgumentString {
enum svcctl_ConfigLevel
#ifndef USE_UINT_ENUMS
{
- SERVICE_CONFIG_DESCRIPTION=0x00000001,
- SERVICE_CONFIG_FAILURE_ACTIONS=0x00000002
+ SERVICE_CONFIG_DESCRIPTION=(int)0x00000001,
+ SERVICE_CONFIG_FAILURE_ACTIONS=(int)0x00000002
}
#else
{ __donnot_use_enum_svcctl_ConfigLevel=0x7FFFFFFF}
@@ -252,10 +252,10 @@ struct SERVICE_DESCRIPTION {
enum SC_ACTION_TYPE
#ifndef USE_UINT_ENUMS
{
- SC_ACTION_NONE=0,
- SC_ACTION_RESTART=1,
- SC_ACTION_REBOOT=2,
- SC_ACTION_RUN_COMMAND=3
+ SC_ACTION_NONE=(int)0,
+ SC_ACTION_RESTART=(int)1,
+ SC_ACTION_REBOOT=(int)2,
+ SC_ACTION_RUN_COMMAND=(int)3
}
#else
{ __donnot_use_enum_SC_ACTION_TYPE=0x7FFFFFFF}
@@ -282,7 +282,7 @@ struct SERVICE_FAILURE_ACTIONS {
enum svcctl_StatusLevel
#ifndef USE_UINT_ENUMS
{
- SVC_STATUS_PROCESS_INFO=0x00000000
+ SVC_STATUS_PROCESS_INFO=(int)0x00000000
}
#else
{ __donnot_use_enum_svcctl_StatusLevel=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/winreg.h b/librpc/gen_ndr/winreg.h
index 103817c466..e967be5b59 100644
--- a/librpc/gen_ndr/winreg.h
+++ b/librpc/gen_ndr/winreg.h
@@ -26,18 +26,18 @@
enum winreg_Type
#ifndef USE_UINT_ENUMS
{
- REG_NONE=0,
- REG_SZ=1,
- REG_EXPAND_SZ=2,
- REG_BINARY=3,
- REG_DWORD=4,
- REG_DWORD_BIG_ENDIAN=5,
- REG_LINK=6,
- REG_MULTI_SZ=7,
- REG_RESOURCE_LIST=8,
- REG_FULL_RESOURCE_DESCRIPTOR=9,
- REG_RESOURCE_REQUIREMENTS_LIST=10,
- REG_QWORD=11
+ REG_NONE=(int)0,
+ REG_SZ=(int)1,
+ REG_EXPAND_SZ=(int)2,
+ REG_BINARY=(int)3,
+ REG_DWORD=(int)4,
+ REG_DWORD_BIG_ENDIAN=(int)5,
+ REG_LINK=(int)6,
+ REG_MULTI_SZ=(int)7,
+ REG_RESOURCE_LIST=(int)8,
+ REG_FULL_RESOURCE_DESCRIPTOR=(int)9,
+ REG_RESOURCE_REQUIREMENTS_LIST=(int)10,
+ REG_QWORD=(int)11
}
#else
{ __donnot_use_enum_winreg_Type=0x7FFFFFFF}
@@ -77,9 +77,9 @@ struct winreg_SecBuf {
enum winreg_CreateAction
#ifndef USE_UINT_ENUMS
{
- REG_ACTION_NONE=0,
- REG_CREATED_NEW_KEY=1,
- REG_OPENED_EXISTING_KEY=2
+ REG_ACTION_NONE=(int)0,
+ REG_CREATED_NEW_KEY=(int)1,
+ REG_OPENED_EXISTING_KEY=(int)2
}
#else
{ __donnot_use_enum_winreg_CreateAction=0x7FFFFFFF}
diff --git a/librpc/gen_ndr/wkssvc.h b/librpc/gen_ndr/wkssvc.h
index 42360a90de..f6f77b5548 100644
--- a/librpc/gen_ndr/wkssvc.h
+++ b/librpc/gen_ndr/wkssvc.h
@@ -418,12 +418,12 @@ struct wkssvc_NetrWorkstationStatistics {
enum wkssvc_NetValidateNameType
#ifndef USE_UINT_ENUMS
{
- NetSetupUnknown=0,
- NetSetupMachine=1,
- NetSetupWorkgroup=2,
- NetSetupDomain=3,
- NetSetupNonExistentDomain=4,
- NetSetupDnsMachine=5
+ NetSetupUnknown=(int)0,
+ NetSetupMachine=(int)1,
+ NetSetupWorkgroup=(int)2,
+ NetSetupDomain=(int)3,
+ NetSetupNonExistentDomain=(int)4,
+ NetSetupDnsMachine=(int)5
}
#else
{ __donnot_use_enum_wkssvc_NetValidateNameType=0x7FFFFFFF}
@@ -439,10 +439,10 @@ enum wkssvc_NetValidateNameType
enum wkssvc_NetJoinStatus
#ifndef USE_UINT_ENUMS
{
- NET_SETUP_UNKNOWN_STATUS=0,
- NET_SETUP_UNJOINED=1,
- NET_SETUP_WORKGROUP_NAME=2,
- NET_SETUP_DOMAIN_NAME=3
+ NET_SETUP_UNKNOWN_STATUS=(int)0,
+ NET_SETUP_UNJOINED=(int)1,
+ NET_SETUP_WORKGROUP_NAME=(int)2,
+ NET_SETUP_DOMAIN_NAME=(int)3
}
#else
{ __donnot_use_enum_wkssvc_NetJoinStatus=0x7FFFFFFF}
@@ -473,10 +473,10 @@ struct wkssvc_PasswordBuffer {
enum wkssvc_ComputerNameType
#ifndef USE_UINT_ENUMS
{
- NetPrimaryComputerName=0,
- NetAlternateComputerNames=1,
- NetAllComputerNames=2,
- NetComputerNameTypeMax=3
+ NetPrimaryComputerName=(int)0,
+ NetAlternateComputerNames=(int)1,
+ NetAllComputerNames=(int)2,
+ NetComputerNameTypeMax=(int)3
}
#else
{ __donnot_use_enum_wkssvc_ComputerNameType=0x7FFFFFFF}
diff --git a/source3/librpc/gen_ndr/messaging.h b/source3/librpc/gen_ndr/messaging.h
index 3324160938..79b097cc6b 100644
--- a/source3/librpc/gen_ndr/messaging.h
+++ b/source3/librpc/gen_ndr/messaging.h
@@ -2,6 +2,8 @@
#include <stdint.h>
+#include "libcli/util/ntstatus.h"
+
#ifndef _HEADER_messaging
#define _HEADER_messaging
@@ -9,58 +11,58 @@
enum messaging_type
#ifndef USE_UINT_ENUMS
{
- MSG_DEBUG=0x0001,
- MSG_PING=0x0002,
- MSG_PONG=0x0003,
- MSG_PROFILE=0x0004,
- MSG_REQ_DEBUGLEVEL=0x0005,
- MSG_DEBUGLEVEL=0x0006,
- MSG_REQ_PROFILELEVEL=0x0007,
- MSG_PROFILELEVEL=0x0008,
- MSG_REQ_POOL_USAGE=0x0009,
- MSG_POOL_USAGE=0x000A,
- MSG_REQ_DMALLOC_MARK=0x000B,
- MSG_REQ_DMALLOC_LOG_CHANGED=0x000C,
- MSG_SHUTDOWN=0x000D,
- MSG_FORCE_ELECTION=0x0101,
- MSG_WINS_NEW_ENTRY=0x0102,
- MSG_SEND_PACKET=0x0103,
- MSG_PRINTER_NOTIFY=0x2001,
- MSG_PRINTER_NOTIFY2=0x0202,
- MSG_PRINTER_DRVUPGRADE=0x0203,
- MSG_PRINTERDATA_INIT_RESET=0x0204,
- MSG_PRINTER_UPDATE=0x0205,
- MSG_PRINTER_MOD=0x0206,
- MSG_SMB_CONF_UPDATED=0x0301,
- MSG_SMB_FORCE_TDIS=0x0302,
- MSG_SMB_SAM_SYNC=0x0303,
- MSG_SMB_SAM_REPL=0x0304,
- MSG_SMB_UNLOCK=0x0305,
- MSG_SMB_BREAK_REQUEST=0x0306,
- MSG_SMB_BREAK_RESPONSE=0x0307,
- MSG_SMB_ASYNC_LEVEL2_BREAK=0x0308,
- MSG_SMB_OPEN_RETRY=0x0309,
- MSG_SMB_KERNEL_BREAK=0x030A,
- MSG_SMB_FILE_RENAME=0x030B,
- MSG_SMB_INJECT_FAULT=0x030C,
- MSG_SMB_BLOCKING_LOCK_CANCEL=0x030D,
- MSG_SMB_NOTIFY=0x030E,
- MSG_SMB_STAT_CACHE_DELETE=0x030F,
- MSG_PVFS_NOTIFY=0x0310,
- MSG_SMB_BRL_VALIDATE=0x0311,
- MSG_SMB_RELEASE_IP=0x0312,
- MSG_SMB_CLOSE_FILE=0x0313,
- MSG_WINBIND_FINISHED=0x0401,
- MSG_WINBIND_FORGET_STATE=0x0402,
- MSG_WINBIND_ONLINE=0x0403,
- MSG_WINBIND_OFFLINE=0x0404,
- MSG_WINBIND_ONLINESTATUS=0x0405,
- MSG_WINBIND_TRY_TO_GO_ONLINE=0x0406,
- MSG_WINBIND_FAILED_TO_GO_ONLINE=0x0407,
- MSG_WINBIND_VALIDATE_CACHE=0x0408,
- MSG_WINBIND_DUMP_DOMAIN_LIST=0x0409,
- MSG_DUMP_EVENT_LIST=0x0500,
- MSG_DBWRAP_TDB2_CHANGES=4001
+ MSG_DEBUG=(int)0x0001,
+ MSG_PING=(int)0x0002,
+ MSG_PONG=(int)0x0003,
+ MSG_PROFILE=(int)0x0004,
+ MSG_REQ_DEBUGLEVEL=(int)0x0005,
+ MSG_DEBUGLEVEL=(int)0x0006,
+ MSG_REQ_PROFILELEVEL=(int)0x0007,
+ MSG_PROFILELEVEL=(int)0x0008,
+ MSG_REQ_POOL_USAGE=(int)0x0009,
+ MSG_POOL_USAGE=(int)0x000A,
+ MSG_REQ_DMALLOC_MARK=(int)0x000B,
+ MSG_REQ_DMALLOC_LOG_CHANGED=(int)0x000C,
+ MSG_SHUTDOWN=(int)0x000D,
+ MSG_FORCE_ELECTION=(int)0x0101,
+ MSG_WINS_NEW_ENTRY=(int)0x0102,
+ MSG_SEND_PACKET=(int)0x0103,
+ MSG_PRINTER_NOTIFY=(int)0x2001,
+ MSG_PRINTER_NOTIFY2=(int)0x0202,
+ MSG_PRINTER_DRVUPGRADE=(int)0x0203,
+ MSG_PRINTERDATA_INIT_RESET=(int)0x0204,
+ MSG_PRINTER_UPDATE=(int)0x0205,
+ MSG_PRINTER_MOD=(int)0x0206,
+ MSG_SMB_CONF_UPDATED=(int)0x0301,
+ MSG_SMB_FORCE_TDIS=(int)0x0302,
+ MSG_SMB_SAM_SYNC=(int)0x0303,
+ MSG_SMB_SAM_REPL=(int)0x0304,
+ MSG_SMB_UNLOCK=(int)0x0305,
+ MSG_SMB_BREAK_REQUEST=(int)0x0306,
+ MSG_SMB_BREAK_RESPONSE=(int)0x0307,
+ MSG_SMB_ASYNC_LEVEL2_BREAK=(int)0x0308,
+ MSG_SMB_OPEN_RETRY=(int)0x0309,
+ MSG_SMB_KERNEL_BREAK=(int)0x030A,
+ MSG_SMB_FILE_RENAME=(int)0x030B,
+ MSG_SMB_INJECT_FAULT=(int)0x030C,
+ MSG_SMB_BLOCKING_LOCK_CANCEL=(int)0x030D,
+ MSG_SMB_NOTIFY=(int)0x030E,
+ MSG_SMB_STAT_CACHE_DELETE=(int)0x030F,
+ MSG_PVFS_NOTIFY=(int)0x0310,
+ MSG_SMB_BRL_VALIDATE=(int)0x0311,
+ MSG_SMB_RELEASE_IP=(int)0x0312,
+ MSG_SMB_CLOSE_FILE=(int)0x0313,
+ MSG_WINBIND_FINISHED=(int)0x0401,
+ MSG_WINBIND_FORGET_STATE=(int)0x0402,
+ MSG_WINBIND_ONLINE=(int)0x0403,
+ MSG_WINBIND_OFFLINE=(int)0x0404,
+ MSG_WINBIND_ONLINESTATUS=(int)0x0405,
+ MSG_WINBIND_TRY_TO_GO_ONLINE=(int)0x0406,
+ MSG_WINBIND_FAILED_TO_GO_ONLINE=(int)0x0407,
+ MSG_WINBIND_VALIDATE_CACHE=(int)0x0408,
+ MSG_WINBIND_DUMP_DOMAIN_LIST=(int)0x0409,
+ MSG_DUMP_EVENT_LIST=(int)0x0500,
+ MSG_DBWRAP_TDB2_CHANGES=(int)4001
}
#else
{ __donnot_use_enum_messaging_type=0x7FFFFFFF}