Go to the source code of this file.
|
#define | STR_MODULENAME "AC97 Topology: " |
|
#define | INIT_PIN(pin, pinptr, category, name, index) |
|
#define | INIT_NODE(node, nodeptr, type, name, automation, index) |
|
#define | INIT_NN_CONN(cptr, fnode, fpin, tnode, tpin) |
|
#define | INIT_FN_CONN(cptr, fpin, tnode, tpin) |
|
#define | INIT_NF_CONN(cptr, fnode, fpin, tpin) |
|
|
| DEFINE_PCAUTOMATION_TABLE_PROP (AutomationVolume, PropertiesVolume) |
|
| DEFINE_PCAUTOMATION_TABLE_PROP (AutomationMute, PropertiesMute) |
|
| DEFINE_PCAUTOMATION_TABLE_PROP (AutomationMux, PropertiesMux) |
|
| DEFINE_PCAUTOMATION_TABLE_PROP (AutomationSpecial, PropertiesSpecial) |
|
| DEFINE_PCAUTOMATION_TABLE_PROP (AutomationTone, PropertiesTone) |
|
| DEFINE_PCAUTOMATION_TABLE_PROP (Automation3D, Properties3D) |
|
NTSTATUS | CreateAC97MiniportTopology (OUT PUNKNOWN *Unknown, IN REFCLSID, IN PUNKNOWN UnknownOuter OPTIONAL, _When_((PoolType &NonPagedPoolMustSucceed) !=0, __drv_reportError("Must succeed pool allocations are forbidden. " "Allocation failures cause a system crash")) IN POOL_TYPE PoolType) |
|
| STDMETHODIMP_ (NTSTATUS) CAC97MiniportTopology |
|
◆ INIT_FN_CONN
#define INIT_FN_CONN |
( |
|
cptr, |
|
|
|
fpin, |
|
|
|
tnode, |
|
|
|
tpin |
|
) |
| |
Value:
cptr->FromNodePin = TransPinDefToPinNr (fpin); \
cptr->ToNode = TransNodeDefToNodeNr (tnode); \
cptr->ToNodePin = tpin; \
cptr++,ConnectionCount++
◆ INIT_NF_CONN
#define INIT_NF_CONN |
( |
|
cptr, |
|
|
|
fnode, |
|
|
|
fpin, |
|
|
|
tpin |
|
) |
| |
Value: cptr->FromNode = TransNodeDefToNodeNr (fnode); \
cptr->FromNodePin = fpin; \
cptr->ToNodePin = TransPinDefToPinNr (tpin); \
cptr++,ConnectionCount++
◆ INIT_NN_CONN
#define INIT_NN_CONN |
( |
|
cptr, |
|
|
|
fnode, |
|
|
|
fpin, |
|
|
|
tnode, |
|
|
|
tpin |
|
) |
| |
Value: cptr->FromNode = TransNodeDefToNodeNr (fnode); \
cptr->FromNodePin = fpin; \
cptr->ToNode = TransNodeDefToNodeNr (tnode); \
cptr->ToNodePin = tpin; \
cptr++,ConnectionCount++
◆ INIT_NODE
Value:
nodeptr->AutomationTable = automation; \
nodeptr++
GLuint GLuint GLsizei GLenum type
◆ INIT_PIN
Value:
pinptr->KsPinDescriptor.Name = (
GUID*)
name; \
pinptr++
◆ STR_MODULENAME
#define STR_MODULENAME "AC97 Topology: " |
◆ CreateAC97MiniportTopology()
Definition at line 275 of file mintopo.cpp.
285{
287
289
292}
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG PoolTag
◆ DEFINE_PCAUTOMATION_TABLE_PROP() [1/6]
DEFINE_PCAUTOMATION_TABLE_PROP |
( |
Automation3D |
, |
|
|
Properties3D |
|
|
) |
| |
◆ DEFINE_PCAUTOMATION_TABLE_PROP() [2/6]
◆ DEFINE_PCAUTOMATION_TABLE_PROP() [3/6]
◆ DEFINE_PCAUTOMATION_TABLE_PROP() [4/6]
◆ DEFINE_PCAUTOMATION_TABLE_PROP() [5/6]
◆ DEFINE_PCAUTOMATION_TABLE_PROP() [6/6]
◆ STDMETHODIMP_()
Definition at line 302 of file mintopo.cpp.
307{
309
311
312 DOUT (
DBG_PRINT, (
"[CAC97MiniportTopology::NonDelegatingQueryInterface]"));
313
314
316 {
318 }
319 else
320
322 {
324 }
325 else
326
328 {
330 }
331 else
332
334 {
336 }
337 else
338 {
339
342 }
343
344
345
346
349}
#define DOUT(lvl, strings)
IAC97MiniportTopology * PAC97MINIPORTTOPOLOGY
static ULONG WINAPI AddRef(IStream *iface)
IMiniportTopology * PMINIPORTTOPOLOGY
#define STATUS_INVALID_PARAMETER
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
#define IsEqualGUIDAligned(guid1, guid2)
#define DBG_PRINT(ppi, ch, level)
◆ PinDataRangePointersAnalogBridge
Initial value:=
{
}
static KSDATARANGE PinDataRangesAnalogBridge[]
union KSDATAFORMAT * PKSDATARANGE
Definition at line 43 of file mintopo.cpp.
◆ PinDataRangesAnalogBridge
Initial value:=
{
{
0,
0,
0,
}
}
#define STATICGUIDOF(guid)
union KSDATAFORMAT KSDATARANGE
Definition at line 24 of file mintopo.cpp.
◆ Properties3D
Initial value:=
{
{
},
{
}
}
static NTSTATUS NTAPI PropertyHandler_Tone(IN PPCPROPERTY_REQUEST PropertyRequest)
static NTSTATUS NTAPI PropertyHandler_CpuResources(IN PPCPROPERTY_REQUEST PropertyRequest)
#define KSPROPERTY_TYPE_SET
#define KSPROPERTY_TYPE_BASICSUPPORT
#define KSPROPERTY_TYPE_GET
Definition at line 206 of file mintopo.cpp.
◆ PropertiesMute
Initial value:=
{
{
},
{
}
}
static NTSTATUS NTAPI PropertyHandler_OnOff(IN PPCPROPERTY_REQUEST PropertyRequest)
Definition at line 82 of file mintopo.cpp.
◆ PropertiesMux
Initial value:=
{
{
},
{
}
}
static NTSTATUS NTAPI PropertyHandler_Ulong(IN PPCPROPERTY_REQUEST PropertyRequest)
Definition at line 110 of file mintopo.cpp.
◆ PropertiesSpecial
◆ PropertiesTone
◆ PropertiesVolume
Initial value:=
{
{
},
{
}
}
static NTSTATUS NTAPI PropertyHandler_Level(IN PPCPROPERTY_REQUEST PropertyRequest)
Definition at line 54 of file mintopo.cpp.