Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d6be8fbb
Commit
d6be8fbb
authored
Oct 08, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pstorec: Win64 printf format warning fixes.
parent
1048d9a0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
Makefile.in
dlls/pstorec/Makefile.in
+0
-1
pstorec.c
dlls/pstorec/pstorec.c
+11
-11
No files found.
dlls/pstorec/Makefile.in
View file @
d6be8fbb
...
@@ -5,7 +5,6 @@ VPATH = @srcdir@
...
@@ -5,7 +5,6 @@ VPATH = @srcdir@
MODULE
=
pstorec.dll
MODULE
=
pstorec.dll
IMPORTS
=
ole32 shlwapi advapi32 kernel32
IMPORTS
=
ole32 shlwapi advapi32 kernel32
EXTRALIBS
=
-luuid
EXTRALIBS
=
-luuid
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
C_SRCS
=
\
C_SRCS
=
\
pstorec.c
pstorec.c
...
...
dlls/pstorec/pstorec.c
View file @
d6be8fbb
...
@@ -39,7 +39,7 @@ typedef struct
...
@@ -39,7 +39,7 @@ typedef struct
BOOL
WINAPI
DllMain
(
HINSTANCE
hinst
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinst
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
{
{
TRACE
(
"%p %
l
x %p
\n
"
,
hinst
,
fdwReason
,
fImpLoad
);
TRACE
(
"%p %x %p
\n
"
,
hinst
,
fdwReason
,
fImpLoad
);
switch
(
fdwReason
)
switch
(
fdwReason
)
{
{
...
@@ -89,7 +89,7 @@ static ULONG WINAPI PStore_fnAddRef(IPStore* iface)
...
@@ -89,7 +89,7 @@ static ULONG WINAPI PStore_fnAddRef(IPStore* iface)
{
{
PStore_impl
*
This
=
(
PStore_impl
*
)
iface
;
PStore_impl
*
This
=
(
PStore_impl
*
)
iface
;
TRACE
(
"%p %
l
u
\n
"
,
This
,
This
->
ref
);
TRACE
(
"%p %u
\n
"
,
This
,
This
->
ref
);
return
InterlockedIncrement
(
&
This
->
ref
);
return
InterlockedIncrement
(
&
This
->
ref
);
}
}
...
@@ -102,7 +102,7 @@ static ULONG WINAPI PStore_fnRelease(IPStore* iface)
...
@@ -102,7 +102,7 @@ static ULONG WINAPI PStore_fnRelease(IPStore* iface)
PStore_impl
*
This
=
(
PStore_impl
*
)
iface
;
PStore_impl
*
This
=
(
PStore_impl
*
)
iface
;
LONG
ref
;
LONG
ref
;
TRACE
(
"%p %
l
u
\n
"
,
This
,
This
->
ref
);
TRACE
(
"%p %u
\n
"
,
This
,
This
->
ref
);
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ref
=
InterlockedDecrement
(
&
This
->
ref
);
if
(
!
ref
)
if
(
!
ref
)
...
@@ -146,7 +146,7 @@ static HRESULT WINAPI PStore_fnSetProvParam( IPStore* This,
...
@@ -146,7 +146,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 %08
lx %s %p(%ld,%s) %08l
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pType
),
FIXME
(
"%p %08
x %s %p(%d,%s) %08
x
\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
;
...
@@ -168,7 +168,7 @@ static HRESULT WINAPI PStore_fnGetTypeInfo( IPStore* This,
...
@@ -168,7 +168,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 %
ld %s %08l
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pType
),
dwFlags
);
FIXME
(
"%p %
d %s %08
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pType
),
dwFlags
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -179,7 +179,7 @@ static HRESULT WINAPI PStore_fnCreateSubtype( IPStore* This,
...
@@ -179,7 +179,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 %08
lx %s %s %p %p %08l
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pType
),
FIXME
(
"%p %08
x %s %s %p %p %08
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pType
),
debugstr_guid
(
pSubtype
),
pInfo
,
pRules
,
dwFlags
);
debugstr_guid
(
pSubtype
),
pInfo
,
pRules
,
dwFlags
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -201,7 +201,7 @@ static HRESULT WINAPI PStore_fnGetSubtypeInfo( IPStore* This,
...
@@ -201,7 +201,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 %
lu %s %s %08l
x
\n
"
,
This
,
Key
,
FIXME
(
"%p %
u %s %s %08
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pType
),
debugstr_guid
(
pSubtype
),
dwFlags
);
debugstr_guid
(
pType
),
debugstr_guid
(
pSubtype
),
dwFlags
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -266,7 +266,7 @@ static HRESULT WINAPI PStore_fnReadItem( IPStore* This, PST_KEY Key,
...
@@ -266,7 +266,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_PROMPTIFO
pPromptInfo
,
DWORD
dwFlags
)
DWORD
*
cbData
,
BYTE
**
pbData
,
PPST_PROMPTIFO
pPromptInfo
,
DWORD
dwFlags
)
{
{
FIXME
(
"%p %08
lx %s %s %s %p %p %p %08l
x
\n
"
,
This
,
Key
,
FIXME
(
"%p %08
x %s %s %s %p %p %p %08
x
\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
;
...
@@ -280,7 +280,7 @@ static HRESULT WINAPI PStore_fnWriteItem( IPStore* This, PST_KEY Key,
...
@@ -280,7 +280,7 @@ static HRESULT WINAPI PStore_fnWriteItem( IPStore* This, PST_KEY Key,
DWORD
cbData
,
BYTE
*
ppbData
,
PPST_PROMPTIFO
pPromptInfo
,
DWORD
cbData
,
BYTE
*
ppbData
,
PPST_PROMPTIFO
pPromptInfo
,
DWORD
dwDefaultConfirmationStyle
,
DWORD
dwFlags
)
DWORD
dwDefaultConfirmationStyle
,
DWORD
dwFlags
)
{
{
FIXME
(
"%p %08
lx %s %s %s %ld %p %p %08l
x
\n
"
,
This
,
Key
,
FIXME
(
"%p %08
x %s %s %s %d %p %p %08
x
\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
;
...
@@ -293,7 +293,7 @@ static HRESULT WINAPI PStore_fnOpenItem( IPStore* This, PST_KEY Key,
...
@@ -293,7 +293,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_PROMPTIFO
pProomptInfo
,
DWORD
dwFlags
)
PST_ACCESSMODE
ModeFlags
,
PPST_PROMPTIFO
pProomptInfo
,
DWORD
dwFlags
)
{
{
FIXME
(
"%p %08
lx %s %s %p %08lx %p %08l
x
\n
"
,
This
,
Key
,
FIXME
(
"%p %08
x %s %s %p %08x %p %08
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pItemType
),
debugstr_guid
(
pItemSubtype
),
debugstr_guid
(
pItemType
),
debugstr_guid
(
pItemSubtype
),
debugstr_w
(
szItemName
),
ModeFlags
,
pProomptInfo
,
dwFlags
);
debugstr_w
(
szItemName
),
ModeFlags
,
pProomptInfo
,
dwFlags
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
...
@@ -353,7 +353,7 @@ HRESULT WINAPI PStoreCreateInstance( IPStore** ppProvider,
...
@@ -353,7 +353,7 @@ HRESULT WINAPI PStoreCreateInstance( IPStore** ppProvider,
{
{
PStore_impl
*
ips
;
PStore_impl
*
ips
;
TRACE
(
"%p %s %p %08
l
x
\n
"
,
ppProvider
,
debugstr_guid
(
pProviderID
),
pReserved
,
dwFlags
);
TRACE
(
"%p %s %p %08x
\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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment