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
b089dc16
Commit
b089dc16
authored
Nov 24, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wnaspi32: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d373c1a1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
18 deletions
+2
-18
Makefile.in
dlls/wnaspi32/Makefile.in
+0
-2
aspi.c
dlls/wnaspi32/aspi.c
+2
-6
aspi.h
dlls/wnaspi32/aspi.h
+0
-8
winaspi32.c
dlls/wnaspi32/winaspi32.c
+0
-2
No files found.
dlls/wnaspi32/Makefile.in
View file @
b089dc16
...
@@ -2,8 +2,6 @@ MODULE = wnaspi32.dll
...
@@ -2,8 +2,6 @@ MODULE = wnaspi32.dll
IMPORTLIB
=
wnaspi32
IMPORTLIB
=
wnaspi32
IMPORTS
=
advapi32
IMPORTS
=
advapi32
EXTRADLLFLAGS
=
-mcygwin
C_SRCS
=
\
C_SRCS
=
\
aspi.c
\
aspi.c
\
winaspi32.c
winaspi32.c
dlls/wnaspi32/aspi.c
View file @
b089dc16
...
@@ -29,14 +29,11 @@
...
@@ -29,14 +29,11 @@
* aspi controllers, e-mail me if you need help.
* aspi controllers, e-mail me if you need help.
*/
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/types.h>
#include <string.h>
#include <string.h>
#include <stdlib.h>
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
...
@@ -45,7 +42,6 @@
...
@@ -45,7 +42,6 @@
#include "winescsi.h"
#include "winescsi.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
aspi
);
WINE_DEFAULT_DEBUG_CHANNEL
(
aspi
);
...
@@ -132,5 +128,5 @@ DWORD ASPI_GetHCforController( int controller )
...
@@ -132,5 +128,5 @@ DWORD ASPI_GetHCforController( int controller )
}
}
RegCloseKey
(
hkeyPort
);
RegCloseKey
(
hkeyPort
);
return
(
atoiW
(
&
wPortName
[
9
])
<<
16
)
+
atoiW
(
&
wBusName
[
9
]
);
return
(
wcstol
(
&
wPortName
[
9
],
NULL
,
10
)
<<
16
)
+
wcstol
(
&
wBusName
[
9
],
NULL
,
10
);
}
}
dlls/wnaspi32/aspi.h
View file @
b089dc16
...
@@ -26,11 +26,6 @@
...
@@ -26,11 +26,6 @@
#include "winbase.h"
#include "winbase.h"
#include "pshpack1.h"
#include "pshpack1.h"
#ifdef __cplusplus
extern
"C"
{
#endif
/* #ifdef __cplusplus */
/*********** OLD ****************/
/* Target status codes */
/* Target status codes */
#define STATUS_GOOD 0x00
#define STATUS_GOOD 0x00
...
@@ -76,9 +71,6 @@ extern "C" {
...
@@ -76,9 +71,6 @@ extern "C" {
#define SENSE_BUFFER(prb) (&prb->CDBByte[prb->SRB_CDBLen])
#define SENSE_BUFFER(prb) (&prb->CDBByte[prb->SRB_CDBLen])
#ifdef __cplusplus
}
#endif
/* #ifdef __cplusplus */
#include "poppack.h"
#include "poppack.h"
#endif
#endif
dlls/wnaspi32/winaspi32.c
View file @
b089dc16
...
@@ -17,8 +17,6 @@
...
@@ -17,8 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#include "config.h"
#include <assert.h>
#include <assert.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdarg.h>
...
...
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