Commit 5e4fb4b5 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

pstorec: Enable compilation with long types.

parent a9c797e4
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = pstorec.dll MODULE = pstorec.dll
IMPORTS = uuid IMPORTS = uuid
......
...@@ -78,7 +78,7 @@ static ULONG WINAPI PStore_fnAddRef(IPStore* iface) ...@@ -78,7 +78,7 @@ static ULONG WINAPI PStore_fnAddRef(IPStore* iface)
{ {
PStore_impl *This = impl_from_IPStore(iface); PStore_impl *This = impl_from_IPStore(iface);
TRACE("%p %u\n", This, This->ref); TRACE("%p %lu\n", This, This->ref);
return InterlockedIncrement( &This->ref ); return InterlockedIncrement( &This->ref );
} }
...@@ -91,7 +91,7 @@ static ULONG WINAPI PStore_fnRelease(IPStore* iface) ...@@ -91,7 +91,7 @@ static ULONG WINAPI PStore_fnRelease(IPStore* iface)
PStore_impl *This = impl_from_IPStore(iface); PStore_impl *This = impl_from_IPStore(iface);
LONG ref; LONG ref;
TRACE("%p %u\n", This, This->ref); TRACE("%p %lu\n", This, This->ref);
ref = InterlockedDecrement( &This->ref ); ref = InterlockedDecrement( &This->ref );
if( !ref ) if( !ref )
...@@ -135,7 +135,7 @@ static HRESULT WINAPI PStore_fnSetProvParam( IPStore* This, ...@@ -135,7 +135,7 @@ static HRESULT WINAPI PStore_fnSetProvParam( IPStore* This,
static HRESULT WINAPI PStore_fnCreateType( IPStore* This, static HRESULT WINAPI PStore_fnCreateType( IPStore* This,
PST_KEY Key, const GUID* pType, PPST_TYPEINFO pInfo, DWORD dwFlags) PST_KEY Key, const GUID* pType, PPST_TYPEINFO pInfo, DWORD dwFlags)
{ {
FIXME("%p %08x %s %p(%d,%s) %08x\n", This, Key, debugstr_guid(pType), FIXME("%p %08lx %s %p(%ld,%s) %08lx\n", This, Key, debugstr_guid(pType),
pInfo, pInfo->cbSize, debugstr_w(pInfo->szDisplayName), dwFlags); pInfo, pInfo->cbSize, debugstr_w(pInfo->szDisplayName), dwFlags);
return E_NOTIMPL; return E_NOTIMPL;
...@@ -157,7 +157,7 @@ static HRESULT WINAPI PStore_fnGetTypeInfo( IPStore* This, ...@@ -157,7 +157,7 @@ static HRESULT WINAPI PStore_fnGetTypeInfo( IPStore* This,
static HRESULT WINAPI PStore_fnDeleteType( IPStore* This, static HRESULT WINAPI PStore_fnDeleteType( IPStore* This,
PST_KEY Key, const GUID* pType, DWORD dwFlags) PST_KEY Key, const GUID* pType, DWORD dwFlags)
{ {
FIXME("%p %d %s %08x\n", This, Key, debugstr_guid(pType), dwFlags); FIXME("%p %ld %s %08lx\n", This, Key, debugstr_guid(pType), dwFlags);
return E_NOTIMPL; return E_NOTIMPL;
} }
...@@ -168,7 +168,7 @@ static HRESULT WINAPI PStore_fnCreateSubtype( IPStore* This, ...@@ -168,7 +168,7 @@ static HRESULT WINAPI PStore_fnCreateSubtype( IPStore* This,
PST_KEY Key, const GUID* pType, const GUID* pSubtype, PST_KEY Key, const GUID* pType, const GUID* pSubtype,
PPST_TYPEINFO pInfo, PPST_ACCESSRULESET pRules, DWORD dwFlags) PPST_TYPEINFO pInfo, PPST_ACCESSRULESET pRules, DWORD dwFlags)
{ {
FIXME("%p %08x %s %s %p %p %08x\n", This, Key, debugstr_guid(pType), FIXME("%p %08lx %s %s %p %p %08lx\n", This, Key, debugstr_guid(pType),
debugstr_guid(pSubtype), pInfo, pRules, dwFlags); debugstr_guid(pSubtype), pInfo, pRules, dwFlags);
return E_NOTIMPL; return E_NOTIMPL;
} }
...@@ -190,7 +190,7 @@ static HRESULT WINAPI PStore_fnGetSubtypeInfo( IPStore* This, ...@@ -190,7 +190,7 @@ static HRESULT WINAPI PStore_fnGetSubtypeInfo( IPStore* This,
static HRESULT WINAPI PStore_fnDeleteSubtype( IPStore* This, static HRESULT WINAPI PStore_fnDeleteSubtype( IPStore* This,
PST_KEY Key, const GUID* pType, const GUID* pSubtype, DWORD dwFlags) PST_KEY Key, const GUID* pType, const GUID* pSubtype, DWORD dwFlags)
{ {
FIXME("%p %u %s %s %08x\n", This, Key, FIXME("%p %lu %s %s %08lx\n", This, Key,
debugstr_guid(pType), debugstr_guid(pSubtype), dwFlags); debugstr_guid(pType), debugstr_guid(pSubtype), dwFlags);
return E_NOTIMPL; return E_NOTIMPL;
} }
...@@ -255,7 +255,7 @@ static HRESULT WINAPI PStore_fnReadItem( IPStore* This, PST_KEY Key, ...@@ -255,7 +255,7 @@ static HRESULT WINAPI PStore_fnReadItem( IPStore* This, PST_KEY Key,
const GUID* pItemType, const GUID* pItemSubtype, LPCWSTR szItemName, const GUID* pItemType, const GUID* pItemSubtype, LPCWSTR szItemName,
DWORD *cbData, BYTE** pbData, PPST_PROMPTINFO pPromptInfo, DWORD dwFlags) DWORD *cbData, BYTE** pbData, PPST_PROMPTINFO pPromptInfo, DWORD dwFlags)
{ {
FIXME("%p %08x %s %s %s %p %p %p %08x\n", This, Key, FIXME("%p %08lx %s %s %s %p %p %p %08lx\n", This, Key,
debugstr_guid(pItemType), debugstr_guid(pItemSubtype), debugstr_guid(pItemType), debugstr_guid(pItemSubtype),
debugstr_w(szItemName), cbData, pbData, pPromptInfo, dwFlags); debugstr_w(szItemName), cbData, pbData, pPromptInfo, dwFlags);
return E_NOTIMPL; return E_NOTIMPL;
...@@ -269,7 +269,7 @@ static HRESULT WINAPI PStore_fnWriteItem( IPStore* This, PST_KEY Key, ...@@ -269,7 +269,7 @@ static HRESULT WINAPI PStore_fnWriteItem( IPStore* This, PST_KEY Key,
DWORD cbData, BYTE* ppbData, PPST_PROMPTINFO pPromptInfo, DWORD cbData, BYTE* ppbData, PPST_PROMPTINFO pPromptInfo,
DWORD dwDefaultConfirmationStyle, DWORD dwFlags) DWORD dwDefaultConfirmationStyle, DWORD dwFlags)
{ {
FIXME("%p %08x %s %s %s %d %p %p %08x\n", This, Key, FIXME("%p %08lx %s %s %s %ld %p %p %08lx\n", This, Key,
debugstr_guid(pItemType), debugstr_guid(pItemSubtype), debugstr_guid(pItemType), debugstr_guid(pItemSubtype),
debugstr_w(szItemName), cbData, ppbData, pPromptInfo, dwFlags); debugstr_w(szItemName), cbData, ppbData, pPromptInfo, dwFlags);
return E_NOTIMPL; return E_NOTIMPL;
...@@ -282,7 +282,7 @@ static HRESULT WINAPI PStore_fnOpenItem( IPStore* This, PST_KEY Key, ...@@ -282,7 +282,7 @@ static HRESULT WINAPI PStore_fnOpenItem( IPStore* This, PST_KEY Key,
const GUID* pItemType, const GUID* pItemSubtype, LPCWSTR szItemName, const GUID* pItemType, const GUID* pItemSubtype, LPCWSTR szItemName,
PST_ACCESSMODE ModeFlags, PPST_PROMPTINFO pPromptInfo, DWORD dwFlags ) PST_ACCESSMODE ModeFlags, PPST_PROMPTINFO pPromptInfo, DWORD dwFlags )
{ {
FIXME("(%p,%08x,%s,%s,%s,%08x,%p,%08x) stub\n", This, Key, debugstr_guid(pItemType), FIXME("(%p,%08lx,%s,%s,%s,%08lx,%p,%08lx) stub\n", This, Key, debugstr_guid(pItemType),
debugstr_guid(pItemSubtype), debugstr_w(szItemName), ModeFlags, pPromptInfo, dwFlags); debugstr_guid(pItemSubtype), debugstr_w(szItemName), ModeFlags, pPromptInfo, dwFlags);
return E_NOTIMPL; return E_NOTIMPL;
} }
...@@ -341,7 +341,7 @@ HRESULT WINAPI PStoreCreateInstance( IPStore** ppProvider, ...@@ -341,7 +341,7 @@ HRESULT WINAPI PStoreCreateInstance( IPStore** ppProvider,
{ {
PStore_impl *ips; PStore_impl *ips;
TRACE("%p %s %p %08x\n", ppProvider, debugstr_guid(pProviderID), pReserved, dwFlags); TRACE("%p %s %p %08lx\n", ppProvider, debugstr_guid(pProviderID), pReserved, dwFlags);
ips = HeapAlloc( GetProcessHeap(), 0, sizeof (PStore_impl) ); ips = HeapAlloc( GetProcessHeap(), 0, sizeof (PStore_impl) );
if( !ips ) if( !ips )
......
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