Export (0) Print
Expand All

GET_APPCOMMAND_LPARAM macro

Retrieves the application command from the specified LPARAM value.

Syntax


short GET_APPCOMMAND_LPARAM(
  LPARAM lParam
);

Parameters

lParam

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.

Return code/valueDescription
APPCOMMAND_BASS_BOOST
20

Toggle the bass boost on and off.

APPCOMMAND_BASS_DOWN
19

Decrease the bass.

APPCOMMAND_BASS_UP
21

Increase the bass.

APPCOMMAND_BROWSER_BACKWARD
1

Navigate backward.

APPCOMMAND_BROWSER_FAVORITES
6

Open favorites.

APPCOMMAND_BROWSER_FORWARD
2

Navigate forward.

APPCOMMAND_BROWSER_HOME
7

Navigate home.

APPCOMMAND_BROWSER_REFRESH
3

Refresh page.

APPCOMMAND_BROWSER_SEARCH
5

Open search.

APPCOMMAND_BROWSER_STOP
4

Stop download.

APPCOMMAND_DELETE
53

Delete/clear the selection.

APPCOMMAND_DWM_FLIP3D
54

Start the Flip 3D view of the desktop.

APPCOMMAND_LAUNCH_APP1
17

Start App1.

APPCOMMAND_LAUNCH_APP2
18

Start App2.

APPCOMMAND_LAUNCH_MAIL
15

Open mail.

APPCOMMAND_LAUNCH_MEDIA_SELECT
16

Go to Media Select mode.

APPCOMMAND_MEDIA_NEXTTRACK
11

Go to next track.

APPCOMMAND_MEDIA_PLAY_PAUSE
14

Play or pause playback.

APPCOMMAND_MEDIA_PREVIOUSTRACK
12

Go to previous track.

APPCOMMAND_MEDIA_STOP
13

Stop playback.

APPCOMMAND_MICROPHONE_VOLUME_DOWN
25

Increase microphone volume.

APPCOMMAND_MICROPHONE_VOLUME_MUTE
24

Mute the microphone.

APPCOMMAND_MICROPHONE_VOLUME_UP
26

Decrease microphone volume.

APPCOMMAND_TREBLE_DOWN
22

Decrease the treble.

APPCOMMAND_TREBLE_UP
23

Increase the treble.

APPCOMMAND_VOLUME_DOWN
9

Lower the volume.

APPCOMMAND_VOLUME_MUTE
8

Mute the volume.

APPCOMMAND_VOLUME_UP
10

Raise the volume.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Mouse Input Overview

 

 

Community Additions

ADD
Show:
© 2014 Microsoft