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
158063fe
Commit
158063fe
authored
Dec 18, 2002
by
Ove Kaaven
Committed by
Alexandre Julliard
Dec 18, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unquoted some 16-bit types, so the IDL compiler can use them.
parent
fcb40e8f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
15 deletions
+21
-15
wtypes.h
include/wtypes.h
+9
-6
wtypes.idl
include/wtypes.idl
+12
-9
No files found.
include/wtypes.h
View file @
158063fe
...
@@ -9,12 +9,6 @@ extern "C" {
...
@@ -9,12 +9,6 @@ extern "C" {
#endif
#endif
#include "basetsd.h"
#include "basetsd.h"
#include "guiddef.h"
#include "guiddef.h"
typedef
CHAR
OLECHAR16
;
typedef
LPSTR
LPOLESTR16
;
typedef
LPCSTR
LPCOLESTR16
;
typedef
OLECHAR16
*
BSTR16
;
typedef
BSTR16
*
LPBSTR16
;
#define OLESTR16(x) x
#if 0 /* winnt.h */
#if 0 /* winnt.h */
typedef unsigned char BYTE;
typedef unsigned char BYTE;
...
@@ -160,6 +154,15 @@ typedef const OLECHAR *LPCOLESTR;
...
@@ -160,6 +154,15 @@ typedef const OLECHAR *LPCOLESTR;
#ifndef __WINE__
#ifndef __WINE__
#define OLESTR(str) WINE_UNICODE_TEXT(str)
#define OLESTR(str) WINE_UNICODE_TEXT(str)
#endif
#endif
typedef
CHAR
OLECHAR16
;
typedef
LPSTR
LPOLESTR16
;
typedef
LPCSTR
LPCOLESTR16
;
typedef
OLECHAR16
*
BSTR16
;
typedef
BSTR16
*
LPBSTR16
;
#define OLESTR16(x) x
typedef
LONG
SCODE
;
typedef
LONG
SCODE
;
typedef
struct
_COAUTHIDENTITY
{
typedef
struct
_COAUTHIDENTITY
{
...
...
include/wtypes.idl
View file @
158063fe
...
@@ -31,15 +31,6 @@ interface IWinTypes
...
@@ -31,15 +31,6 @@ interface IWinTypes
cpp_quote
(
"#include \"
basetsd
.
h\"")
cpp_quote
(
"#include \"
basetsd
.
h\"")
cpp_quote
(
"#include \"
guiddef
.
h\"")
cpp_quote
(
"#include \"
guiddef
.
h\"")
/*
from
Wine
's pre-WIDL wtypes.h */
/* FIXME: does not belong here */
cpp_quote("typedef CHAR OLECHAR16;")
cpp_quote("typedef LPSTR LPOLESTR16;")
cpp_quote("typedef LPCSTR LPCOLESTR16;")
cpp_quote("typedef OLECHAR16 *BSTR16;")
cpp_quote("typedef BSTR16 *LPBSTR16;")
cpp_quote("#define OLESTR16(x) x")
/********************
BASIC
WIN32
TYPES
********************/
/********************
BASIC
WIN32
TYPES
********************/
cpp_quote
(
"#if 0 /* winnt.h */"
)
/*
don
't redefine these */
cpp_quote
(
"#if 0 /* winnt.h */"
)
/*
don
't redefine these */
...
@@ -166,6 +157,18 @@ cpp_quote("#ifndef __WINE__")
...
@@ -166,6 +157,18 @@ cpp_quote("#ifndef __WINE__")
cpp_quote("#define OLESTR(str) WINE_UNICODE_TEXT(str)")
cpp_quote("#define OLESTR(str) WINE_UNICODE_TEXT(str)")
cpp_quote("#endif")
cpp_quote("#endif")
/* from Wine'
s
pre
-
WIDL
wtypes
.
h
*/
/*
FIXME
:
does
not
belong
here
*/
typedef
CHAR
OLECHAR16
;
typedef
LPSTR
LPOLESTR16
;
typedef
LPCSTR
LPCOLESTR16
;
/*
quoted
because
if
BSTR16
is
ever
used
in
IDL
files
,
*
it
'll probably need some wire_marshal stuff too,
* and quoting these will detect any such necessity */
cpp_quote("typedef OLECHAR16 *BSTR16;")
cpp_quote("typedef BSTR16 *LPBSTR16;")
cpp_quote("#define OLESTR16(x) x")
typedef LONG SCODE;
typedef LONG SCODE;
typedef struct _COAUTHIDENTITY {
typedef struct _COAUTHIDENTITY {
...
...
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