Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WaveOutSetVolume
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00185200
Message ID:
00185422
Vues:
24
Hi John,

> what the value for the following:
>MMRESULT waveOutOpen(
>LPHWAVEOUT phwo,
>UINT uDeviceID,
>LPWAVEFORMATEX pwfx,
>DWORD dwCallback,
>DWORD dwCallbackInstance,
>DWORD fdwOpen
>);
>
>MMRESULT waveOutSetVolume(
>HWAVEOUT hwo, && especially this
>DWORD dwVolume
>);


What values you have to use in the waveOutOpen() function depends on what you are trying to do, especially those in the LPWAVEFORMATEX structure. hwo in waveOutSetVolume is that value that waveOutOpen returns in phwo. uDeviceID can be an ID or the constant WAVE_MAPPER (2) which chooses a device that matches your criteria. dwCallback and dwCallbackInstance should be 0. fdwOpen should be CALLBACK_NULL (0x00000000l). dwVolume contains the desired volume.

Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform