Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
cc3a0320
Commit
cc3a0320
authored
Oct 02, 2023
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Nov 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add some DBCOLUMN defines.
parent
8577d7ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
datainit.c
dlls/oledb32/datainit.c
+0
-1
dbs.idl
include/dbs.idl
+12
-1
No files found.
dlls/oledb32/datainit.c
View file @
cc3a0320
...
...
@@ -33,7 +33,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
oledb
);
DEFINE_GUID
(
DB_NULLGUID
,
0x00000000
,
0x0000
,
0x0000
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
);
DEFINE_GUID
(
DBGUID_SESSION
,
0xc8b522f5
,
0x5cf3
,
0x11ce
,
0xad
,
0xe5
,
0x00
,
0xaa
,
0x00
,
0x44
,
0x77
,
0x3d
);
DEFINE_GUID
(
DBGUID_ROWSET
,
0xc8b522f6
,
0x5cf3
,
0x11ce
,
0xad
,
0xe5
,
0x00
,
0xaa
,
0x00
,
0x44
,
0x77
,
0x3d
);
DEFINE_GUID
(
DBGUID_ROW
,
0xc8b522f7
,
0x5cf3
,
0x11ce
,
0xad
,
0xe5
,
0x00
,
0xaa
,
0x00
,
0x44
,
0x77
,
0x3d
);
...
...
include/dbs.idl
View file @
cc3a0320
...
...
@@ -510,12 +510,18 @@ cpp_quote(" const GUID name DECLSPEC_HIDDEN; \\")
cpp_quote
(
" const GUID name = \\"
)
cpp_quote
(
" { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }"
)
cpp_quote
(
"#endif"
)
cpp_quote
(
"#define DEFINE_DBID(name, dbguid, kind, val) \\"
)
cpp_quote
(
" const DBID name = { {dbguid}, kind, {(LPOLESTR)val} };"
)
cpp_quote
(
"#else"
)
cpp_quote
(
"#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \\"
)
cpp_quote
(
" EXTERN_C const GUID name DECLSPEC_HIDDEN"
)
cpp_quote
(
"#define DEFINE_DBID(name, dbguid, kind, val) \\"
)
cpp_quote
(
" EXTERN_C const DBID name;"
)
cpp_quote
(
"#endif"
)
cpp_quote
(
"DEFINE_DBGUID(DB_NULLGUID, 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);"
)
cpp_quote
(
"#define DBCIDGUID {0x0c733a81, 0x2a1c, 0x11ce, {0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d}}"
)
cpp_quote
(
"#define DB_NULLGUID {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}"
)
cpp_quote
(
"DEFINE_DBGUID(DBGUID_SQL, 0xc8b522d7, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);"
)
cpp_quote
(
"DEFINE_DBGUID(DBGUID_DEFAULT, 0xc8b521fb, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);"
)
cpp_quote
(
"DEFINE_DBGUID(DBGUID_SESSION, 0xc8b522f5, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);"
)
...
...
@@ -538,6 +544,11 @@ cpp_quote("DEFINE_DBGUID(DBPROPSET_SESSIONALL, 0xc8b522c7, 0x5cf3, 0x11ce
cpp_quote
(
"DEFINE_DBGUID(DBPROPSET_DBINITALL, 0xc8b522ca, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);"
)
cpp_quote
(
"DEFINE_DBGUID(DBPROPSET_PROPERTIESINERROR, 0xc8b522d4, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);"
)
cpp_quote
(
"DEFINE_DBID(DB_NULLID, DB_NULLGUID, 0, 0)"
)
cpp_quote
(
"DEFINE_DBID(DBCOLUMN_BASECOLUMNNAME, DBCIDGUID, DBKIND_GUID_PROPID, 10)"
)
cpp_quote
(
"DEFINE_DBID(DBCOLUMN_BASETABLENAME, DBCIDGUID, DBKIND_GUID_PROPID, 11)"
)
cpp_quote
(
"DEFINE_DBID(DBCOLUMN_KEYCOLUMN, DBCIDGUID, DBKIND_GUID_PROPID, 41)"
)
cpp_quote
(
"#define DBPROMPT_PROMPT 0x01"
)
cpp_quote
(
"#define DBPROMPT_COMPLETE 0x02"
)
cpp_quote
(
"#define DBPROMPT_COMPLETEREQUIRED 0x03"
)
...
...
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