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
eeb8ea7a
Commit
eeb8ea7a
authored
Oct 04, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Add a partial implementation of Win32_SoundDevice.
parent
fd37af04
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
builtin.c
dlls/wbemprox/builtin.c
+19
-0
No files found.
dlls/wbemprox/builtin.c
View file @
eeb8ea7a
...
@@ -67,6 +67,8 @@ static const WCHAR class_processorW[] =
...
@@ -67,6 +67,8 @@ static const WCHAR class_processorW[] =
{
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
'_'
,
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
'o'
,
'r'
,
0
};
{
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
'_'
,
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
'o'
,
'r'
,
0
};
static
const
WCHAR
class_serviceW
[]
=
static
const
WCHAR
class_serviceW
[]
=
{
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
'_'
,
'S'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
0
};
{
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
'_'
,
'S'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
0
};
static
const
WCHAR
class_sounddeviceW
[]
=
{
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
'_'
,
'S'
,
'o'
,
'u'
,
'n'
,
'd'
,
'D'
,
'e'
,
'v'
,
'i'
,
'c'
,
'e'
,
0
};
static
const
WCHAR
class_stdregprovW
[]
=
static
const
WCHAR
class_stdregprovW
[]
=
{
'S'
,
't'
,
'd'
,
'R'
,
'e'
,
'g'
,
'P'
,
'r'
,
'o'
,
'v'
,
0
};
{
'S'
,
't'
,
'd'
,
'R'
,
'e'
,
'g'
,
'P'
,
'r'
,
'o'
,
'v'
,
0
};
static
const
WCHAR
class_videocontrollerW
[]
=
static
const
WCHAR
class_videocontrollerW
[]
=
...
@@ -152,6 +154,8 @@ static const WCHAR prop_processidW[] =
...
@@ -152,6 +154,8 @@ static const WCHAR prop_processidW[] =
{
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
'I'
,
'D'
,
0
};
{
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
'I'
,
'D'
,
0
};
static
const
WCHAR
prop_processoridW
[]
=
static
const
WCHAR
prop_processoridW
[]
=
{
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
'o'
,
'r'
,
'I'
,
'd'
,
0
};
{
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
'o'
,
'r'
,
'I'
,
'd'
,
0
};
static
const
WCHAR
prop_productnameW
[]
=
{
'P'
,
'r'
,
'o'
,
'd'
,
'u'
,
'c'
,
't'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
prop_releasedateW
[]
=
static
const
WCHAR
prop_releasedateW
[]
=
{
'R'
,
'e'
,
'l'
,
'e'
,
'a'
,
's'
,
'e'
,
'D'
,
'a'
,
't'
,
'e'
,
0
};
{
'R'
,
'e'
,
'l'
,
'e'
,
'a'
,
's'
,
'e'
,
'D'
,
'a'
,
't'
,
'e'
,
0
};
static
const
WCHAR
prop_serialnumberW
[]
=
static
const
WCHAR
prop_serialnumberW
[]
=
...
@@ -300,6 +304,10 @@ static const struct column col_service[] =
...
@@ -300,6 +304,10 @@ static const struct column col_service[] =
{
prop_stateW
,
CIM_STRING
},
{
prop_stateW
,
CIM_STRING
},
{
prop_systemnameW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
}
{
prop_systemnameW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
}
};
};
static
const
struct
column
col_sounddevice
[]
=
{
{
prop_productnameW
,
CIM_STRING
}
};
static
const
struct
column
col_stdregprov
[]
=
static
const
struct
column
col_stdregprov
[]
=
{
{
{
method_enumkeyW
,
CIM_OBJECT
|
COL_FLAG_METHOD
},
{
method_enumkeyW
,
CIM_OBJECT
|
COL_FLAG_METHOD
},
...
@@ -359,6 +367,8 @@ static const WCHAR os_32bitW[] =
...
@@ -359,6 +367,8 @@ static const WCHAR os_32bitW[] =
{
'3'
,
'2'
,
'-'
,
'b'
,
'i'
,
't'
,
0
};
{
'3'
,
'2'
,
'-'
,
'b'
,
'i'
,
't'
,
0
};
static
const
WCHAR
os_64bitW
[]
=
static
const
WCHAR
os_64bitW
[]
=
{
'6'
,
'4'
,
'-'
,
'b'
,
'i'
,
't'
,
0
};
{
'6'
,
'4'
,
'-'
,
'b'
,
'i'
,
't'
,
0
};
static
const
WCHAR
sounddevice_productnameW
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'A'
,
'u'
,
'd'
,
'i'
,
'o'
,
' '
,
'D'
,
'e'
,
'v'
,
'i'
,
'c'
,
'e'
,
0
};
static
const
WCHAR
videocontroller_deviceidW
[]
=
static
const
WCHAR
videocontroller_deviceidW
[]
=
{
'V'
,
'i'
,
'd'
,
'e'
,
'o'
,
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
'l'
,
'e'
,
'r'
,
'1'
,
0
};
{
'V'
,
'i'
,
'd'
,
'e'
,
'o'
,
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
'l'
,
'e'
,
'r'
,
'1'
,
0
};
...
@@ -465,6 +475,10 @@ struct record_service
...
@@ -465,6 +475,10 @@ struct record_service
const
WCHAR
*
state
;
const
WCHAR
*
state
;
const
WCHAR
*
systemname
;
const
WCHAR
*
systemname
;
};
};
struct
record_sounddevice
{
const
WCHAR
*
productname
;
};
struct
record_stdregprov
struct
record_stdregprov
{
{
class_method
*
enumkey
;
class_method
*
enumkey
;
...
@@ -521,6 +535,10 @@ static const struct record_params data_params[] =
...
@@ -521,6 +535,10 @@ static const struct record_params data_params[] =
{
class_stdregprovW
,
method_enumvaluesW
,
-
1
,
param_namesW
,
CIM_STRING
|
CIM_FLAG_ARRAY
},
{
class_stdregprovW
,
method_enumvaluesW
,
-
1
,
param_namesW
,
CIM_STRING
|
CIM_FLAG_ARRAY
},
{
class_stdregprovW
,
method_enumvaluesW
,
-
1
,
param_typesW
,
CIM_SINT32
|
CIM_FLAG_ARRAY
}
{
class_stdregprovW
,
method_enumvaluesW
,
-
1
,
param_typesW
,
CIM_SINT32
|
CIM_FLAG_ARRAY
}
};
};
static
const
struct
record_sounddevice
data_sounddevice
[]
=
{
{
sounddevice_productnameW
}
};
static
const
struct
record_stdregprov
data_stdregprov
[]
=
static
const
struct
record_stdregprov
data_stdregprov
[]
=
{
{
{
reg_enumkey
,
reg_enumvalues
}
{
reg_enumkey
,
reg_enumvalues
}
...
@@ -1162,6 +1180,7 @@ static struct table builtin_classes[] =
...
@@ -1162,6 +1180,7 @@ static struct table builtin_classes[] =
{
class_processW
,
SIZEOF
(
col_process
),
col_process
,
0
,
NULL
,
fill_process
},
{
class_processW
,
SIZEOF
(
col_process
),
col_process
,
0
,
NULL
,
fill_process
},
{
class_processorW
,
SIZEOF
(
col_processor
),
col_processor
,
0
,
NULL
,
fill_processor
},
{
class_processorW
,
SIZEOF
(
col_processor
),
col_processor
,
0
,
NULL
,
fill_processor
},
{
class_serviceW
,
SIZEOF
(
col_service
),
col_service
,
0
,
NULL
,
fill_service
},
{
class_serviceW
,
SIZEOF
(
col_service
),
col_service
,
0
,
NULL
,
fill_service
},
{
class_sounddeviceW
,
SIZEOF
(
col_sounddevice
),
col_sounddevice
,
SIZEOF
(
data_sounddevice
),
(
BYTE
*
)
data_sounddevice
},
{
class_stdregprovW
,
SIZEOF
(
col_stdregprov
),
col_stdregprov
,
SIZEOF
(
data_stdregprov
),
(
BYTE
*
)
data_stdregprov
},
{
class_stdregprovW
,
SIZEOF
(
col_stdregprov
),
col_stdregprov
,
SIZEOF
(
data_stdregprov
),
(
BYTE
*
)
data_stdregprov
},
{
class_videocontrollerW
,
SIZEOF
(
col_videocontroller
),
col_videocontroller
,
0
,
NULL
,
fill_videocontroller
}
{
class_videocontrollerW
,
SIZEOF
(
col_videocontroller
),
col_videocontroller
,
0
,
NULL
,
fill_videocontroller
}
};
};
...
...
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