[IDL] Fix coding style and indentation

This commit is contained in:
Eric Kohl 2018-10-27 15:48:21 +02:00
parent 3a9fe2b1bf
commit bc08438c7a
3 changed files with 62 additions and 56 deletions

View file

@ -161,9 +161,9 @@ interface browser
NET_API_STATUS NET_API_STATUS
__stdcall __stdcall
I_BrowserrQueryOtherDomains( I_BrowserrQueryOtherDomains(
[in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName, [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName,
[in, out] LPSERVER_ENUM_STRUCT EnumStruct, [in, out] LPSERVER_ENUM_STRUCT EnumStruct,
[out] LPDWORD TotalEntries); [out] LPDWORD TotalEntries);
/* Function 3 */ /* Function 3 */
NET_API_STATUS NET_API_STATUS
@ -189,7 +189,7 @@ interface browser
NET_API_STATUS NET_API_STATUS
__stdcall __stdcall
I_BrowserrResetStatistics( I_BrowserrResetStatistics(
[in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName); [in, string, unique] BROWSER_IDENTIFY_HANDLE ServerName);
/* Function 7 (NetrBrowserStatisticsClear) */ /* Function 7 (NetrBrowserStatisticsClear) */
NET_API_STATUS NET_API_STATUS

View file

@ -847,7 +847,7 @@ interface pnp
__stdcall __stdcall
PNP_QueryArbitratorFreeData( PNP_QueryArbitratorFreeData(
[in] handle_t hBinding, [in] handle_t hBinding,
[out,size_is(DataLen)] BYTE *pData, [out, size_is(DataLen)] BYTE *pData,
[in] DWORD DataLen, [in] DWORD DataLen,
[in, string, ref] LPWSTR pDeviceID, [in, string, ref] LPWSTR pDeviceID,
[in] RESOURCEID ResourceID, [in] RESOURCEID ResourceID,

View file

@ -852,7 +852,7 @@ interface samr
NTSTATUS NTSTATUS
__stdcall __stdcall
SamrCloseHandle( SamrCloseHandle(
[in,out] SAMPR_HANDLE *SamHandle); [in, out] SAMPR_HANDLE *SamHandle);
/* Function 2 */ /* Function 2 */
NTSTATUS NTSTATUS
@ -889,7 +889,7 @@ interface samr
__stdcall __stdcall
SamrEnumerateDomainsInSamServer( SamrEnumerateDomainsInSamServer(
[in] SAMPR_HANDLE ServerHandle, [in] SAMPR_HANDLE ServerHandle,
[in,out] unsigned long *EnumerationContext, [in, out] unsigned long *EnumerationContext,
[out] PSAMPR_ENUMERATION_BUFFER *Buffer, [out] PSAMPR_ENUMERATION_BUFFER *Buffer,
[in] unsigned long PreferedMaximumLength, [in] unsigned long PreferedMaximumLength,
[out] unsigned long *CountReturned); [out] unsigned long *CountReturned);
@ -934,7 +934,7 @@ interface samr
__stdcall __stdcall
SamrEnumerateGroupsInDomain( SamrEnumerateGroupsInDomain(
[in] SAMPR_HANDLE DomainHandle, [in] SAMPR_HANDLE DomainHandle,
[in,out] unsigned long *EnumerationContext, [in, out] unsigned long *EnumerationContext,
[out] PSAMPR_ENUMERATION_BUFFER *Buffer, [out] PSAMPR_ENUMERATION_BUFFER *Buffer,
[in] unsigned long PreferedMaximumLength, [in] unsigned long PreferedMaximumLength,
[out] unsigned long *CountReturned); [out] unsigned long *CountReturned);
@ -942,55 +942,61 @@ interface samr
/* Function 12 */ /* Function 12 */
NTSTATUS NTSTATUS
__stdcall __stdcall
SamrCreateUserInDomain([in] SAMPR_HANDLE DomainHandle, SamrCreateUserInDomain(
[in] PRPC_UNICODE_STRING Name, [in] SAMPR_HANDLE DomainHandle,
[in] ACCESS_MASK DesiredAccess, [in] PRPC_UNICODE_STRING Name,
[out] SAMPR_HANDLE *UserHandle, [in] ACCESS_MASK DesiredAccess,
[out] unsigned long *RelativeId); [out] SAMPR_HANDLE *UserHandle,
[out] unsigned long *RelativeId);
/* Function 13 */ /* Function 13 */
NTSTATUS NTSTATUS
__stdcall __stdcall
SamrEnumerateUsersInDomain([in] SAMPR_HANDLE DomainHandle, SamrEnumerateUsersInDomain(
[in,out] unsigned long *EnumerationContext, [in] SAMPR_HANDLE DomainHandle,
[in] unsigned long UserAccountControl, [in, out] unsigned long *EnumerationContext,
[out] PSAMPR_ENUMERATION_BUFFER *Buffer, [in] unsigned long UserAccountControl,
[in] unsigned long PreferedMaximumLength, [out] PSAMPR_ENUMERATION_BUFFER *Buffer,
[out] unsigned long *CountReturned); [in] unsigned long PreferedMaximumLength,
[out] unsigned long *CountReturned);
/* Function 14 */ /* Function 14 */
NTSTATUS NTSTATUS
__stdcall __stdcall
SamrCreateAliasInDomain([in] SAMPR_HANDLE DomainHandle, SamrCreateAliasInDomain(
[in] PRPC_UNICODE_STRING AccountName, [in] SAMPR_HANDLE DomainHandle,
[in] ACCESS_MASK DesiredAccess, [in] PRPC_UNICODE_STRING AccountName,
[out] SAMPR_HANDLE *AliasHandle, [in] ACCESS_MASK DesiredAccess,
[out] unsigned long *RelativeId); [out] SAMPR_HANDLE *AliasHandle,
[out] unsigned long *RelativeId);
/* Function 15 */ /* Function 15 */
NTSTATUS NTSTATUS
__stdcall __stdcall
SamrEnumerateAliasesInDomain([in] SAMPR_HANDLE DomainHandle, SamrEnumerateAliasesInDomain(
[in,out] unsigned long *EnumerationContext, [in] SAMPR_HANDLE DomainHandle,
[out] PSAMPR_ENUMERATION_BUFFER *Buffer, [in, out] unsigned long *EnumerationContext,
[in] unsigned long PreferedMaximumLength, [out] PSAMPR_ENUMERATION_BUFFER *Buffer,
[out] unsigned long *CountReturned); [in] unsigned long PreferedMaximumLength,
[out] unsigned long *CountReturned);
/* Function 16 */ /* Function 16 */
NTSTATUS NTSTATUS
__stdcall __stdcall
SamrGetAliasMembership([in] SAMPR_HANDLE DomainHandle, SamrGetAliasMembership(
[in] PSAMPR_PSID_ARRAY SidArray, [in] SAMPR_HANDLE DomainHandle,
[out] PSAMPR_ULONG_ARRAY Membership); [in] PSAMPR_PSID_ARRAY SidArray,
[out] PSAMPR_ULONG_ARRAY Membership);
/* Function 17 */ /* Function 17 */
NTSTATUS NTSTATUS
__stdcall __stdcall
SamrLookupNamesInDomain([in] SAMPR_HANDLE DomainHandle, SamrLookupNamesInDomain(
[in, range(0, 1000)] unsigned long Count, [in] SAMPR_HANDLE DomainHandle,
[in, size_is(1000), length_is(Count)] RPC_UNICODE_STRING Names[*], [in, range(0, 1000)] unsigned long Count,
[out] PSAMPR_ULONG_ARRAY RelativeIds, [in, size_is(1000), length_is(Count)] RPC_UNICODE_STRING Names[*],
[out] PSAMPR_ULONG_ARRAY Use); [out] PSAMPR_ULONG_ARRAY RelativeIds,
[out] PSAMPR_ULONG_ARRAY Use);
/* Function 18 */ /* Function 18 */
NTSTATUS NTSTATUS
@ -1039,7 +1045,7 @@ interface samr
NTSTATUS NTSTATUS
__stdcall __stdcall
SamrDeleteGroup( SamrDeleteGroup(
[in,out] SAMPR_HANDLE *GroupHandle); [in, out] SAMPR_HANDLE *GroupHandle);
/* Function 24 */ /* Function 24 */
NTSTATUS NTSTATUS
@ -1299,37 +1305,37 @@ interface samr
__stdcall __stdcall
SamrOemChangePasswordUser2( SamrOemChangePasswordUser2(
[in] handle_t BindingHandle, [in] handle_t BindingHandle,
[in,unique] PRPC_STRING ServerName, [in, unique] PRPC_STRING ServerName,
[in] PRPC_STRING UserName, [in] PRPC_STRING UserName,
[in,unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldLm, [in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldLm,
[in,unique] PENCRYPTED_LM_OWF_PASSWORD OldLmOwfPasswordEncryptedWithNewLm); [in, unique] PENCRYPTED_LM_OWF_PASSWORD OldLmOwfPasswordEncryptedWithNewLm);
/* Function 55 */ /* Function 55 */
NTSTATUS NTSTATUS
__stdcall __stdcall
SamrUnicodeChangePasswordUser2( SamrUnicodeChangePasswordUser2(
[in] handle_t BindingHandle, [in] handle_t BindingHandle,
[in,unique] PRPC_UNICODE_STRING ServerName, [in, unique] PRPC_UNICODE_STRING ServerName,
[in] PRPC_UNICODE_STRING UserName, [in] PRPC_UNICODE_STRING UserName,
[in,unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldNt, [in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldNt,
[in,unique] PENCRYPTED_NT_OWF_PASSWORD OldNtOwfPasswordEncryptedWithNewNt, [in, unique] PENCRYPTED_NT_OWF_PASSWORD OldNtOwfPasswordEncryptedWithNewNt,
[in] unsigned char LmPresent, [in] unsigned char LmPresent,
[in,unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldLm, [in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldLm,
[in,unique] PENCRYPTED_LM_OWF_PASSWORD OldLmOwfPasswordEncryptedWithNewNt); [in, unique] PENCRYPTED_LM_OWF_PASSWORD OldLmOwfPasswordEncryptedWithNewNt);
/* Function 56 */ /* Function 56 */
NTSTATUS NTSTATUS
__stdcall __stdcall
SamrGetDomainPasswordInformation( SamrGetDomainPasswordInformation(
[in] handle_t BindingHandle, [in] handle_t BindingHandle,
[in,unique] PRPC_UNICODE_STRING Unused, [in, unique] PRPC_UNICODE_STRING Unused,
[out] PUSER_DOMAIN_PASSWORD_INFORMATION PasswordInformation); [out] PUSER_DOMAIN_PASSWORD_INFORMATION PasswordInformation);
/* Function 57 */ /* Function 57 */
NTSTATUS NTSTATUS
__stdcall __stdcall
SamrConnect2( SamrConnect2(
[in,unique,string] PSAMPR_SERVER_NAME ServerName, [in, unique, string] PSAMPR_SERVER_NAME ServerName,
[out] SAMPR_HANDLE *ServerHandle, [out] SAMPR_HANDLE *ServerHandle,
[in] ACCESS_MASK DesiredAccess); [in] ACCESS_MASK DesiredAccess);
@ -1363,7 +1369,7 @@ interface samr
NTSTATUS NTSTATUS
__stdcall __stdcall
SamrConnect4( SamrConnect4(
[in,unique,string] PSAMPR_SERVER_NAME ServerName, [in, unique, string] PSAMPR_SERVER_NAME ServerName,
[out] SAMPR_HANDLE *ServerHandle, [out] SAMPR_HANDLE *ServerHandle,
[in] unsigned long ClientRevision, [in] unsigned long ClientRevision,
[in] ACCESS_MASK DesiredAccess); [in] ACCESS_MASK DesiredAccess);
@ -1378,12 +1384,12 @@ interface samr
NTSTATUS NTSTATUS
__stdcall __stdcall
SamrConnect5( SamrConnect5(
[in,unique,string] PSAMPR_SERVER_NAME ServerName, [in, unique, string] PSAMPR_SERVER_NAME ServerName,
[in] ACCESS_MASK DesiredAccess, [in] ACCESS_MASK DesiredAccess,
[in] unsigned long InVersion, [in] unsigned long InVersion,
[in,switch_is(InVersion)] SAMPR_REVISION_INFO *InRevisionInfo, [in, switch_is(InVersion)] SAMPR_REVISION_INFO *InRevisionInfo,
[out] unsigned long *OutVersion, [out] unsigned long *OutVersion,
[out,switch_is(*OutVersion)] SAMPR_REVISION_INFO *OutRevisionInfo, [out, switch_is(*OutVersion)] SAMPR_REVISION_INFO *OutRevisionInfo,
[out] SAMPR_HANDLE *ServerHandle); [out] SAMPR_HANDLE *ServerHandle);
/* Function 65 */ /* Function 65 */
@ -1399,9 +1405,9 @@ interface samr
__stdcall __stdcall
SamrSetDSRMPassword( SamrSetDSRMPassword(
[in] handle_t BindingHandle, [in] handle_t BindingHandle,
[in,unique] PRPC_UNICODE_STRING Unused, [in, unique] PRPC_UNICODE_STRING Unused,
[in] unsigned long UserId, [in] unsigned long UserId,
[in,unique] PENCRYPTED_NT_OWF_PASSWORD EncryptedNtOwfPassword); [in, unique] PENCRYPTED_NT_OWF_PASSWORD EncryptedNtOwfPassword);
/* Function 67 */ /* Function 67 */
NTSTATUS NTSTATUS
@ -1409,6 +1415,6 @@ interface samr
SamrValidatePassword( SamrValidatePassword(
[in] handle_t Handle, [in] handle_t Handle,
[in] PASSWORD_POLICY_VALIDATION_TYPE ValidationType, [in] PASSWORD_POLICY_VALIDATION_TYPE ValidationType,
[in,switch_is(ValidationType)] PSAM_VALIDATE_INPUT_ARG InputArg, [in, switch_is(ValidationType)] PSAM_VALIDATE_INPUT_ARG InputArg,
[out,switch_is(ValidationType)] PSAM_VALIDATE_OUTPUT_ARG *OutputArg); [out, switch_is(ValidationType)] PSAM_VALIDATE_OUTPUT_ARG *OutputArg);
} }