Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5e4fb4b5
Commit
5e4fb4b5
authored
Feb 17, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pstorec: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a9c797e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
11 deletions
+10
-11
Makefile.in
dlls/pstorec/Makefile.in
+0
-1
pstorec.c
dlls/pstorec/pstorec.c
+10
-10
No files found.
dlls/pstorec/Makefile.in
View file @
5e4fb4b5
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
pstorec.dll
IMPORTS
=
uuid
...
...
dlls/pstorec/pstorec.c
View file @
5e4fb4b5
...
...
@@ -78,7 +78,7 @@ static ULONG WINAPI PStore_fnAddRef(IPStore* iface)
{
PStore_impl
*
This
=
impl_from_IPStore
(
iface
);
TRACE
(
"%p %u
\n
"
,
This
,
This
->
ref
);
TRACE
(
"%p %
l
u
\n
"
,
This
,
This
->
ref
);
return
InterlockedIncrement
(
&
This
->
ref
);
}
...
...
@@ -91,7 +91,7 @@ static ULONG WINAPI PStore_fnRelease(IPStore* iface)
PStore_impl
*
This
=
impl_from_IPStore
(
iface
);
LONG
ref
;
TRACE
(
"%p %u
\n
"
,
This
,
This
->
ref
);
TRACE
(
"%p %
l
u
\n
"
,
This
,
This
->
ref
);
ref
=
InterlockedDecrement
(
&
This
->
ref
);
if
(
!
ref
)
...
...
@@ -135,7 +135,7 @@ static HRESULT WINAPI PStore_fnSetProvParam( IPStore* This,
static
HRESULT
WINAPI
PStore_fnCreateType
(
IPStore
*
This
,
PST_KEY
Key
,
const
GUID
*
pType
,
PPST_TYPEINFO
pInfo
,
DWORD
dwFlags
)
{
FIXME
(
"%p %08
x %s %p(%d,%s) %08
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pType
),
FIXME
(
"%p %08
lx %s %p(%ld,%s) %08l
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pType
),
pInfo
,
pInfo
->
cbSize
,
debugstr_w
(
pInfo
->
szDisplayName
),
dwFlags
);
return
E_NOTIMPL
;
...
...
@@ -157,7 +157,7 @@ static HRESULT WINAPI PStore_fnGetTypeInfo( IPStore* This,
static
HRESULT
WINAPI
PStore_fnDeleteType
(
IPStore
*
This
,
PST_KEY
Key
,
const
GUID
*
pType
,
DWORD
dwFlags
)
{
FIXME
(
"%p %
d %s %08
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pType
),
dwFlags
);
FIXME
(
"%p %
ld %s %08l
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pType
),
dwFlags
);
return
E_NOTIMPL
;
}
...
...
@@ -168,7 +168,7 @@ static HRESULT WINAPI PStore_fnCreateSubtype( IPStore* This,
PST_KEY
Key
,
const
GUID
*
pType
,
const
GUID
*
pSubtype
,
PPST_TYPEINFO
pInfo
,
PPST_ACCESSRULESET
pRules
,
DWORD
dwFlags
)
{
FIXME
(
"%p %08
x %s %s %p %p %08
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pType
),
FIXME
(
"%p %08
lx %s %s %p %p %08l
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pType
),
debugstr_guid
(
pSubtype
),
pInfo
,
pRules
,
dwFlags
);
return
E_NOTIMPL
;
}
...
...
@@ -190,7 +190,7 @@ static HRESULT WINAPI PStore_fnGetSubtypeInfo( IPStore* This,
static
HRESULT
WINAPI
PStore_fnDeleteSubtype
(
IPStore
*
This
,
PST_KEY
Key
,
const
GUID
*
pType
,
const
GUID
*
pSubtype
,
DWORD
dwFlags
)
{
FIXME
(
"%p %
u %s %s %08
x
\n
"
,
This
,
Key
,
FIXME
(
"%p %
lu %s %s %08l
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pType
),
debugstr_guid
(
pSubtype
),
dwFlags
);
return
E_NOTIMPL
;
}
...
...
@@ -255,7 +255,7 @@ static HRESULT WINAPI PStore_fnReadItem( IPStore* This, PST_KEY Key,
const
GUID
*
pItemType
,
const
GUID
*
pItemSubtype
,
LPCWSTR
szItemName
,
DWORD
*
cbData
,
BYTE
**
pbData
,
PPST_PROMPTINFO
pPromptInfo
,
DWORD
dwFlags
)
{
FIXME
(
"%p %08
x %s %s %s %p %p %p %08
x
\n
"
,
This
,
Key
,
FIXME
(
"%p %08
lx %s %s %s %p %p %p %08l
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pItemType
),
debugstr_guid
(
pItemSubtype
),
debugstr_w
(
szItemName
),
cbData
,
pbData
,
pPromptInfo
,
dwFlags
);
return
E_NOTIMPL
;
...
...
@@ -269,7 +269,7 @@ static HRESULT WINAPI PStore_fnWriteItem( IPStore* This, PST_KEY Key,
DWORD
cbData
,
BYTE
*
ppbData
,
PPST_PROMPTINFO
pPromptInfo
,
DWORD
dwDefaultConfirmationStyle
,
DWORD
dwFlags
)
{
FIXME
(
"%p %08
x %s %s %s %d %p %p %08
x
\n
"
,
This
,
Key
,
FIXME
(
"%p %08
lx %s %s %s %ld %p %p %08l
x
\n
"
,
This
,
Key
,
debugstr_guid
(
pItemType
),
debugstr_guid
(
pItemSubtype
),
debugstr_w
(
szItemName
),
cbData
,
ppbData
,
pPromptInfo
,
dwFlags
);
return
E_NOTIMPL
;
...
...
@@ -282,7 +282,7 @@ static HRESULT WINAPI PStore_fnOpenItem( IPStore* This, PST_KEY Key,
const
GUID
*
pItemType
,
const
GUID
*
pItemSubtype
,
LPCWSTR
szItemName
,
PST_ACCESSMODE
ModeFlags
,
PPST_PROMPTINFO
pPromptInfo
,
DWORD
dwFlags
)
{
FIXME
(
"(%p,%08
x,%s,%s,%s,%08x,%p,%08
x) stub
\n
"
,
This
,
Key
,
debugstr_guid
(
pItemType
),
FIXME
(
"(%p,%08
lx,%s,%s,%s,%08lx,%p,%08l
x) stub
\n
"
,
This
,
Key
,
debugstr_guid
(
pItemType
),
debugstr_guid
(
pItemSubtype
),
debugstr_w
(
szItemName
),
ModeFlags
,
pPromptInfo
,
dwFlags
);
return
E_NOTIMPL
;
}
...
...
@@ -341,7 +341,7 @@ HRESULT WINAPI PStoreCreateInstance( IPStore** ppProvider,
{
PStore_impl
*
ips
;
TRACE
(
"%p %s %p %08x
\n
"
,
ppProvider
,
debugstr_guid
(
pProviderID
),
pReserved
,
dwFlags
);
TRACE
(
"%p %s %p %08
l
x
\n
"
,
ppProvider
,
debugstr_guid
(
pProviderID
),
pReserved
,
dwFlags
);
ips
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
PStore_impl
)
);
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