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
1ce80d35
Commit
1ce80d35
authored
Jul 14, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledb32: Use nameless unions/structs.
parent
c94e218f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
dslocator.c
dlls/oledb32/dslocator.c
+5
-7
No files found.
dlls/oledb32/dslocator.c
View file @
1ce80d35
...
...
@@ -20,8 +20,6 @@
#include <string.h>
#define COBJMACROS
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
...
...
@@ -636,22 +634,22 @@ static HRESULT WINAPI dslocator_PromptNew(IDataSourceLocator *iface, IDispatch *
pages
[
0
].
dwSize
=
sizeof
(
PROPSHEETPAGEW
);
pages
[
0
].
hInstance
=
instance
;
pages
[
0
].
u
.
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_PROVIDER
);
pages
[
0
].
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_PROVIDER
);
pages
[
0
].
pfnDlgProc
=
data_link_properties_dlg_proc
;
pages
[
1
].
dwSize
=
sizeof
(
PROPSHEETPAGEW
);
pages
[
1
].
hInstance
=
instance
;
pages
[
1
].
u
.
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_CONNECTION
);
pages
[
1
].
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_CONNECTION
);
pages
[
1
].
pfnDlgProc
=
data_link_connection_dlg_proc
;
pages
[
2
].
dwSize
=
sizeof
(
PROPSHEETPAGEW
);
pages
[
2
].
hInstance
=
instance
;
pages
[
2
].
u
.
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_ADVANCED
);
pages
[
2
].
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_ADVANCED
);
pages
[
2
].
pfnDlgProc
=
data_link_advanced_dlg_proc
;
pages
[
3
].
dwSize
=
sizeof
(
pages
[
0
]);
pages
[
3
].
hInstance
=
instance
;
pages
[
3
].
u
.
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_ALL
);
pages
[
3
].
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_ALL
);
pages
[
3
].
pfnDlgProc
=
data_link_all_dlg_proc
;
memset
(
&
hdr
,
0
,
sizeof
(
hdr
));
...
...
@@ -660,7 +658,7 @@ static HRESULT WINAPI dslocator_PromptNew(IDataSourceLocator *iface, IDispatch *
hdr
.
dwFlags
=
PSH_NOAPPLYNOW
|
PSH_PROPSHEETPAGE
;
hdr
.
hInstance
=
instance
;
hdr
.
pszCaption
=
MAKEINTRESOURCEW
(
IDS_PROPSHEET_TITLE
);
hdr
.
u3
.
ppsp
=
pages
;
hdr
.
ppsp
=
pages
;
hdr
.
nPages
=
ARRAY_SIZE
(
pages
);
ret
=
PropertySheetW
(
&
hdr
);
...
...
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