[INCLUDE]

Fix the declarations of LsarQueryTrustedDomainInfoByName and LsarSetTrustedDomainInfoByName.

svn path=/trunk/; revision=57420
This commit is contained in:
Eric Kohl 2012-09-29 08:39:40 +00:00
parent fccc5788cc
commit 9234c97b19
3 changed files with 5 additions and 7 deletions

View file

@ -1566,7 +1566,7 @@ LsaQueryTrustedDomainInfoByName(IN LSA_HANDLE PolicyHandle,
Status = LsarQueryTrustedDomainInfoByName((LSAPR_HANDLE)PolicyHandle, Status = LsarQueryTrustedDomainInfoByName((LSAPR_HANDLE)PolicyHandle,
(PRPC_UNICODE_STRING)TrustedDomainName, (PRPC_UNICODE_STRING)TrustedDomainName,
InformationClass, InformationClass,
(unsigned long *)Buffer); // Shuld be: (PLSAPR_POLICY_INFORMATION *)Buffer (PLSAPR_TRUSTED_DOMAIN_INFO *)Buffer);
} }
RpcExcept(EXCEPTION_EXECUTE_HANDLER) RpcExcept(EXCEPTION_EXECUTE_HANDLER)
{ {

View file

@ -1812,7 +1812,7 @@ NTSTATUS WINAPI LsarQueryTrustedDomainInfoByName(
LSAPR_HANDLE PolicyHandle, LSAPR_HANDLE PolicyHandle,
PRPC_UNICODE_STRING TrustedDomainName, PRPC_UNICODE_STRING TrustedDomainName,
POLICY_INFORMATION_CLASS InformationClass, POLICY_INFORMATION_CLASS InformationClass,
unsigned long *PolicyInformation) PLSAPR_TRUSTED_DOMAIN_INFO *PolicyInformation)
{ {
UNIMPLEMENTED; UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED; return STATUS_NOT_IMPLEMENTED;
@ -1824,7 +1824,7 @@ NTSTATUS WINAPI LsarSetTrustedDomainInfoByName(
LSAPR_HANDLE PolicyHandle, LSAPR_HANDLE PolicyHandle,
PRPC_UNICODE_STRING TrustedDomainName, PRPC_UNICODE_STRING TrustedDomainName,
POLICY_INFORMATION_CLASS InformationClass, POLICY_INFORMATION_CLASS InformationClass,
unsigned long PolicyInformation) PLSAPR_TRUSTED_DOMAIN_INFO PolicyInformation)
{ {
UNIMPLEMENTED; UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED; return STATUS_NOT_IMPLEMENTED;

View file

@ -902,16 +902,14 @@ cpp_quote("#if _WIN32_WINNT >= 0x0500")
[in] LSAPR_HANDLE PolicyHandle, [in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_UNICODE_STRING TrustedDomainName, [in] PRPC_UNICODE_STRING TrustedDomainName,
[in] POLICY_INFORMATION_CLASS InformationClass, [in] POLICY_INFORMATION_CLASS InformationClass,
[out] unsigned long *PolicyInformation); [out, switch_is(InformationClass)] PLSAPR_TRUSTED_DOMAIN_INFO *PolicyInformation);
/* FIXME: should be [out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION *PolicyInformation); */
/* Function 49 */ /* Function 49 */
NTSTATUS __stdcall LsarSetTrustedDomainInfoByName( NTSTATUS __stdcall LsarSetTrustedDomainInfoByName(
[in] LSAPR_HANDLE PolicyHandle, [in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_UNICODE_STRING TrustedDomainName, [in] PRPC_UNICODE_STRING TrustedDomainName,
[in] POLICY_INFORMATION_CLASS InformationClass, [in] POLICY_INFORMATION_CLASS InformationClass,
[in] unsigned long PolicyInformation); [in, switch_is(InformationClass)] PLSAPR_TRUSTED_DOMAIN_INFO PolicyInformation);
/* FIXME: should be [in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION PolicyInformation); */
/* Function 50 */ /* Function 50 */
NTSTATUS __stdcall LsarEnumerateTrustedDomainsEx( NTSTATUS __stdcall LsarEnumerateTrustedDomainsEx(