[ros-diffs] [hpoussin] 32850: Add some prototypes

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Fri Apr 4 15:44:07 CEST 2008


Author: hpoussin
Date: Fri Apr  4 08:44:06 2008
New Revision: 32850

URL: http://svn.reactos.org/svn/reactos?rev=32850&view=rev
Log:
Add some prototypes

Added:
    trunk/reactos/include/psdk/propvarutil.h   (with props)
Modified:
    trunk/reactos/include/psdk/msi.h
    trunk/reactos/include/psdk/propidl.idl

Modified: trunk/reactos/include/psdk/msi.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/msi.h?rev=32850&r1=32849&r2=32850&view=diff
==============================================================================
--- trunk/reactos/include/psdk/msi.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/msi.h [iso-8859-1] Fri Apr  4 08:44:06 2008
@@ -348,7 +348,7 @@
 /* Source List Info */
 #define INSTALLPROPERTY_LASTUSEDSOURCEA "LastUsedSource"
 static const WCHAR INSTALLPROPERTY_LASTUSEDSOURCEW[] = {'L','a','s','t','U','s','e','d','S','o','u','r','c','e',0};
-#define INSTALLPROPERTY_LASTUSEDSOURCE WINELIB_NAME_AW(INSTALLPROPERTY_LASTUSEDSOURCEW)
+#define INSTALLPROPERTY_LASTUSEDSOURCE WINELIB_NAME_AW(INSTALLPROPERTY_LASTUSEDSOURCE)
 
 #define INSTALLPROPERTY_LASTUSEDTYPEA "LastUsedType"
 static const WCHAR INSTALLPROPERTY_LASTUSEDTYPEW[] = {'L','a','s','t','U','s','e','d','T','y','p','e',0};
@@ -385,6 +385,10 @@
 UINT WINAPI MsiApplyPatchW(LPCWSTR, LPCWSTR, INSTALLTYPE, LPCWSTR);
 #define     MsiApplyPatch WINELIB_NAME_AW(MsiApplyPatch)
 
+UINT WINAPI MsiEnumComponentCostsA(MSIHANDLE, LPCSTR, DWORD, INSTALLSTATE, LPSTR, LPDWORD, LPINT, LPINT);
+UINT WINAPI MsiEnumComponentCostsW(MSIHANDLE, LPCWSTR, DWORD, INSTALLSTATE, LPWSTR, LPDWORD, LPINT, LPINT);
+#define     MsiEnumComponentCosts WINELIB_NAME_AW(MsiEnumComponentCosts)
+
 UINT WINAPI MsiEnumProductsA(DWORD, LPSTR);
 UINT WINAPI MsiEnumProductsW(DWORD, LPWSTR);
 #define     MsiEnumProducts WINELIB_NAME_AW(MsiEnumProducts)
@@ -457,6 +461,10 @@
 UINT WINAPI MsiGetProductInfoW(LPCWSTR, LPCWSTR, LPWSTR, LPDWORD);
 #define     MsiGetProductInfo WINELIB_NAME_AW(MsiGetProductInfo)
 
+UINT WINAPI MsiGetProductInfoExA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, LPCSTR, LPSTR, LPDWORD);
+UINT WINAPI MsiGetProductInfoExW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, LPCWSTR, LPWSTR, LPDWORD);
+#define     MsiGetProductInfoEx WINELIB_NAME_AW(MsiGetProductInfoEx)
+
 UINT WINAPI MsiEnableLogA(DWORD, LPCSTR, DWORD);
 UINT WINAPI MsiEnableLogW(DWORD, LPCWSTR, DWORD);
 #define     MsiEnableLog WINELIB_NAME_AW(MsiEnableLog)
@@ -541,6 +549,16 @@
 UINT WINAPI MsiSourceListAddSourceW(LPCWSTR, LPCWSTR, DWORD, LPCWSTR);
 #define     MsiSourceListAddSource WINELIB_NAME_AW(MsiSourceListAddSource)
 
+UINT WINAPI MsiSourceListEnumMediaDisksA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, DWORD, LPDWORD,
+                                         LPSTR, LPDWORD, LPSTR, LPDWORD);
+UINT WINAPI MsiSourceListEnumMediaDisksW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, DWORD, LPDWORD,
+                                         LPWSTR, LPDWORD, LPWSTR, LPDWORD);
+#define     MsiSourceListEnumMediaDisks WINELIB_NAME_AW(MsiSourceListEnumMediaDisks)
+
+UINT WINAPI MsiSourceListEnumSourcesA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD, DWORD, LPSTR, LPDWORD);
+UINT WINAPI MsiSourceListEnumSourcesW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, DWORD, LPWSTR, LPDWORD);
+#define     MsiSourceListEnumSources WINELIB_NAME_AW(MsiSourceListEnumSources)
+
 UINT WINAPI MsiSourceListClearAllA(LPCSTR, LPCSTR, DWORD);
 UINT WINAPI MsiSourceListClearAllW(LPCWSTR, LPCWSTR, DWORD);
 #define     MsiSourceListClearAll WINELIB_NAME_AW(MsiSourceListClearAll)
@@ -572,6 +590,10 @@
 UINT WINAPI MsiAdvertiseScriptA(LPCSTR, DWORD, PHKEY, BOOL);
 UINT WINAPI MsiAdvertiseScriptW(LPCWSTR, DWORD, PHKEY, BOOL);
 #define     MsiAdvertiseScript WINELIB_NAME_AW(MsiAdvertiseScript)
+
+UINT WINAPI MsiIsProductElevatedA(LPCSTR, BOOL *);
+UINT WINAPI MsiIsProductElevatedW(LPCWSTR, BOOL *);
+#define     MsiIsProductElevated WINELIB_NAME_AW(MsiIsProductElevated)
 
 /* Non Unicode */
 UINT WINAPI MsiCloseHandle(MSIHANDLE);

Modified: trunk/reactos/include/psdk/propidl.idl
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/propidl.idl?rev=32850&r1=32849&r2=32850&view=diff
==============================================================================
--- trunk/reactos/include/psdk/propidl.idl [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/propidl.idl [iso-8859-1] Fri Apr  4 08:44:06 2008
@@ -18,9 +18,10 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef DO_NO_IMPORTS
 import "objidl.idl";
 import "oaidl.idl";
-
+#endif
 
 /*
  * Windows SDK braindamage alert
@@ -205,6 +206,8 @@
 
   typedef struct tagPROPVARIANT *LPPROPVARIANT;
 
+  cpp_quote("#define REFPROPVARIANT const PROPVARIANT *")
+
   cpp_quote("#define PIDDI_THUMBNAIL 0x00000002L /* VT_BLOB */")
   cpp_quote("")
   cpp_quote("#define PIDSI_TITLE        0x00000002L /* VT_LPSTR */")

Added: trunk/reactos/include/psdk/propvarutil.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/propvarutil.h?rev=32850&view=auto
==============================================================================
--- trunk/reactos/include/psdk/propvarutil.h (added)
+++ trunk/reactos/include/psdk/propvarutil.h [iso-8859-1] Fri Apr  4 08:44:06 2008
@@ -1,0 +1,41 @@
+/*
+ * Copyright 2008 James Hawkins for CodeWeavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef __WINE_PROPVARUTIL_H
+#define __WINE_PROPVARUTIL_H
+
+#include <propidl.h>
+#include <shtypes.h>
+#include <shlwapi.h>
+
+enum tagPROPVAR_CHANGE_FLAGS
+{
+    PVCHF_DEFAULT           = 0x00000000,
+    PVCHF_NOVALUEPROP       = 0x00000001,
+    PVCHF_ALPHABOOL         = 0x00000002,
+    PVCHF_NOUSEROVERRIDE    = 0x00000004,
+    PVCHF_LOCALBOOL         = 0x00000008,
+    PVCHF_NOHEXSTRING       = 0x00000010,
+};
+
+typedef int PROPVAR_CHANGE_FLAGS;
+
+HRESULT WINAPI PropVariantChangeType(PROPVARIANT *ppropvarDest, REFPROPVARIANT propvarSrc,
+                                     PROPVAR_CHANGE_FLAGS flags, VARTYPE vt);
+
+#endif /* __WINE_PROPVARUTIL_H */

Propchange: trunk/reactos/include/psdk/propvarutil.h
------------------------------------------------------------------------------
    svn:eol-style = native



More information about the Ros-diffs mailing list