Commit e8b21c3e authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

- avoid unicode.h

- add a missing function prototype
parent ca52392b
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "msiquery.h" #include "msiquery.h"
#include "objbase.h" #include "objbase.h"
#include "objidl.h" #include "objidl.h"
#include "wine/unicode.h" #include "winnls.h"
#include "wine/list.h" #include "wine/list.h"
#define MSI_DATASIZEMASK 0x00ff #define MSI_DATASIZEMASK 0x00ff
...@@ -381,6 +381,7 @@ extern UINT MSIREG_OpenUserComponentsKey(LPCWSTR szComponent, HKEY* key, BOOL cr ...@@ -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_OpenComponentsKey(LPCWSTR szComponent, HKEY* key, BOOL create);
extern UINT MSIREG_OpenProductsKey(LPCWSTR szProduct, 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_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); extern UINT MSIREG_OpenUpgradeCodesKey(LPCWSTR szProduct, HKEY* key, BOOL create);
/* msi dialog interface */ /* msi dialog interface */
...@@ -432,8 +433,8 @@ inline static LPWSTR strdupW( LPCWSTR src ) ...@@ -432,8 +433,8 @@ inline static LPWSTR strdupW( LPCWSTR src )
{ {
LPWSTR dest; LPWSTR dest;
if (!src) return NULL; if (!src) return NULL;
dest = HeapAlloc(GetProcessHeap(), 0, (strlenW(src)+1)*sizeof(WCHAR)); dest = HeapAlloc(GetProcessHeap(), 0, (lstrlenW(src)+1)*sizeof(WCHAR));
strcpyW(dest, src); lstrcpyW(dest, src);
return dest; return dest;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment