diff options
| author | karlf <[email protected]> | 2016-08-11 13:28:13 -0700 |
|---|---|---|
| committer | karlf <[email protected]> | 2016-08-11 13:28:13 -0700 |
| commit | 96eb96dfb613e4c745db6bd1f53a92fe7e2290fc (patch) | |
| tree | ad5f3ede5cbcd6b598677ce41bcf8318471bdd92 /audio/sysvad/EndpointsCommon/mintopo.cpp | |
| parent | 687b274aa38fd05c8c26e3068932121876d7f745 (diff) | |
Updated for "Windows 10 Anniversary Update" (Version 1607)
Diffstat (limited to 'audio/sysvad/EndpointsCommon/mintopo.cpp')
| -rw-r--r-- | audio/sysvad/EndpointsCommon/mintopo.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/sysvad/EndpointsCommon/mintopo.cpp b/audio/sysvad/EndpointsCommon/mintopo.cpp index 47a89cac..42e61868 100644 --- a/audio/sysvad/EndpointsCommon/mintopo.cpp +++ b/audio/sysvad/EndpointsCommon/mintopo.cpp @@ -134,6 +134,8 @@ Return Value: SAFE_RELEASE(m_BthHfpDevice); // IBthHfpDeviceCommon } #endif // SYSVAD_BTH_BYPASS + + } // ~CMiniportTopology //============================================================================= @@ -729,3 +731,18 @@ Return Value: #pragma code_seg() +//============================================================================= +NTSTATUS CMiniportTopology_EventHandler_JackState +( + _In_ PPCEVENT_REQUEST EventRequest +) +{ + CMiniportTopology* miniport = reinterpret_cast<CMiniportTopology*>(EventRequest->MajorTarget); + if (EventRequest->Verb == PCEVENT_VERB_ADD) + { + miniport->AddEventToEventList(EventRequest->EventEntry); + } + return STATUS_SUCCESS; +} + + |
