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
8a52a73f
Commit
8a52a73f
authored
May 02, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedevice: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d48ffbdc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
Makefile.in
programs/winedevice/Makefile.in
+2
-1
device.c
programs/winedevice/device.c
+1
-5
No files found.
programs/winedevice/Makefile.in
View file @
8a52a73f
MODULE
=
winedevice.exe
APPMODE
=
-mwindows
-municode
IMPORTS
=
advapi32 ntoskrnl
EXTRADLLFLAGS
=
-mwindows
-municode
-mno-cygwin
C_SRCS
=
\
device.c
programs/winedevice/device.c
View file @
8a52a73f
...
...
@@ -19,9 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include "ntstatus.h"
...
...
@@ -30,7 +27,6 @@
#include "winternl.h"
#include "ddk/wdm.h"
#include "wine/svcctl.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "wine/heap.h"
...
...
@@ -70,7 +66,7 @@ static DWORD device_handler( DWORD ctrl, const WCHAR *driver_name )
DWORD
result
=
NO_ERROR
;
WCHAR
*
str
;
if
(
!
(
str
=
heap_alloc
(
sizeof
(
servicesW
)
+
strlenW
(
driver_name
)
*
sizeof
(
WCHAR
)
)))
if
(
!
(
str
=
heap_alloc
(
sizeof
(
servicesW
)
+
l
strlenW
(
driver_name
)
*
sizeof
(
WCHAR
)
)))
return
STATUS_NO_MEMORY
;
lstrcpyW
(
str
,
servicesW
);
...
...
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