Announcement

Collapse
No announcement yet.

Schnittstelle zur sndvol32.exe?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Schnittstelle zur sndvol32.exe?

    Hallo zusammen,

    ich möchte per BCB5 die einzelnen TrackBars der 'sndvol32.exe' steuern (sprich: die entsprechend Parameter zur Einstellung über eine Schnittstelle übergeben), leider habe ich keinen Scimmer, wie ich es anstellen kann. Kann mir da jemand weiterhelfen?
    Herzlichen Dank für Hinweise.

    Holger

  • #2
    mixerSetControlDetails (hmxobj, pmxcd, fdwDetails)

    · hmxobj
    Handle of the mixer device object for which properties are being set.

    · pmxcd
    Address of a MIXERCONTROLDETAILS structure. This structure is used to reference control detail structures that contain the desired state for the control.

    · fdwDetails
    Flags for setting properties for a control. The following values are defined:
    MIXER_OBJECTF_AUX
    The hmxobj parameter is an auxiliary device identifier in the range of zero to one less than the number of devices returned by the auxGetNumDevs function.
    MIXER_OBJECTF_HMIDIIN
    The hmxobj parameter is the handle of a MIDI input device. This handle must have been returned by the midiInOpen function.
    MIXER_OBJECTF_HMIDIOUT
    The hmxobj parameter is the handle of a MIDI output device. This handle must have been returned by the midiOutOpen function.
    MIXER_OBJECTF_HMIXER
    The hmxobj parameter is a mixer device handle returned by the mixerOpen function. This flag is optional.
    MIXER_OBJECTF_HWAVEIN
    The hmxobj parameter is a waveform-audio input handle returned by the waveInOpen function.
    MIXER_OBJECTF_HWAVEOUT
    The hmxobj parameter is a waveform-audio output handle returned by the waveOutOpen function.
    MIXER_OBJECTF_MIDIIN
    The hmxobj parameter is the identifier of a MIDI input device. This identifier must be in the range of zero to one less than the number of devices returned by the midiInGetNumDevs function.
    MIXER_OBJECTF_MIDIOUT
    The hmxobj parameter is the identifier of a MIDI output device. This identifier must be in the range of zero to one less than the number of devices returned by the midiOutGetNumDevs function.
    MIXER_OBJECTF_MIXER
    The hmxobj parameter is a mixer device identifier in the range of zero to one less than the number of devices returned by the mixerGetNumDevs function. This flag is optional.
    MIXER_OBJECTF_WAVEIN
    The hmxobj parameter is the identifier of a waveform-audio input device in the range of zero to one less than the number of devices returned by the waveInGetNumDevs function.
    MIXER_OBJECTF_WAVEOUT
    The hmxobj parameter is the identifier of a waveform-audio output device in the range of zero to one less than the number of devices returned by the waveOutGetNumDevs function.
    MIXER_SETCONTROLDETAILSF_CUSTOM
    A custom dialog box for the specified custom mixer control is displayed. The mixer device gathers the required information from the user and returns the data in the specified buffer. The handle for the owning window is specified in the hwndOwner member of the MIXERCONTROLDETAILS structure. (This handle can be set to NULL.) The application can then save the data from the dialog box and use it later to reset the control to the same state by using the MIXER_SETCONTROLDETAILSF_VALUE flag.
    MIXER_SETCONTROLDETAILSF_VALUE
    The current value(s) for a control are set. The paDetails member of the MIXERCONTROLDETAILS structure points to one or more mixer-control details structures of the appropriate class for the control

    Comment

    Working...
    X