From e8b21c3eeda8c001025b67fda3c7b53f789b4639 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Wed, 1 Jun 2005 11:02:19 +0000 Subject: [PATCH] - avoid unicode.h - add a missing function prototype --- dlls/msi/msipriv.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dlls/msi/msipriv.h b/dlls/msi/msipriv.h index fa6e1e01049..b2098c62f3b 100644 --- a/dlls/msi/msipriv.h +++ b/dlls/msi/msipriv.h @@ -29,7 +29,7 @@ #include "msiquery.h" #include "objbase.h" #include "objidl.h" -#include "wine/unicode.h" +#include "winnls.h" #include "wine/list.h" #define MSI_DATASIZEMASK 0x00ff @@ -381,6 +381,7 @@ extern UINT MSIREG_OpenUserComponentsKey(LPCWSTR szComponent, HKEY* key, BOOL cr extern UINT MSIREG_OpenComponentsKey(LPCWSTR szComponent, HKEY* key, BOOL create); extern UINT MSIREG_OpenProductsKey(LPCWSTR szProduct, HKEY* key, BOOL create); extern UINT MSIREG_OpenUserFeaturesKey(LPCWSTR szProduct, HKEY* key, BOOL create); +extern UINT MSIREG_OpenUserComponentsKey(LPCWSTR szComponent, HKEY* key, BOOL create); extern UINT MSIREG_OpenUpgradeCodesKey(LPCWSTR szProduct, HKEY* key, BOOL create); /* msi dialog interface */ @@ -432,8 +433,8 @@ inline static LPWSTR strdupW( LPCWSTR src ) { LPWSTR dest; if (!src) return NULL; - dest = HeapAlloc(GetProcessHeap(), 0, (strlenW(src)+1)*sizeof(WCHAR)); - strcpyW(dest, src); + dest = HeapAlloc(GetProcessHeap(), 0, (lstrlenW(src)+1)*sizeof(WCHAR)); + lstrcpyW(dest, src); return dest; } -- 2.11.4.GIT