summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/winreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'librpc/gen_ndr/winreg.h')
-rw-r--r--librpc/gen_ndr/winreg.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/librpc/gen_ndr/winreg.h b/librpc/gen_ndr/winreg.h
index aa05148583..7ebc847565 100644
--- a/librpc/gen_ndr/winreg.h
+++ b/librpc/gen_ndr/winreg.h
@@ -42,20 +42,10 @@ struct winreg_SecBuf {
uint8_t inherit;
};
-enum winreg_KeyType
-#ifndef USE_UINT_ENUMS
- {
- REG_KEYTYPE_NON_VOLATILE=(int)(0x00000000),
- REG_KEYTYPE_VOLATILE=(int)(0x00000001),
- REG_KEYTYPE_SYMLINK=(int)(0x00000002)
-}
-#else
- { __donnot_use_enum_winreg_KeyType=0x7FFFFFFF}
+/* bitmap winreg_KeyType */
#define REG_KEYTYPE_NON_VOLATILE ( 0x00000000 )
#define REG_KEYTYPE_VOLATILE ( 0x00000001 )
#define REG_KEYTYPE_SYMLINK ( 0x00000002 )
-#endif
-;
enum winreg_CreateAction
#ifndef USE_UINT_ENUMS
@@ -192,7 +182,7 @@ struct winreg_CreateKey {
struct policy_handle *handle;/* [ref] */
struct winreg_String name;
struct winreg_String keyclass;
- enum winreg_KeyType options;
+ uint32_t options;
uint32_t access_mask;
struct winreg_SecBuf *secdesc;/* [unique] */
enum winreg_CreateAction *action_taken;/* [unique] */
@@ -338,7 +328,7 @@ struct winreg_OpenKey {
struct {
struct policy_handle *parent_handle;/* [ref] */
struct winreg_String keyname;
- enum winreg_KeyType options;
+ uint32_t options;
uint32_t access_mask;
} in;