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
12576050
Commit
12576050
authored
Feb 18, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sti: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5beaca8e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
Makefile.in
dlls/sti/Makefile.in
+0
-1
sti.c
dlls/sti/sti.c
+7
-7
sti_main.c
dlls/sti/sti_main.c
+1
-1
No files found.
dlls/sti/Makefile.in
View file @
12576050
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
sti.dll
IMPORTLIB
=
sti
IMPORTS
=
uuid ole32 oleaut32 rpcrt4 advapi32
...
...
dlls/sti/sti.c
View file @
12576050
...
...
@@ -70,7 +70,7 @@ static ULONG WINAPI stillimagew_Release(IStillImageW *iface)
static
HRESULT
WINAPI
stillimagew_Initialize
(
IStillImageW
*
iface
,
HINSTANCE
hinst
,
DWORD
dwVersion
)
{
stillimage
*
This
=
impl_from_IStillImageW
(
iface
);
TRACE
(
"(%p, %p, 0x%X)
\n
"
,
This
,
hinst
,
dwVersion
);
TRACE
(
"(%p, %p, 0x%
l
X)
\n
"
,
This
,
hinst
,
dwVersion
);
return
S_OK
;
}
...
...
@@ -78,7 +78,7 @@ static HRESULT WINAPI stillimagew_GetDeviceList(IStillImageW *iface, DWORD dwTyp
DWORD
*
pdwItemsReturned
,
LPVOID
*
ppBuffer
)
{
stillimage
*
This
=
impl_from_IStillImageW
(
iface
);
FIXME
(
"(%p, %
u, 0x%
X, %p, %p): stub
\n
"
,
This
,
dwType
,
dwFlags
,
pdwItemsReturned
,
ppBuffer
);
FIXME
(
"(%p, %
lu, 0x%l
X, %p, %p): stub
\n
"
,
This
,
dwType
,
dwFlags
,
pdwItemsReturned
,
ppBuffer
);
return
E_NOTIMPL
;
}
...
...
@@ -94,7 +94,7 @@ static HRESULT WINAPI stillimagew_CreateDevice(IStillImageW *iface, LPWSTR pwszD
PSTIDEVICEW
*
pDevice
,
LPUNKNOWN
pUnkOuter
)
{
stillimage
*
This
=
impl_from_IStillImageW
(
iface
);
FIXME
(
"(%p, %s, %u, %p, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszDeviceName
),
dwMode
,
pDevice
,
pUnkOuter
);
FIXME
(
"(%p, %s, %
l
u, %p, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszDeviceName
),
dwMode
,
pDevice
,
pUnkOuter
);
return
E_NOTIMPL
;
}
...
...
@@ -111,7 +111,7 @@ static HRESULT WINAPI stillimagew_SetDeviceValue(IStillImageW *iface, LPWSTR pws
DWORD
type
,
LPBYTE
pData
,
DWORD
cbData
)
{
stillimage
*
This
=
impl_from_IStillImageW
(
iface
);
FIXME
(
"(%p, %s, %s, %
u, %p, %
u): stub
\n
"
,
This
,
debugstr_w
(
pwszDeviceName
),
debugstr_w
(
pValueName
),
FIXME
(
"(%p, %s, %s, %
lu, %p, %l
u): stub
\n
"
,
This
,
debugstr_w
(
pwszDeviceName
),
debugstr_w
(
pValueName
),
type
,
pData
,
cbData
);
return
E_NOTIMPL
;
}
...
...
@@ -223,7 +223,7 @@ static HRESULT WINAPI stillimagew_SetupDeviceParameters(IStillImageW *iface, PST
static
HRESULT
WINAPI
stillimagew_WriteToErrorLog
(
IStillImageW
*
iface
,
DWORD
dwMessageType
,
LPCWSTR
pszMessage
)
{
stillimage
*
This
=
impl_from_IStillImageW
(
iface
);
FIXME
(
"(%p, %u, %s): stub
\n
"
,
This
,
dwMessageType
,
debugstr_w
(
pszMessage
));
FIXME
(
"(%p, %
l
u, %s): stub
\n
"
,
This
,
dwMessageType
,
debugstr_w
(
pszMessage
));
return
E_NOTIMPL
;
}
...
...
@@ -307,7 +307,7 @@ static const struct IUnknownVtbl internal_unk_vtbl =
*/
HRESULT
WINAPI
StiCreateInstanceA
(
HINSTANCE
hinst
,
DWORD
dwVer
,
PSTIA
*
ppSti
,
LPUNKNOWN
pUnkOuter
)
{
FIXME
(
"(%p, %u, %p, %p): stub, unimplemented on Windows Vista too, please report if it's needed
\n
"
,
hinst
,
dwVer
,
ppSti
,
pUnkOuter
);
FIXME
(
"(%p, %
l
u, %p, %p): stub, unimplemented on Windows Vista too, please report if it's needed
\n
"
,
hinst
,
dwVer
,
ppSti
,
pUnkOuter
);
return
STG_E_UNIMPLEMENTEDFUNCTION
;
}
...
...
@@ -319,7 +319,7 @@ HRESULT WINAPI StiCreateInstanceW(HINSTANCE hinst, DWORD dwVer, PSTIW *ppSti, LP
stillimage
*
This
;
HRESULT
hr
;
TRACE
(
"(%p, %u, %p, %p)
\n
"
,
hinst
,
dwVer
,
ppSti
,
pUnkOuter
);
TRACE
(
"(%p, %
l
u, %p, %p)
\n
"
,
hinst
,
dwVer
,
ppSti
,
pUnkOuter
);
This
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
stillimage
));
if
(
This
)
...
...
dlls/sti/sti_main.c
View file @
12576050
...
...
@@ -135,7 +135,7 @@ static sti_cf the_sti_cf = { { &sti_cf_vtbl }, sti_create };
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"(0x%p, %d, %p)
\n
"
,
hInstDLL
,
fdwReason
,
lpvReserved
);
TRACE
(
"(0x%p, %
l
d, %p)
\n
"
,
hInstDLL
,
fdwReason
,
lpvReserved
);
return
STI_DllMain
(
hInstDLL
,
fdwReason
,
lpvReserved
);
}
...
...
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