windows_programming_notes.nbk: Home | Index | Next Page: GET_DEVICE_LPARAM | Previous Page: FreeEnvironmentStrings
 GET_APPCOMMAND_LPARAM
The GET_APPCOMMAND_LPARAM macro retrieves the application command from the specified LPARAM value.
Syntax
    short GET_APPCOMMAND_LPARAM(
        LPARAM lParam
    );
Parameters
-  lParam
 
Specifies the value to be converted. 
Return Value
The return value is the bits of the high-order word representing the
application command. It can be one of the following values.
-  APPCOMMAND_BASS_BOOST Toggle the bass boost on and off. 
 -  APPCOMMAND_BASS_DOWN Decrease the bass. 
 -  APPCOMMAND_BASS_UP Increase the bass. 
 -  APPCOMMAND_BROWSER_BACKWARD Navigate backward. 
 -  APPCOMMAND_BROWSER_FAVORITES Open favorites. 
 -  APPCOMMAND_BROWSER_FORWARD Navigate forward. 
 -  APPCOMMAND_BROWSER_HOME Navigate home. 
 -  APPCOMMAND_BROWSER_REFRESH Refresh page. 
 -  APPCOMMAND_BROWSER_SEARCH Open search. 
 -  APPCOMMAND_BROWSER_STOP Stop download. 
 -  APPCOMMAND_LAUNCH_APP1 Start App1. 
 -  APPCOMMAND_LAUNCH_APP2 Start App2. 
 -  APPCOMMAND_LAUNCH_MAIL Open mail. 
 -  APPCOMMAND_LAUNCH_MEDIA_SELECT Go to Media Select mode. 
 -  APPCOMMAND_MEDIA_NEXTTRACK Go to next track. 
 -  APPCOMMAND_MEDIA_PLAY_PAUSE Play or pause playback. 
 -  APPCOMMAND_MEDIA_PREVIOUSTRACK Go to previous track. 
 -  APPCOMMAND_MEDIA_STOP Stop playback. 
 -  APPCOMMAND_MICROPHONE_VOLUME_DOWN Windows XP: Increase microphone volume. 
 -  APPCOMMAND_MICROPHONE_VOLUME_MUTE Windows XP: Mute the microphone. 
 -  APPCOMMAND_MICROPHONE_VOLUME_UP Windows XP: Decrease microphone volume. 
 -  APPCOMMAND_TREBLE_DOWN Decrease the treble. 
 -  APPCOMMAND_TREBLE_UP Increase the treble. 
 -  APPCOMMAND_VOLUME_DOWN Lower the volume. 
 -  APPCOMMAND_VOLUME_MUTE Mute the volume. 
 -  APPCOMMAND_VOLUME_UP Raise the volume. 
 
Macro Information
-  Header Declared in Winuser.h, include Windows.h 
 -  Minimum operating systems Windows 2000
 
windows_programming_notes.nbk: Home | Index | Next Page: GET_DEVICE_LPARAM | Previous Page: FreeEnvironmentStrings
Notebook exported on Monday,  7 July 2008, 18:56:50 PM Eastern Daylight Time