Warning fixes for devenum by Stefan Ginsberg

svn path=/trunk/; revision=34414
This commit is contained in:
Colin Finck 2008-07-10 16:26:28 +00:00
parent b72b1e87db
commit af3974cb4a
3 changed files with 5 additions and 5 deletions

View file

@ -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>

View file

@ -67,7 +67,7 @@ typedef struct
typedef struct
{
IEnumMonikerVtbl *lpVtbl;
DWORD ref;
LONG ref;
DWORD index;
HKEY hkey;
} EnumMonikerImpl;
@ -76,7 +76,7 @@ typedef struct
{
IMonikerVtbl *lpVtbl;
ULONG ref;
LONG ref;
HKEY hkey;
} MediaCatMoniker;

View file

@ -40,7 +40,7 @@ static ULONG WINAPI DEVENUM_IPropertyBag_AddRef(LPPROPERTYBAG iface);
typedef struct
{
IPropertyBagVtbl *lpVtbl;
DWORD ref;
LONG ref;
HKEY hkey;
} RegPropBagImpl;
@ -103,7 +103,7 @@ static HRESULT WINAPI DEVENUM_IPropertyBag_Read(
IErrorLog* pErrorLog)
{
LPVOID pData = NULL;
LONG received;
DWORD received;
DWORD type = 0;
RegPropBagImpl *This = (RegPropBagImpl *)iface;
HRESULT res = S_OK;