MCPcopy Create free account
hub / github.com/audiorouterdev/audio-router / OnVolumeChange

Method OnVolumeChange

audio-router-gui/dialog_array.cpp:792–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

790}
791
792LRESULT dialog_array::OnVolumeChange(int /*idCtrl*/, LPNMHDR pNMHDR, BOOL& /*bHandled*/)
793{
794 // This feature requires Windows Vista or greater.
795 // The symbol _WIN32_WINNT must be >= 0x0600.
796 NMTRBTHUMBPOSCHANGING *pNMTPC = reinterpret_cast<NMTRBTHUMBPOSCHANGING *>(pNMHDR);
797
798 this->set_volume(100 - (int)pNMTPC->dwPos);
799
800 return 0;
801}
802
803LRESULT dialog_array::OnDestroy(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
804{

Callers

nothing calls this directly

Calls 1

set_volumeMethod · 0.95

Tested by

no test coverage detected