From 94be5b0d9e87c287ed60da9e19e33331ac15c9b3 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Thu, 5 Oct 2006 13:40:43 +0200 Subject: [PATCH] crypt32: Move some defines to the top as they will be needed in more functions. --- dlls/crypt32/sip.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/crypt32/sip.c b/dlls/crypt32/sip.c index d7936e09054..bfd2ab6188c 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 @@ BOOL WINAPI CryptSIPRemoveProvider(GUID *pgProv) 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;