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
cc494c48
Commit
cc494c48
authored
Jul 26, 2008
by
Stefan Leichter
Committed by
Alexandre Julliard
Jul 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rasapi32: Fix building the tests with MSVC (based on a patch by Reece Dunn).
parent
021850c0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
4 deletions
+29
-4
rasapi.c
dlls/rasapi32/rasapi.c
+1
-0
rasapi.c
dlls/rasapi32/tests/rasapi.c
+1
-0
Makefile.in
include/Makefile.in
+1
-0
ras.h
include/ras.h
+0
-4
raserror.h
include/raserror.h
+26
-0
No files found.
dlls/rasapi32/rasapi.c
View file @
cc494c48
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "ras.h"
#include "ras.h"
#include "raserror.h"
#include "wine/debug.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
ras
);
WINE_DEFAULT_DEBUG_CHANNEL
(
ras
);
...
...
dlls/rasapi32/tests/rasapi.c
View file @
cc494c48
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include <windef.h>
#include <windef.h>
#include <winbase.h>
#include <winbase.h>
#include "ras.h"
#include "ras.h"
#include "raserror.h"
static
HMODULE
hmodule
;
static
HMODULE
hmodule
;
static
DWORD
(
WINAPI
*
pRasEnumDevicesA
)(
LPRASDEVINFOA
,
LPDWORD
,
LPDWORD
);
static
DWORD
(
WINAPI
*
pRasEnumDevicesA
)(
LPRASDEVINFOA
,
LPDWORD
,
LPDWORD
);
...
...
include/Makefile.in
View file @
cc494c48
...
@@ -350,6 +350,7 @@ SRCDIR_INCLUDES = \
...
@@ -350,6 +350,7 @@ SRCDIR_INCLUDES = \
pshpack4.h
\
pshpack4.h
\
pshpack8.h
\
pshpack8.h
\
ras.h
\
ras.h
\
raserror.h
\
reason.h
\
reason.h
\
regstr.h
\
regstr.h
\
richedit.h
\
richedit.h
\
...
...
include/ras.h
View file @
cc494c48
...
@@ -55,10 +55,6 @@ extern "C" {
...
@@ -55,10 +55,6 @@ extern "C" {
#define RASDT_Parallel "PARALLEL"
#define RASDT_Parallel "PARALLEL"
#define RASDT_PPPoE "PPPoE"
#define RASDT_PPPoE "PPPoE"
#define RASBASE 600
#define ERROR_BUFFER_TOO_SMALL (RASBASE+3)
#define ERROR_INVALID_SIZE (RASBASE+32)
typedef
struct
tagRASDEVINFOA
{
typedef
struct
tagRASDEVINFOA
{
DWORD
dwSize
;
DWORD
dwSize
;
CHAR
szDeviceType
[
RAS_MaxDeviceType
+
1
];
CHAR
szDeviceType
[
RAS_MaxDeviceType
+
1
];
...
...
include/raserror.h
0 → 100644
View file @
cc494c48
/*
* Copyright (C) 2008 Stefan Leichter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_RASERROR_H
#define __WINE_RASERROR_H
#define RASBASE 600
#define ERROR_BUFFER_TOO_SMALL (RASBASE+3)
#define ERROR_INVALID_SIZE (RASBASE+32)
#endif
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