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
0edcc9b1
Commit
0edcc9b1
authored
Feb 07, 2024
by
Louis Lenders
Committed by
Alexandre Julliard
Feb 07, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Add property 'Caption' to Win32_DiskDrive.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=56291
parent
36d6fe59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
builtin.c
dlls/wbemprox/builtin.c
+3
-0
No files found.
dlls/wbemprox/builtin.c
View file @
0edcc9b1
...
...
@@ -134,6 +134,7 @@ static const struct column col_directory[] =
};
static
const
struct
column
col_diskdrive
[]
=
{
{
L"Caption"
,
CIM_STRING
},
{
L"DeviceId"
,
CIM_STRING
|
COL_FLAG_DYNAMIC
|
COL_FLAG_KEY
},
{
L"Index"
,
CIM_UINT32
},
{
L"InterfaceType"
,
CIM_STRING
},
...
...
@@ -589,6 +590,7 @@ struct record_directory
};
struct
record_diskdrive
{
const
WCHAR
*
caption
;
const
WCHAR
*
device_id
;
UINT32
index
;
const
WCHAR
*
interfacetype
;
...
...
@@ -2344,6 +2346,7 @@ static enum fill_status fill_diskdrive( struct table *table, const struct expr *
if
(
!
resize_table
(
table
,
row
+
1
,
sizeof
(
*
rec
)
))
return
FILL_STATUS_FAILED
;
rec
=
(
struct
record_diskdrive
*
)(
table
->
data
+
offset
);
rec
->
caption
=
L"Wine Disk Drive"
;
swprintf
(
device_id
,
ARRAY_SIZE
(
device_id
),
fmtW
,
index
);
rec
->
device_id
=
wcsdup
(
device_id
);
rec
->
index
=
index
++
;
...
...
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