summaryrefslogtreecommitdiff
path: root/audio/sysvad/EndpointsCommon/mintopo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sysvad/EndpointsCommon/mintopo.cpp')
-rw-r--r--audio/sysvad/EndpointsCommon/mintopo.cpp17
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;
+}
+
+