Jump to content

ACCEL: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
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;


Line 11: Line 11:


==Fields==
==Fields==
;fs (USHORT)
;fs (USHORT):Options.
:Options.  
;key (USHORT):Key.
 
;cmd (USHORT):Command code.
;key (USHORT)
:The value to be placed in the uscmd parameter of a WM_HELP, a WM_COMMAND, or a WM_SYSCOMMAND.
: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.