Author: ekohl
Date: Sat Oct 16 12:34:04 2010
New Revision: 49165
URL:
http://svn.reactos.org/svn/reactos?rev=49165&view=rev
Log:
[LSASRV]
- Change the calling convention of all LSA-RPC function to stdcall.
- Export some of the LSA-RPC functions.
Modified:
trunk/reactos/dll/win32/lsasrv/lsarpc.c
trunk/reactos/dll/win32/lsasrv/lsasrv.spec
trunk/reactos/include/reactos/idl/lsa.idl
Modified: trunk/reactos/dll/win32/lsasrv/lsarpc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsarpc.c?…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsarpc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lsarpc.c [iso-8859-1] Sat Oct 16 12:34:04 2010
@@ -144,7 +144,7 @@
/* Function 0 */
-NTSTATUS LsarClose(
+NTSTATUS WINAPI LsarClose(
LSAPR_HANDLE *ObjectHandle)
{
NTSTATUS Status = STATUS_SUCCESS;
@@ -170,7 +170,7 @@
/* Function 1 */
-NTSTATUS LsarDelete(
+NTSTATUS WINAPI LsarDelete(
LSAPR_HANDLE ObjectHandle)
{
/* Deprecated */
@@ -179,7 +179,7 @@
/* Function 2 */
-NTSTATUS LsarEnumeratePrivileges(
+NTSTATUS WINAPI LsarEnumeratePrivileges(
LSAPR_HANDLE PolicyHandle,
DWORD *EnumerationContext,
PLSAPR_PRIVILEGE_ENUM_BUFFER EnumerationBuffer,
@@ -191,7 +191,7 @@
/* Function 3 */
-NTSTATUS LsarQuerySecurityObject(
+NTSTATUS WINAPI LsarQuerySecurityObject(
LSAPR_HANDLE ObjectHandle,
SECURITY_INFORMATION SecurityInformation,
PLSAPR_SR_SECURITY_DESCRIPTOR *SecurityDescriptor)
@@ -202,7 +202,7 @@
/* Function 4 */
-NTSTATUS LsarSetSecurityObject(
+NTSTATUS WINAPI LsarSetSecurityObject(
LSAPR_HANDLE ObjectHandle,
SECURITY_INFORMATION SecurityInformation,
PLSAPR_SR_SECURITY_DESCRIPTOR SecurityDescriptor)
@@ -213,7 +213,7 @@
/* Function 5 */
-NTSTATUS LsarChangePassword(
+NTSTATUS WINAPI LsarChangePassword(
handle_t IDL_handle,
PRPC_UNICODE_STRING String1,
PRPC_UNICODE_STRING String2,
@@ -227,7 +227,7 @@
/* Function 6 */
-NTSTATUS LsarOpenPolicy(
+NTSTATUS WINAPI LsarOpenPolicy(
LPWSTR SystemName,
PLSAPR_OBJECT_ATTRIBUTES ObjectAttributes,
ACCESS_MASK DesiredAccess,
@@ -253,7 +253,7 @@
/* Function 7 */
-NTSTATUS LsarQueryInformationPolicy(
+NTSTATUS WINAPI LsarQueryInformationPolicy(
LSAPR_HANDLE PolicyHandle,
POLICY_INFORMATION_CLASS InformationClass,
PLSAPR_POLICY_INFORMATION *PolicyInformation)
@@ -404,7 +404,7 @@
/* Function 8 */
-NTSTATUS LsarSetInformationPolicy(
+NTSTATUS WINAPI LsarSetInformationPolicy(
LSAPR_HANDLE PolicyHandle,
POLICY_INFORMATION_CLASS InformationClass,
PLSAPR_POLICY_INFORMATION PolicyInformation)
@@ -415,7 +415,7 @@
/* Function 9 */
-NTSTATUS LsarClearAuditLog(
+NTSTATUS WINAPI LsarClearAuditLog(
LSAPR_HANDLE ObjectHandle)
{
/* Deprecated */
@@ -424,7 +424,7 @@
/* Function 10 */
-NTSTATUS LsarCreateAccount(
+NTSTATUS WINAPI LsarCreateAccount(
LSAPR_HANDLE PolicyHandle,
PRPC_SID AccountSid,
ACCESS_MASK DesiredAccess,
@@ -436,7 +436,7 @@
/* Function 11 */
-NTSTATUS LsarEnumerateAccounts(
+NTSTATUS WINAPI LsarEnumerateAccounts(
LSAPR_HANDLE PolicyHandle,
DWORD *EnumerationContext,
PLSAPR_ACCOUNT_ENUM_BUFFER EnumerationBuffer,
@@ -448,7 +448,7 @@
/* Function 12 */
-NTSTATUS LsarCreateTrustedDomain(
+NTSTATUS WINAPI LsarCreateTrustedDomain(
LSAPR_HANDLE PolicyHandle,
PLSAPR_TRUST_INFORMATION TrustedDomainInformation,
ACCESS_MASK DesiredAccess,
@@ -460,7 +460,7 @@
/* Function 13 */
-NTSTATUS LsarEnumerateTrustedDomains(
+NTSTATUS WINAPI LsarEnumerateTrustedDomains(
LSAPR_HANDLE PolicyHandle,
DWORD *EnumerationContext,
PLSAPR_TRUSTED_ENUM_BUFFER EnumerationBuffer,
@@ -472,7 +472,7 @@
/* Function 14 */
-NTSTATUS LsarLookupNames(
+NTSTATUS WINAPI LsarLookupNames(
LSAPR_HANDLE PolicyHandle,
DWORD Count,
PRPC_UNICODE_STRING Names,
@@ -570,7 +570,7 @@
/* Function 15 */
-NTSTATUS LsarLookupSids(
+NTSTATUS WINAPI LsarLookupSids(
LSAPR_HANDLE PolicyHandle,
PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
@@ -663,7 +663,7 @@
/* Function 16 */
-NTSTATUS LsarCreateSecret(
+NTSTATUS WINAPI LsarCreateSecret(
LSAPR_HANDLE PolicyHandle,
PRPC_UNICODE_STRING SecretName,
ACCESS_MASK DesiredAccess,
@@ -675,7 +675,7 @@
/* Function 17 */
-NTSTATUS LsarOpenAccount(
+NTSTATUS WINAPI LsarOpenAccount(
LSAPR_HANDLE PolicyHandle,
PRPC_SID AccountSid,
ACCESS_MASK DesiredAccess,
@@ -687,7 +687,7 @@
/* Function 18 */
-NTSTATUS LsarEnumeratePrivilegesAccount(
+NTSTATUS WINAPI LsarEnumeratePrivilegesAccount(
LSAPR_HANDLE AccountHandle,
PLSAPR_PRIVILEGE_SET *Privileges)
{
@@ -697,7 +697,7 @@
/* Function 19 */
-NTSTATUS LsarAddPrivilegesToAccount(
+NTSTATUS WINAPI LsarAddPrivilegesToAccount(
LSAPR_HANDLE AccountHandle,
PLSAPR_PRIVILEGE_SET Privileges)
{
@@ -707,7 +707,7 @@
/* Function 20 */
-NTSTATUS LsarRemovePrivilegesFromAccount(
+NTSTATUS WINAPI LsarRemovePrivilegesFromAccount(
LSAPR_HANDLE AccountHandle,
BOOL AllPrivileges,
PLSAPR_PRIVILEGE_SET Privileges)
@@ -718,7 +718,7 @@
/* Function 21 */
-NTSTATUS LsarGetQuotasForAccount(
+NTSTATUS WINAPI LsarGetQuotasForAccount(
LSAPR_HANDLE AccountHandle,
PQUOTA_LIMITS QuotaLimits)
{
@@ -728,7 +728,7 @@
/* Function 22 */
-NTSTATUS LsarSetQuotasForAccount(
+NTSTATUS WINAPI LsarSetQuotasForAccount(
LSAPR_HANDLE AccountHandle,
PQUOTA_LIMITS QuotaLimits)
{
@@ -738,7 +738,7 @@
/* Function 23 */
-NTSTATUS LsarGetSystemAccessAccount(
+NTSTATUS WINAPI LsarGetSystemAccessAccount(
LSAPR_HANDLE AccountHandle,
ACCESS_MASK *SystemAccess)
{
@@ -748,7 +748,7 @@
/* Function 24 */
-NTSTATUS LsarSetSystemAccessAccount(
+NTSTATUS WINAPI LsarSetSystemAccessAccount(
LSAPR_HANDLE AccountHandle,
ACCESS_MASK SystemAccess)
{
@@ -758,7 +758,7 @@
/* Function 25 */
-NTSTATUS LsarOpenTrustedDomain(
+NTSTATUS WINAPI LsarOpenTrustedDomain(
LSAPR_HANDLE PolicyHandle,
PRPC_SID TrustedDomainSid,
ACCESS_MASK DesiredAccess,
@@ -770,7 +770,7 @@
/* Function 26 */
-NTSTATUS LsarQueryInfoTrustedDomain(
+NTSTATUS WINAPI LsarQueryInfoTrustedDomain(
LSAPR_HANDLE TrustedDomainHandle,
TRUSTED_INFORMATION_CLASS InformationClass,
PLSAPR_TRUSTED_DOMAIN_INFO *TrustedDomainInformation)
@@ -781,7 +781,7 @@
/* Function 27 */
-NTSTATUS LsarSetInformationTrustedDomain(
+NTSTATUS WINAPI LsarSetInformationTrustedDomain(
LSAPR_HANDLE TrustedDomainHandle,
TRUSTED_INFORMATION_CLASS InformationClass,
PLSAPR_TRUSTED_DOMAIN_INFO TrustedDomainInformation)
@@ -792,7 +792,7 @@
/* Function 28 */
-NTSTATUS LsarOpenSecret(
+NTSTATUS WINAPI LsarOpenSecret(
LSAPR_HANDLE PolicyHandle,
PRPC_UNICODE_STRING SecretName,
ACCESS_MASK DesiredAccess,
@@ -804,7 +804,7 @@
/* Function 29 */
-NTSTATUS LsarSetSecret(
+NTSTATUS WINAPI LsarSetSecret(
LSAPR_HANDLE *SecretHandle,
PLSAPR_CR_CIPHER_VALUE EncryptedCurrentValue,
PLSAPR_CR_CIPHER_VALUE EncryptedOldValue)
@@ -815,7 +815,7 @@
/* Function 30 */
-NTSTATUS LsarQuerySecret(
+NTSTATUS WINAPI LsarQuerySecret(
LSAPR_HANDLE SecretHandle,
PLSAPR_CR_CIPHER_VALUE *EncryptedCurrentValue,
PLARGE_INTEGER CurrentValueSetTime,
@@ -828,7 +828,7 @@
/* Function 31 */
-NTSTATUS LsarLookupPrivilegeValue(
+NTSTATUS WINAPI LsarLookupPrivilegeValue(
LSAPR_HANDLE PolicyHandle,
PRPC_UNICODE_STRING Name,
PLUID Value)
@@ -857,7 +857,7 @@
/* Function 32 */
-NTSTATUS LsarLookupPrivilegeName(
+NTSTATUS WINAPI LsarLookupPrivilegeName(
LSAPR_HANDLE PolicyHandle,
PLUID Value,
PRPC_UNICODE_STRING *Name)
@@ -883,7 +883,7 @@
/* Function 33 */
-NTSTATUS LsarLookupPrivilegeDisplayName(
+NTSTATUS WINAPI LsarLookupPrivilegeDisplayName(
LSAPR_HANDLE PolicyHandle,
PRPC_UNICODE_STRING Name,
USHORT ClientLanguage,
@@ -897,7 +897,7 @@
/* Function 34 */
-NTSTATUS LsarDeleteObject(
+NTSTATUS WINAPI LsarDeleteObject(
LSAPR_HANDLE *ObjectHandle)
{
UNIMPLEMENTED;
@@ -906,7 +906,7 @@
/* Function 35 */
-NTSTATUS LsarEnumerateAccountsWithUserRight(
+NTSTATUS WINAPI LsarEnumerateAccountsWithUserRight(
LSAPR_HANDLE PolicyHandle,
PRPC_UNICODE_STRING UserRight,
PLSAPR_ACCOUNT_ENUM_BUFFER EnumerationBuffer)
@@ -917,7 +917,7 @@
/* Function 36 */
-NTSTATUS LsarEnmuerateAccountRights(
+NTSTATUS WINAPI LsarEnmuerateAccountRights(
LSAPR_HANDLE PolicyHandle,
PRPC_SID AccountSid,
PLSAPR_USER_RIGHT_SET UserRights)
@@ -939,7 +939,7 @@
/* Function 37 */
-NTSTATUS LsarAddAccountRights(
+NTSTATUS WINAPI LsarAddAccountRights(
LSAPR_HANDLE PolicyHandle,
PRPC_SID AccountSid,
PLSAPR_USER_RIGHT_SET UserRights)
@@ -950,7 +950,7 @@
/* Function 38 */
-NTSTATUS LsarRemoveAccountRights(
+NTSTATUS WINAPI LsarRemoveAccountRights(
LSAPR_HANDLE PolicyHandle,
PRPC_SID AccountSid,
BOOL AllRights,
@@ -962,7 +962,7 @@
/* Function 39 */
-NTSTATUS LsarQueryTrustedDomainInfo(
+NTSTATUS WINAPI LsarQueryTrustedDomainInfo(
LSAPR_HANDLE PolicyHandle,
PRPC_SID TrustedDomainSid,
TRUSTED_INFORMATION_CLASS InformationClass,
@@ -974,7 +974,7 @@
/* Function 40 */
-NTSTATUS LsarSetTrustedDomainInfo(
+NTSTATUS WINAPI LsarSetTrustedDomainInfo(
LSAPR_HANDLE PolicyHandle,
PRPC_SID TrustedDomainSid,
TRUSTED_INFORMATION_CLASS InformationClass,
@@ -986,7 +986,7 @@
/* Function 41 */
-NTSTATUS LsarDeleteTrustedDomain(
+NTSTATUS WINAPI LsarDeleteTrustedDomain(
LSAPR_HANDLE PolicyHandle,
PRPC_SID TrustedDomainSid)
{
@@ -996,7 +996,7 @@
/* Function 42 */
-NTSTATUS LsarStorePrivateData(
+NTSTATUS WINAPI LsarStorePrivateData(
LSAPR_HANDLE PolicyHandle,
PRPC_UNICODE_STRING KeyName,
PLSAPR_CR_CIPHER_VALUE EncryptedData)
@@ -1007,7 +1007,7 @@
/* Function 43 */
-NTSTATUS LsarRetrievePrivateData(
+NTSTATUS WINAPI LsarRetrievePrivateData(
LSAPR_HANDLE PolicyHandle,
PRPC_UNICODE_STRING KeyName,
PLSAPR_CR_CIPHER_VALUE *EncryptedData)
@@ -1018,7 +1018,7 @@
/* Function 44 */
-NTSTATUS LsarOpenPolicy2(
+NTSTATUS WINAPI LsarOpenPolicy2(
LPWSTR SystemName,
PLSAPR_OBJECT_ATTRIBUTES ObjectAttributes,
ACCESS_MASK DesiredAccess,
@@ -1030,7 +1030,7 @@
/* Function 45 */
-NTSTATUS LsarGetUserName(
+NTSTATUS WINAPI LsarGetUserName(
LPWSTR SystemName,
PRPC_UNICODE_STRING *UserName,
PRPC_UNICODE_STRING *DomainName)
@@ -1041,7 +1041,7 @@
/* Function 46 */
-NTSTATUS LsarQueryInformationPolicy2(
+NTSTATUS WINAPI LsarQueryInformationPolicy2(
LSAPR_HANDLE PolicyHandle,
POLICY_INFORMATION_CLASS InformationClass,
unsigned long *PolicyInformation)
@@ -1052,7 +1052,7 @@
/* Function 47 */
-NTSTATUS LsarSetInformationPolicy2(
+NTSTATUS WINAPI LsarSetInformationPolicy2(
LSAPR_HANDLE PolicyHandle,
POLICY_INFORMATION_CLASS InformationClass,
unsigned long PolicyInformation)
@@ -1063,7 +1063,7 @@
/* Function 48 */
-NTSTATUS LsarQueryTrustedDomainInfoByName(
+NTSTATUS WINAPI LsarQueryTrustedDomainInfoByName(
LSAPR_HANDLE PolicyHandle,
PRPC_UNICODE_STRING TrustedDomainName,
POLICY_INFORMATION_CLASS InformationClass,
@@ -1075,7 +1075,7 @@
/* Function 49 */
-NTSTATUS LsarSetTrustedDomainInfoByName(
+NTSTATUS WINAPI LsarSetTrustedDomainInfoByName(
LSAPR_HANDLE PolicyHandle,
PRPC_UNICODE_STRING TrustedDomainName,
POLICY_INFORMATION_CLASS InformationClass,
@@ -1087,7 +1087,7 @@
/* Function 50 */
-NTSTATUS LsarEnumerateTrustedDomainsEx(
+NTSTATUS WINAPI LsarEnumerateTrustedDomainsEx(
LSAPR_HANDLE PolicyHandle,
DWORD *EnumerationContext,
PLSAPR_TRUSTED_ENUM_BUFFER_EX EnumerationBuffer,
@@ -1099,7 +1099,7 @@
/* Function 51 */
-NTSTATUS LsarCreateTrustedDomainEx(
+NTSTATUS WINAPI LsarCreateTrustedDomainEx(
LSAPR_HANDLE PolicyHandle,
PLSAPR_TRUSTED_DOMAIN_INFORMATION_EX TrustedDomainInformation,
PLSAPR_TRUSTED_DOMAIN_AUTH_INFORMATION AuthentificationInformation,
@@ -1112,7 +1112,7 @@
/* Function 52 */
-NTSTATUS LsarSetPolicyReplicationHandle(
+NTSTATUS WINAPI LsarSetPolicyReplicationHandle(
PLSAPR_HANDLE PolicyHandle)
{
/* Deprecated */
@@ -1121,7 +1121,7 @@
/* Function 53 */
-NTSTATUS LsarQueryDomainInformationPolicy(
+NTSTATUS WINAPI LsarQueryDomainInformationPolicy(
LSAPR_HANDLE PolicyHandle,
POLICY_INFORMATION_CLASS InformationClass,
unsigned long *PolicyInformation)
@@ -1132,7 +1132,7 @@
/* Function 54 */
-NTSTATUS LsarSetDomainInformationPolicy(
+NTSTATUS WINAPI LsarSetDomainInformationPolicy(
LSAPR_HANDLE PolicyHandle,
POLICY_INFORMATION_CLASS InformationClass,
unsigned long PolicyInformation)
@@ -1143,7 +1143,7 @@
/* Function 55 */
-NTSTATUS LsarOpenTrustedDomainByName(
+NTSTATUS WINAPI LsarOpenTrustedDomainByName(
LSAPR_HANDLE PolicyHandle,
PRPC_UNICODE_STRING TrustedDomainName,
ACCESS_MASK DesiredAccess,
@@ -1155,7 +1155,7 @@
/* Function 56 */
-NTSTATUS LsarTestCall(
+NTSTATUS WINAPI LsarTestCall(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1164,7 +1164,7 @@
/* Function 57 */
-NTSTATUS LsarLookupSids2(
+NTSTATUS WINAPI LsarLookupSids2(
LSAPR_HANDLE PolicyHandle,
PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
@@ -1180,7 +1180,7 @@
/* Function 58 */
-NTSTATUS LsarLookupNames2(
+NTSTATUS WINAPI LsarLookupNames2(
LSAPR_HANDLE PolicyHandle,
DWORD Count,
PRPC_UNICODE_STRING Names,
@@ -1197,7 +1197,7 @@
/* Function 59 */
-NTSTATUS LsarCreateTrustedDomainEx2(
+NTSTATUS WINAPI LsarCreateTrustedDomainEx2(
LSAPR_HANDLE PolicyHandle,
PLSAPR_TRUSTED_DOMAIN_INFORMATION_EX TrustedDomainInformation,
PLSAPR_TRUSTED_DOMAIN_AUTH_INFORMATION_INTERNAL AuthentificationInformation,
@@ -1210,7 +1210,7 @@
/* Function 60 */
-NTSTATUS CredrWrite(
+NTSTATUS WINAPI CredrWrite(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1219,7 +1219,7 @@
/* Function 61 */
-NTSTATUS CredrRead(
+NTSTATUS WINAPI CredrRead(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1228,7 +1228,7 @@
/* Function 62 */
-NTSTATUS CredrEnumerate(
+NTSTATUS WINAPI CredrEnumerate(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1237,7 +1237,7 @@
/* Function 63 */
-NTSTATUS CredrWriteDomainCredentials(
+NTSTATUS WINAPI CredrWriteDomainCredentials(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1246,7 +1246,7 @@
/* Function 64 */
-NTSTATUS CredrReadDomainCredentials(
+NTSTATUS WINAPI CredrReadDomainCredentials(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1255,7 +1255,7 @@
/* Function 65 */
-NTSTATUS CredrDelete(
+NTSTATUS WINAPI CredrDelete(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1264,7 +1264,7 @@
/* Function 66 */
-NTSTATUS CredrGetTargetInfo(
+NTSTATUS WINAPI CredrGetTargetInfo(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1273,7 +1273,7 @@
/* Function 67 */
-NTSTATUS CredrProfileLoaded(
+NTSTATUS WINAPI CredrProfileLoaded(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1282,7 +1282,7 @@
/* Function 68 */
-NTSTATUS LsarLookupNames3(
+NTSTATUS WINAPI LsarLookupNames3(
LSAPR_HANDLE PolicyHandle,
DWORD Count,
PRPC_UNICODE_STRING Names,
@@ -1299,7 +1299,7 @@
/* Function 69 */
-NTSTATUS CredrGetSessionTypes(
+NTSTATUS WINAPI CredrGetSessionTypes(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1308,7 +1308,7 @@
/* Function 70 */
-NTSTATUS LsarRegisterAuditEvent(
+NTSTATUS WINAPI LsarRegisterAuditEvent(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1317,7 +1317,7 @@
/* Function 71 */
-NTSTATUS LsarGenAuditEvent(
+NTSTATUS WINAPI LsarGenAuditEvent(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1326,7 +1326,7 @@
/* Function 72 */
-NTSTATUS LsarUnregisterAuditEvent(
+NTSTATUS WINAPI LsarUnregisterAuditEvent(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1335,7 +1335,7 @@
/* Function 73 */
-NTSTATUS LsarQueryForestTrustInformation(
+NTSTATUS WINAPI LsarQueryForestTrustInformation(
LSAPR_HANDLE PolicyHandle,
PLSA_UNICODE_STRING TrustedDomainName,
LSA_FOREST_TRUST_RECORD_TYPE HighestRecordType,
@@ -1347,7 +1347,7 @@
/* Function 74 */
-NTSTATUS LsarSetForestTrustInformation(
+NTSTATUS WINAPI LsarSetForestTrustInformation(
LSAPR_HANDLE PolicyHandle,
PLSA_UNICODE_STRING TrustedDomainName,
LSA_FOREST_TRUST_RECORD_TYPE HighestRecordType,
@@ -1361,7 +1361,7 @@
/* Function 75 */
-NTSTATUS CredrRename(
+NTSTATUS WINAPI CredrRename(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1370,7 +1370,7 @@
/* Function 76 */
-NTSTATUS LsarLookupSids3(
+NTSTATUS WINAPI LsarLookupSids3(
LSAPR_HANDLE PolicyHandle,
PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
@@ -1386,7 +1386,7 @@
/* Function 77 */
-NTSTATUS LsarLookupNames4(
+NTSTATUS WINAPI LsarLookupNames4(
handle_t RpcHandle,
DWORD Count,
PRPC_UNICODE_STRING Names,
@@ -1403,7 +1403,7 @@
/* Function 78 */
-NTSTATUS LsarOpenPolicySce(
+NTSTATUS WINAPI LsarOpenPolicySce(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1412,7 +1412,7 @@
/* Function 79 */
-NTSTATUS LsarAdtRegisterSecurityEventSource(
+NTSTATUS WINAPI LsarAdtRegisterSecurityEventSource(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1421,7 +1421,7 @@
/* Function 80 */
-NTSTATUS LsarAdtUnregisterSecurityEventSource(
+NTSTATUS WINAPI LsarAdtUnregisterSecurityEventSource(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1430,7 +1430,7 @@
/* Function 81 */
-NTSTATUS LsarAdtReportSecurityEvent(
+NTSTATUS WINAPI LsarAdtReportSecurityEvent(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1439,7 +1439,7 @@
/* Function 82 */
-NTSTATUS CredrFindBestCredential(
+NTSTATUS WINAPI CredrFindBestCredential(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1448,7 +1448,7 @@
/* Function 83 */
-NTSTATUS LsarSetAuditPolicy(
+NTSTATUS WINAPI LsarSetAuditPolicy(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1457,7 +1457,7 @@
/* Function 84 */
-NTSTATUS LsarQueryAuditPolicy(
+NTSTATUS WINAPI LsarQueryAuditPolicy(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1466,7 +1466,7 @@
/* Function 85 */
-NTSTATUS LsarEnumerateAuditPolicy(
+NTSTATUS WINAPI LsarEnumerateAuditPolicy(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1475,7 +1475,7 @@
/* Function 86 */
-NTSTATUS LsarEnumerateAuditCategories(
+NTSTATUS WINAPI LsarEnumerateAuditCategories(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1484,7 +1484,7 @@
/* Function 87 */
-NTSTATUS LsarEnumerateAuditSubCategories(
+NTSTATUS WINAPI LsarEnumerateAuditSubCategories(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1493,7 +1493,7 @@
/* Function 88 */
-NTSTATUS LsarLookupAuditCategoryName(
+NTSTATUS WINAPI LsarLookupAuditCategoryName(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1502,7 +1502,7 @@
/* Function 89 */
-NTSTATUS LsarLookupAuditSubCategoryName(
+NTSTATUS WINAPI LsarLookupAuditSubCategoryName(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1511,7 +1511,7 @@
/* Function 90 */
-NTSTATUS LsarSetAuditSecurity(
+NTSTATUS WINAPI LsarSetAuditSecurity(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1520,7 +1520,7 @@
/* Function 91 */
-NTSTATUS LsarQueryAuditSecurity(
+NTSTATUS WINAPI LsarQueryAuditSecurity(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1529,7 +1529,7 @@
/* Function 92 */
-NTSTATUS CredReadByTokenHandle(
+NTSTATUS WINAPI CredReadByTokenHandle(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1538,7 +1538,7 @@
/* Function 93 */
-NTSTATUS CredrRestoreCredentials(
+NTSTATUS WINAPI CredrRestoreCredentials(
handle_t hBinding)
{
UNIMPLEMENTED;
@@ -1547,7 +1547,7 @@
/* Function 94 */
-NTSTATUS CredrBackupCredentials(
+NTSTATUS WINAPI CredrBackupCredentials(
handle_t hBinding)
{
UNIMPLEMENTED;
Modified: trunk/reactos/dll/win32/lsasrv/lsasrv.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsasrv.sp…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsasrv.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lsasrv.spec [iso-8859-1] Sat Oct 16 12:34:04 2010
@@ -30,36 +30,36 @@
@ stub LsaISetupWasRun
@ stub LsapAuOpenSam
@ stdcall LsapInitLsa()
- @ stub LsarAddPrivilegesToAccount
- @ stub LsarClose
- @ stub LsarCreateAccount
- @ stub LsarCreateSecret
- @ stub LsarCreateTrustedDomain
- @ stub LsarDelete
- @ stub LsarEnumerateAccounts
- @ stub LsarEnumeratePrivileges
- @ stub LsarEnumeratePrivilegesAccount
- @ stub LsarEnumerateTrustedDomains
- @ stub LsarGetQuotasForAccount
- @ stub LsarGetSystemAccessAccount
- @ stub LsarLookupNames
- @ stub LsarLookupPrivilegeDisplayName
- @ stub LsarLookupPrivilegeName
- @ stub LsarLookupPrivilegeValue
- @ stub LsarLookupSids
- @ stub LsarOpenAccount
- @ stub LsarOpenPolicy
- @ stub LsarOpenSecret
- @ stub LsarOpenTrustedDomain
- @ stub LsarQueryInfoTrustedDomain
- @ stub LsarQueryInformationPolicy
- @ stub LsarQuerySecret
- @ stub LsarQuerySecurityObject
- @ stub LsarRemovePrivilegesFromAccount
- @ stub LsarSetInformationPolicy
- @ stub LsarSetInformationTrustedDomain
- @ stub LsarSetQuotasForAccount
- @ stub LsarSetSecret
- @ stub LsarSetSecurityObject
- @ stub LsarSetSystemAccessAccount
+ @ stdcall LsarAddPrivilegesToAccount(ptr ptr)
+ @ stdcall LsarClose(ptr)
+ @ stdcall LsarCreateAccount(ptr ptr long ptr)
+ @ stdcall LsarCreateSecret(ptr ptr long ptr)
+ @ stdcall LsarCreateTrustedDomain(ptr ptr long ptr)
+ @ stdcall LsarDelete(ptr)
+ @ stdcall LsarEnumerateAccounts(ptr ptr ptr long)
+ @ stdcall LsarEnumeratePrivileges(ptr ptr ptr long)
+ @ stdcall LsarEnumeratePrivilegesAccount(ptr ptr)
+ @ stdcall LsarEnumerateTrustedDomains(ptr ptr ptr long)
+ @ stdcall LsarGetQuotasForAccount(ptr ptr)
+ @ stdcall LsarGetSystemAccessAccount(ptr ptr)
+ @ stdcall LsarLookupNames(ptr long ptr ptr ptr long ptr)
+ @ stdcall LsarLookupPrivilegeDisplayName(ptr ptr long long ptr ptr)
+ @ stdcall LsarLookupPrivilegeName(ptr ptr ptr)
+ @ stdcall LsarLookupPrivilegeValue(ptr ptr ptr)
+ @ stdcall LsarLookupSids(ptr ptr ptr ptr long ptr)
+ @ stdcall LsarOpenAccount(ptr ptr long ptr)
+ @ stdcall LsarOpenPolicy(ptr ptr long ptr)
+ @ stdcall LsarOpenSecret(ptr ptr long ptr)
+ @ stdcall LsarOpenTrustedDomain(ptr ptr long ptr)
+ @ stdcall LsarQueryInfoTrustedDomain(ptr long ptr)
+ @ stdcall LsarQueryInformationPolicy(ptr long ptr)
+ @ stdcall LsarQuerySecret(ptr ptr ptr ptr ptr)
+ @ stdcall LsarQuerySecurityObject(ptr long ptr)
+ @ stdcall LsarRemovePrivilegesFromAccount(ptr long ptr)
+ @ stdcall LsarSetInformationPolicy(ptr long ptr)
+ @ stdcall LsarSetInformationTrustedDomain(ptr long ptr)
+ @ stdcall LsarSetQuotasForAccount(ptr ptr)
+ @ stdcall LsarSetSecret(ptr ptr ptr)
+ @ stdcall LsarSetSecurityObject(ptr long ptr)
+ @ stdcall LsarSetSystemAccessAccount(ptr long)
@ stdcall ServiceInit()
Modified: trunk/reactos/include/reactos/idl/lsa.idl
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/idl/lsa.id…
==============================================================================
--- trunk/reactos/include/reactos/idl/lsa.idl [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/idl/lsa.idl [iso-8859-1] Sat Oct 16 12:34:04 2010
@@ -592,34 +592,34 @@
interface lsarpc
{
/* Function 0 */
- NTSTATUS LsarClose(
+ NTSTATUS __stdcall LsarClose(
[in, out] LSAPR_HANDLE *ObjectHandle);
/* Function 1 */
- NTSTATUS LsarDelete(
+ NTSTATUS __stdcall LsarDelete(
[in] LSAPR_HANDLE ObjectHandle);
/* Function 2 */
- NTSTATUS LsarEnumeratePrivileges(
+ NTSTATUS __stdcall LsarEnumeratePrivileges(
[in] LSAPR_HANDLE PolicyHandle,
[in, out] DWORD *EnumerationContext,
[out] PLSAPR_PRIVILEGE_ENUM_BUFFER EnumerationBuffer,
[in] DWORD PreferedMaximumLength);
/* Function 3 */
- NTSTATUS LsarQuerySecurityObject(
+ NTSTATUS __stdcall LsarQuerySecurityObject(
[in] LSAPR_HANDLE ObjectHandle,
[in] SECURITY_INFORMATION SecurityInformation,
[out] PLSAPR_SR_SECURITY_DESCRIPTOR *SecurityDescriptor);
/* Function 4 */
- NTSTATUS LsarSetSecurityObject(
+ NTSTATUS __stdcall LsarSetSecurityObject(
[in] LSAPR_HANDLE ObjectHandle,
[in] SECURITY_INFORMATION SecurityInformation,
[in] PLSAPR_SR_SECURITY_DESCRIPTOR SecurityDescriptor);
/* Function 5 */
- NTSTATUS LsarChangePassword(
+ NTSTATUS __stdcall LsarChangePassword(
[in] PRPC_UNICODE_STRING String1,
[in] PRPC_UNICODE_STRING String2,
[in] PRPC_UNICODE_STRING String3,
@@ -627,58 +627,58 @@
[in] PRPC_UNICODE_STRING String5);
/* Function 6 */
- NTSTATUS LsarOpenPolicy(
+ NTSTATUS __stdcall LsarOpenPolicy(
[in, unique] PLSAPR_SERVER_NAME SystemName,
[in] PLSAPR_OBJECT_ATTRIBUTES ObjectAttributes,
[in] ACCESS_MASK DesiredAccess,
[out] LSAPR_HANDLE *PolicyHandle);
/* Function 7 */
- NTSTATUS LsarQueryInformationPolicy(
+ NTSTATUS __stdcall LsarQueryInformationPolicy(
[in] LSAPR_HANDLE PolicyHandle,
[in] POLICY_INFORMATION_CLASS InformationClass,
[out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION
*PolicyInformation);
/* Function 8 */
- NTSTATUS LsarSetInformationPolicy(
+ NTSTATUS __stdcall LsarSetInformationPolicy(
[in] LSAPR_HANDLE PolicyHandle,
[in] POLICY_INFORMATION_CLASS InformationClass,
[in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION PolicyInformation);
/* Function 9 */
- NTSTATUS LsarClearAuditLog(
+ NTSTATUS __stdcall LsarClearAuditLog(
[in] LSAPR_HANDLE ObjectHandle);
/* Function 10 */
- NTSTATUS LsarCreateAccount(
+ NTSTATUS __stdcall LsarCreateAccount(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_SID AccountSid,
[in] ACCESS_MASK DesiredAccess,
[out] LSAPR_HANDLE *AccountHandle);
/* Function 11 */
- NTSTATUS LsarEnumerateAccounts(
+ NTSTATUS __stdcall LsarEnumerateAccounts(
[in] LSAPR_HANDLE PolicyHandle,
[in, out] DWORD *EnumerationContext,
[out] PLSAPR_ACCOUNT_ENUM_BUFFER EnumerationBuffer,
[in] DWORD PreferedMaximumLength);
/* Function 12 */
- NTSTATUS LsarCreateTrustedDomain(
+ NTSTATUS __stdcall LsarCreateTrustedDomain(
[in] LSAPR_HANDLE PolicyHandle,
[in] PLSAPR_TRUST_INFORMATION TrustedDomainInformation,
[in] ACCESS_MASK DesiredAccess,
[out] LSAPR_HANDLE *TrustedDomainHandle);
/* Function 13 */
- NTSTATUS LsarEnumerateTrustedDomains(
+ NTSTATUS __stdcall LsarEnumerateTrustedDomains(
[in] LSAPR_HANDLE PolicyHandle,
[in, out] DWORD *EnumerationContext,
[out] PLSAPR_TRUSTED_ENUM_BUFFER EnumerationBuffer,
[in] DWORD PreferedMaximumLength);
/* Function 14 */
- NTSTATUS LsarLookupNames(
+ NTSTATUS __stdcall LsarLookupNames(
[in] LSAPR_HANDLE PolicyHandle,
[in] DWORD Count,
[in, size_is(Count)] PRPC_UNICODE_STRING Names,
@@ -688,7 +688,7 @@
[in, out] DWORD *MappedCount);
/* Function 15 */
- NTSTATUS LsarLookupSids(
+ NTSTATUS __stdcall LsarLookupSids(
[in] LSAPR_HANDLE PolicyHandle,
[in] PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
[out] PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
@@ -697,89 +697,89 @@
[in, out] DWORD *MappedCount);
/* Function 16 */
- NTSTATUS LsarCreateSecret(
+ NTSTATUS __stdcall LsarCreateSecret(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_UNICODE_STRING SecretName,
[in] ACCESS_MASK DesiredAccess,
[out] LSAPR_HANDLE *SecretHandle);
/* Function 17 */
- NTSTATUS LsarOpenAccount(
+ NTSTATUS __stdcall LsarOpenAccount(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_SID AccountSid,
[in] ACCESS_MASK DesiredAccess,
[out] LSAPR_HANDLE *AccountHandle);
/* Function 18 */
- NTSTATUS LsarEnumeratePrivilegesAccount(
+ NTSTATUS __stdcall LsarEnumeratePrivilegesAccount(
[in] LSAPR_HANDLE AccountHandle,
[out] PLSAPR_PRIVILEGE_SET *Privileges);
/* Function 19 */
- NTSTATUS LsarAddPrivilegesToAccount(
+ NTSTATUS __stdcall LsarAddPrivilegesToAccount(
[in] LSAPR_HANDLE AccountHandle,
[in] PLSAPR_PRIVILEGE_SET Privileges);
/* Function 20 */
- NTSTATUS LsarRemovePrivilegesFromAccount(
+ NTSTATUS __stdcall LsarRemovePrivilegesFromAccount(
[in] LSAPR_HANDLE AccountHandle,
[in] BOOL AllPrivileges,
[in, unique] PLSAPR_PRIVILEGE_SET Privileges);
/* Function 21 */
- NTSTATUS LsarGetQuotasForAccount(
+ NTSTATUS __stdcall LsarGetQuotasForAccount(
[in] LSAPR_HANDLE AccountHandle,
[out] PQUOTA_LIMITS QuotaLimits);
/* Function 22 */
- NTSTATUS LsarSetQuotasForAccount(
+ NTSTATUS __stdcall LsarSetQuotasForAccount(
[in] LSAPR_HANDLE AccountHandle,
[in] PQUOTA_LIMITS QuotaLimits);
/* Function 23 */
- NTSTATUS LsarGetSystemAccessAccount(
+ NTSTATUS __stdcall LsarGetSystemAccessAccount(
[in] LSAPR_HANDLE AccountHandle,
[out] ACCESS_MASK *SystemAccess);
/* Function 24 */
- NTSTATUS LsarSetSystemAccessAccount(
+ NTSTATUS __stdcall LsarSetSystemAccessAccount(
[in] LSAPR_HANDLE AccountHandle,
[in] ACCESS_MASK SystemAccess);
/* Function 25 */
- NTSTATUS LsarOpenTrustedDomain(
+ NTSTATUS __stdcall LsarOpenTrustedDomain(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_SID TrustedDomainSid,
[in] ACCESS_MASK DesiredAccess,
[out] LSAPR_HANDLE *TrustedDomainHandle);
/* Function 26 */
- NTSTATUS LsarQueryInfoTrustedDomain(
+ NTSTATUS __stdcall LsarQueryInfoTrustedDomain(
[in] LSAPR_HANDLE TrustedDomainHandle,
[in] TRUSTED_INFORMATION_CLASS InformationClass,
[out, switch_is(InformationClass)] PLSAPR_TRUSTED_DOMAIN_INFO
*TrustedDomainInformation);
/* Function 27 */
- NTSTATUS LsarSetInformationTrustedDomain(
+ NTSTATUS __stdcall LsarSetInformationTrustedDomain(
[in] LSAPR_HANDLE TrustedDomainHandle,
[in] TRUSTED_INFORMATION_CLASS InformationClass,
[in, switch_is(InformationClass)] PLSAPR_TRUSTED_DOMAIN_INFO
TrustedDomainInformation);
/* Function 28 */
- NTSTATUS LsarOpenSecret(
+ NTSTATUS __stdcall LsarOpenSecret(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_UNICODE_STRING SecretName,
[in] ACCESS_MASK DesiredAccess,
[out] LSAPR_HANDLE *SecretHandle);
/* Function 29 */
- NTSTATUS LsarSetSecret(
+ NTSTATUS __stdcall LsarSetSecret(
[in] LSAPR_HANDLE *SecretHandle,
[in, unique] PLSAPR_CR_CIPHER_VALUE EncryptedCurrentValue,
[in, unique] PLSAPR_CR_CIPHER_VALUE EncryptedOldValue);
/* Function 30 */
- NTSTATUS LsarQuerySecret(
+ NTSTATUS __stdcall LsarQuerySecret(
[in] LSAPR_HANDLE SecretHandle,
[in, out, unique] PLSAPR_CR_CIPHER_VALUE *EncryptedCurrentValue,
[in, out, unique] PLARGE_INTEGER CurrentValueSetTime,
@@ -787,19 +787,19 @@
[in, out, unique] PLARGE_INTEGER OldValueSetTime);
/* Function 31 */
- NTSTATUS LsarLookupPrivilegeValue(
+ NTSTATUS __stdcall LsarLookupPrivilegeValue(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_UNICODE_STRING Name,
[out] PLUID Value);
/* Function 32 */
- NTSTATUS LsarLookupPrivilegeName(
+ NTSTATUS __stdcall LsarLookupPrivilegeName(
[in] LSAPR_HANDLE PolicyHandle,
[in] PLUID Value,
[out] PRPC_UNICODE_STRING *Name);
/* Function 33 */
- NTSTATUS LsarLookupPrivilegeDisplayName(
+ NTSTATUS __stdcall LsarLookupPrivilegeDisplayName(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_UNICODE_STRING Name,
[in] USHORT ClientLanguage,
@@ -808,76 +808,76 @@
[out] USHORT *LanguageReturned);
/* Function 34 */
- NTSTATUS LsarDeleteObject(
+ NTSTATUS __stdcall LsarDeleteObject(
[in, out] LSAPR_HANDLE *ObjectHandle);
cpp_quote("#if _WIN32_WINNT >= 0x0351")
/* Function 35 */
- NTSTATUS LsarEnumerateAccountsWithUserRight(
+ NTSTATUS __stdcall LsarEnumerateAccountsWithUserRight(
[in] LSAPR_HANDLE PolicyHandle,
[in, unique] PRPC_UNICODE_STRING UserRight,
[out] PLSAPR_ACCOUNT_ENUM_BUFFER EnumerationBuffer);
/* Function 36 */
- NTSTATUS LsarEnmuerateAccountRights(
+ NTSTATUS __stdcall LsarEnmuerateAccountRights(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_SID AccountSid,
[out] PLSAPR_USER_RIGHT_SET UserRights);
/* Function 37 */
- NTSTATUS LsarAddAccountRights(
+ NTSTATUS __stdcall LsarAddAccountRights(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_SID AccountSid,
[in] PLSAPR_USER_RIGHT_SET UserRights);
/* Function 38 */
- NTSTATUS LsarRemoveAccountRights(
+ NTSTATUS __stdcall LsarRemoveAccountRights(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_SID AccountSid,
[in] BOOL AllRights,
[in] PLSAPR_USER_RIGHT_SET UserRights);
/* Function 39 */
- NTSTATUS LsarQueryTrustedDomainInfo(
+ NTSTATUS __stdcall LsarQueryTrustedDomainInfo(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_SID TrustedDomainSid,
[in] TRUSTED_INFORMATION_CLASS InformationClass,
[out, switch_is(InformationClass)] PLSAPR_TRUSTED_DOMAIN_INFO
*TrustedDomainInformation);
/* Function 40 */
- NTSTATUS LsarSetTrustedDomainInfo(
+ NTSTATUS __stdcall LsarSetTrustedDomainInfo(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_SID TrustedDomainSid,
[in] TRUSTED_INFORMATION_CLASS InformationClass,
[in, switch_is(InformationClass)] PLSAPR_TRUSTED_DOMAIN_INFO
TrustedDomainInformation);
/* Function 41 */
- NTSTATUS LsarDeleteTrustedDomain(
+ NTSTATUS __stdcall LsarDeleteTrustedDomain(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_SID TrustedDomainSid);
/* Function 42 */
- NTSTATUS LsarStorePrivateData(
+ NTSTATUS __stdcall LsarStorePrivateData(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_UNICODE_STRING KeyName,
[in, unique] PLSAPR_CR_CIPHER_VALUE EncryptedData);
/* Function 43 */
- NTSTATUS LsarRetrievePrivateData(
+ NTSTATUS __stdcall LsarRetrievePrivateData(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_UNICODE_STRING KeyName,
[in, out] PLSAPR_CR_CIPHER_VALUE *EncryptedData);
/* Function 44 */
- NTSTATUS LsarOpenPolicy2(
+ NTSTATUS __stdcall LsarOpenPolicy2(
[in, unique, string] PLSAPR_SERVER_NAME SystemName,
[in] PLSAPR_OBJECT_ATTRIBUTES ObjectAttributes,
[in] ACCESS_MASK DesiredAccess,
[out] LSAPR_HANDLE *PolicyHandle);
/* Function 45 */
- NTSTATUS LsarGetUserName(
+ NTSTATUS __stdcall LsarGetUserName(
[in, unique, string] PLSAPR_SERVER_NAME SystemName,
[in, out] PRPC_UNICODE_STRING *UserName,
[in, out, unique] PRPC_UNICODE_STRING *DomainName);
@@ -885,21 +885,21 @@
cpp_quote("#if _WIN32_WINNT >= 0x0500")
/* Function 46 */
- NTSTATUS LsarQueryInformationPolicy2(
+ NTSTATUS __stdcall LsarQueryInformationPolicy2(
[in] LSAPR_HANDLE PolicyHandle,
[in] POLICY_INFORMATION_CLASS InformationClass,
[out] unsigned long *PolicyInformation);
/* FIXME: should be [out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION
*PolicyInformation); */
/* Function 47 */
- NTSTATUS LsarSetInformationPolicy2(
+ NTSTATUS __stdcall LsarSetInformationPolicy2(
[in] LSAPR_HANDLE PolicyHandle,
[in] POLICY_INFORMATION_CLASS InformationClass,
[in] unsigned long PolicyInformation);
/* FIXME: should be [in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION
PolicyInformation); */
/* Function 48 */
- NTSTATUS LsarQueryTrustedDomainInfoByName(
+ NTSTATUS __stdcall LsarQueryTrustedDomainInfoByName(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_UNICODE_STRING TrustedDomainName,
[in] POLICY_INFORMATION_CLASS InformationClass,
@@ -907,7 +907,7 @@
/* FIXME: should be [out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION
*PolicyInformation); */
/* Function 49 */
- NTSTATUS LsarSetTrustedDomainInfoByName(
+ NTSTATUS __stdcall LsarSetTrustedDomainInfoByName(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_UNICODE_STRING TrustedDomainName,
[in] POLICY_INFORMATION_CLASS InformationClass,
@@ -915,14 +915,14 @@
/* FIXME: should be [in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION
PolicyInformation); */
/* Function 50 */
- NTSTATUS LsarEnumerateTrustedDomainsEx(
+ NTSTATUS __stdcall LsarEnumerateTrustedDomainsEx(
[in] LSAPR_HANDLE PolicyHandle,
[in, out] DWORD *EnumerationContext,
[out] PLSAPR_TRUSTED_ENUM_BUFFER_EX EnumerationBuffer,
[in] DWORD PreferedMaximumLength);
/* Function 51 */
- NTSTATUS LsarCreateTrustedDomainEx(
+ NTSTATUS __stdcall LsarCreateTrustedDomainEx(
[in] LSAPR_HANDLE PolicyHandle,
[in] PLSAPR_TRUSTED_DOMAIN_INFORMATION_EX TrustedDomainInformation,
[in] PLSAPR_TRUSTED_DOMAIN_AUTH_INFORMATION AuthentificationInformation,
@@ -930,36 +930,36 @@
[out] LSAPR_HANDLE *TrustedDomainHandle);
/* Function 52 */
- NTSTATUS LsarSetPolicyReplicationHandle(
+ NTSTATUS __stdcall LsarSetPolicyReplicationHandle(
[in, out] PLSAPR_HANDLE PolicyHandle);
/* Function 53 */
- NTSTATUS LsarQueryDomainInformationPolicy(
+ NTSTATUS __stdcall LsarQueryDomainInformationPolicy(
[in] LSAPR_HANDLE PolicyHandle,
[in] POLICY_INFORMATION_CLASS InformationClass,
[out] unsigned long *PolicyInformation);
/* FIXME: should be [out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION
*PolicyInformation); */
/* Function 54 */
- NTSTATUS LsarSetDomainInformationPolicy(
+ NTSTATUS __stdcall LsarSetDomainInformationPolicy(
[in] LSAPR_HANDLE PolicyHandle,
[in] POLICY_INFORMATION_CLASS InformationClass,
[in] unsigned long PolicyInformation);
/* FIXME: should be [in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION
PolicyInformation); */
/* Function 55 */
- NTSTATUS LsarOpenTrustedDomainByName(
+ NTSTATUS __stdcall LsarOpenTrustedDomainByName(
[in] LSAPR_HANDLE PolicyHandle,
[in] PRPC_UNICODE_STRING TrustedDomainName,
[in] ACCESS_MASK DesiredAccess,
[out] LSAPR_HANDLE *TrustedDomainHandle);
/* Function 56 */
- NTSTATUS LsarTestCall(
+ NTSTATUS __stdcall LsarTestCall(
[in] handle_t hBinding); /* FIXME */
/* Function 57 */
- NTSTATUS LsarLookupSids2(
+ NTSTATUS __stdcall LsarLookupSids2(
[in] LSAPR_HANDLE PolicyHandle,
[in] PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
[out] PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
@@ -970,7 +970,7 @@
[in] DWORD ClientRevision);
/* Function 58 */
- NTSTATUS LsarLookupNames2(
+ NTSTATUS __stdcall LsarLookupNames2(
[in] LSAPR_HANDLE PolicyHandle,
[in] DWORD Count,
[in, size_is(Count)] PRPC_UNICODE_STRING Names,
@@ -982,7 +982,7 @@
[in] DWORD ClientRevision);
/* Function 59 */
- NTSTATUS LsarCreateTrustedDomainEx2(
+ NTSTATUS __stdcall LsarCreateTrustedDomainEx2(
[in] LSAPR_HANDLE PolicyHandle,
[in] PLSAPR_TRUSTED_DOMAIN_INFORMATION_EX TrustedDomainInformation,
[in] PLSAPR_TRUSTED_DOMAIN_AUTH_INFORMATION_INTERNAL
AuthentificationInformation,
@@ -992,39 +992,39 @@
cpp_quote("#if _WIN32_WINNT >= 0x0501")
/* Function 60 */
- NTSTATUS CredrWrite(
+ NTSTATUS __stdcall CredrWrite(
[in] handle_t hBinding); /* FIXME */
/* Function 61 */
- NTSTATUS CredrRead(
+ NTSTATUS __stdcall CredrRead(
[in] handle_t hBinding); /* FIXME */
/* Function 62 */
- NTSTATUS CredrEnumerate(
+ NTSTATUS __stdcall CredrEnumerate(
[in] handle_t hBinding); /* FIXME */
/* Function 63 */
- NTSTATUS CredrWriteDomainCredentials(
+ NTSTATUS __stdcall CredrWriteDomainCredentials(
[in] handle_t hBinding); /* FIXME */
/* Function 64 */
- NTSTATUS CredrReadDomainCredentials(
+ NTSTATUS __stdcall CredrReadDomainCredentials(
[in] handle_t hBinding); /* FIXME */
/* Function 65 */
- NTSTATUS CredrDelete(
+ NTSTATUS __stdcall CredrDelete(
[in] handle_t hBinding); /* FIXME */
/* Function 66 */
- NTSTATUS CredrGetTargetInfo(
+ NTSTATUS __stdcall CredrGetTargetInfo(
[in] handle_t hBinding); /* FIXME */
/* Function 67 */
- NTSTATUS CredrProfileLoaded(
+ NTSTATUS __stdcall CredrProfileLoaded(
[in] handle_t hBinding); /* FIXME */
/* Function 68 */
- NTSTATUS LsarLookupNames3(
+ NTSTATUS __stdcall LsarLookupNames3(
[in] LSAPR_HANDLE PolicyHandle,
[in] DWORD Count,
[in, size_is(Count)] PRPC_UNICODE_STRING Names,
@@ -1036,30 +1036,30 @@
[in] DWORD ClientRevision);
/* Function 69 */
- NTSTATUS CredrGetSessionTypes(
+ NTSTATUS __stdcall CredrGetSessionTypes(
[in] handle_t hBinding); /* FIXME */
/* Function 70 */
- NTSTATUS LsarRegisterAuditEvent(
+ NTSTATUS __stdcall LsarRegisterAuditEvent(
[in] handle_t hBinding); /* FIXME */
/* Function 71 */
- NTSTATUS LsarGenAuditEvent(
+ NTSTATUS __stdcall LsarGenAuditEvent(
[in] handle_t hBinding); /* FIXME */
/* Function 72 */
- NTSTATUS LsarUnregisterAuditEvent(
+ NTSTATUS __stdcall LsarUnregisterAuditEvent(
[in] handle_t hBinding); /* FIXME */
/* Function 73 */
- NTSTATUS LsarQueryForestTrustInformation(
+ NTSTATUS __stdcall LsarQueryForestTrustInformation(
[in] LSAPR_HANDLE PolicyHandle,
[in] PLSA_UNICODE_STRING TrustedDomainName,
[in] LSA_FOREST_TRUST_RECORD_TYPE HighestRecordType,
[out] PLSA_FOREST_TRUST_INFORMATION *ForestTrustInfo);
/* Function 74 */
- NTSTATUS LsarSetForestTrustInformation(
+ NTSTATUS __stdcall LsarSetForestTrustInformation(
[in] LSAPR_HANDLE PolicyHandle,
[in] PLSA_UNICODE_STRING TrustedDomainName,
[in] LSA_FOREST_TRUST_RECORD_TYPE HighestRecordType,
@@ -1068,11 +1068,11 @@
[out] PLSA_FOREST_TRUST_COLLISION_INFORMATION *CollisionInfo);
/* Function 75 */
- NTSTATUS CredrRename(
+ NTSTATUS __stdcall CredrRename(
[in] handle_t hBinding); /* FIXME */
/* Function 76 */
- NTSTATUS LsarLookupSids3(
+ NTSTATUS __stdcall LsarLookupSids3(
[in] LSAPR_HANDLE PolicyHandle,
[in] PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
[out] PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
@@ -1083,7 +1083,7 @@
[in] DWORD ClientRevision);
/* Function 77 */
- NTSTATUS LsarLookupNames4(
+ NTSTATUS __stdcall LsarLookupNames4(
[in] LSAPR_HANDLE PolicyHandle,
[in] DWORD Count,
[in, size_is(Count)] PRPC_UNICODE_STRING Names,
@@ -1095,19 +1095,19 @@
[in] DWORD ClientRevision);
/* Function 78 */
- NTSTATUS LsarOpenPolicySce(
+ NTSTATUS __stdcall LsarOpenPolicySce(
[in] handle_t hBinding); /* FIXME */
/* Function 79 */
- NTSTATUS LsarAdtRegisterSecurityEventSource(
+ NTSTATUS __stdcall LsarAdtRegisterSecurityEventSource(
[in] handle_t hBinding); /* FIXME */
/* Function 80 */
- NTSTATUS LsarAdtUnregisterSecurityEventSource(
+ NTSTATUS __stdcall LsarAdtUnregisterSecurityEventSource(
[in] handle_t hBinding); /* FIXME */
/* Function 81 */
- NTSTATUS LsarAdtReportSecurityEvent(
+ NTSTATUS __stdcall LsarAdtReportSecurityEvent(
[in] handle_t hBinding); /* FIXME */
cpp_quote("#endif /* _WIN32_WINNT >= 0x0501 */")