Author: cfinck
Date: Thu Jul 10 11:26:28 2008
New Revision: 34414
URL:
http://svn.reactos.org/svn/reactos?rev=34414&view=rev
Log:
Warning fixes for devenum by Stefan Ginsberg
Modified:
trunk/reactos/dll/directx/devenum/devenum.rbuild
trunk/reactos/dll/directx/devenum/devenum_private.h
trunk/reactos/dll/directx/devenum/mediacatenum.c
Modified: trunk/reactos/dll/directx/devenum/devenum.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/devenum/devenu…
==============================================================================
--- trunk/reactos/dll/directx/devenum/devenum.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/devenum/devenum.rbuild [iso-8859-1] Thu Jul 10 11:26:28
2008
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
-<module name="devenum" type="win32dll"
baseaddress="${BASEADDRESS_DEVENUM}" installbase="system32"
installname="devenum.dll" allowwarnings="true"
unicode="yes">
+<module name="devenum" type="win32dll"
baseaddress="${BASEADDRESS_DEVENUM}" installbase="system32"
installname="devenum.dll" unicode="yes">
<!-- Won't load correctly in ReactOS yet autoregister
infsection="OleControlDlls" type="DllRegisterServer" -->
<importlibrary definition="devenum.spec.def" />
<include base="devenum">.</include>
Modified: trunk/reactos/dll/directx/devenum/devenum_private.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/devenum/devenu…
==============================================================================
--- trunk/reactos/dll/directx/devenum/devenum_private.h [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/devenum/devenum_private.h [iso-8859-1] Thu Jul 10 11:26:28
2008
@@ -67,7 +67,7 @@
typedef struct
{
IEnumMonikerVtbl *lpVtbl;
- DWORD ref;
+ LONG ref;
DWORD index;
HKEY hkey;
} EnumMonikerImpl;
@@ -76,7 +76,7 @@
{
IMonikerVtbl *lpVtbl;
- ULONG ref;
+ LONG ref;
HKEY hkey;
} MediaCatMoniker;
Modified: trunk/reactos/dll/directx/devenum/mediacatenum.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/devenum/mediac…
==============================================================================
--- trunk/reactos/dll/directx/devenum/mediacatenum.c [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/devenum/mediacatenum.c [iso-8859-1] Thu Jul 10 11:26:28
2008
@@ -40,7 +40,7 @@
typedef struct
{
IPropertyBagVtbl *lpVtbl;
- DWORD ref;
+ LONG ref;
HKEY hkey;
} RegPropBagImpl;
@@ -103,7 +103,7 @@
IErrorLog* pErrorLog)
{
LPVOID pData = NULL;
- LONG received;
+ DWORD received;
DWORD type = 0;
RegPropBagImpl *This = (RegPropBagImpl *)iface;
HRESULT res = S_OK;