code_junkie

Volume Control Number of Channels XP different than Vista

Nov 11th, 2011
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. MIXERLINE MixerLine;
  2. memset( &MixerLine, 0, sizeof(MIXERLINE) );
  3. MixerLine.cbStruct = sizeof(MIXERLINE);
  4. MixerLine.dwComponentType = MIXERLINE_COMPONENTTYPE_SRC_WAVEOUT;
  5. mmResult = mixerGetLineInfo( (HMIXEROBJ)m_dwMixerHandle, &MixerLine, MIXER_GETLINEINFOF_COMPONENTTYPE );
Add Comment
Please, Sign In to add comment