prettification and updates to winreg
svn path=/trunk/; revision=16622
This commit is contained in:
parent
303321cc07
commit
886e7e603b
File diff suppressed because it is too large
Load Diff
|
@ -2,7 +2,7 @@
|
|||
|
||||
/* DO NOT EDIT
|
||||
This filter was automatically generated
|
||||
from librpc/idl/winreg.idl and librpc/idl/winreg.cnf.
|
||||
from winreg.idl and winreg.cnf.
|
||||
|
||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||
It is maintained by the Samba team, not the Ethereal team.
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2,7 +2,7 @@
|
|||
|
||||
/* DO NOT EDIT
|
||||
This filter was automatically generated
|
||||
from librpc/idl/winreg.idl and librpc/idl/winreg.cnf.
|
||||
from winreg.idl and winreg.cnf.
|
||||
|
||||
Pidl is a perl based IDL compiler for DCE/RPC idl files.
|
||||
It is maintained by the Samba team, not the Ethereal team.
|
||||
|
|
|
@ -1 +1,52 @@
|
|||
IMPORT security_secinfo offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_winreg_GetKeySecurity_sec_info, NULL);
|
||||
|
||||
HF_FIELD hf_winreg_access_required "Access Required" "winreg.access_required" FT_UINT32 BASE_HEX NULL 0 "" "" ""
|
||||
|
||||
HF_RENAME hf_winreg_winreg_OpenHKCR_access_required hf_winreg_access_required
|
||||
HF_RENAME hf_winreg_winreg_OpenHKLM_access_required hf_winreg_access_required
|
||||
HF_RENAME hf_winreg_winreg_OpenHKU_access_required hf_winreg_access_required
|
||||
HF_RENAME hf_winreg_winreg_CreateKey_access_required hf_winreg_access_required
|
||||
HF_RENAME hf_winreg_winreg_OpenHKCC_access_required hf_winreg_access_required
|
||||
HF_RENAME hf_winreg_winreg_OpenHKDD_access_required hf_winreg_access_required
|
||||
HF_RENAME hf_winreg_winreg_OpenHKPT_access_required hf_winreg_access_required
|
||||
HF_RENAME hf_winreg_winreg_OpenHKPN_access_required hf_winreg_access_required
|
||||
|
||||
HF_FIELD hf_winreg_system_name "System Name" "winreg.system_name" FT_UINT16 BASE_DEC NULL 0 "" "" ""
|
||||
|
||||
HF_RENAME hf_winreg_winreg_OpenHKCR_system_name hf_winreg_system_name
|
||||
HF_RENAME hf_winreg_winreg_OpenHKCU_system_name hf_winreg_system_name
|
||||
HF_RENAME hf_winreg_winreg_OpenHKLM_system_name hf_winreg_system_name
|
||||
HF_RENAME hf_winreg_winreg_OpenHKPD_system_name hf_winreg_system_name
|
||||
HF_RENAME hf_winreg_winreg_OpenHKU_system_name hf_winreg_system_name
|
||||
HF_RENAME hf_winreg_winreg_OpenHKCC_system_name hf_winreg_system_name
|
||||
HF_RENAME hf_winreg_winreg_OpenHKDD_system_name hf_winreg_system_name
|
||||
HF_RENAME hf_winreg_winreg_OpenHKPT_system_name hf_winreg_system_name
|
||||
HF_RENAME hf_winreg_winreg_OpenHKPN_system_name hf_winreg_system_name
|
||||
|
||||
HF_FIELD hf_winreg_handle "Handle" "winreg.handle" FT_BYTES BASE_NONE NULL 0 "" "" ""
|
||||
|
||||
HF_RENAME hf_winreg_winreg_OpenHKCR_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_OpenHKCU_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_OpenHKLM_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_OpenHKPD_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_OpenHKU_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_CloseKey_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_CreateKey_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_DeleteKey_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_DeleteValue_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_EnumKey_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_EnumValue_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_FlushKey_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_GetKeySecurity_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_LoadKey_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_NotifyChangeKeyValue_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_OpenKey_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_QueryInfoKey_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_QueryValue_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_SetKeySecurity_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_SetValue_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_GetVersion_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_OpenHKCC_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_OpenHKDD_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_OpenHKPT_handle hf_winreg_handle
|
||||
HF_RENAME hf_winreg_winreg_OpenHKPN_handle hf_winreg_handle
|
||||
|
|
|
@ -34,14 +34,14 @@
|
|||
typedef [public,noejs] struct {
|
||||
[value(strlen_m_term(name)*2)] uint16 name_len;
|
||||
[value(strlen_m_term(name)*2)] uint16 name_size;
|
||||
unistr *name;
|
||||
[string,charset(UTF16)] uint16 *name;
|
||||
} winreg_String;
|
||||
|
||||
/******************/
|
||||
/* Function: 0x00 */
|
||||
WERROR winreg_OpenHKCR(
|
||||
[in] uint16 *system_name,
|
||||
[in] uint32 access_required,
|
||||
[in] uint32 access_mask,
|
||||
[out,ref] policy_handle *handle
|
||||
);
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
|||
/* Function: 0x01 */
|
||||
WERROR winreg_OpenHKCU(
|
||||
[in] uint16 *system_name,
|
||||
[in] uint32 access_required,
|
||||
[in] uint32 access_mask,
|
||||
[out,ref] policy_handle *handle
|
||||
);
|
||||
|
||||
|
@ -57,7 +57,7 @@
|
|||
/* Function: 0x02 */
|
||||
WERROR winreg_OpenHKLM(
|
||||
[in] uint16 *system_name,
|
||||
[in] uint32 access_required,
|
||||
[in] uint32 access_mask,
|
||||
[out,ref] policy_handle *handle
|
||||
);
|
||||
|
||||
|
@ -65,7 +65,7 @@
|
|||
/* Function: 0x03 */
|
||||
WERROR winreg_OpenHKPD(
|
||||
[in] uint16 *system_name,
|
||||
[in] uint32 access_required,
|
||||
[in] uint32 access_mask,
|
||||
[out,ref] policy_handle *handle
|
||||
);
|
||||
|
||||
|
@ -73,7 +73,7 @@
|
|||
/* Function: 0x04 */
|
||||
WERROR winreg_OpenHKU(
|
||||
[in] uint16 *system_name,
|
||||
[in] uint32 access_required,
|
||||
[in] uint32 access_mask,
|
||||
[out,ref] policy_handle *handle
|
||||
);
|
||||
|
||||
|
@ -109,7 +109,7 @@
|
|||
[in] winreg_String name,
|
||||
[in] winreg_String class,
|
||||
[in] uint32 options,
|
||||
[in] uint32 access_required,
|
||||
[in] uint32 access_mask,
|
||||
[in,unique] winreg_SecBuf *secdesc,
|
||||
[out,ref] policy_handle *new_handle,
|
||||
[in,out,unique] winreg_CreateAction *action_taken
|
||||
|
@ -130,10 +130,10 @@
|
|||
);
|
||||
|
||||
typedef struct {
|
||||
/* we can't use value(strlen_m(name)*2) here as it
|
||||
doesn't propogate to the length_is() property
|
||||
below. Jelmer, can this be fixed? */
|
||||
uint16 length;
|
||||
[value(strlen_m(name)*2)] uint16 length;
|
||||
/* size cannot be auto-set by value() as it is the
|
||||
amount of space the server is allowed to use for this
|
||||
string in the reply, not its current size */
|
||||
uint16 size;
|
||||
[size_is(size/2),length_is(length/2),charset(UTF16)] uint16 *name;
|
||||
} winreg_StringBuf;
|
||||
|
@ -295,7 +295,7 @@
|
|||
/* Function: 0x1b */
|
||||
WERROR winreg_OpenHKCC(
|
||||
[in] uint16 *system_name,
|
||||
[in] uint32 access_required,
|
||||
[in] uint32 access_mask,
|
||||
[out,ref] policy_handle *handle
|
||||
);
|
||||
|
||||
|
@ -303,7 +303,7 @@
|
|||
/* Function: 0x1c */
|
||||
WERROR winreg_OpenHKDD(
|
||||
[in] uint16 *system_name,
|
||||
[in] uint32 access_required,
|
||||
[in] uint32 access_mask,
|
||||
[out,ref] policy_handle *handle
|
||||
);
|
||||
|
||||
|
@ -344,7 +344,7 @@
|
|||
/* Function: 0x20 */
|
||||
WERROR winreg_OpenHKPT(
|
||||
[in] uint16 *system_name,
|
||||
[in] uint32 access_required,
|
||||
[in] uint32 access_mask,
|
||||
[out,ref] policy_handle *handle
|
||||
);
|
||||
|
||||
|
@ -352,7 +352,7 @@
|
|||
/* Function: 0x21 */
|
||||
WERROR winreg_OpenHKPN(
|
||||
[in] uint16 *system_name,
|
||||
[in] uint32 access_required,
|
||||
[in] uint32 access_mask,
|
||||
[out,ref] policy_handle *handle
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue