]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - pageant.c
Simon has reminded me _why_ menu identifiers were spaced every sixteen, so
[PuTTY.git] / pageant.c
index e0def27a839d4a2b258d66b7d9eb2970f20c2423..e0f77c3089073ba0ec28b63e1497c2e779fa0a89 100644 (file)
--- a/pageant.c
+++ b/pageant.c
  */
 #define AGENT_MAX_MSGLEN  8192
 
+/* From MSDN: In the WM_SYSCOMMAND message, the four low-order bits of
+ * wParam are used by Windows, and should be masked off, so we shouldn't
+ * attempt to store information in them. Hence all these identifiers have
+ * the low 4 bits clear. */
+
 #define IDM_CLOSE    0x0010
 #define IDM_VIEWKEYS 0x0020
 #define IDM_ADDKEY   0x0030