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
f0849f7d
Commit
f0849f7d
authored
Feb 17, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rstrtmgr: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8a12a305
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
Makefile.in
dlls/rstrtmgr/Makefile.in
+0
-1
main.c
dlls/rstrtmgr/main.c
+8
-8
No files found.
dlls/rstrtmgr/Makefile.in
View file @
f0849f7d
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
rstrtmgr.dll
MODULE
=
rstrtmgr.dll
EXTRADLLFLAGS
=
-Wb
,--prefer-native
EXTRADLLFLAGS
=
-Wb
,--prefer-native
...
...
dlls/rstrtmgr/main.c
View file @
f0849f7d
...
@@ -34,7 +34,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(rstrtmgr);
...
@@ -34,7 +34,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(rstrtmgr);
DWORD
WINAPI
RmGetList
(
DWORD
dwSessionHandle
,
UINT
*
pnProcInfoNeeded
,
UINT
*
pnProcInfo
,
DWORD
WINAPI
RmGetList
(
DWORD
dwSessionHandle
,
UINT
*
pnProcInfoNeeded
,
UINT
*
pnProcInfo
,
RM_PROCESS_INFO
*
rgAffectedApps
[],
LPDWORD
lpdwRebootReasons
)
RM_PROCESS_INFO
*
rgAffectedApps
[],
LPDWORD
lpdwRebootReasons
)
{
{
FIXME
(
"%d, %p, %p, %p, %p stub!
\n
"
,
dwSessionHandle
,
pnProcInfoNeeded
,
pnProcInfo
,
rgAffectedApps
,
lpdwRebootReasons
);
FIXME
(
"%
l
d, %p, %p, %p, %p stub!
\n
"
,
dwSessionHandle
,
pnProcInfoNeeded
,
pnProcInfo
,
rgAffectedApps
,
lpdwRebootReasons
);
if
(
pnProcInfoNeeded
)
if
(
pnProcInfoNeeded
)
*
pnProcInfoNeeded
=
0
;
*
pnProcInfoNeeded
=
0
;
if
(
pnProcInfo
)
if
(
pnProcInfo
)
...
@@ -51,7 +51,7 @@ DWORD WINAPI RmRegisterResources(DWORD dwSessionHandle, UINT nFiles, LPCWSTR rgs
...
@@ -51,7 +51,7 @@ DWORD WINAPI RmRegisterResources(DWORD dwSessionHandle, UINT nFiles, LPCWSTR rgs
UINT
nApplications
,
RM_UNIQUE_PROCESS
*
rgApplications
,
UINT
nApplications
,
RM_UNIQUE_PROCESS
*
rgApplications
,
UINT
nServices
,
LPCWSTR
rgsServiceNames
[])
UINT
nServices
,
LPCWSTR
rgsServiceNames
[])
{
{
FIXME
(
"%d, %d, %p, %d, %p, %d, %p stub!
\n
"
,
dwSessionHandle
,
nFiles
,
rgsFilenames
,
FIXME
(
"%
l
d, %d, %p, %d, %p, %d, %p stub!
\n
"
,
dwSessionHandle
,
nFiles
,
rgsFilenames
,
nApplications
,
rgApplications
,
nServices
,
rgsServiceNames
);
nApplications
,
rgApplications
,
nServices
,
rgsServiceNames
);
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
...
@@ -63,7 +63,7 @@ DWORD WINAPI RmRegisterResources(DWORD dwSessionHandle, UINT nFiles, LPCWSTR rgs
...
@@ -63,7 +63,7 @@ DWORD WINAPI RmRegisterResources(DWORD dwSessionHandle, UINT nFiles, LPCWSTR rgs
*/
*/
DWORD
WINAPI
RmStartSession
(
DWORD
*
sessionhandle
,
DWORD
flags
,
WCHAR
sessionkey
[])
DWORD
WINAPI
RmStartSession
(
DWORD
*
sessionhandle
,
DWORD
flags
,
WCHAR
sessionkey
[])
{
{
FIXME
(
"%p, %d, %p stub!
\n
"
,
sessionhandle
,
flags
,
sessionkey
);
FIXME
(
"%p, %
l
d, %p stub!
\n
"
,
sessionhandle
,
flags
,
sessionkey
);
if
(
sessionhandle
)
if
(
sessionhandle
)
*
sessionhandle
=
0xdeadbeef
;
*
sessionhandle
=
0xdeadbeef
;
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
...
@@ -74,7 +74,7 @@ DWORD WINAPI RmStartSession(DWORD *sessionhandle, DWORD flags, WCHAR sessionkey[
...
@@ -74,7 +74,7 @@ DWORD WINAPI RmStartSession(DWORD *sessionhandle, DWORD flags, WCHAR sessionkey[
*/
*/
DWORD
WINAPI
RmRestart
(
DWORD
handle
,
DWORD
flags
,
RM_WRITE_STATUS_CALLBACK
status
)
DWORD
WINAPI
RmRestart
(
DWORD
handle
,
DWORD
flags
,
RM_WRITE_STATUS_CALLBACK
status
)
{
{
FIXME
(
"%
u, 0x%08
x, %p stub!
\n
"
,
handle
,
flags
,
status
);
FIXME
(
"%
lu, 0x%08l
x, %p stub!
\n
"
,
handle
,
flags
,
status
);
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
...
@@ -83,7 +83,7 @@ DWORD WINAPI RmRestart(DWORD handle, DWORD flags, RM_WRITE_STATUS_CALLBACK statu
...
@@ -83,7 +83,7 @@ DWORD WINAPI RmRestart(DWORD handle, DWORD flags, RM_WRITE_STATUS_CALLBACK statu
*/
*/
DWORD
WINAPI
RmEndSession
(
DWORD
handle
)
DWORD
WINAPI
RmEndSession
(
DWORD
handle
)
{
{
FIXME
(
"%u stub!
\n
"
,
handle
);
FIXME
(
"%
l
u stub!
\n
"
,
handle
);
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
...
@@ -92,7 +92,7 @@ DWORD WINAPI RmEndSession(DWORD handle)
...
@@ -92,7 +92,7 @@ DWORD WINAPI RmEndSession(DWORD handle)
*/
*/
DWORD
WINAPI
RmShutdown
(
DWORD
handle
,
ULONG
flags
,
RM_WRITE_STATUS_CALLBACK
status
)
DWORD
WINAPI
RmShutdown
(
DWORD
handle
,
ULONG
flags
,
RM_WRITE_STATUS_CALLBACK
status
)
{
{
FIXME
(
"%
u, 0x%08
x, %p stub!
\n
"
,
handle
,
flags
,
status
);
FIXME
(
"%
lu, 0x%08l
x, %p stub!
\n
"
,
handle
,
flags
,
status
);
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
...
@@ -102,7 +102,7 @@ DWORD WINAPI RmShutdown(DWORD handle, ULONG flags, RM_WRITE_STATUS_CALLBACK stat
...
@@ -102,7 +102,7 @@ DWORD WINAPI RmShutdown(DWORD handle, ULONG flags, RM_WRITE_STATUS_CALLBACK stat
DWORD
WINAPI
RmAddFilter
(
DWORD
handle
,
LPCWSTR
moduleName
,
RM_UNIQUE_PROCESS
*
process
,
DWORD
WINAPI
RmAddFilter
(
DWORD
handle
,
LPCWSTR
moduleName
,
RM_UNIQUE_PROCESS
*
process
,
LPCWSTR
serviceShortName
,
RM_FILTER_ACTION
filter
)
LPCWSTR
serviceShortName
,
RM_FILTER_ACTION
filter
)
{
{
FIXME
(
"%u, %s %p %s 0x%08x stub!
\n
"
,
handle
,
debugstr_w
(
moduleName
),
process
,
FIXME
(
"%
l
u, %s %p %s 0x%08x stub!
\n
"
,
handle
,
debugstr_w
(
moduleName
),
process
,
debugstr_w
(
serviceShortName
),
filter
);
debugstr_w
(
serviceShortName
),
filter
);
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
...
@@ -113,7 +113,7 @@ DWORD WINAPI RmAddFilter(DWORD handle, LPCWSTR moduleName, RM_UNIQUE_PROCESS *pr
...
@@ -113,7 +113,7 @@ DWORD WINAPI RmAddFilter(DWORD handle, LPCWSTR moduleName, RM_UNIQUE_PROCESS *pr
DWORD
WINAPI
RmRemoveFilter
(
DWORD
handle
,
LPCWSTR
moduleName
,
RM_UNIQUE_PROCESS
*
process
,
DWORD
WINAPI
RmRemoveFilter
(
DWORD
handle
,
LPCWSTR
moduleName
,
RM_UNIQUE_PROCESS
*
process
,
LPCWSTR
serviceShortName
)
LPCWSTR
serviceShortName
)
{
{
FIXME
(
"%u, %s %p %s stub!
\n
"
,
handle
,
debugstr_w
(
moduleName
),
process
,
FIXME
(
"%
l
u, %s %p %s stub!
\n
"
,
handle
,
debugstr_w
(
moduleName
),
process
,
debugstr_w
(
serviceShortName
));
debugstr_w
(
serviceShortName
));
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
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