summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_lsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/librpc/gen_ndr/cli_lsa.c')
-rw-r--r--source3/librpc/gen_ndr/cli_lsa.c404
1 files changed, 202 insertions, 202 deletions
diff --git a/source3/librpc/gen_ndr/cli_lsa.c b/source3/librpc/gen_ndr/cli_lsa.c
index b1609ea97b..2b673054dc 100644
--- a/source3/librpc/gen_ndr/cli_lsa.c
+++ b/source3/librpc/gen_ndr/cli_lsa.c
@@ -8,7 +8,7 @@
NTSTATUS rpccli_lsa_Close(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle)
+ struct policy_handle *handle /* [in,out] [ref] */)
{
struct lsa_Close r;
NTSTATUS status;
@@ -48,7 +48,7 @@ NTSTATUS rpccli_lsa_Close(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_Delete(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle)
+ struct policy_handle *handle /* [in] [ref] */)
{
struct lsa_Delete r;
NTSTATUS status;
@@ -87,10 +87,10 @@ NTSTATUS rpccli_lsa_Delete(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_EnumPrivs(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- uint32_t *resume_handle,
- struct lsa_PrivArray *privs,
- uint32_t max_count)
+ struct policy_handle *handle /* [in] [ref] */,
+ uint32_t *resume_handle /* [in,out] [ref] */,
+ struct lsa_PrivArray *privs /* [out] [ref] */,
+ uint32_t max_count /* [in] */)
{
struct lsa_EnumPrivs r;
NTSTATUS status;
@@ -133,9 +133,9 @@ NTSTATUS rpccli_lsa_EnumPrivs(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_QuerySecurity(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- uint32_t sec_info,
- struct sec_desc_buf **sdbuf)
+ struct policy_handle *handle /* [in] [ref] */,
+ uint32_t sec_info /* [in] */,
+ struct sec_desc_buf **sdbuf /* [out] [ref] */)
{
struct lsa_QuerySecurity r;
NTSTATUS status;
@@ -176,9 +176,9 @@ NTSTATUS rpccli_lsa_QuerySecurity(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_SetSecObj(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- uint32_t sec_info,
- struct sec_desc_buf *sdbuf)
+ struct policy_handle *handle /* [in] [ref] */,
+ uint32_t sec_info /* [in] */,
+ struct sec_desc_buf *sdbuf /* [in] [ref] */)
{
struct lsa_SetSecObj r;
NTSTATUS status;
@@ -256,10 +256,10 @@ NTSTATUS rpccli_lsa_ChangePassword(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_OpenPolicy(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- uint16_t *system_name,
- struct lsa_ObjectAttribute *attr,
- uint32_t access_mask,
- struct policy_handle *handle)
+ uint16_t *system_name /* [in] [unique] */,
+ struct lsa_ObjectAttribute *attr /* [in] [ref] */,
+ uint32_t access_mask /* [in] */,
+ struct policy_handle *handle /* [out] [ref] */)
{
struct lsa_OpenPolicy r;
NTSTATUS status;
@@ -301,9 +301,9 @@ NTSTATUS rpccli_lsa_OpenPolicy(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_QueryInfoPolicy(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- enum lsa_PolicyInfo level,
- union lsa_PolicyInformation **info)
+ struct policy_handle *handle /* [in] [ref] */,
+ enum lsa_PolicyInfo level /* [in] */,
+ union lsa_PolicyInformation **info /* [out] [ref,switch_is(level)] */)
{
struct lsa_QueryInfoPolicy r;
NTSTATUS status;
@@ -344,9 +344,9 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_SetInfoPolicy(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- enum lsa_PolicyInfo level,
- union lsa_PolicyInformation *info)
+ struct policy_handle *handle /* [in] [ref] */,
+ enum lsa_PolicyInfo level /* [in] */,
+ union lsa_PolicyInformation *info /* [in] [ref,switch_is(level)] */)
{
struct lsa_SetInfoPolicy r;
NTSTATUS status;
@@ -424,10 +424,10 @@ NTSTATUS rpccli_lsa_ClearAuditLog(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_CreateAccount(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct dom_sid2 *sid,
- uint32_t access_mask,
- struct policy_handle *acct_handle)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct dom_sid2 *sid /* [in] [ref] */,
+ uint32_t access_mask /* [in] */,
+ struct policy_handle *acct_handle /* [out] [ref] */)
{
struct lsa_CreateAccount r;
NTSTATUS status;
@@ -469,10 +469,10 @@ NTSTATUS rpccli_lsa_CreateAccount(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_EnumAccounts(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- uint32_t *resume_handle,
- struct lsa_SidArray *sids,
- uint32_t num_entries)
+ struct policy_handle *handle /* [in] [ref] */,
+ uint32_t *resume_handle /* [in,out] [ref] */,
+ struct lsa_SidArray *sids /* [out] [ref] */,
+ uint32_t num_entries /* [in] [range(0,8192)] */)
{
struct lsa_EnumAccounts r;
NTSTATUS status;
@@ -515,10 +515,10 @@ NTSTATUS rpccli_lsa_EnumAccounts(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_CreateTrustedDomain(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_DomainInfo *info,
- uint32_t access_mask,
- struct policy_handle *trustdom_handle)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_DomainInfo *info /* [in] [ref] */,
+ uint32_t access_mask /* [in] */,
+ struct policy_handle *trustdom_handle /* [out] [ref] */)
{
struct lsa_CreateTrustedDomain r;
NTSTATUS status;
@@ -560,10 +560,10 @@ NTSTATUS rpccli_lsa_CreateTrustedDomain(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_EnumTrustDom(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- uint32_t *resume_handle,
- struct lsa_DomainList *domains,
- uint32_t max_size)
+ struct policy_handle *handle /* [in] [ref] */,
+ uint32_t *resume_handle /* [in,out] [ref] */,
+ struct lsa_DomainList *domains /* [out] [ref] */,
+ uint32_t max_size /* [in] */)
{
struct lsa_EnumTrustDom r;
NTSTATUS status;
@@ -606,13 +606,13 @@ NTSTATUS rpccli_lsa_EnumTrustDom(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_LookupNames(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- uint32_t num_names,
- struct lsa_String *names,
- struct lsa_RefDomainList **domains,
- struct lsa_TransSidArray *sids,
- enum lsa_LookupNamesLevel level,
- uint32_t *count)
+ struct policy_handle *handle /* [in] [ref] */,
+ uint32_t num_names /* [in] [range(0,1000)] */,
+ struct lsa_String *names /* [in] [size_is(num_names)] */,
+ struct lsa_RefDomainList **domains /* [out] [ref] */,
+ struct lsa_TransSidArray *sids /* [in,out] [ref] */,
+ enum lsa_LookupNamesLevel level /* [in] */,
+ uint32_t *count /* [in,out] [ref] */)
{
struct lsa_LookupNames r;
NTSTATUS status;
@@ -659,12 +659,12 @@ NTSTATUS rpccli_lsa_LookupNames(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_LookupSids(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_SidArray *sids,
- struct lsa_RefDomainList **domains,
- struct lsa_TransNameArray *names,
- uint16_t level,
- uint32_t *count)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_SidArray *sids /* [in] [ref] */,
+ struct lsa_RefDomainList **domains /* [out] [ref] */,
+ struct lsa_TransNameArray *names /* [in,out] [ref] */,
+ uint16_t level /* [in] */,
+ uint32_t *count /* [in,out] [ref] */)
{
struct lsa_LookupSids r;
NTSTATUS status;
@@ -710,10 +710,10 @@ NTSTATUS rpccli_lsa_LookupSids(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_CreateSecret(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_String name,
- uint32_t access_mask,
- struct policy_handle *sec_handle)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_String name /* [in] */,
+ uint32_t access_mask /* [in] */,
+ struct policy_handle *sec_handle /* [out] [ref] */)
{
struct lsa_CreateSecret r;
NTSTATUS status;
@@ -755,10 +755,10 @@ NTSTATUS rpccli_lsa_CreateSecret(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_OpenAccount(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct dom_sid2 *sid,
- uint32_t access_mask,
- struct policy_handle *acct_handle)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct dom_sid2 *sid /* [in] [ref] */,
+ uint32_t access_mask /* [in] */,
+ struct policy_handle *acct_handle /* [out] [ref] */)
{
struct lsa_OpenAccount r;
NTSTATUS status;
@@ -800,8 +800,8 @@ NTSTATUS rpccli_lsa_OpenAccount(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_EnumPrivsAccount(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_PrivilegeSet **privs)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_PrivilegeSet **privs /* [out] [ref] */)
{
struct lsa_EnumPrivsAccount r;
NTSTATUS status;
@@ -841,8 +841,8 @@ NTSTATUS rpccli_lsa_EnumPrivsAccount(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_AddPrivilegesToAccount(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_PrivilegeSet *privs)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_PrivilegeSet *privs /* [in] [ref] */)
{
struct lsa_AddPrivilegesToAccount r;
NTSTATUS status;
@@ -882,9 +882,9 @@ NTSTATUS rpccli_lsa_AddPrivilegesToAccount(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_RemovePrivilegesFromAccount(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- uint8_t remove_all,
- struct lsa_PrivilegeSet *privs)
+ struct policy_handle *handle /* [in] [ref] */,
+ uint8_t remove_all /* [in] */,
+ struct lsa_PrivilegeSet *privs /* [in] [unique] */)
{
struct lsa_RemovePrivilegesFromAccount r;
NTSTATUS status;
@@ -999,8 +999,8 @@ NTSTATUS rpccli_lsa_SetQuotasForAccount(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_GetSystemAccessAccount(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- uint32_t *access_mask)
+ struct policy_handle *handle /* [in] [ref] */,
+ uint32_t *access_mask /* [out] [ref] */)
{
struct lsa_GetSystemAccessAccount r;
NTSTATUS status;
@@ -1040,8 +1040,8 @@ NTSTATUS rpccli_lsa_GetSystemAccessAccount(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_SetSystemAccessAccount(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- uint32_t access_mask)
+ struct policy_handle *handle /* [in] [ref] */,
+ uint32_t access_mask /* [in] */)
{
struct lsa_SetSystemAccessAccount r;
NTSTATUS status;
@@ -1081,10 +1081,10 @@ NTSTATUS rpccli_lsa_SetSystemAccessAccount(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_OpenTrustedDomain(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct dom_sid2 *sid,
- uint32_t access_mask,
- struct policy_handle *trustdom_handle)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct dom_sid2 *sid /* [in] [ref] */,
+ uint32_t access_mask /* [in] */,
+ struct policy_handle *trustdom_handle /* [out] [ref] */)
{
struct lsa_OpenTrustedDomain r;
NTSTATUS status;
@@ -1126,9 +1126,9 @@ NTSTATUS rpccli_lsa_OpenTrustedDomain(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_QueryTrustedDomainInfo(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *trustdom_handle,
- enum lsa_TrustDomInfoEnum level,
- union lsa_TrustedDomainInfo *info)
+ struct policy_handle *trustdom_handle /* [in] [ref] */,
+ enum lsa_TrustDomInfoEnum level /* [in] */,
+ union lsa_TrustedDomainInfo *info /* [out] [unique,switch_is(level)] */)
{
struct lsa_QueryTrustedDomainInfo r;
NTSTATUS status;
@@ -1208,10 +1208,10 @@ NTSTATUS rpccli_lsa_SetInformationTrustedDomain(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_OpenSecret(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_String name,
- uint32_t access_mask,
- struct policy_handle *sec_handle)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_String name /* [in] */,
+ uint32_t access_mask /* [in] */,
+ struct policy_handle *sec_handle /* [out] [ref] */)
{
struct lsa_OpenSecret r;
NTSTATUS status;
@@ -1253,9 +1253,9 @@ NTSTATUS rpccli_lsa_OpenSecret(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_SetSecret(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *sec_handle,
- struct lsa_DATA_BUF *new_val,
- struct lsa_DATA_BUF *old_val)
+ struct policy_handle *sec_handle /* [in] [ref] */,
+ struct lsa_DATA_BUF *new_val /* [in] [unique] */,
+ struct lsa_DATA_BUF *old_val /* [in] [unique] */)
{
struct lsa_SetSecret r;
NTSTATUS status;
@@ -1296,11 +1296,11 @@ NTSTATUS rpccli_lsa_SetSecret(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_QuerySecret(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *sec_handle,
- struct lsa_DATA_BUF_PTR *new_val,
- NTTIME *new_mtime,
- struct lsa_DATA_BUF_PTR *old_val,
- NTTIME *old_mtime)
+ struct policy_handle *sec_handle /* [in] [ref] */,
+ struct lsa_DATA_BUF_PTR *new_val /* [in,out] [unique] */,
+ NTTIME *new_mtime /* [in,out] [unique] */,
+ struct lsa_DATA_BUF_PTR *old_val /* [in,out] [unique] */,
+ NTTIME *old_mtime /* [in,out] [unique] */)
{
struct lsa_QuerySecret r;
NTSTATUS status;
@@ -1355,9 +1355,9 @@ NTSTATUS rpccli_lsa_QuerySecret(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_LookupPrivValue(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_String *name,
- struct lsa_LUID *luid)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_String *name /* [in] [ref] */,
+ struct lsa_LUID *luid /* [out] [ref] */)
{
struct lsa_LookupPrivValue r;
NTSTATUS status;
@@ -1398,9 +1398,9 @@ NTSTATUS rpccli_lsa_LookupPrivValue(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_LookupPrivName(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_LUID *luid,
- struct lsa_StringLarge *name)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_LUID *luid /* [in] [ref] */,
+ struct lsa_StringLarge *name /* [out] [unique] */)
{
struct lsa_LookupPrivName r;
NTSTATUS status;
@@ -1443,12 +1443,12 @@ NTSTATUS rpccli_lsa_LookupPrivName(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_LookupPrivDisplayName(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_String *name,
- uint16_t language_id,
- uint16_t language_id_sys,
- struct lsa_StringLarge **disp_name,
- uint16_t *returned_language_id)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_String *name /* [in] [ref] */,
+ uint16_t language_id /* [in] */,
+ uint16_t language_id_sys /* [in] */,
+ struct lsa_StringLarge **disp_name /* [out] [ref] */,
+ uint16_t *returned_language_id /* [out] [ref] */)
{
struct lsa_LookupPrivDisplayName r;
NTSTATUS status;
@@ -1492,7 +1492,7 @@ NTSTATUS rpccli_lsa_LookupPrivDisplayName(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_DeleteObject(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle)
+ struct policy_handle *handle /* [in,out] [ref] */)
{
struct lsa_DeleteObject r;
NTSTATUS status;
@@ -1532,9 +1532,9 @@ NTSTATUS rpccli_lsa_DeleteObject(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_EnumAccountsWithUserRight(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_String *name,
- struct lsa_SidArray *sids)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_String *name /* [in] [unique] */,
+ struct lsa_SidArray *sids /* [out] [ref] */)
{
struct lsa_EnumAccountsWithUserRight r;
NTSTATUS status;
@@ -1575,9 +1575,9 @@ NTSTATUS rpccli_lsa_EnumAccountsWithUserRight(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_EnumAccountRights(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct dom_sid2 *sid,
- struct lsa_RightSet *rights)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct dom_sid2 *sid /* [in] [ref] */,
+ struct lsa_RightSet *rights /* [out] [ref] */)
{
struct lsa_EnumAccountRights r;
NTSTATUS status;
@@ -1618,9 +1618,9 @@ NTSTATUS rpccli_lsa_EnumAccountRights(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_AddAccountRights(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct dom_sid2 *sid,
- struct lsa_RightSet *rights)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct dom_sid2 *sid /* [in] [ref] */,
+ struct lsa_RightSet *rights /* [in] [ref] */)
{
struct lsa_AddAccountRights r;
NTSTATUS status;
@@ -1661,10 +1661,10 @@ NTSTATUS rpccli_lsa_AddAccountRights(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_RemoveAccountRights(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct dom_sid2 *sid,
- uint8_t remove_all,
- struct lsa_RightSet *rights)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct dom_sid2 *sid /* [in] [ref] */,
+ uint8_t remove_all /* [in] */,
+ struct lsa_RightSet *rights /* [in] [ref] */)
{
struct lsa_RemoveAccountRights r;
NTSTATUS status;
@@ -1706,10 +1706,10 @@ NTSTATUS rpccli_lsa_RemoveAccountRights(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_QueryTrustedDomainInfoBySid(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct dom_sid2 *dom_sid,
- enum lsa_TrustDomInfoEnum level,
- union lsa_TrustedDomainInfo *info)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct dom_sid2 *dom_sid /* [in] [ref] */,
+ enum lsa_TrustDomInfoEnum level /* [in] */,
+ union lsa_TrustedDomainInfo *info /* [out] [unique,switch_is(level)] */)
{
struct lsa_QueryTrustedDomainInfoBySid r;
NTSTATUS status;
@@ -1790,8 +1790,8 @@ NTSTATUS rpccli_lsa_SetTrustedDomainInfo(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_DeleteTrustedDomain(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct dom_sid2 *dom_sid)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct dom_sid2 *dom_sid /* [in] [ref] */)
{
struct lsa_DeleteTrustedDomain r;
NTSTATUS status;
@@ -1905,10 +1905,10 @@ NTSTATUS rpccli_lsa_RetrievePrivateData(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_OpenPolicy2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- const char *system_name,
- struct lsa_ObjectAttribute *attr,
- uint32_t access_mask,
- struct policy_handle *handle)
+ const char *system_name /* [in] [unique,charset(UTF16)] */,
+ struct lsa_ObjectAttribute *attr /* [in] [ref] */,
+ uint32_t access_mask /* [in] */,
+ struct policy_handle *handle /* [out] [ref] */)
{
struct lsa_OpenPolicy2 r;
NTSTATUS status;
@@ -1950,9 +1950,9 @@ NTSTATUS rpccli_lsa_OpenPolicy2(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_GetUserName(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- const char *system_name,
- struct lsa_String **account_name,
- struct lsa_String **authority_name)
+ const char *system_name /* [in] [unique,charset(UTF16)] */,
+ struct lsa_String **account_name /* [in,out] [ref] */,
+ struct lsa_String **authority_name /* [in,out] [unique] */)
{
struct lsa_GetUserName r;
NTSTATUS status;
@@ -1997,9 +1997,9 @@ NTSTATUS rpccli_lsa_GetUserName(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_QueryInfoPolicy2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- enum lsa_PolicyInfo level,
- union lsa_PolicyInformation **info)
+ struct policy_handle *handle /* [in] [ref] */,
+ enum lsa_PolicyInfo level /* [in] */,
+ union lsa_PolicyInformation **info /* [out] [ref,switch_is(level)] */)
{
struct lsa_QueryInfoPolicy2 r;
NTSTATUS status;
@@ -2040,9 +2040,9 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy2(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_SetInfoPolicy2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- enum lsa_PolicyInfo level,
- union lsa_PolicyInformation *info)
+ struct policy_handle *handle /* [in] [ref] */,
+ enum lsa_PolicyInfo level /* [in] */,
+ union lsa_PolicyInformation *info /* [in] [ref,switch_is(level)] */)
{
struct lsa_SetInfoPolicy2 r;
NTSTATUS status;
@@ -2083,10 +2083,10 @@ NTSTATUS rpccli_lsa_SetInfoPolicy2(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_QueryTrustedDomainInfoByName(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_String *trusted_domain,
- enum lsa_TrustDomInfoEnum level,
- union lsa_TrustedDomainInfo *info)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_String *trusted_domain /* [in] [ref] */,
+ enum lsa_TrustDomInfoEnum level /* [in] */,
+ union lsa_TrustedDomainInfo *info /* [out] [ref,switch_is(level)] */)
{
struct lsa_QueryTrustedDomainInfoByName r;
NTSTATUS status;
@@ -2128,10 +2128,10 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfoByName(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_SetTrustedDomainInfoByName(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_String trusted_domain,
- enum lsa_TrustDomInfoEnum level,
- union lsa_TrustedDomainInfo *info)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_String trusted_domain /* [in] */,
+ enum lsa_TrustDomInfoEnum level /* [in] */,
+ union lsa_TrustedDomainInfo *info /* [in] [unique,switch_is(level)] */)
{
struct lsa_SetTrustedDomainInfoByName r;
NTSTATUS status;
@@ -2173,10 +2173,10 @@ NTSTATUS rpccli_lsa_SetTrustedDomainInfoByName(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_EnumTrustedDomainsEx(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- uint32_t *resume_handle,
- struct lsa_DomainListEx *domains,
- uint32_t max_size)
+ struct policy_handle *handle /* [in] [ref] */,
+ uint32_t *resume_handle /* [in,out] [ref] */,
+ struct lsa_DomainListEx *domains /* [out] [ref] */,
+ uint32_t max_size /* [in] */)
{
struct lsa_EnumTrustedDomainsEx r;
NTSTATUS status;
@@ -2256,7 +2256,7 @@ NTSTATUS rpccli_lsa_CreateTrustedDomainEx(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_CloseTrustedDomainEx(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle)
+ struct policy_handle *handle /* [in,out] [ref] */)
{
struct lsa_CloseTrustedDomainEx r;
NTSTATUS status;
@@ -2296,9 +2296,9 @@ NTSTATUS rpccli_lsa_CloseTrustedDomainEx(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_QueryDomainInformationPolicy(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- uint16_t level,
- union lsa_DomainInformationPolicy *info)
+ struct policy_handle *handle /* [in] [ref] */,
+ uint16_t level /* [in] */,
+ union lsa_DomainInformationPolicy *info /* [out] [unique,switch_is(level)] */)
{
struct lsa_QueryDomainInformationPolicy r;
NTSTATUS status;
@@ -2341,9 +2341,9 @@ NTSTATUS rpccli_lsa_QueryDomainInformationPolicy(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_SetDomainInformationPolicy(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- uint16_t level,
- union lsa_DomainInformationPolicy *info)
+ struct policy_handle *handle /* [in] [ref] */,
+ uint16_t level /* [in] */,
+ union lsa_DomainInformationPolicy *info /* [in] [unique,switch_is(level)] */)
{
struct lsa_SetDomainInformationPolicy r;
NTSTATUS status;
@@ -2384,10 +2384,10 @@ NTSTATUS rpccli_lsa_SetDomainInformationPolicy(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_OpenTrustedDomainByName(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_String name,
- uint32_t access_mask,
- struct policy_handle *trustdom_handle)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_String name /* [in] */,
+ uint32_t access_mask /* [in] */,
+ struct policy_handle *trustdom_handle /* [out] [ref] */)
{
struct lsa_OpenTrustedDomainByName r;
NTSTATUS status;
@@ -2466,14 +2466,14 @@ NTSTATUS rpccli_lsa_TestCall(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_LookupSids2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_SidArray *sids,
- struct lsa_RefDomainList **domains,
- struct lsa_TransNameArray2 *names,
- uint16_t level,
- uint32_t *count,
- uint32_t unknown1,
- uint32_t unknown2)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_SidArray *sids /* [in] [ref] */,
+ struct lsa_RefDomainList **domains /* [out] [ref] */,
+ struct lsa_TransNameArray2 *names /* [in,out] [ref] */,
+ uint16_t level /* [in] */,
+ uint32_t *count /* [in,out] [ref] */,
+ uint32_t unknown1 /* [in] */,
+ uint32_t unknown2 /* [in] */)
{
struct lsa_LookupSids2 r;
NTSTATUS status;
@@ -2521,15 +2521,15 @@ NTSTATUS rpccli_lsa_LookupSids2(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_LookupNames2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- uint32_t num_names,
- struct lsa_String *names,
- struct lsa_RefDomainList **domains,
- struct lsa_TransSidArray2 *sids,
- enum lsa_LookupNamesLevel level,
- uint32_t *count,
- uint32_t unknown1,
- uint32_t unknown2)
+ struct policy_handle *handle /* [in] [ref] */,
+ uint32_t num_names /* [in] [range(0,1000)] */,
+ struct lsa_String *names /* [in] [size_is(num_names)] */,
+ struct lsa_RefDomainList **domains /* [out] [ref] */,
+ struct lsa_TransSidArray2 *sids /* [in,out] [ref] */,
+ enum lsa_LookupNamesLevel level /* [in] */,
+ uint32_t *count /* [in,out] [ref] */,
+ uint32_t unknown1 /* [in] */,
+ uint32_t unknown2 /* [in] */)
{
struct lsa_LookupNames2 r;
NTSTATUS status;
@@ -2911,15 +2911,15 @@ NTSTATUS rpccli_lsa_CREDRPROFILELOADED(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_LookupNames3(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- uint32_t num_names,
- struct lsa_String *names,
- struct lsa_RefDomainList **domains,
- struct lsa_TransSidArray3 *sids,
- enum lsa_LookupNamesLevel level,
- uint32_t *count,
- uint32_t unknown1,
- uint32_t unknown2)
+ struct policy_handle *handle /* [in] [ref] */,
+ uint32_t num_names /* [in] [range(0,1000)] */,
+ struct lsa_String *names /* [in] [size_is(num_names)] */,
+ struct lsa_RefDomainList **domains /* [out] [ref] */,
+ struct lsa_TransSidArray3 *sids /* [in,out] [ref] */,
+ enum lsa_LookupNamesLevel level /* [in] */,
+ uint32_t *count /* [in,out] [ref] */,
+ uint32_t unknown1 /* [in] */,
+ uint32_t unknown2 /* [in] */)
{
struct lsa_LookupNames3 r;
NTSTATUS status;
@@ -3116,10 +3116,10 @@ NTSTATUS rpccli_lsa_LSARUNREGISTERAUDITEVENT(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_lsaRQueryForestTrustInformation(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle,
- struct lsa_String *trusted_domain_name,
- uint16_t unknown,
- struct lsa_ForestTrustInformation **forest_trust_info)
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_String *trusted_domain_name /* [in] [ref] */,
+ uint16_t unknown /* [in] */,
+ struct lsa_ForestTrustInformation **forest_trust_info /* [out] [ref] */)
{
struct lsa_lsaRQueryForestTrustInformation r;
NTSTATUS status;
@@ -3235,13 +3235,13 @@ NTSTATUS rpccli_lsa_CREDRRENAME(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_LookupSids3(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- struct lsa_SidArray *sids,
- struct lsa_RefDomainList **domains,
- struct lsa_TransNameArray2 *names,
- uint16_t level,
- uint32_t *count,
- uint32_t unknown1,
- uint32_t unknown2)
+ struct lsa_SidArray *sids /* [in] [ref] */,
+ struct lsa_RefDomainList **domains /* [out] [ref] */,
+ struct lsa_TransNameArray2 *names /* [in,out] [ref] */,
+ uint16_t level /* [in] */,
+ uint32_t *count /* [in,out] [ref] */,
+ uint32_t unknown1 /* [in] */,
+ uint32_t unknown2 /* [in] */)
{
struct lsa_LookupSids3 r;
NTSTATUS status;
@@ -3288,14 +3288,14 @@ NTSTATUS rpccli_lsa_LookupSids3(struct rpc_pipe_client *cli,
NTSTATUS rpccli_lsa_LookupNames4(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
- uint32_t num_names,
- struct lsa_String *names,
- struct lsa_RefDomainList **domains,
- struct lsa_TransSidArray3 *sids,
- enum lsa_LookupNamesLevel level,
- uint32_t *count,
- uint32_t unknown1,
- uint32_t unknown2)
+ uint32_t num_names /* [in] [range(0,1000)] */,
+ struct lsa_String *names /* [in] [size_is(num_names)] */,
+ struct lsa_RefDomainList **domains /* [out] [ref] */,
+ struct lsa_TransSidArray3 *sids /* [in,out] [ref] */,
+ enum lsa_LookupNamesLevel level /* [in] */,
+ uint32_t *count /* [in,out] [ref] */,
+ uint32_t unknown1 /* [in] */,
+ uint32_t unknown2 /* [in] */)
{
struct lsa_LookupNames4 r;
NTSTATUS status;