Jump to content

ACCEL: Difference between revisions

From EDM2
Created page with "Accelerator structure. <PRE> typedef struct _ACCEL { USHORT fs; Options.: USHORT key; Key.: USHORT cmd; Command code.: } ACCEL; typede..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
<PRE>
<PRE>
typedef struct _ACCEL {
typedef struct _ACCEL {
   USHORT    fs;  /* Options. */
   USHORT    fs;  /* Options. */
   USHORT    key;  /* Key. */
   USHORT    key;  /* Key. */
   USHORT    cmd;  /* Command code. */
   USHORT    cmd;  /* Command code. */
} ACCEL;
} ACCEL;


typedef  ACCEL  * PACCEL ;
typedef  ACCEL  * PACCEL ;
</PRE>
</PRE>
==Fields==
;fs (USHORT):Options.
;key (USHORT):Key.
;cmd (USHORT):Command code.
:The value to be placed in the uscmd parameter of a WM_HELP, a WM_COMMAND, or a WM_SYSCOMMAND.


[[Category:PM Data type]]
[[Category:PM Data type]]

Latest revision as of 12:29, 2 April 2025

Accelerator structure.

typedef struct _ACCEL {
  USHORT     fs;   /* Options. */
  USHORT     key;  /* Key. */
  USHORT     cmd;  /* Command code. */
} ACCEL;

typedef   ACCEL   * PACCEL ;

Fields

fs (USHORT)
Options.
key (USHORT)
Key.
cmd (USHORT)
Command code.
The value to be placed in the uscmd parameter of a WM_HELP, a WM_COMMAND, or a WM_SYSCOMMAND.