[crypt32 1/3] Move some defines to the top as they will be needed
in more functions
Paul Vriens
Paul.Vriens at xs4all.nl
Thu Oct 5 06:40:43 CDT 2006
Hi,
the next 3 patches is just to do some groundwork. These defines will be needed
in CryptSIPLoad.
Changelog
Move some defines to the top as they will be needed in more functions
Cheers,
Paul.
---
dlls/crypt32/sip.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/crypt32/sip.c b/dlls/crypt32/sip.c
index d7936e0..bfd2ab6 100644
--- a/dlls/crypt32/sip.c
+++ b/dlls/crypt32/sip.c
@@ -56,6 +56,9 @@ static const WCHAR szIsMyFile[] = {
static const WCHAR szIsMyFile2[] = {
'I','s','M','y','F','i','l','e','T','y','p','e','2','\\',0};
+static const WCHAR szDllName[] = { 'D','l','l',0 };
+static const WCHAR szFuncName[] = { 'F','u','n','c','N','a','m','e',0 };
+
/* convert a guid to a wide character string */
static void CRYPT_guid2wstr( LPGUID guid, LPWSTR wstr )
{
@@ -150,8 +153,6 @@ #undef CRYPT_SIPREMOVEPROV
static LONG CRYPT_SIPWriteFunction( LPGUID guid, LPCWSTR szKey,
LPCWSTR szDll, LPCWSTR szFunction )
{
- static const WCHAR szDllName[] = { 'D','l','l',0 };
- static const WCHAR szFuncName[] = { 'F','u','n','c','N','a','m','e',0 };
WCHAR szFullKey[ 0x100 ];
LONG r = ERROR_SUCCESS;
HKEY hKey;
--
1.4.2.3
More information about the wine-patches
mailing list