Some stubbing and some stack sizes in exported symbols.
Modified: trunk/reactos/lib/advapi32/advapi32.def
Modified: trunk/reactos/lib/advapi32/crypt/crypt.c

Modified: trunk/reactos/lib/advapi32/advapi32.def
--- trunk/reactos/lib/advapi32/advapi32.def	2005-03-26 21:16:42 UTC (rev 14336)
+++ trunk/reactos/lib/advapi32/advapi32.def	2005-03-26 22:10:04 UTC (rev 14337)
@@ -15,24 +15,24 @@
 AccessCheckAndAuditAlarmA@44
 AccessCheckAndAuditAlarmW@44
 ;AccessCheckByType
-;AccessCheckByTypeAndAuditAlarmA
-;AccessCheckByTypeAndAuditAlarmW
-;AccessCheckByTypeResultList
-;AccessCheckByTypeResultListAndAuditAlarmA
-;AccessCheckByTypeResultListAndAuditAlarmByHandleA
-;AccessCheckByTypeResultListAndAuditAlarmByHandleW
-;AccessCheckByTypeResultListAndAuditAlarmW
+;AccessCheckByTypeAndAuditAlarmA@64
+;AccessCheckByTypeAndAuditAlarmW@64
+;AccessCheckByTypeResultList@44
+;AccessCheckByTypeResultListAndAuditAlarmA@64
+;AccessCheckByTypeResultListAndAuditAlarmByHandleA@68
+;AccessCheckByTypeResultListAndAuditAlarmByHandleW@68
+;AccessCheckByTypeResultListAndAuditAlarmW@64
 AddAccessAllowedAce@16
 AddAccessAllowedAceEx@20
-;AddAccessAllowedObjectAce
+;AddAccessAllowedObjectAce@28
 AddAccessDeniedAce@16
 AddAccessDeniedAceEx@20
-;AddAccessDeniedObjectAce
+;AddAccessDeniedObjectAce@28
 AddAce@20
 AddAuditAccessAce@24
 AddAuditAccessAceEx@28
-;AddAuditAccessObjectAce
-;AddUsersToEncryptedFile
+;AddAuditAccessObjectAce@36
+;AddUsersToEncryptedFile@8
 AdjustTokenGroups@24
 AdjustTokenPrivileges@24
 AllocateAndInitializeSid@44
@@ -41,8 +41,6 @@
 AreAnyAccessesGranted@8
 BackupEventLogA@8
 BackupEventLogW@8
-;BuildAccessRequestA
-;BuildAccessRequestW
 BuildExplicitAccessWithNameA@20
 BuildExplicitAccessWithNameW@20
 BuildImpersonateExplicitAccessWithNameA@24
@@ -53,77 +51,77 @@
 ;BuildSecurityDescriptorW@36
 BuildTrusteeWithNameA@8
 BuildTrusteeWithNameW@8
-;BuildTrusteeWithObjectsAndNameA
-;BuildTrusteeWithObjectsAndNameW
-;BuildTrusteeWithObjectsAndSidA
-;BuildTrusteeWithObjectsAndSidW
+;BuildTrusteeWithObjectsAndNameA@24
+;BuildTrusteeWithObjectsAndNameW@24
+;BuildTrusteeWithObjectsAndSidA@20
+;BuildTrusteeWithObjectsAndSidW@20
 BuildTrusteeWithSidA@8
 BuildTrusteeWithSidW@8
-;CancelOverlappedAccess
-;ChangeServiceConfig2A
-;ChangeServiceConfig2W
+;CancelOverlappedAccess@4
+;ChangeServiceConfig2A@12
+;ChangeServiceConfig2W@12
 ChangeServiceConfigA@44
 ChangeServiceConfigW@44
 CheckTokenMembership@12
 ClearEventLogA@8
 ClearEventLogW@8
-;CloseCodeAuthzLevel
+;CloseCodeAuthzLevel@4
 ;CloseEncryptedFileRaw
 CloseEventLog@4
 CloseServiceHandle@4
-;CloseTrace
-;CommandLineFromMsiDescriptor
-;ComputeAccessTokenFromCodeAuthzLevel
+;CloseTrace@8
+;CommandLineFromMsiDescriptor@12
+;ComputeAccessTokenFromCodeAuthzLevel@20
 ControlService@12
-;ControlTraceA
-;ControlTraceW
-;ConvertAccessToSecurityDescriptorA
-;ConvertAccessToSecurityDescriptorW
-;ConvertSDToStringSDRootDomainA
-;ConvertSDToStringSDRootDomainW
-;ConvertSecurityDescriptorToAccessA
-;ConvertSecurityDescriptorToAccessNamedA
-;ConvertSecurityDescriptorToAccessNamedW
-;ConvertSecurityDescriptorToAccessW
-;ConvertSecurityDescriptorToStringSecurityDescriptorA
-;ConvertSecurityDescriptorToStringSecurityDescriptorW
+;ControlTraceA@12
+;ControlTraceW@12
+;ConvertAccessToSecurityDescriptorA@20
+;ConvertAccessToSecurityDescriptorW@20
+;ConvertSDToStringSDRootDomainA@24
+;ConvertSDToStringSDRootDomainW@24
+;ConvertSecurityDescriptorToAccessA@28
+;ConvertSecurityDescriptorToAccessNamedA=ConvertSecurityDescriptorToAccessA@28
+;ConvertSecurityDescriptorToAccessNamedW=ConvertSecurityDescriptorToAccessW@28
+;ConvertSecurityDescriptorToAccessW@28
+;ConvertSecurityDescriptorToStringSecurityDescriptorA@20
+;ConvertSecurityDescriptorToStringSecurityDescriptorW@20
 ConvertSidToStringSidA@8
 ConvertSidToStringSidW@8
-;ConvertStringSDToSDDomainA
-;ConvertStringSDToSDDomainW
-;ConvertStringSDToSDRootDomainA
-;ConvertStringSDToSDRootDomainW
-;ConvertStringSecurityDescriptorToSecurityDescriptorA
-;ConvertStringSecurityDescriptorToSecurityDescriptorW
-;ConvertStringSidToSidA
-;ConvertStringSidToSidW
-;ConvertToAutoInheritPrivateObjectSecurity
+;ConvertStringSDToSDDomainA@24
+;ConvertStringSDToSDDomainW@24
+;ConvertStringSDToSDRootDomainA@20
+;ConvertStringSDToSDRootDomainW@20
+;ConvertStringSecurityDescriptorToSecurityDescriptorA@20
+;ConvertStringSecurityDescriptorToSecurityDescriptorW@20
+;ConvertStringSidToSidA@8
+;ConvertStringSidToSidW@8
+;ConvertToAutoInheritPrivateObjectSecurity@24
 CopySid@12
-;CreateCodeAuthzLevel
+;CreateCodeAuthzLevel@20
 ;CreatePrivateObjectSecurity@24
-;CreatePrivateObjectSecurityEx
-;CreatePrivateObjectSecurityWithMultipleInheritance
+;CreatePrivateObjectSecurityEx@32
+;CreatePrivateObjectSecurityWithMultipleInheritance@36
 CreateProcessAsUserA@44
 ;CreateProcessAsUserSecure
 CreateProcessAsUserW@44
 ;CreateProcessWithLogonW
-;CreateRestrictedToken
+;CreateRestrictedToken@36
 CreateServiceA@52
 CreateServiceW@52
-;CreateTraceInstanceId
-;CreateWellKnownSid
-;CredDeleteA
-;CredDeleteW
-;CredEnumerateA
-;CredEnumerateW
-;CredFree
-;CredGetSessionTypes
-;CredGetTargetInfoA
-;CredGetTargetInfoW
-;CredIsMarshaledCredentialA
-;CredIsMarshaledCredentialW
-;CredMarshalCredentialA
-;CredMarshalCredentialW
+;CreateTraceInstanceId@8
+;CreateWellKnownSid@16
+;CredDeleteA@12
+;CredDeleteW@12
+;CredEnumerateA@16
+;CredEnumerateW@16
+;CredFree@4
+;CredGetSessionTypes@8
+;CredGetTargetInfoA@12
+;CredGetTargetInfoW@12
+;CredIsMarshaledCredentialA@4
+;CredIsMarshaledCredentialW@4
+;CredMarshalCredentialA@12
+;CredMarshalCredentialW@12
 ;CredProfileLoaded
 ;CredReadA
 ;CredReadDomainCredentialsA
@@ -149,18 +147,18 @@
 CryptDeriveKey@20
 CryptDestroyHash@4
 CryptDestroyKey@4
-;CryptDuplicateHash
-;CryptDuplicateKey
+;CryptDuplicateHash@16
+;CryptDuplicateKey@16
 CryptEncrypt@28
-;CryptEnumProviderTypesA
-;CryptEnumProviderTypesW
-;CryptEnumProvidersA
-;CryptEnumProvidersW
+;CryptEnumProviderTypesA@24
+;CryptEnumProviderTypesW@24
+;CryptEnumProvidersA@24
+;CryptEnumProvidersW@24
 CryptExportKey@24
 CryptGenKey@16
 CryptGenRandom@12
-;CryptGetDefaultProviderA
-;CryptGetDefaultProviderW
+;CryptGetDefaultProviderA@20
+;CryptGetDefaultProviderW@20
 CryptGetHashParam@20
 CryptGetKeyParam@20
 CryptGetProvParam@20
@@ -173,15 +171,15 @@
 CryptSetKeyParam@16
 CryptSetProvParam@16
 CryptSetProviderA@8
-;CryptSetProviderExA
-;CryptSetProviderExW
+;CryptSetProviderExA@16
+;CryptSetProviderExW@16
 CryptSetProviderW@8
 CryptSignHashA@24
 ;CryptSignHashW@24
 CryptVerifySignatureA@24
-;CryptVerifySignatureW@24
-;DecryptFileA
-;DecryptFileW
+CryptVerifySignatureW@24
+;DecryptFileA@8
+;DecryptFileW@8
 DeleteAce@8
 DeleteService@4
 DeregisterEventSource@4
@@ -316,8 +314,8 @@
 InitializeSecurityDescriptor@8
 InitializeSid@12
 InitiateSystemShutdownA@20
-;InitiateSystemShutdownExA
-;InitiateSystemShutdownExW
+;InitiateSystemShutdownExA@24
+;InitiateSystemShutdownExW@24
 InitiateSystemShutdownW@20
 ;InstallApplication
 IsTextUnicode@12=NTDLL.RtlIsTextUnicode

Modified: trunk/reactos/lib/advapi32/crypt/crypt.c
--- trunk/reactos/lib/advapi32/crypt/crypt.c	2005-03-26 21:16:42 UTC (rev 14336)
+++ trunk/reactos/lib/advapi32/crypt/crypt.c	2005-03-26 22:10:04 UTC (rev 14337)
@@ -1887,6 +1887,17 @@
 		key->hPrivate, NULL, dwFlags);
 }
 
+BOOL WINAPI
+CryptVerifySignatureW (HCRYPTHASH hHash,
+			BYTE *pbSignature,
+			DWORD dwSigLen,
+			HCRYPTKEY hPubKey,
+			LPCWSTR sDescription,
+			DWORD dwFlags)
+{
+	OutputDebugStringA ("ADVAPI32!CryptVerifySignatureW not implemented!");
+	return FALSE;
+}
 
 /*
    These functions have nearly identical prototypes to CryptProtectMemory and CryptUnprotectMemory,