home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warptlk3.zip / TOOLKIT / H / WPKEYBD.XH < prev    next >
Text File  |  1995-08-30  |  94KB  |  3,524 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: wpkeybd.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.2
  7.  *     SOM Emitter emitxh: 2.41
  8.  */
  9.  
  10. /*
  11.  *   Module Header
  12.  * 
  13.  *   Module Name: WPKEYBD
  14.  * 
  15.  *   OS/2 Presentation Manager Workplace class definitions
  16.  * 
  17.  *   Copyright (c) International Business Machines Corporation 1991, 1992
  18.  * 
  19.  */
  20.  
  21.  
  22. #ifndef SOM_WPKeyboard_xh
  23. #define SOM_WPKeyboard_xh
  24.  
  25. class WPKeyboard;
  26.  
  27. #define WPKeyboard_MajorVersion 1
  28. #define WPKeyboard_MinorVersion 2
  29.  
  30. /*
  31.  * Passthru lines: File: "C.xh", "before"
  32.  */
  33.  
  34.  
  35. /***********************************************************/
  36. /* Defines for wpclsQuerySetting and wpclsSetSetting       */
  37. /***********************************************************/
  38.  
  39. #define REPEATRATE_DEFAULT        0
  40. #define REPEATRATE_MAX           20
  41. #define REPEATRATE_MIN            1
  42. #define REPEATDELAY_DEFAULT      -1
  43. #define REPEATDELAY_MAX         890
  44. #define REPEATDELAY_MIN           0
  45. #define CURSORBLINK_DEFAULT      -1
  46. #define CURSORBLINK_MAX         890
  47. #define CURSORBLINK_MIN           0
  48. #define POPUPKEY_DEFAULT          0
  49. #define TEXTEDITKEY_DEFAULT       0
  50.  
  51.  
  52.  
  53. /* C++ SOM defs */
  54. #include <somcls.xh>
  55. #include <somcm.xh>
  56.  
  57. /* C++ parent defs */
  58. #ifndef SOM_WPAbstract_xh
  59. #include <wpabs.xh>
  60. #endif
  61.  
  62. #ifndef WPKeyboard_API
  63. #define WPKeyboard_API
  64. /*
  65.  * -- The Class API
  66.  */
  67.  
  68. /*
  69.  * Start of user-defined types:
  70.  */
  71. class SOMClass;
  72. class SOMObject;
  73. class WPFolder;
  74. class M_WPObject;
  75. class WPObject;
  76. class M_WPAbstract;
  77. class M_WPKeyboard;
  78.  
  79. /*
  80.  * End of user-defined types.
  81.  */
  82.  
  83. /* A procedure to create the WPKeyboard Class */
  84. class M_WPKeyboard;
  85. SOMEXTERN M_WPKeyboard * SOMLINK WPKeyboardNewClass(
  86.         integer4 majorVersion,
  87.         integer4 minorVersion);
  88.  
  89. /* The API to the WPKeyboard class object, and the methods it introduces. */
  90. SOMEXTERN struct WPKeyboardClassDataStructure {
  91.     M_WPKeyboard *classObject;
  92.     somMToken wpAddKeyboardMappingsPage;
  93.     somMToken wpAddKeyboardTimingPage;
  94.     somMToken wpAddKeyboardSpecialNeedsPage;
  95. } SOMDLINK WPKeyboardClassData;
  96. #define _WPKeyboard WPKeyboardClassData.classObject
  97.  
  98. /* The API to parentMtabs for WPKeyboard, and the instance data it introduces. */
  99. SOMEXTERN struct WPKeyboardCClassDataStructure {
  100.     somMethodTabs parentMtab;
  101.     somDToken              instanceDataToken;
  102. } SOMDLINK WPKeyboardCClassData;
  103.  
  104. /*
  105.  * -- Typedefs for WPKeyboard Method Procedures
  106.  */
  107. SOMEXTERN {
  108. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpAddKeyboardMappingsPage)(WPKeyboard *somSelf,
  109.         HWND hwndNotebook);
  110. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpAddKeyboardTimingPage)(WPKeyboard *somSelf,
  111.         HWND hwndNotebook);
  112. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpAddKeyboardSpecialNeedsPage)(WPKeyboard *somSelf,
  113.         HWND hwndNotebook);
  114.  
  115. /*
  116.  * -- Typedefs for Reintroduced Wrapper Methods
  117.  */
  118. typedef HOBJECT   (SOMLINK * somTD_WPKeyboard_wpQueryHandle)(WPKeyboard *somSelf);
  119. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSaveImmediate)(WPKeyboard *somSelf);
  120. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSaveState)(WPKeyboard *somSelf);
  121. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpRestoreState)(WPKeyboard *somSelf,
  122.         ULONG ulReserved);
  123. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSetTitle)(WPKeyboard *somSelf,
  124.         PSZ pszNewTitle);
  125. typedef WPObject*   (SOMLINK * somTD_WPKeyboard_wpCopyObject)(WPKeyboard *somSelf,
  126.         WPFolder* Folder,
  127.         BOOL fLock);
  128. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpMoveObject)(WPKeyboard *somSelf,
  129.         WPFolder* Folder);
  130. typedef HPOINTER   (SOMLINK * somTD_WPKeyboard_wpQueryIcon)(WPKeyboard *somSelf);
  131. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpQueryIconData)(WPKeyboard *somSelf,
  132.         PICONINFO pIconInfo);
  133. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSetIconData)(WPKeyboard *somSelf,
  134.         PICONINFO pIconInfo);
  135. typedef MRESULT   (SOMLINK * somTD_WPKeyboard_wpDragOver)(WPKeyboard *somSelf,
  136.         HWND hwndCnr,
  137.         PDRAGINFO pdrgInfo);
  138. typedef BOOL32   (SOMLINK * somTD_WPKeyboard_wpReplaceObject)(WPKeyboard *somSelf,
  139.         WPObject* targetObject,
  140.         BOOL32 fMove);
  141. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpQueryNameClashOptions)(WPKeyboard *somSelf,
  142.         ULONG menuID);
  143. typedef void   (SOMLINK * somTD_WPKeyboard_somDefaultInit)(WPKeyboard *somSelf,
  144.         somInitCtrl* ctrl);
  145. typedef void   (SOMLINK * somTD_WPKeyboard_somDestruct)(WPKeyboard *somSelf,
  146.         octet doFree,
  147.         somDestructCtrl* ctrl);
  148. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpAddObjectGeneralPage)(WPKeyboard *somSelf,
  149.         HWND hwndNotebook);
  150. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpAddObjectGeneralPage2)(WPKeyboard *somSelf,
  151.         HWND hwndNotebook);
  152. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpAddObjectWindowPage)(WPKeyboard *somSelf,
  153.         HWND hwndNotebook);
  154. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpAddSettingsPages)(WPKeyboard *somSelf,
  155.         HWND hwndNotebook);
  156. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpAddToObjUseList)(WPKeyboard *somSelf,
  157.         PUSEITEM pUseItem);
  158. typedef PBYTE   (SOMLINK * somTD_WPKeyboard_wpAllocMem)(WPKeyboard *somSelf,
  159.         ULONG cbBytes,
  160.         PULONG prc);
  161. typedef BOOL32   (SOMLINK * somTD_WPKeyboard_wpAppendObject)(WPKeyboard *somSelf,
  162.         WPObject* targetObject,
  163.         BOOL32 fMove);
  164. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpAssertObjectMutexSem)(WPKeyboard *somSelf);
  165. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpClose)(WPKeyboard *somSelf);
  166. typedef PMINIRECORDCORE   (SOMLINK * somTD_WPKeyboard_wpCnrInsertObject)(WPKeyboard *somSelf,
  167.         HWND hwndCnr,
  168.         PPOINTL pptlIcon,
  169.         PMINIRECORDCORE preccParent,
  170.         PRECORDINSERT pRecInsert);
  171. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpCnrRemoveObject)(WPKeyboard *somSelf,
  172.         HWND hwndCnr);
  173. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpCnrSetEmphasis)(WPKeyboard *somSelf,
  174.         ULONG ulEmphasisAttr,
  175.         BOOL fTurnOn);
  176. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpConfirmDelete)(WPKeyboard *somSelf,
  177.         ULONG fConfirmations);
  178. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpConfirmObjectTitle)(WPKeyboard *somSelf,
  179.         WPFolder* Folder,
  180.         WPObject** ppDuplicate,
  181.         PSZ pszTitle,
  182.         ULONG cbTitle,
  183.         ULONG menuID);
  184. typedef void   (SOMLINK * somTD_WPKeyboard_wpCopiedFromTemplate)(WPKeyboard *somSelf);
  185. typedef WPObject*   (SOMLINK * somTD_WPKeyboard_wpCreateAnother)(WPKeyboard *somSelf,
  186.         PSZ pszTitle,
  187.         PSZ pszSetupEnv,
  188.         WPFolder* Folder);
  189. typedef WPObject*   (SOMLINK * somTD_WPKeyboard_wpCreateFromTemplate)(WPKeyboard *somSelf,
  190.         WPFolder* folder,
  191.         BOOL fLock);
  192. typedef WPObject*   (SOMLINK * somTD_WPKeyboard_wpCreateShadowObject)(WPKeyboard *somSelf,
  193.         WPFolder* Folder,
  194.         BOOL fLock);
  195. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpDelete)(WPKeyboard *somSelf,
  196.         ULONG fConfirmations);
  197. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpDeleteFromObjUseList)(WPKeyboard *somSelf,
  198.         PUSEITEM pUseItem);
  199. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpDisplayHelp)(WPKeyboard *somSelf,
  200.         ULONG HelpPanelId,
  201.         PSZ HelpLibrary);
  202. typedef HWND   (SOMLINK * somTD_WPKeyboard_wpDisplayMenu)(WPKeyboard *somSelf,
  203.         HWND hwndOwner,
  204.         HWND hwndClient,
  205.         POINTL* ptlPopupPt,
  206.         ULONG ulMenuType,
  207.         ULONG ulReserved);
  208. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpDoesObjectMatch)(WPKeyboard *somSelf,
  209.         PVOID pvoidExtendedCriteria);
  210. typedef MRESULT   (SOMLINK * somTD_WPKeyboard_wpDraggedOverObject)(WPKeyboard *somSelf,
  211.         WPObject* DraggedOverObject);
  212. typedef MRESULT   (SOMLINK * somTD_WPKeyboard_wpDrop)(WPKeyboard *somSelf,
  213.         HWND hwndCnr,
  214.         PDRAGINFO pdrgInfo,
  215.         PDRAGITEM pdrgItem);
  216. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpDroppedOnObject)(WPKeyboard *somSelf,
  217.         WPObject* DroppedOnObject);
  218. typedef MRESULT   (SOMLINK * somTD_WPKeyboard_wpEndConversation)(WPKeyboard *somSelf,
  219.         ULONG ulItemID,
  220.         ULONG flResult);
  221. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpFilterPopupMenu)(WPKeyboard *somSelf,
  222.         ULONG ulFlags,
  223.         HWND hwndCnr,
  224.         BOOL fMultiSelect);
  225. typedef PUSEITEM   (SOMLINK * somTD_WPKeyboard_wpFindUseItem)(WPKeyboard *somSelf,
  226.         ULONG type,
  227.         PUSEITEM pCurrentItem);
  228. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpFormatDragItem)(WPKeyboard *somSelf,
  229.         PDRAGITEM pdrgItem);
  230. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpFree)(WPKeyboard *somSelf);
  231. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpFreeMem)(WPKeyboard *somSelf,
  232.         PBYTE pByte);
  233. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpHide)(WPKeyboard *somSelf);
  234. typedef void   (SOMLINK * somTD_WPKeyboard_wpInitData)(WPKeyboard *somSelf);
  235. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpInsertPopupMenuItems)(WPKeyboard *somSelf,
  236.         HWND hwndMenu,
  237.         ULONG iPosition,
  238.         HMODULE hmod,
  239.         ULONG MenuID,
  240.         ULONG SubMenuID);
  241. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpInsertSettingsPage)(WPKeyboard *somSelf,
  242.         HWND hwndNotebook,
  243.         PPAGEINFO ppageinfo);
  244. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpMenuItemHelpSelected)(WPKeyboard *somSelf,
  245.         ULONG MenuId);
  246. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpMenuItemSelected)(WPKeyboard *somSelf,
  247.         HWND hwndFrame,
  248.         ULONG ulMenuId);
  249. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpModifyPopupMenu)(WPKeyboard *somSelf,
  250.         HWND hwndMenu,
  251.         HWND hwndCnr,
  252.         ULONG iPosition);
  253. typedef HWND   (SOMLINK * somTD_WPKeyboard_wpOpen)(WPKeyboard *somSelf,
  254.         HWND hwndCnr,
  255.         ULONG ulView,
  256.         ULONG param);
  257. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpPrintObject)(WPKeyboard *somSelf,
  258.         PPRINTDEST pPrintDest,
  259.         ULONG ulReserved);
  260. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpQueryConcurrentView)(WPKeyboard *somSelf);
  261. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpQueryButtonAppearance)(WPKeyboard *somSelf);
  262. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpQueryConfirmations)(WPKeyboard *somSelf);
  263. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpQueryDefaultHelp)(WPKeyboard *somSelf,
  264.         PULONG pHelpPanelId,
  265.         PSZ HelpLibrary);
  266. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpQueryDefaultView)(WPKeyboard *somSelf);
  267. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpQueryDetailsData)(WPKeyboard *somSelf,
  268.         PVOID* ppDetailsData,
  269.         PULONG pcp);
  270. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpQueryError)(WPKeyboard *somSelf);
  271. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSetFolder)(WPKeyboard *somSelf,
  272.         WPObject* container);
  273. typedef WPObject*   (SOMLINK * somTD_WPKeyboard_wpQueryFolder)(WPKeyboard *somSelf);
  274. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpQueryMinWindow)(WPKeyboard *somSelf);
  275. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpQueryStyle)(WPKeyboard *somSelf);
  276. typedef BOOL32   (SOMLINK * somTD_WPKeyboard_wpSetTaskRec)(WPKeyboard *somSelf,
  277.         PTASKREC pNew,
  278.         PTASKREC pOld);
  279. typedef PTASKREC   (SOMLINK * somTD_WPKeyboard_wpFindTaskRec)(WPKeyboard *somSelf);
  280. typedef PSZ   (SOMLINK * somTD_WPKeyboard_wpQueryTitle)(WPKeyboard *somSelf);
  281. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpRegisterView)(WPKeyboard *somSelf,
  282.         HWND hwndFrame,
  283.         PSZ pszViewTitle);
  284. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpReleaseObjectMutexSem)(WPKeyboard *somSelf);
  285. typedef MRESULT   (SOMLINK * somTD_WPKeyboard_wpRender)(WPKeyboard *somSelf,
  286.         PDRAGTRANSFER pdxfer);
  287. typedef MRESULT   (SOMLINK * somTD_WPKeyboard_wpRenderComplete)(WPKeyboard *somSelf,
  288.         PDRAGTRANSFER pdxfer,
  289.         ULONG ulResult);
  290. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpRequestObjectMutexSem)(WPKeyboard *somSelf,
  291.         ULONG ulTimeout);
  292. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpRestore)(WPKeyboard *somSelf);
  293. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpRestoreData)(WPKeyboard *somSelf,
  294.         PSZ pszClass,
  295.         ULONG ulKey,
  296.         PBYTE pValue,
  297.         PULONG pcbValue);
  298. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpRestoreLong)(WPKeyboard *somSelf,
  299.         PSZ pszClass,
  300.         ULONG ulKey,
  301.         PULONG pulValue);
  302. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpRestoreString)(WPKeyboard *somSelf,
  303.         PSZ pszClass,
  304.         ULONG ulKey,
  305.         PSZ pszValue,
  306.         PULONG pcbValue);
  307. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSaveData)(WPKeyboard *somSelf,
  308.         PSZ pszClass,
  309.         ULONG ulKey,
  310.         PBYTE pValue,
  311.         ULONG cbValue);
  312. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSaveDeferred)(WPKeyboard *somSelf);
  313. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSaveLong)(WPKeyboard *somSelf,
  314.         PSZ pszClass,
  315.         ULONG ulKey,
  316.         ULONG ulValue);
  317. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSaveString)(WPKeyboard *somSelf,
  318.         PSZ pszClass,
  319.         ULONG ulKey,
  320.         PSZ pszValue);
  321. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpScanSetupString)(WPKeyboard *somSelf,
  322.         PSZ pszSetupString,
  323.         PSZ pszKey,
  324.         PSZ pszValue,
  325.         PULONG pcbValue);
  326. typedef void   (SOMLINK * somTD_WPKeyboard_wpSetConcurrentView)(WPKeyboard *somSelf,
  327.         ULONG ulCCView);
  328. typedef void   (SOMLINK * somTD_WPKeyboard_wpSetButtonAppearance)(WPKeyboard *somSelf,
  329.         ULONG ulButtonType);
  330. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSetDefaultHelp)(WPKeyboard *somSelf,
  331.         ULONG HelpPanelId,
  332.         PSZ HelpLibrary);
  333. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSetDefaultView)(WPKeyboard *somSelf,
  334.         ULONG ulView);
  335. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSetError)(WPKeyboard *somSelf,
  336.         ULONG ulErrorId);
  337. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSetIconHandle)(WPKeyboard *somSelf,
  338.         HPOINTER hptrNewIcon);
  339. typedef USHORT   (SOMLINK * somTD_WPKeyboard_wpQueryScreenGroupID)(WPKeyboard *somSelf,
  340.         USHORT usPrevSgId);
  341. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSetupOnce)(WPKeyboard *somSelf,
  342.         PSZ pszSetupString);
  343. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSetIcon)(WPKeyboard *somSelf,
  344.         HPOINTER hptrNewIcon);
  345. typedef void   (SOMLINK * somTD_WPKeyboard_wpSetMinWindow)(WPKeyboard *somSelf,
  346.         ULONG ulMinWindow);
  347. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSetStyle)(WPKeyboard *somSelf,
  348.         ULONG ulNewStyle);
  349. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpModifyStyle)(WPKeyboard *somSelf,
  350.         ULONG ulStyleFlags,
  351.         ULONG ulStyleMask);
  352. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSetup)(WPKeyboard *somSelf,
  353.         PSZ pszSetupString);
  354. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSwitchTo)(WPKeyboard *somSelf,
  355.         ULONG View);
  356. typedef void   (SOMLINK * somTD_WPKeyboard_wpUnInitData)(WPKeyboard *somSelf);
  357. typedef HWND   (SOMLINK * somTD_WPKeyboard_wpViewObject)(WPKeyboard *somSelf,
  358.         HWND hwndCnr,
  359.         ULONG ulView,
  360.         ULONG param);
  361. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpQueryTrueStyle)(WPKeyboard *somSelf);
  362. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpUnlockObject)(WPKeyboard *somSelf);
  363. typedef void   (SOMLINK * somTD_WPKeyboard_wpObjectReady)(WPKeyboard *somSelf,
  364.         ULONG ulCode,
  365.         WPObject* refObject);
  366. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpIsObjectInitialized)(WPKeyboard *somSelf);
  367. typedef WPObject*   (SOMLINK * somTD_WPKeyboard_wpCreateShadowObjectExt)(WPKeyboard *somSelf,
  368.         WPFolder* Folder,
  369.         BOOL fLock,
  370.         PSZ pszSetup,
  371.         M_WPObject* shadowClass);
  372. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpCnrDeleteUseItem)(WPKeyboard *somSelf,
  373.         HWND hwndCnr);
  374. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpIsDeleteable)(WPKeyboard *somSelf);
  375. typedef PMINIRECORDCORE   (SOMLINK * somTD_WPKeyboard_wpQueryCoreRecord)(WPKeyboard *somSelf);
  376. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSetObjectID)(WPKeyboard *somSelf,
  377.         PSZ pszObjectID);
  378. typedef PSZ   (SOMLINK * somTD_WPKeyboard_wpQueryObjectID)(WPKeyboard *somSelf);
  379. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpSetDefaultIconPos)(WPKeyboard *somSelf,
  380.         PPOINTL pPointl);
  381. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpQueryDefaultIconPos)(WPKeyboard *somSelf,
  382.         PPOINTL pPointl);
  383. typedef void   (SOMLINK * somTD_WPKeyboard_wpCnrRefreshDetails)(WPKeyboard *somSelf);
  384. typedef PVIEWITEM   (SOMLINK * somTD_WPKeyboard_wpFindViewItem)(WPKeyboard *somSelf,
  385.         ULONG flViews,
  386.         PVIEWITEM pCurrentItem);
  387. typedef void   (SOMLINK * somTD_WPKeyboard_wpLockObject)(WPKeyboard *somSelf);
  388. typedef BOOL   (SOMLINK * somTD_WPKeyboard_wpIsLocked)(WPKeyboard *somSelf);
  389. typedef PULONG   (SOMLINK * somTD_WPKeyboard_wpQueryContainerFlagPtr)(WPKeyboard *somSelf);
  390. typedef ULONG   (SOMLINK * somTD_WPKeyboard_wpWaitForClose)(WPKeyboard *somSelf,
  391.         LHANDLE lhView,
  392.         ULONG ulViews,
  393.         long lTimeOut,
  394.         BOOL bAutoClose);
  395. typedef void   (SOMLINK * somTD_WPKeyboard_somInit)(WPKeyboard *somSelf);
  396. typedef void   (SOMLINK * somTD_WPKeyboard_somUninit)(WPKeyboard *somSelf);
  397. typedef void   (SOMLINK * somTD_WPKeyboard_somDefaultCopyInit)(WPKeyboard *somSelf,
  398.         somInitCtrl* ctrl,
  399.         SOMObject* fromObj);
  400. typedef WPKeyboard*   (SOMLINK * somTD_WPKeyboard_somDefaultAssign)(WPKeyboard *somSelf,
  401.         somAssignCtrl* ctrl,
  402.         SOMObject* fromObj);
  403. typedef void   (SOMLINK * somTD_WPKeyboard_somDefaultConstCopyInit)(WPKeyboard *somSelf,
  404.         somInitCtrl* ctrl,
  405.         SOMObject* fromObj);
  406. typedef void   (SOMLINK * somTD_WPKeyboard_somDefaultVCopyInit)(WPKeyboard *somSelf,
  407.         somInitCtrl* ctrl,
  408.         SOMObject* fromObj);
  409. typedef void   (SOMLINK * somTD_WPKeyboard_somDefaultConstVCopyInit)(WPKeyboard *somSelf,
  410.         somInitCtrl* ctrl,
  411.         SOMObject* fromObj);
  412. typedef WPKeyboard*   (SOMLINK * somTD_WPKeyboard_somDefaultConstAssign)(WPKeyboard *somSelf,
  413.         somAssignCtrl* ctrl,
  414.         SOMObject* fromObj);
  415. typedef WPKeyboard*   (SOMLINK * somTD_WPKeyboard_somDefaultVAssign)(WPKeyboard *somSelf,
  416.         somAssignCtrl* ctrl,
  417.         SOMObject* fromObj);
  418. typedef WPKeyboard*   (SOMLINK * somTD_WPKeyboard_somDefaultConstVAssign)(WPKeyboard *somSelf,
  419.         somAssignCtrl* ctrl,
  420.         SOMObject* fromObj);
  421. typedef void   (SOMLINK * somTD_WPKeyboard_somFree)(WPKeyboard *somSelf);
  422. typedef M_WPKeyboard*   (SOMLINK * somTD_WPKeyboard_somGetClass)(WPKeyboard *somSelf);
  423. typedef string   (SOMLINK * somTD_WPKeyboard_somGetClassName)(WPKeyboard *somSelf);
  424. typedef long   (SOMLINK * somTD_WPKeyboard_somGetSize)(WPKeyboard *somSelf);
  425. typedef boolean   (SOMLINK * somTD_WPKeyboard_somIsA)(WPKeyboard *somSelf,
  426.         SOMClass* aClassObj);
  427. typedef boolean   (SOMLINK * somTD_WPKeyboard_somIsInstanceOf)(WPKeyboard *somSelf,
  428.         SOMClass* aClassObj);
  429. typedef boolean   (SOMLINK * somTD_WPKeyboard_somRespondsTo)(WPKeyboard *somSelf,
  430.         somId mId);
  431. typedef boolean   (SOMLINK * somTD_WPKeyboard_somDispatch)(WPKeyboard *somSelf,
  432.         somToken* retValue,
  433.         somId methodId,
  434.         va_list ap);
  435. typedef boolean   (SOMLINK * somTD_WPKeyboard_somClassDispatch)(WPKeyboard *somSelf,
  436.         SOMClass* clsObj,
  437.         somToken* retValue,
  438.         somId methodId,
  439.         va_list ap);
  440. typedef boolean   (SOMLINK * somTD_WPKeyboard_somCastObj)(WPKeyboard *somSelf,
  441.         SOMClass* cls);
  442. typedef boolean   (SOMLINK * somTD_WPKeyboard_somResetObj)(WPKeyboard *somSelf);
  443. typedef void   (SOMLINK * somTD_WPKeyboard_somDispatchV)(WPKeyboard *somSelf,
  444.         somId methodId,
  445.         somId descriptor,
  446.         va_list ap);
  447. typedef long   (SOMLINK * somTD_WPKeyboard_somDispatchL)(WPKeyboard *somSelf,
  448.         somId methodId,
  449.         somId descriptor,
  450.         va_list ap);
  451. typedef void*   (SOMLINK * somTD_WPKeyboard_somDispatchA)(WPKeyboard *somSelf,
  452.         somId methodId,
  453.         somId descriptor,
  454.         va_list ap);
  455. typedef double   (SOMLINK * somTD_WPKeyboard_somDispatchD)(WPKeyboard *somSelf,
  456.         somId methodId,
  457.         somId descriptor,
  458.         va_list ap);
  459. typedef SOMObject*   (SOMLINK * somTD_WPKeyboard_somPrintSelf)(WPKeyboard *somSelf);
  460. typedef void   (SOMLINK * somTD_WPKeyboard_somDumpSelf)(WPKeyboard *somSelf,
  461.         long level);
  462. typedef void   (SOMLINK * somTD_WPKeyboard_somDumpSelfInt)(WPKeyboard *somSelf,
  463.         long level);
  464. }
  465.  
  466. #endif /* WPKeyboard_API */
  467.  
  468.  
  469. /*
  470.  * -- This emitter treats Method Tokens as Thunks by default.
  471.  * -- Use the sc modifier "nothunks" to change this default
  472.  */
  473. #undef somresolve_
  474. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  475.  
  476. /*
  477.  * -- The C++ Wrapper Class for WPKeyboard
  478.  */
  479. class WPKeyboard : public WPAbstract
  480. {
  481. public:
  482.  
  483. // WPKeyboard::new creates the class object if necessary, and then uses somNewNoInit
  484. // to allocate memory and create the object. Initialization is in ctors.
  485. void *operator new(size_t size)
  486. {
  487.    SOM_IgnoreWarning(size);
  488.    if (!_WPKeyboard) WPKeyboardNewClass(WPKeyboard_MajorVersion,WPKeyboard_MinorVersion);
  489.    return (void*)
  490.       SOM_Resolve(_WPKeyboard,SOMClass,somNewNoInit)
  491.          ((SOMClass *)((void*)_WPKeyboard));
  492. }
  493.  
  494. // WPKeyboard::delete uses the default deallocator for the object's class.
  495. void operator delete(void * obj)
  496. {
  497.    somToken objCls = obj ? *(void**)obj : (somToken) NULL;
  498.    if (somIsObj(objCls)) {
  499.       SOM_Resolve(objCls,SOMClass,somDeallocate)
  500.          ((SOMClass*)objCls, (string)obj);
  501.    }
  502. }
  503.  
  504. WPKeyboard()
  505. {
  506.    if (*(void**)this != 
  507.        ((somParentMtabStructPtr)
  508.         (WPKeyboardCClassData.parentMtab))->mtab)
  509.       return;
  510.    somDefaultInit(0);
  511. }
  512.  
  513. WPKeyboard(WPKeyboard* fromObj)
  514. {
  515.    if (*(void**)this != 
  516.        ((somParentMtabStructPtr)
  517.         (WPKeyboardCClassData.parentMtab))->mtab)
  518.       return;
  519.    somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  520. }
  521.  
  522. WPKeyboard(const WPKeyboard* fromObj)
  523. {
  524.    if (*(void**)this != 
  525.        ((somParentMtabStructPtr)
  526.         (WPKeyboardCClassData.parentMtab))->mtab)
  527.       return;
  528.    somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  529. }
  530.  
  531. ~WPKeyboard()
  532. {
  533.    if (!somIsObj(this)) return;
  534.    somDestruct(0,0);
  535.    *(void**)this = **(void***)this;
  536. }
  537.  
  538.  
  539. /* method: wpAddKeyboardMappingsPage */
  540. ULONG   wpAddKeyboardMappingsPage(HWND hwndNotebook)
  541. {
  542.    return SOM_ResolveD(this,WPKeyboard,WPKeyboard,wpAddKeyboardMappingsPage)
  543.     (this,hwndNotebook);
  544. }
  545.  
  546.  
  547. /* method: wpAddKeyboardTimingPage */
  548. ULONG   wpAddKeyboardTimingPage(HWND hwndNotebook)
  549. {
  550.    return SOM_ResolveD(this,WPKeyboard,WPKeyboard,wpAddKeyboardTimingPage)
  551.     (this,hwndNotebook);
  552. }
  553.  
  554.  
  555. /* method: wpAddKeyboardSpecialNeedsPage */
  556. ULONG   wpAddKeyboardSpecialNeedsPage(HWND hwndNotebook)
  557. {
  558.    return SOM_ResolveD(this,WPKeyboard,WPKeyboard,wpAddKeyboardSpecialNeedsPage)
  559.     (this,hwndNotebook);
  560. }
  561.  
  562.  
  563. /*
  564.  * Reintroduce inherited methods
  565.  */
  566.  
  567. /* method: wpQueryHandle */
  568. HOBJECT   wpQueryHandle()
  569. {
  570.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryHandle)
  571.     (this);
  572. }
  573.  
  574.  
  575. /* method: wpSaveImmediate */
  576. BOOL   wpSaveImmediate()
  577. {
  578.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSaveImmediate)
  579.     (this);
  580. }
  581.  
  582.  
  583. /* method: wpSaveState */
  584. BOOL   wpSaveState()
  585. {
  586.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSaveState)
  587.     (this);
  588. }
  589.  
  590.  
  591. /* method: wpRestoreState */
  592. BOOL   wpRestoreState(ULONG ulReserved)
  593. {
  594.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpRestoreState)
  595.     (this,ulReserved);
  596. }
  597.  
  598.  
  599. /* method: wpSetTitle */
  600. BOOL   wpSetTitle(PSZ pszNewTitle)
  601. {
  602.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSetTitle)
  603.     (this,pszNewTitle);
  604. }
  605.  
  606.  
  607. /* method: wpCopyObject */
  608. WPObject*   wpCopyObject(WPFolder* Folder,
  609.         BOOL fLock)
  610. {
  611.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpCopyObject)
  612.     (this,Folder,fLock);
  613. }
  614.  
  615.  
  616. /* method: wpMoveObject */
  617. BOOL   wpMoveObject(WPFolder* Folder)
  618. {
  619.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpMoveObject)
  620.     (this,Folder);
  621. }
  622.  
  623.  
  624. /* method: wpQueryIcon */
  625. HPOINTER   wpQueryIcon()
  626. {
  627.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryIcon)
  628.     (this);
  629. }
  630.  
  631.  
  632. /* method: wpQueryIconData */
  633. ULONG   wpQueryIconData(PICONINFO pIconInfo)
  634. {
  635.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryIconData)
  636.     (this,pIconInfo);
  637. }
  638.  
  639.  
  640. /* method: wpSetIconData */
  641. BOOL   wpSetIconData(PICONINFO pIconInfo)
  642. {
  643.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSetIconData)
  644.     (this,pIconInfo);
  645. }
  646.  
  647.  
  648. /* method: wpDragOver */
  649. MRESULT   wpDragOver(HWND hwndCnr,
  650.         PDRAGINFO pdrgInfo)
  651. {
  652.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpDragOver)
  653.     (this,hwndCnr,pdrgInfo);
  654. }
  655.  
  656.  
  657. /* method: wpReplaceObject */
  658. BOOL32   wpReplaceObject(WPObject* targetObject,
  659.         BOOL32 fMove)
  660. {
  661.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpReplaceObject)
  662.     (this,targetObject,fMove);
  663. }
  664.  
  665.  
  666. /* method: wpQueryNameClashOptions */
  667. ULONG   wpQueryNameClashOptions(ULONG menuID)
  668. {
  669.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryNameClashOptions)
  670.     (this,menuID);
  671. }
  672.  
  673.  
  674. /* method: somDefaultInit */
  675. void   somDefaultInit(somInitCtrl* ctrl)
  676. {
  677.    SOM_ResolveD(this,WPKeyboard,SOMObject,somDefaultInit)
  678.     (this,ctrl);
  679. }
  680.  
  681.  
  682. /* method: somDestruct */
  683. void   somDestruct(octet doFree,
  684.         somDestructCtrl* ctrl)
  685. {
  686.    SOM_ResolveD(this,WPKeyboard,SOMObject,somDestruct)
  687.     (this,doFree,ctrl);
  688. }
  689.  
  690.  
  691. /* method: wpAddObjectGeneralPage */
  692. ULONG   wpAddObjectGeneralPage(HWND hwndNotebook)
  693. {
  694.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpAddObjectGeneralPage)
  695.     (this,hwndNotebook);
  696. }
  697.  
  698.  
  699. /* method: wpAddObjectGeneralPage2 */
  700. ULONG   wpAddObjectGeneralPage2(HWND hwndNotebook)
  701. {
  702.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpAddObjectGeneralPage2)
  703.     (this,hwndNotebook);
  704. }
  705.  
  706.  
  707. /* method: wpAddObjectWindowPage */
  708. ULONG   wpAddObjectWindowPage(HWND hwndNotebook)
  709. {
  710.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpAddObjectWindowPage)
  711.     (this,hwndNotebook);
  712. }
  713.  
  714.  
  715. /* method: wpAddSettingsPages */
  716. BOOL   wpAddSettingsPages(HWND hwndNotebook)
  717. {
  718.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpAddSettingsPages)
  719.     (this,hwndNotebook);
  720. }
  721.  
  722.  
  723. /* method: wpAddToObjUseList */
  724. BOOL   wpAddToObjUseList(PUSEITEM pUseItem)
  725. {
  726.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpAddToObjUseList)
  727.     (this,pUseItem);
  728. }
  729.  
  730.  
  731. /* method: wpAllocMem */
  732. PBYTE   wpAllocMem(ULONG cbBytes,
  733.         PULONG prc)
  734. {
  735.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpAllocMem)
  736.     (this,cbBytes,prc);
  737. }
  738.  
  739.  
  740. /* method: wpAppendObject */
  741. BOOL32   wpAppendObject(WPObject* targetObject,
  742.         BOOL32 fMove)
  743. {
  744.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpAppendObject)
  745.     (this,targetObject,fMove);
  746. }
  747.  
  748.  
  749. /* method: wpAssertObjectMutexSem */
  750. BOOL   wpAssertObjectMutexSem()
  751. {
  752.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpAssertObjectMutexSem)
  753.     (this);
  754. }
  755.  
  756.  
  757. /* method: wpClose */
  758. BOOL   wpClose()
  759. {
  760.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpClose)
  761.     (this);
  762. }
  763.  
  764.  
  765. /* method: wpCnrInsertObject */
  766. PMINIRECORDCORE   wpCnrInsertObject(HWND hwndCnr,
  767.         PPOINTL pptlIcon,
  768.         PMINIRECORDCORE preccParent,
  769.         PRECORDINSERT pRecInsert)
  770. {
  771.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpCnrInsertObject)
  772.     (this,hwndCnr,pptlIcon,preccParent,pRecInsert);
  773. }
  774.  
  775.  
  776. /* method: wpCnrRemoveObject */
  777. BOOL   wpCnrRemoveObject(HWND hwndCnr)
  778. {
  779.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpCnrRemoveObject)
  780.     (this,hwndCnr);
  781. }
  782.  
  783.  
  784. /* method: wpCnrSetEmphasis */
  785. BOOL   wpCnrSetEmphasis(ULONG ulEmphasisAttr,
  786.         BOOL fTurnOn)
  787. {
  788.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpCnrSetEmphasis)
  789.     (this,ulEmphasisAttr,fTurnOn);
  790. }
  791.  
  792.  
  793. /* method: wpConfirmDelete */
  794. ULONG   wpConfirmDelete(ULONG fConfirmations)
  795. {
  796.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpConfirmDelete)
  797.     (this,fConfirmations);
  798. }
  799.  
  800.  
  801. /* method: wpConfirmObjectTitle */
  802. ULONG   wpConfirmObjectTitle(WPFolder* Folder,
  803.         WPObject** ppDuplicate,
  804.         PSZ pszTitle,
  805.         ULONG cbTitle,
  806.         ULONG menuID)
  807. {
  808.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpConfirmObjectTitle)
  809.     (this,Folder,ppDuplicate,pszTitle,cbTitle,menuID);
  810. }
  811.  
  812.  
  813. /* method: wpCopiedFromTemplate */
  814. void   wpCopiedFromTemplate()
  815. {
  816.    SOM_ResolveD(this,WPKeyboard,WPObject,wpCopiedFromTemplate)
  817.     (this);
  818. }
  819.  
  820.  
  821. /* method: wpCreateAnother */
  822. WPObject*   wpCreateAnother(PSZ pszTitle,
  823.         PSZ pszSetupEnv,
  824.         WPFolder* Folder)
  825. {
  826.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpCreateAnother)
  827.     (this,pszTitle,pszSetupEnv,Folder);
  828. }
  829.  
  830.  
  831. /* method: wpCreateFromTemplate */
  832. WPObject*   wpCreateFromTemplate(WPFolder* folder,
  833.         BOOL fLock)
  834. {
  835.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpCreateFromTemplate)
  836.     (this,folder,fLock);
  837. }
  838.  
  839.  
  840. /* method: wpCreateShadowObject */
  841. WPObject*   wpCreateShadowObject(WPFolder* Folder,
  842.         BOOL fLock)
  843. {
  844.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpCreateShadowObject)
  845.     (this,Folder,fLock);
  846. }
  847.  
  848.  
  849. /* method: wpDelete */
  850. ULONG   wpDelete(ULONG fConfirmations)
  851. {
  852.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpDelete)
  853.     (this,fConfirmations);
  854. }
  855.  
  856.  
  857. /* method: wpDeleteFromObjUseList */
  858. BOOL   wpDeleteFromObjUseList(PUSEITEM pUseItem)
  859. {
  860.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpDeleteFromObjUseList)
  861.     (this,pUseItem);
  862. }
  863.  
  864.  
  865. /* method: wpDisplayHelp */
  866. BOOL   wpDisplayHelp(ULONG HelpPanelId,
  867.         PSZ HelpLibrary)
  868. {
  869.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpDisplayHelp)
  870.     (this,HelpPanelId,HelpLibrary);
  871. }
  872.  
  873.  
  874. /* method: wpDisplayMenu */
  875. HWND   wpDisplayMenu(HWND hwndOwner,
  876.         HWND hwndClient,
  877.         POINTL* ptlPopupPt,
  878.         ULONG ulMenuType,
  879.         ULONG ulReserved)
  880. {
  881.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpDisplayMenu)
  882.     (this,hwndOwner,hwndClient,ptlPopupPt,ulMenuType,ulReserved);
  883. }
  884.  
  885.  
  886. /* method: wpDoesObjectMatch */
  887. BOOL   wpDoesObjectMatch(PVOID pvoidExtendedCriteria)
  888. {
  889.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpDoesObjectMatch)
  890.     (this,pvoidExtendedCriteria);
  891. }
  892.  
  893.  
  894. /* method: wpDraggedOverObject */
  895. MRESULT   wpDraggedOverObject(WPObject* DraggedOverObject)
  896. {
  897.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpDraggedOverObject)
  898.     (this,DraggedOverObject);
  899. }
  900.  
  901.  
  902. /* method: wpDrop */
  903. MRESULT   wpDrop(HWND hwndCnr,
  904.         PDRAGINFO pdrgInfo,
  905.         PDRAGITEM pdrgItem)
  906. {
  907.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpDrop)
  908.     (this,hwndCnr,pdrgInfo,pdrgItem);
  909. }
  910.  
  911.  
  912. /* method: wpDroppedOnObject */
  913. BOOL   wpDroppedOnObject(WPObject* DroppedOnObject)
  914. {
  915.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpDroppedOnObject)
  916.     (this,DroppedOnObject);
  917. }
  918.  
  919.  
  920. /* method: wpEndConversation */
  921. MRESULT   wpEndConversation(ULONG ulItemID,
  922.         ULONG flResult)
  923. {
  924.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpEndConversation)
  925.     (this,ulItemID,flResult);
  926. }
  927.  
  928.  
  929. /* method: wpFilterPopupMenu */
  930. ULONG   wpFilterPopupMenu(ULONG ulFlags,
  931.         HWND hwndCnr,
  932.         BOOL fMultiSelect)
  933. {
  934.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpFilterPopupMenu)
  935.     (this,ulFlags,hwndCnr,fMultiSelect);
  936. }
  937.  
  938.  
  939. /* method: wpFindUseItem */
  940. PUSEITEM   wpFindUseItem(ULONG type,
  941.         PUSEITEM pCurrentItem)
  942. {
  943.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpFindUseItem)
  944.     (this,type,pCurrentItem);
  945. }
  946.  
  947.  
  948. /* method: wpFormatDragItem */
  949. BOOL   wpFormatDragItem(PDRAGITEM pdrgItem)
  950. {
  951.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpFormatDragItem)
  952.     (this,pdrgItem);
  953. }
  954.  
  955.  
  956. /* method: wpFree */
  957. BOOL   wpFree()
  958. {
  959.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpFree)
  960.     (this);
  961. }
  962.  
  963.  
  964. /* method: wpFreeMem */
  965. BOOL   wpFreeMem(PBYTE pByte)
  966. {
  967.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpFreeMem)
  968.     (this,pByte);
  969. }
  970.  
  971.  
  972. /* method: wpHide */
  973. BOOL   wpHide()
  974. {
  975.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpHide)
  976.     (this);
  977. }
  978.  
  979.  
  980. /* method: wpInitData */
  981. void   wpInitData()
  982. {
  983.    SOM_ResolveD(this,WPKeyboard,WPObject,wpInitData)
  984.     (this);
  985. }
  986.  
  987.  
  988. /* method: wpInsertPopupMenuItems */
  989. BOOL   wpInsertPopupMenuItems(HWND hwndMenu,
  990.         ULONG iPosition,
  991.         HMODULE hmod,
  992.         ULONG MenuID,
  993.         ULONG SubMenuID)
  994. {
  995.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpInsertPopupMenuItems)
  996.     (this,hwndMenu,iPosition,hmod,MenuID,SubMenuID);
  997. }
  998.  
  999.  
  1000. /* method: wpInsertSettingsPage */
  1001. ULONG   wpInsertSettingsPage(HWND hwndNotebook,
  1002.         PPAGEINFO ppageinfo)
  1003. {
  1004.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpInsertSettingsPage)
  1005.     (this,hwndNotebook,ppageinfo);
  1006. }
  1007.  
  1008.  
  1009. /* method: wpMenuItemHelpSelected */
  1010. BOOL   wpMenuItemHelpSelected(ULONG MenuId)
  1011. {
  1012.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpMenuItemHelpSelected)
  1013.     (this,MenuId);
  1014. }
  1015.  
  1016.  
  1017. /* method: wpMenuItemSelected */
  1018. BOOL   wpMenuItemSelected(HWND hwndFrame,
  1019.         ULONG ulMenuId)
  1020. {
  1021.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpMenuItemSelected)
  1022.     (this,hwndFrame,ulMenuId);
  1023. }
  1024.  
  1025.  
  1026. /* method: wpModifyPopupMenu */
  1027. BOOL   wpModifyPopupMenu(HWND hwndMenu,
  1028.         HWND hwndCnr,
  1029.         ULONG iPosition)
  1030. {
  1031.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpModifyPopupMenu)
  1032.     (this,hwndMenu,hwndCnr,iPosition);
  1033. }
  1034.  
  1035.  
  1036. /* method: wpOpen */
  1037. HWND   wpOpen(HWND hwndCnr,
  1038.         ULONG ulView,
  1039.         ULONG param)
  1040. {
  1041.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpOpen)
  1042.     (this,hwndCnr,ulView,param);
  1043. }
  1044.  
  1045.  
  1046. /* method: wpPrintObject */
  1047. BOOL   wpPrintObject(PPRINTDEST pPrintDest,
  1048.         ULONG ulReserved)
  1049. {
  1050.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpPrintObject)
  1051.     (this,pPrintDest,ulReserved);
  1052. }
  1053.  
  1054.  
  1055. /* method: wpQueryConcurrentView */
  1056. ULONG   wpQueryConcurrentView()
  1057. {
  1058.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryConcurrentView)
  1059.     (this);
  1060. }
  1061.  
  1062.  
  1063. /* method: wpQueryButtonAppearance */
  1064. ULONG   wpQueryButtonAppearance()
  1065. {
  1066.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryButtonAppearance)
  1067.     (this);
  1068. }
  1069.  
  1070.  
  1071. /* method: wpQueryConfirmations */
  1072. ULONG   wpQueryConfirmations()
  1073. {
  1074.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryConfirmations)
  1075.     (this);
  1076. }
  1077.  
  1078.  
  1079. /* method: wpQueryDefaultHelp */
  1080. BOOL   wpQueryDefaultHelp(PULONG pHelpPanelId,
  1081.         PSZ HelpLibrary)
  1082. {
  1083.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryDefaultHelp)
  1084.     (this,pHelpPanelId,HelpLibrary);
  1085. }
  1086.  
  1087.  
  1088. /* method: wpQueryDefaultView */
  1089. ULONG   wpQueryDefaultView()
  1090. {
  1091.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryDefaultView)
  1092.     (this);
  1093. }
  1094.  
  1095.  
  1096. /* method: wpQueryDetailsData */
  1097. ULONG   wpQueryDetailsData(PVOID* ppDetailsData,
  1098.         PULONG pcp)
  1099. {
  1100.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryDetailsData)
  1101.     (this,ppDetailsData,pcp);
  1102. }
  1103.  
  1104.  
  1105. /* method: wpQueryError */
  1106. ULONG   wpQueryError()
  1107. {
  1108.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryError)
  1109.     (this);
  1110. }
  1111.  
  1112.  
  1113. /* method: wpSetFolder */
  1114. BOOL   wpSetFolder(WPObject* container)
  1115. {
  1116.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSetFolder)
  1117.     (this,container);
  1118. }
  1119.  
  1120.  
  1121. /* method: wpQueryFolder */
  1122. WPObject*   wpQueryFolder()
  1123. {
  1124.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryFolder)
  1125.     (this);
  1126. }
  1127.  
  1128.  
  1129. /* method: wpQueryMinWindow */
  1130. ULONG   wpQueryMinWindow()
  1131. {
  1132.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryMinWindow)
  1133.     (this);
  1134. }
  1135.  
  1136.  
  1137. /* method: wpQueryStyle */
  1138. ULONG   wpQueryStyle()
  1139. {
  1140.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryStyle)
  1141.     (this);
  1142. }
  1143.  
  1144.  
  1145. /* method: wpSetTaskRec */
  1146. BOOL32   wpSetTaskRec(PTASKREC pNew,
  1147.         PTASKREC pOld)
  1148. {
  1149.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSetTaskRec)
  1150.     (this,pNew,pOld);
  1151. }
  1152.  
  1153.  
  1154. /* method: wpFindTaskRec */
  1155. PTASKREC   wpFindTaskRec()
  1156. {
  1157.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpFindTaskRec)
  1158.     (this);
  1159. }
  1160.  
  1161.  
  1162. /* method: wpQueryTitle */
  1163. PSZ   wpQueryTitle()
  1164. {
  1165.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryTitle)
  1166.     (this);
  1167. }
  1168.  
  1169.  
  1170. /* method: wpRegisterView */
  1171. BOOL   wpRegisterView(HWND hwndFrame,
  1172.         PSZ pszViewTitle)
  1173. {
  1174.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpRegisterView)
  1175.     (this,hwndFrame,pszViewTitle);
  1176. }
  1177.  
  1178.  
  1179. /* method: wpReleaseObjectMutexSem */
  1180. ULONG   wpReleaseObjectMutexSem()
  1181. {
  1182.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpReleaseObjectMutexSem)
  1183.     (this);
  1184. }
  1185.  
  1186.  
  1187. /* method: wpRender */
  1188. MRESULT   wpRender(PDRAGTRANSFER pdxfer)
  1189. {
  1190.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpRender)
  1191.     (this,pdxfer);
  1192. }
  1193.  
  1194.  
  1195. /* method: wpRenderComplete */
  1196. MRESULT   wpRenderComplete(PDRAGTRANSFER pdxfer,
  1197.         ULONG ulResult)
  1198. {
  1199.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpRenderComplete)
  1200.     (this,pdxfer,ulResult);
  1201. }
  1202.  
  1203.  
  1204. /* method: wpRequestObjectMutexSem */
  1205. ULONG   wpRequestObjectMutexSem(ULONG ulTimeout)
  1206. {
  1207.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpRequestObjectMutexSem)
  1208.     (this,ulTimeout);
  1209. }
  1210.  
  1211.  
  1212. /* method: wpRestore */
  1213. BOOL   wpRestore()
  1214. {
  1215.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpRestore)
  1216.     (this);
  1217. }
  1218.  
  1219.  
  1220. /* method: wpRestoreData */
  1221. BOOL   wpRestoreData(PSZ pszClass,
  1222.         ULONG ulKey,
  1223.         PBYTE pValue,
  1224.         PULONG pcbValue)
  1225. {
  1226.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpRestoreData)
  1227.     (this,pszClass,ulKey,pValue,pcbValue);
  1228. }
  1229.  
  1230.  
  1231. /* method: wpRestoreLong */
  1232. BOOL   wpRestoreLong(PSZ pszClass,
  1233.         ULONG ulKey,
  1234.         PULONG pulValue)
  1235. {
  1236.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpRestoreLong)
  1237.     (this,pszClass,ulKey,pulValue);
  1238. }
  1239.  
  1240.  
  1241. /* method: wpRestoreString */
  1242. BOOL   wpRestoreString(PSZ pszClass,
  1243.         ULONG ulKey,
  1244.         PSZ pszValue,
  1245.         PULONG pcbValue)
  1246. {
  1247.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpRestoreString)
  1248.     (this,pszClass,ulKey,pszValue,pcbValue);
  1249. }
  1250.  
  1251.  
  1252. /* method: wpSaveData */
  1253. BOOL   wpSaveData(PSZ pszClass,
  1254.         ULONG ulKey,
  1255.         PBYTE pValue,
  1256.         ULONG cbValue)
  1257. {
  1258.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSaveData)
  1259.     (this,pszClass,ulKey,pValue,cbValue);
  1260. }
  1261.  
  1262.  
  1263. /* method: wpSaveDeferred */
  1264. BOOL   wpSaveDeferred()
  1265. {
  1266.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSaveDeferred)
  1267.     (this);
  1268. }
  1269.  
  1270.  
  1271. /* method: wpSaveLong */
  1272. BOOL   wpSaveLong(PSZ pszClass,
  1273.         ULONG ulKey,
  1274.         ULONG ulValue)
  1275. {
  1276.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSaveLong)
  1277.     (this,pszClass,ulKey,ulValue);
  1278. }
  1279.  
  1280.  
  1281. /* method: wpSaveString */
  1282. BOOL   wpSaveString(PSZ pszClass,
  1283.         ULONG ulKey,
  1284.         PSZ pszValue)
  1285. {
  1286.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSaveString)
  1287.     (this,pszClass,ulKey,pszValue);
  1288. }
  1289.  
  1290.  
  1291. /* method: wpScanSetupString */
  1292. BOOL   wpScanSetupString(PSZ pszSetupString,
  1293.         PSZ pszKey,
  1294.         PSZ pszValue,
  1295.         PULONG pcbValue)
  1296. {
  1297.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpScanSetupString)
  1298.     (this,pszSetupString,pszKey,pszValue,pcbValue);
  1299. }
  1300.  
  1301.  
  1302. /* method: wpSetConcurrentView */
  1303. void   wpSetConcurrentView(ULONG ulCCView)
  1304. {
  1305.    SOM_ResolveD(this,WPKeyboard,WPObject,wpSetConcurrentView)
  1306.     (this,ulCCView);
  1307. }
  1308.  
  1309.  
  1310. /* method: wpSetButtonAppearance */
  1311. void   wpSetButtonAppearance(ULONG ulButtonType)
  1312. {
  1313.    SOM_ResolveD(this,WPKeyboard,WPObject,wpSetButtonAppearance)
  1314.     (this,ulButtonType);
  1315. }
  1316.  
  1317.  
  1318. /* method: wpSetDefaultHelp */
  1319. BOOL   wpSetDefaultHelp(ULONG HelpPanelId,
  1320.         PSZ HelpLibrary)
  1321. {
  1322.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSetDefaultHelp)
  1323.     (this,HelpPanelId,HelpLibrary);
  1324. }
  1325.  
  1326.  
  1327. /* method: wpSetDefaultView */
  1328. BOOL   wpSetDefaultView(ULONG ulView)
  1329. {
  1330.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSetDefaultView)
  1331.     (this,ulView);
  1332. }
  1333.  
  1334.  
  1335. /* method: wpSetError */
  1336. BOOL   wpSetError(ULONG ulErrorId)
  1337. {
  1338.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSetError)
  1339.     (this,ulErrorId);
  1340. }
  1341.  
  1342.  
  1343. /* method: wpSetIconHandle */
  1344. BOOL   wpSetIconHandle(HPOINTER hptrNewIcon)
  1345. {
  1346.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSetIconHandle)
  1347.     (this,hptrNewIcon);
  1348. }
  1349.  
  1350.  
  1351. /* method: wpQueryScreenGroupID */
  1352. USHORT   wpQueryScreenGroupID(USHORT usPrevSgId)
  1353. {
  1354.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryScreenGroupID)
  1355.     (this,usPrevSgId);
  1356. }
  1357.  
  1358.  
  1359. /* method: wpSetupOnce */
  1360. BOOL   wpSetupOnce(PSZ pszSetupString)
  1361. {
  1362.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSetupOnce)
  1363.     (this,pszSetupString);
  1364. }
  1365.  
  1366.  
  1367. /* method: wpSetIcon */
  1368. BOOL   wpSetIcon(HPOINTER hptrNewIcon)
  1369. {
  1370.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSetIcon)
  1371.     (this,hptrNewIcon);
  1372. }
  1373.  
  1374.  
  1375. /* method: wpSetMinWindow */
  1376. void   wpSetMinWindow(ULONG ulMinWindow)
  1377. {
  1378.    SOM_ResolveD(this,WPKeyboard,WPObject,wpSetMinWindow)
  1379.     (this,ulMinWindow);
  1380. }
  1381.  
  1382.  
  1383. /* method: wpSetStyle */
  1384. BOOL   wpSetStyle(ULONG ulNewStyle)
  1385. {
  1386.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSetStyle)
  1387.     (this,ulNewStyle);
  1388. }
  1389.  
  1390.  
  1391. /* method: wpModifyStyle */
  1392. BOOL   wpModifyStyle(ULONG ulStyleFlags,
  1393.         ULONG ulStyleMask)
  1394. {
  1395.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpModifyStyle)
  1396.     (this,ulStyleFlags,ulStyleMask);
  1397. }
  1398.  
  1399.  
  1400. /* method: wpSetup */
  1401. BOOL   wpSetup(PSZ pszSetupString)
  1402. {
  1403.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSetup)
  1404.     (this,pszSetupString);
  1405. }
  1406.  
  1407.  
  1408. /* method: wpSwitchTo */
  1409. BOOL   wpSwitchTo(ULONG View)
  1410. {
  1411.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSwitchTo)
  1412.     (this,View);
  1413. }
  1414.  
  1415.  
  1416. /* method: wpUnInitData */
  1417. void   wpUnInitData()
  1418. {
  1419.    SOM_ResolveD(this,WPKeyboard,WPObject,wpUnInitData)
  1420.     (this);
  1421. }
  1422.  
  1423.  
  1424. /* method: wpViewObject */
  1425. HWND   wpViewObject(HWND hwndCnr,
  1426.         ULONG ulView,
  1427.         ULONG param)
  1428. {
  1429.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpViewObject)
  1430.     (this,hwndCnr,ulView,param);
  1431. }
  1432.  
  1433.  
  1434. /* method: wpQueryTrueStyle */
  1435. ULONG   wpQueryTrueStyle()
  1436. {
  1437.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryTrueStyle)
  1438.     (this);
  1439. }
  1440.  
  1441.  
  1442. /* method: wpUnlockObject */
  1443. BOOL   wpUnlockObject()
  1444. {
  1445.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpUnlockObject)
  1446.     (this);
  1447. }
  1448.  
  1449.  
  1450. /* method: wpObjectReady */
  1451. void   wpObjectReady(ULONG ulCode,
  1452.         WPObject* refObject)
  1453. {
  1454.    SOM_ResolveD(this,WPKeyboard,WPObject,wpObjectReady)
  1455.     (this,ulCode,refObject);
  1456. }
  1457.  
  1458.  
  1459. /* method: wpIsObjectInitialized */
  1460. BOOL   wpIsObjectInitialized()
  1461. {
  1462.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpIsObjectInitialized)
  1463.     (this);
  1464. }
  1465.  
  1466.  
  1467. /* method: wpCreateShadowObjectExt */
  1468. WPObject*   wpCreateShadowObjectExt(WPFolder* Folder,
  1469.         BOOL fLock,
  1470.         PSZ pszSetup,
  1471.         M_WPObject* shadowClass)
  1472. {
  1473.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpCreateShadowObjectExt)
  1474.     (this,Folder,fLock,pszSetup,shadowClass);
  1475. }
  1476.  
  1477.  
  1478. /* method: wpCnrDeleteUseItem */
  1479. BOOL   wpCnrDeleteUseItem(HWND hwndCnr)
  1480. {
  1481.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpCnrDeleteUseItem)
  1482.     (this,hwndCnr);
  1483. }
  1484.  
  1485.  
  1486. /* method: wpIsDeleteable */
  1487. BOOL   wpIsDeleteable()
  1488. {
  1489.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpIsDeleteable)
  1490.     (this);
  1491. }
  1492.  
  1493.  
  1494. /* method: wpQueryCoreRecord */
  1495. PMINIRECORDCORE   wpQueryCoreRecord()
  1496. {
  1497.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryCoreRecord)
  1498.     (this);
  1499. }
  1500.  
  1501.  
  1502. /* method: wpSetObjectID */
  1503. BOOL   wpSetObjectID(PSZ pszObjectID)
  1504. {
  1505.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSetObjectID)
  1506.     (this,pszObjectID);
  1507. }
  1508.  
  1509.  
  1510. /* method: wpQueryObjectID */
  1511. PSZ   wpQueryObjectID()
  1512. {
  1513.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryObjectID)
  1514.     (this);
  1515. }
  1516.  
  1517.  
  1518. /* method: wpSetDefaultIconPos */
  1519. BOOL   wpSetDefaultIconPos(PPOINTL pPointl)
  1520. {
  1521.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpSetDefaultIconPos)
  1522.     (this,pPointl);
  1523. }
  1524.  
  1525.  
  1526. /* method: wpQueryDefaultIconPos */
  1527. BOOL   wpQueryDefaultIconPos(PPOINTL pPointl)
  1528. {
  1529.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryDefaultIconPos)
  1530.     (this,pPointl);
  1531. }
  1532.  
  1533.  
  1534. /* method: wpCnrRefreshDetails */
  1535. void   wpCnrRefreshDetails()
  1536. {
  1537.    SOM_ResolveD(this,WPKeyboard,WPObject,wpCnrRefreshDetails)
  1538.     (this);
  1539. }
  1540.  
  1541.  
  1542. /* method: wpFindViewItem */
  1543. PVIEWITEM   wpFindViewItem(ULONG flViews,
  1544.         PVIEWITEM pCurrentItem)
  1545. {
  1546.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpFindViewItem)
  1547.     (this,flViews,pCurrentItem);
  1548. }
  1549.  
  1550.  
  1551. /* method: wpLockObject */
  1552. void   wpLockObject()
  1553. {
  1554.    SOM_ResolveD(this,WPKeyboard,WPObject,wpLockObject)
  1555.     (this);
  1556. }
  1557.  
  1558.  
  1559. /* method: wpIsLocked */
  1560. BOOL   wpIsLocked()
  1561. {
  1562.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpIsLocked)
  1563.     (this);
  1564. }
  1565.  
  1566.  
  1567. /* method: wpQueryContainerFlagPtr */
  1568. PULONG   wpQueryContainerFlagPtr()
  1569. {
  1570.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpQueryContainerFlagPtr)
  1571.     (this);
  1572. }
  1573.  
  1574.  
  1575. /* method: wpWaitForClose */
  1576. ULONG   wpWaitForClose(LHANDLE lhView,
  1577.         ULONG ulViews,
  1578.         long lTimeOut,
  1579.         BOOL bAutoClose)
  1580. {
  1581.    return SOM_ResolveD(this,WPKeyboard,WPObject,wpWaitForClose)
  1582.     (this,lhView,ulViews,lTimeOut,bAutoClose);
  1583. }
  1584.  
  1585.  
  1586. /* method: somInit */
  1587. void   somInit()
  1588. {
  1589.    SOM_ResolveD(this,WPKeyboard,SOMObject,somInit)
  1590.     (this);
  1591. }
  1592.  
  1593.  
  1594. /* method: somUninit */
  1595. void   somUninit()
  1596. {
  1597.    SOM_ResolveD(this,WPKeyboard,SOMObject,somUninit)
  1598.     (this);
  1599. }
  1600.  
  1601.  
  1602. /* method: somDefaultCopyInit */
  1603. void   somDefaultCopyInit(somInitCtrl* ctrl,
  1604.         SOMObject* fromObj)
  1605. {
  1606.    SOM_ResolveD(this,WPKeyboard,SOMObject,somDefaultCopyInit)
  1607.     (this,ctrl,fromObj);
  1608. }
  1609.  
  1610.  
  1611. /* method: somDefaultAssign */
  1612. WPKeyboard*  somDefaultAssign(somAssignCtrl* ctrl,
  1613.         SOMObject* fromObj)
  1614. {
  1615.    return SOM_ResolveD(this,WPKeyboard,SOMObject,somDefaultAssign)
  1616.     (this,ctrl,fromObj);
  1617. }
  1618.  
  1619.  
  1620. /* method: somDefaultConstCopyInit */
  1621. void   somDefaultConstCopyInit(somInitCtrl* ctrl,
  1622.         SOMObject* fromObj)
  1623. {
  1624.    SOM_ResolveD(this,WPKeyboard,SOMObject,somDefaultConstCopyInit)
  1625.     (this,ctrl,fromObj);
  1626. }
  1627.  
  1628.  
  1629. /* method: somDefaultVCopyInit */
  1630. void   somDefaultVCopyInit(somInitCtrl* ctrl,
  1631.         SOMObject* fromObj)
  1632. {
  1633.    SOM_ResolveD(this,WPKeyboard,SOMObject,somDefaultVCopyInit)
  1634.     (this,ctrl,fromObj);
  1635. }
  1636.  
  1637.  
  1638. /* method: somDefaultConstVCopyInit */
  1639. void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
  1640.         SOMObject* fromObj)
  1641. {
  1642.    SOM_ResolveD(this,WPKeyboard,SOMObject,somDefaultConstVCopyInit)
  1643.     (this,ctrl,fromObj);
  1644. }
  1645.  
  1646.  
  1647. /* method: somDefaultConstAssign */
  1648. WPKeyboard*  somDefaultConstAssign(somAssignCtrl* ctrl,
  1649.         SOMObject* fromObj)
  1650. {
  1651.    return SOM_ResolveD(this,WPKeyboard,SOMObject,somDefaultConstAssign)
  1652.     (this,ctrl,fromObj);
  1653. }
  1654.  
  1655.  
  1656. /* method: somDefaultVAssign */
  1657. WPKeyboard*  somDefaultVAssign(somAssignCtrl* ctrl,
  1658.         SOMObject* fromObj)
  1659. {
  1660.    return SOM_ResolveD(this,WPKeyboard,SOMObject,somDefaultVAssign)
  1661.     (this,ctrl,fromObj);
  1662. }
  1663.  
  1664.  
  1665. /* method: somDefaultConstVAssign */
  1666. WPKeyboard*  somDefaultConstVAssign(somAssignCtrl* ctrl,
  1667.         SOMObject* fromObj)
  1668. {
  1669.    return SOM_ResolveD(this,WPKeyboard,SOMObject,somDefaultConstVAssign)
  1670.     (this,ctrl,fromObj);
  1671. }
  1672.  
  1673.  
  1674. /* method: somFree */
  1675. void   somFree()
  1676. {
  1677.    SOM_ResolveD(this,WPKeyboard,SOMObject,somFree)
  1678.     (this);
  1679. }
  1680.  
  1681.  
  1682. /* method: somGetClass */
  1683. M_WPKeyboard*  somGetClass()
  1684. {
  1685.    return SOM_ResolveD(this,WPKeyboard,SOMObject,somGetClass)
  1686.     (this);
  1687. }
  1688.  
  1689.  
  1690. /* method: somGetClassName */
  1691. string   somGetClassName()
  1692. {
  1693.    return SOM_ResolveD(this,WPKeyboard,SOMObject,somGetClassName)
  1694.     (this);
  1695. }
  1696.  
  1697.  
  1698. /* method: somGetSize */
  1699. long   somGetSize()
  1700. {
  1701.    return SOM_ResolveD(this,WPKeyboard,SOMObject,somGetSize)
  1702.     (this);
  1703. }
  1704.  
  1705.  
  1706. /* method: somIsA */
  1707. boolean   somIsA(SOMClass* aClassObj)
  1708. {
  1709.    return SOM_ResolveD(this,WPKeyboard,SOMObject,somIsA)
  1710.     (this,aClassObj);
  1711. }
  1712.  
  1713.  
  1714. /* method: somIsInstanceOf */
  1715. boolean   somIsInstanceOf(SOMClass* aClassObj)
  1716. {
  1717.    return SOM_ResolveD(this,WPKeyboard,SOMObject,somIsInstanceOf)
  1718.     (this,aClassObj);
  1719. }
  1720.  
  1721.  
  1722. /* method: somRespondsTo */
  1723. boolean   somRespondsTo(somId mId)
  1724. {
  1725.    return SOM_ResolveD(this,WPKeyboard,SOMObject,somRespondsTo)
  1726.     (this,mId);
  1727. }
  1728.  
  1729.  
  1730. /* va_list method: somDispatch */
  1731. /* the va_list invocation form */
  1732. boolean   WPKeyboard_somDispatch(somToken* retValue,
  1733.         somId methodId,
  1734.         va_list ap)
  1735. {
  1736. return SOM_ResolveD(this,WPKeyboard,SOMObject,somDispatch)
  1737.     (this,retValue,methodId,ap);
  1738. }
  1739.  
  1740. /* the varargs invocation form */
  1741. boolean   somDispatch(somToken* retValue,
  1742.         somId methodId,
  1743.         ...)
  1744. {
  1745.    va_list ap;
  1746.    va_start(ap, methodId);
  1747.    boolean __somResult = 
  1748.       SOM_ResolveD(this,WPKeyboard,SOMObject,somDispatch)
  1749.     (this,retValue,methodId,ap);
  1750.    va_end(ap);
  1751.    return __somResult;
  1752. }
  1753.  
  1754.  
  1755. /* va_list method: somClassDispatch */
  1756. /* the va_list invocation form */
  1757. boolean   WPKeyboard_somClassDispatch(SOMClass* clsObj,
  1758.         somToken* retValue,
  1759.         somId methodId,
  1760.         va_list ap)
  1761. {
  1762. return SOM_ResolveD(this,WPKeyboard,SOMObject,somClassDispatch)
  1763.     (this,clsObj,retValue,methodId,ap);
  1764. }
  1765.  
  1766. /* the varargs invocation form */
  1767. boolean   somClassDispatch(SOMClass* clsObj,
  1768.         somToken* retValue,
  1769.         somId methodId,
  1770.         ...)
  1771. {
  1772.    va_list ap;
  1773.    va_start(ap, methodId);
  1774.    boolean __somResult = 
  1775.       SOM_ResolveD(this,WPKeyboard,SOMObject,somClassDispatch)
  1776.     (this,clsObj,retValue,methodId,ap);
  1777.    va_end(ap);
  1778.    return __somResult;
  1779. }
  1780.  
  1781.  
  1782. /* method: somCastObj */
  1783. boolean   somCastObj(SOMClass* cls)
  1784. {
  1785.    return SOM_ResolveD(this,WPKeyboard,SOMObject,somCastObj)
  1786.     (this,cls);
  1787. }
  1788.  
  1789.  
  1790. /* method: somResetObj */
  1791. boolean   somResetObj()
  1792. {
  1793.    return SOM_ResolveD(this,WPKeyboard,SOMObject,somResetObj)
  1794.     (this);
  1795. }
  1796.  
  1797.  
  1798. /* va_list method: somDispatchV */
  1799. /* the va_list invocation form */
  1800. void   WPKeyboard_somDispatchV(somId methodId,
  1801.         somId descriptor,
  1802.         va_list ap)
  1803. {
  1804.    SOM_ResolveD(this,WPKeyboard,SOMObject,somDispatchV)
  1805.     (this,methodId,descriptor,ap);
  1806. }
  1807.  
  1808. /* the varargs invocation form */
  1809. void   somDispatchV(somId methodId,
  1810.         somId descriptor,
  1811.         ...)
  1812. {
  1813.    va_list ap;
  1814.    va_start(ap, descriptor);
  1815.    SOM_ResolveD(this,WPKeyboard,SOMObject,somDispatchV)
  1816.     (this,methodId,descriptor,ap);
  1817.    va_end(ap);
  1818. }
  1819.  
  1820.  
  1821. /* va_list method: somDispatchL */
  1822. /* the va_list invocation form */
  1823. long   WPKeyboard_somDispatchL(somId methodId,
  1824.         somId descriptor,
  1825.         va_list ap)
  1826. {
  1827. return SOM_ResolveD(this,WPKeyboard,SOMObject,somDispatchL)
  1828.     (this,methodId,descriptor,ap);
  1829. }
  1830.  
  1831. /* the varargs invocation form */
  1832. long   somDispatchL(somId methodId,
  1833.         somId descriptor,
  1834.         ...)
  1835. {
  1836.    va_list ap;
  1837.    va_start(ap, descriptor);
  1838.    long __somResult = 
  1839.       SOM_ResolveD(this,WPKeyboard,SOMObject,somDispatchL)
  1840.     (this,methodId,descriptor,ap);
  1841.    va_end(ap);
  1842.    return __somResult;
  1843. }
  1844.  
  1845.  
  1846. /* va_list method: somDispatchA */
  1847. /* the va_list invocation form */
  1848. void*   WPKeyboard_somDispatchA(somId methodId,
  1849.         somId descriptor,
  1850.         va_list ap)
  1851. {
  1852. return SOM_ResolveD(this,WPKeyboard,SOMObject,somDispatchA)
  1853.     (this,methodId,descriptor,ap);
  1854. }
  1855.  
  1856. /* the varargs invocation form */
  1857. void*   somDispatchA(somId methodId,
  1858.         somId descriptor,
  1859.         ...)
  1860. {
  1861.    va_list ap;
  1862.    va_start(ap, descriptor);
  1863.    void* __somResult = 
  1864.       SOM_ResolveD(this,WPKeyboard,SOMObject,somDispatchA)
  1865.     (this,methodId,descriptor,ap);
  1866.    va_end(ap);
  1867.    return __somResult;
  1868. }
  1869.  
  1870.  
  1871. /* va_list method: somDispatchD */
  1872. /* the va_list invocation form */
  1873. double   WPKeyboard_somDispatchD(somId methodId,
  1874.         somId descriptor,
  1875.         va_list ap)
  1876. {
  1877. return SOM_ResolveD(this,WPKeyboard,SOMObject,somDispatchD)
  1878.     (this,methodId,descriptor,ap);
  1879. }
  1880.  
  1881. /* the varargs invocation form */
  1882. double   somDispatchD(somId methodId,
  1883.         somId descriptor,
  1884.         ...)
  1885. {
  1886.    va_list ap;
  1887.    va_start(ap, descriptor);
  1888.    double __somResult = 
  1889.       SOM_ResolveD(this,WPKeyboard,SOMObject,somDispatchD)
  1890.     (this,methodId,descriptor,ap);
  1891.    va_end(ap);
  1892.    return __somResult;
  1893. }
  1894.  
  1895.  
  1896. /* method: somPrintSelf */
  1897. SOMObject*   somPrintSelf()
  1898. {
  1899.    return SOM_ResolveD(this,WPKeyboard,SOMObject,somPrintSelf)
  1900.     (this);
  1901. }
  1902.  
  1903.  
  1904. /* method: somDumpSelf */
  1905. void   somDumpSelf(long level)
  1906. {
  1907.    SOM_ResolveD(this,WPKeyboard,SOMObject,somDumpSelf)
  1908.     (this,level);
  1909. }
  1910.  
  1911.  
  1912. /* method: somDumpSelfInt */
  1913. void   somDumpSelfInt(long level)
  1914. {
  1915.    SOM_ResolveD(this,WPKeyboard,SOMObject,somDumpSelfInt)
  1916.     (this,level);
  1917. }
  1918.  
  1919.  
  1920.  
  1921. };   /* WPKeyboard */
  1922.  
  1923.  
  1924.  
  1925. #endif       /* SOM_WPKeyboard_xh */
  1926.  
  1927. #ifndef SOM_M_WPKeyboard_xh
  1928. #define SOM_M_WPKeyboard_xh
  1929.  
  1930. class M_WPKeyboard;
  1931.  
  1932. #define M_WPKeyboard_MajorVersion 1
  1933. #define M_WPKeyboard_MinorVersion 2
  1934.  
  1935. /* C++ SOM defs */
  1936. #include <somcls.xh>
  1937. #include <somcm.xh>
  1938.  
  1939. /* C++ parent defs */
  1940. #ifndef SOM_M_WPAbstract_xh
  1941. #include <wpabs.xh>
  1942. #endif
  1943.  
  1944. #ifndef M_WPKeyboard_API
  1945. #define M_WPKeyboard_API
  1946. /*
  1947.  * -- The Class API
  1948.  */
  1949.  
  1950. /*
  1951.  * Start of user-defined types:
  1952.  */
  1953.  
  1954. /*
  1955.  * End of user-defined types.
  1956.  */
  1957.  
  1958. /*
  1959.  * -- M_WPKeyboard is a metaclass for WPKeyboard. Make sure WPKeyboard is known.
  1960.  */
  1961. class WPKeyboard;
  1962.  
  1963.  
  1964. /* A procedure to create the M_WPKeyboard Class */
  1965. SOMEXTERN SOMClass * SOMLINK M_WPKeyboardNewClass(
  1966.         integer4 majorVersion,
  1967.         integer4 minorVersion);
  1968.  
  1969. /* The API to the M_WPKeyboard class object, and the methods it introduces. */
  1970. SOMEXTERN struct M_WPKeyboardClassDataStructure {
  1971.     SOMClass *classObject;
  1972. } SOMDLINK M_WPKeyboardClassData;
  1973. #define _M_WPKeyboard M_WPKeyboardClassData.classObject
  1974.  
  1975. /* The API to parentMtabs for M_WPKeyboard, and the instance data it introduces. */
  1976. SOMEXTERN struct M_WPKeyboardCClassDataStructure {
  1977.     somMethodTabs parentMtab;
  1978.     somDToken              instanceDataToken;
  1979. } SOMDLINK M_WPKeyboardCClassData;
  1980.  
  1981. /*
  1982.  * -- Typedefs for M_WPKeyboard Method Procedures
  1983.  */
  1984. SOMEXTERN {
  1985.  
  1986. /*
  1987.  * -- Typedefs for Reintroduced Wrapper Methods
  1988.  */
  1989. typedef ULONG   (SOMLINK * somTD_M_WPKeyboard_wpclsQuerySetting)(M_WPKeyboard *somSelf,
  1990.         PSZ pszSetting,
  1991.         PVOID pValue,
  1992.         ULONG ulValueLen);
  1993. typedef BOOL   (SOMLINK * somTD_M_WPKeyboard_wpclsSetSetting)(M_WPKeyboard *somSelf,
  1994.         PSZ pszSetting,
  1995.         PVOID pValue);
  1996. typedef PSZ   (SOMLINK * somTD_M_WPKeyboard_wpclsQueryTitle)(M_WPKeyboard *somSelf);
  1997. typedef BOOL   (SOMLINK * somTD_M_WPKeyboard_wpclsCreateDefaultTemplates)(M_WPKeyboard *somSelf,
  1998.         WPObject* Folder);
  1999. typedef void   (SOMLINK * somTD_M_WPKeyboard_wpclsInitData)(M_WPKeyboard *somSelf);
  2000. typedef WPObject*   (SOMLINK * somTD_M_WPKeyboard_wpclsMakeAwake)(M_WPKeyboard *somSelf,
  2001.         PSZ pszTitle,
  2002.         ULONG ulStyle,
  2003.         HPOINTER hptrIcon,
  2004.         POBJDATA pObjData,
  2005.         WPFolder* Folder,
  2006.         ULONG ulUser);
  2007. typedef WPObject*   (SOMLINK * somTD_M_WPKeyboard_wpclsNew)(M_WPKeyboard *somSelf,
  2008.         PSZ pszTitle,
  2009.         PSZ pszSetupEnv,
  2010.         WPFolder* Folder,
  2011.         BOOL fLock);
  2012. typedef BOOL   (SOMLINK * somTD_M_WPKeyboard_wpclsQueryDefaultHelp)(M_WPKeyboard *somSelf,
  2013.         PULONG pHelpPanelId,
  2014.         PSZ pszHelpLibrary);
  2015. typedef ULONG   (SOMLINK * somTD_M_WPKeyboard_wpclsQueryDefaultView)(M_WPKeyboard *somSelf);
  2016. typedef PCLASSDETAILS   (SOMLINK * somTD_M_WPKeyboard_wpclsQueryDetails)(M_WPKeyboard *somSelf);
  2017. typedef ULONG   (SOMLINK * somTD_M_WPKeyboard_wpclsQueryDetailsInfo)(M_WPKeyboard *somSelf,
  2018.         PCLASSFIELDINFO* ppClassFieldInfo,
  2019.         PULONG pSize);
  2020. typedef BOOL   (SOMLINK * somTD_M_WPKeyboard_wpclsQueryExtendedCriteria)(M_WPKeyboard *somSelf,
  2021.         PSZ pszName,
  2022.         ULONG ulSearchType,
  2023.         PVOID pvoidExtendedCriteria);
  2024. typedef WPObject*   (SOMLINK * somTD_M_WPKeyboard_wpclsQueryFolder)(M_WPKeyboard *somSelf,
  2025.         PSZ pszLocation,
  2026.         BOOL fLock);
  2027. typedef HPOINTER   (SOMLINK * somTD_M_WPKeyboard_wpclsQueryIcon)(M_WPKeyboard *somSelf);
  2028. typedef void   (SOMLINK * somTD_M_WPKeyboard_wpclsQuerySearchInfo)(M_WPKeyboard *somSelf,
  2029.         M_WPObject** ClassExtended,
  2030.         M_WPObject** ClassCreate,
  2031.         PULONG pulClassCriteriaSize);
  2032. typedef ULONG   (SOMLINK * somTD_M_WPKeyboard_wpclsQueryStyle)(M_WPKeyboard *somSelf);
  2033. typedef void   (SOMLINK * somTD_M_WPKeyboard_wpclsUnInitData)(M_WPKeyboard *somSelf);
  2034. typedef BOOL   (SOMLINK * somTD_M_WPKeyboard_wpclsFindObjectFirst)(M_WPKeyboard *somSelf,
  2035.         PCLASS pClassList,
  2036.         PHFIND phFind,
  2037.         PSZ pszTitle,
  2038.         WPFolder* Folder,
  2039.         BOOL fSubfolders,
  2040.         PVOID pExtendedCriteria,
  2041.         POBJECT pBuffer,
  2042.         PULONG pCount);
  2043. typedef BOOL   (SOMLINK * somTD_M_WPKeyboard_wpclsFindObjectNext)(M_WPKeyboard *somSelf,
  2044.         HFIND hFind,
  2045.         POBJECT pBuffer,
  2046.         PULONG pCount);
  2047. typedef BOOL   (SOMLINK * somTD_M_WPKeyboard_wpclsFindObjectEnd)(M_WPKeyboard *somSelf,
  2048.         HFIND hFind);
  2049. typedef BOOL   (SOMLINK * somTD_M_WPKeyboard_wpclsSetError)(M_WPKeyboard *somSelf,
  2050.         ULONG ulErrorId);
  2051. typedef ULONG   (SOMLINK * somTD_M_WPKeyboard_wpclsQueryError)(M_WPKeyboard *somSelf);
  2052. typedef BOOL   (SOMLINK * somTD_M_WPKeyboard_wpclsQuerySettingsPageSize)(M_WPKeyboard *somSelf,
  2053.         PSIZEL pSizl);
  2054. typedef ULONG   (SOMLINK * somTD_M_WPKeyboard_wpclsQueryIconData)(M_WPKeyboard *somSelf,
  2055.         PICONINFO pIconInfo);
  2056. typedef WPObject*   (SOMLINK * somTD_M_WPKeyboard_wpclsQueryObject)(M_WPKeyboard *somSelf,
  2057.         HOBJECT hObject);
  2058. typedef ULONG   (SOMLINK * somTD_M_WPKeyboard_wpclsQueryButtonAppearance)(M_WPKeyboard *somSelf);
  2059. typedef void   (SOMLINK * somTD_M_WPKeyboard_wpclsDecUsage)(M_WPKeyboard *somSelf);
  2060. typedef void   (SOMLINK * somTD_M_WPKeyboard_wpclsIncUsage)(M_WPKeyboard *somSelf);
  2061. typedef BOOL   (SOMLINK * somTD_M_WPKeyboard_wpclsInsertMultipleObjects)(M_WPKeyboard *somSelf,
  2062.         HWND hwndCnr,
  2063.         PPOINTL pptlIcon,
  2064.         PVOID* pObjectArray,
  2065.         PVOID pRecordParent,
  2066.         ULONG NumRecords);
  2067. typedef WPObject*   (SOMLINK * somTD_M_WPKeyboard_wpclsFindOneObject)(M_WPKeyboard *somSelf,
  2068.         HWND hwndOwner,
  2069.         PSZ pszFindParams);
  2070. typedef BOOL   (SOMLINK * somTD_M_WPKeyboard_wpclsSetSettingsPageSize)(M_WPKeyboard *somSelf,
  2071.         PSIZEL pSizl);
  2072. typedef BOOL   (SOMLINK * somTD_M_WPKeyboard_wpclsSetIconData)(M_WPKeyboard *somSelf,
  2073.         PICONINFO pIconInfo);
  2074. typedef BOOL   (SOMLINK * somTD_M_WPKeyboard_wpclsSetIcon)(M_WPKeyboard *somSelf,
  2075.         HPOINTER hptrNewIcon);
  2076. typedef WPObject*   (SOMLINK * somTD_M_WPKeyboard_wpclsObjectFromHandle)(M_WPKeyboard *somSelf,
  2077.         HOBJECT hObject);
  2078. typedef BOOL   (SOMLINK * somTD_M_WPKeyboard_wpclsRemoveObjects)(M_WPKeyboard *somSelf,
  2079.         HWND hwndCnr,
  2080.         PVOID* pRecordArray,
  2081.         ULONG NumRecords,
  2082.         BOOL RemoveAll);
  2083. typedef void   (SOMLINK * somTD_M_WPKeyboard_somUninit)(M_WPKeyboard *somSelf);
  2084. typedef void   (SOMLINK * somTD_M_WPKeyboard_somClassReady)(M_WPKeyboard *somSelf);
  2085. typedef WPKeyboard*   (SOMLINK * somTD_M_WPKeyboard_somNew)(M_WPKeyboard *somSelf);
  2086. typedef SOMObject*   (SOMLINK * somTD_M_WPKeyboard_somRenew)(M_WPKeyboard *somSelf,
  2087.         void* obj);
  2088. typedef long   (SOMLINK * somTD_M_WPKeyboard__get_somDataAlignment)(M_WPKeyboard *somSelf);
  2089. typedef SOMClass_somOffsets   (SOMLINK * somTD_M_WPKeyboard__get_somInstanceDataOffsets)(M_WPKeyboard *somSelf);
  2090. typedef SOMClass_SOMClassSequence   (SOMLINK * somTD_M_WPKeyboard__get_somDirectInitClasses)(M_WPKeyboard *somSelf);
  2091. typedef void   (SOMLINK * somTD_M_WPKeyboard__set_somDirectInitClasses)(M_WPKeyboard *somSelf,
  2092.         SOMClass_SOMClassSequence* somDirectInitClasses);
  2093. typedef SOMObject*   (SOMLINK * somTD_M_WPKeyboard_somNewNoInit)(M_WPKeyboard *somSelf);
  2094. typedef SOMObject*   (SOMLINK * somTD_M_WPKeyboard_somRenewNoInit)(M_WPKeyboard *somSelf,
  2095.         void* obj);
  2096. typedef SOMObject*   (SOMLINK * somTD_M_WPKeyboard_somRenewNoZero)(M_WPKeyboard *somSelf,
  2097.         void* obj);
  2098. typedef SOMObject*   (SOMLINK * somTD_M_WPKeyboard_somRenewNoInitNoZero)(M_WPKeyboard *somSelf,
  2099.         void* obj);
  2100. typedef string   (SOMLINK * somTD_M_WPKeyboard_somAllocate)(M_WPKeyboard *somSelf,
  2101.         long size);
  2102. typedef void   (SOMLINK * somTD_M_WPKeyboard_somDeallocate)(M_WPKeyboard *somSelf,
  2103.         string memptr);
  2104. typedef somMethodProc*   (SOMLINK * somTD_M_WPKeyboard__get_somClassAllocate)(M_WPKeyboard *somSelf);
  2105. typedef somMethodProc*   (SOMLINK * somTD_M_WPKeyboard__get_somClassDeallocate)(M_WPKeyboard *somSelf);
  2106. typedef somBooleanVector   (SOMLINK * somTD_M_WPKeyboard_somGetInstanceInitMask)(M_WPKeyboard *somSelf,
  2107.         somInitCtrl* ctrl);
  2108. typedef somBooleanVector   (SOMLINK * somTD_M_WPKeyboard_somGetInstanceDestructionMask)(M_WPKeyboard *somSelf,
  2109.         somDestructCtrl* ctrl);
  2110. typedef somBooleanVector   (SOMLINK * somTD_M_WPKeyboard_somGetInstanceAssignmentMask)(M_WPKeyboard *somSelf,
  2111.         somAssignCtrl* ctrl);
  2112. typedef void   (SOMLINK * somTD_M_WPKeyboard_somInitClass)(M_WPKeyboard *somSelf,
  2113.         string className,
  2114.         SOMClass* parentClass,
  2115.         long dataSize,
  2116.         long maxStaticMethods,
  2117.         long majorVersion,
  2118.         long minorVersion);
  2119. typedef void   (SOMLINK * somTD_M_WPKeyboard_somInitMIClass)(M_WPKeyboard *somSelf,
  2120.         long inherit_vars,
  2121.         string className,
  2122.         SOMClass_SOMClassSequence* parentClasses,
  2123.         long dataSize,
  2124.         long dataAlignment,
  2125.         long maxStaticMethods,
  2126.         long majorVersion,
  2127.         long minorVersion);
  2128. typedef somMToken   (SOMLINK * somTD_M_WPKeyboard_somAddStaticMethod)(M_WPKeyboard *somSelf,
  2129.         somId methodId,
  2130.         somId methodDescriptor,
  2131.         somMethodPtr method,
  2132.         somMethodPtr redispatchStub,
  2133.         somMethodPtr applyStub);
  2134. typedef void   (SOMLINK * somTD_M_WPKeyboard_somAddDynamicMethod)(M_WPKeyboard *somSelf,
  2135.         somId methodId,
  2136.         somId methodDescriptor,
  2137.         somMethodPtr method,
  2138.         somMethodPtr applyStub);
  2139. typedef void   (SOMLINK * somTD_M_WPKeyboard_somOverrideSMethod)(M_WPKeyboard *somSelf,
  2140.         somId methodId,
  2141.         somMethodPtr method);
  2142. typedef somMethodPtr   (SOMLINK * somTD_M_WPKeyboard_somGetApplyStub)(M_WPKeyboard *somSelf,
  2143.         somId methodId);
  2144. typedef somClassDataStructure*   (SOMLINK * somTD_M_WPKeyboard_somGetClassData)(M_WPKeyboard *somSelf);
  2145. typedef void   (SOMLINK * somTD_M_WPKeyboard_somSetClassData)(M_WPKeyboard *somSelf,
  2146.         somClassDataStructure* cds);
  2147. typedef somMethodTab*   (SOMLINK * somTD_M_WPKeyboard_somGetClassMtab)(M_WPKeyboard *somSelf);
  2148. typedef long   (SOMLINK * somTD_M_WPKeyboard_somGetInstanceOffset)(M_WPKeyboard *somSelf);
  2149. typedef long   (SOMLINK * somTD_M_WPKeyboard_somGetInstancePartSize)(M_WPKeyboard *somSelf);
  2150. typedef long   (SOMLINK * somTD_M_WPKeyboard_somGetInstanceSize)(M_WPKeyboard *somSelf);
  2151. typedef somDToken   (SOMLINK * somTD_M_WPKeyboard_somGetInstanceToken)(M_WPKeyboard *somSelf);
  2152. typedef somDToken   (SOMLINK * somTD_M_WPKeyboard_somGetMemberToken)(M_WPKeyboard *somSelf,
  2153.         long memberOffset,
  2154.         somDToken instanceToken);
  2155. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somGetMethodData)(M_WPKeyboard *somSelf,
  2156.         somId methodId,
  2157.         somMethodData* md);
  2158. typedef somMethodProc*   (SOMLINK * somTD_M_WPKeyboard_somGetRdStub)(M_WPKeyboard *somSelf,
  2159.         somId methodId);
  2160. typedef somId   (SOMLINK * somTD_M_WPKeyboard_somGetMethodDescriptor)(M_WPKeyboard *somSelf,
  2161.         somId methodId);
  2162. typedef long   (SOMLINK * somTD_M_WPKeyboard_somGetMethodIndex)(M_WPKeyboard *somSelf,
  2163.         somId id);
  2164. typedef somMToken   (SOMLINK * somTD_M_WPKeyboard_somGetMethodToken)(M_WPKeyboard *somSelf,
  2165.         somId methodId);
  2166. typedef string   (SOMLINK * somTD_M_WPKeyboard_somGetName)(M_WPKeyboard *somSelf);
  2167. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somGetNthMethodData)(M_WPKeyboard *somSelf,
  2168.         long n,
  2169.         somMethodData* md);
  2170. typedef somId   (SOMLINK * somTD_M_WPKeyboard_somGetNthMethodInfo)(M_WPKeyboard *somSelf,
  2171.         long n,
  2172.         somId* descriptor);
  2173. typedef long   (SOMLINK * somTD_M_WPKeyboard_somGetNumMethods)(M_WPKeyboard *somSelf);
  2174. typedef long   (SOMLINK * somTD_M_WPKeyboard_somGetNumStaticMethods)(M_WPKeyboard *somSelf);
  2175. typedef SOMClass*   (SOMLINK * somTD_M_WPKeyboard_somGetParent)(M_WPKeyboard *somSelf);
  2176. typedef SOMClass_SOMClassSequence   (SOMLINK * somTD_M_WPKeyboard_somGetParents)(M_WPKeyboard *somSelf);
  2177. typedef somMethodTabs   (SOMLINK * somTD_M_WPKeyboard_somGetPClsMtab)(M_WPKeyboard *somSelf);
  2178. typedef somMethodTabs   (SOMLINK * somTD_M_WPKeyboard_somGetPClsMtabs)(M_WPKeyboard *somSelf);
  2179. typedef void   (SOMLINK * somTD_M_WPKeyboard_somGetVersionNumbers)(M_WPKeyboard *somSelf,
  2180.         long* majorVersion,
  2181.         long* minorVersion);
  2182. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somSetMethodDescriptor)(M_WPKeyboard *somSelf,
  2183.         somId methodId,
  2184.         somId descriptor);
  2185. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somFindMethod)(M_WPKeyboard *somSelf,
  2186.         somId methodId,
  2187.         somMethodPtr* m);
  2188. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somFindMethodOk)(M_WPKeyboard *somSelf,
  2189.         somId methodId,
  2190.         somMethodPtr* m);
  2191. typedef somMethodPtr   (SOMLINK * somTD_M_WPKeyboard_somFindSMethod)(M_WPKeyboard *somSelf,
  2192.         somId methodId);
  2193. typedef somMethodPtr   (SOMLINK * somTD_M_WPKeyboard_somFindSMethodOk)(M_WPKeyboard *somSelf,
  2194.         somId methodId);
  2195. typedef somMethodPtr   (SOMLINK * somTD_M_WPKeyboard_somLookupMethod)(M_WPKeyboard *somSelf,
  2196.         somId methodId);
  2197. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somCheckVersion)(M_WPKeyboard *somSelf,
  2198.         long majorVersion,
  2199.         long minorVersion);
  2200. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somDescendedFrom)(M_WPKeyboard *somSelf,
  2201.         SOMClass* aClassObj);
  2202. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somSupportsMethod)(M_WPKeyboard *somSelf,
  2203.         somId mId);
  2204. typedef somMethodPtr   (SOMLINK * somTD_M_WPKeyboard_somDefinedMethod)(M_WPKeyboard *somSelf,
  2205.         somMToken method);
  2206. typedef void   (SOMLINK * somTD_M_WPKeyboard_somOverrideMtab)(M_WPKeyboard *somSelf);
  2207. typedef void   (SOMLINK * somTD_M_WPKeyboard_somDefaultInit)(M_WPKeyboard *somSelf,
  2208.         somInitCtrl* ctrl);
  2209. typedef void   (SOMLINK * somTD_M_WPKeyboard_somDestruct)(M_WPKeyboard *somSelf,
  2210.         octet doFree,
  2211.         somDestructCtrl* ctrl);
  2212. typedef void   (SOMLINK * somTD_M_WPKeyboard_somDefaultCopyInit)(M_WPKeyboard *somSelf,
  2213.         somInitCtrl* ctrl,
  2214.         SOMObject* fromObj);
  2215. typedef M_WPKeyboard*   (SOMLINK * somTD_M_WPKeyboard_somDefaultAssign)(M_WPKeyboard *somSelf,
  2216.         somAssignCtrl* ctrl,
  2217.         SOMObject* fromObj);
  2218. typedef void   (SOMLINK * somTD_M_WPKeyboard_somDefaultConstCopyInit)(M_WPKeyboard *somSelf,
  2219.         somInitCtrl* ctrl,
  2220.         SOMObject* fromObj);
  2221. typedef void   (SOMLINK * somTD_M_WPKeyboard_somDefaultVCopyInit)(M_WPKeyboard *somSelf,
  2222.         somInitCtrl* ctrl,
  2223.         SOMObject* fromObj);
  2224. typedef void   (SOMLINK * somTD_M_WPKeyboard_somDefaultConstVCopyInit)(M_WPKeyboard *somSelf,
  2225.         somInitCtrl* ctrl,
  2226.         SOMObject* fromObj);
  2227. typedef M_WPKeyboard*   (SOMLINK * somTD_M_WPKeyboard_somDefaultConstAssign)(M_WPKeyboard *somSelf,
  2228.         somAssignCtrl* ctrl,
  2229.         SOMObject* fromObj);
  2230. typedef M_WPKeyboard*   (SOMLINK * somTD_M_WPKeyboard_somDefaultVAssign)(M_WPKeyboard *somSelf,
  2231.         somAssignCtrl* ctrl,
  2232.         SOMObject* fromObj);
  2233. typedef M_WPKeyboard*   (SOMLINK * somTD_M_WPKeyboard_somDefaultConstVAssign)(M_WPKeyboard *somSelf,
  2234.         somAssignCtrl* ctrl,
  2235.         SOMObject* fromObj);
  2236. typedef void   (SOMLINK * somTD_M_WPKeyboard_somInit)(M_WPKeyboard *somSelf);
  2237. typedef void   (SOMLINK * somTD_M_WPKeyboard_somFree)(M_WPKeyboard *somSelf);
  2238. typedef SOMClass*   (SOMLINK * somTD_M_WPKeyboard_somGetClass)(M_WPKeyboard *somSelf);
  2239. typedef string   (SOMLINK * somTD_M_WPKeyboard_somGetClassName)(M_WPKeyboard *somSelf);
  2240. typedef long   (SOMLINK * somTD_M_WPKeyboard_somGetSize)(M_WPKeyboard *somSelf);
  2241. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somIsA)(M_WPKeyboard *somSelf,
  2242.         SOMClass* aClassObj);
  2243. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somIsInstanceOf)(M_WPKeyboard *somSelf,
  2244.         SOMClass* aClassObj);
  2245. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somRespondsTo)(M_WPKeyboard *somSelf,
  2246.         somId mId);
  2247. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somDispatch)(M_WPKeyboard *somSelf,
  2248.         somToken* retValue,
  2249.         somId methodId,
  2250.         va_list ap);
  2251. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somClassDispatch)(M_WPKeyboard *somSelf,
  2252.         SOMClass* clsObj,
  2253.         somToken* retValue,
  2254.         somId methodId,
  2255.         va_list ap);
  2256. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somCastObj)(M_WPKeyboard *somSelf,
  2257.         SOMClass* cls);
  2258. typedef boolean   (SOMLINK * somTD_M_WPKeyboard_somResetObj)(M_WPKeyboard *somSelf);
  2259. typedef void   (SOMLINK * somTD_M_WPKeyboard_somDispatchV)(M_WPKeyboard *somSelf,
  2260.         somId methodId,
  2261.         somId descriptor,
  2262.         va_list ap);
  2263. typedef long   (SOMLINK * somTD_M_WPKeyboard_somDispatchL)(M_WPKeyboard *somSelf,
  2264.         somId methodId,
  2265.         somId descriptor,
  2266.         va_list ap);
  2267. typedef void*   (SOMLINK * somTD_M_WPKeyboard_somDispatchA)(M_WPKeyboard *somSelf,
  2268.         somId methodId,
  2269.         somId descriptor,
  2270.         va_list ap);
  2271. typedef double   (SOMLINK * somTD_M_WPKeyboard_somDispatchD)(M_WPKeyboard *somSelf,
  2272.         somId methodId,
  2273.         somId descriptor,
  2274.         va_list ap);
  2275. typedef SOMObject*   (SOMLINK * somTD_M_WPKeyboard_somPrintSelf)(M_WPKeyboard *somSelf);
  2276. typedef void   (SOMLINK * somTD_M_WPKeyboard_somDumpSelf)(M_WPKeyboard *somSelf,
  2277.         long level);
  2278. typedef void   (SOMLINK * somTD_M_WPKeyboard_somDumpSelfInt)(M_WPKeyboard *somSelf,
  2279.         long level);
  2280. }
  2281.  
  2282. #endif /* M_WPKeyboard_API */
  2283.  
  2284.  
  2285. /*
  2286.  * -- This emitter treats Method Tokens as Thunks by default.
  2287.  * -- Use the sc modifier "nothunks" to change this default
  2288.  */
  2289. #undef somresolve_
  2290. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  2291.  
  2292. /*
  2293.  * -- The C++ Wrapper Class for M_WPKeyboard
  2294.  */
  2295. class M_WPKeyboard : public M_WPAbstract
  2296. {
  2297. public:
  2298.  
  2299. // M_WPKeyboard::new creates the class object if necessary, and then uses somNewNoInit
  2300. // to allocate memory and create the object. Initialization is in ctors.
  2301. void *operator new(size_t size)
  2302. {
  2303.    SOM_IgnoreWarning(size);
  2304.    if (!_M_WPKeyboard) M_WPKeyboardNewClass(M_WPKeyboard_MajorVersion,M_WPKeyboard_MinorVersion);
  2305.    return (void*)
  2306.       SOM_Resolve(_M_WPKeyboard,SOMClass,somNewNoInit)
  2307.          ((SOMClass *)((void*)_M_WPKeyboard));
  2308. }
  2309.  
  2310. // M_WPKeyboard::delete uses the default deallocator for the object's class.
  2311. void operator delete(void * obj)
  2312. {
  2313.    somToken objCls = obj ? *(void**)obj : (somToken) NULL;
  2314.    if (somIsObj(objCls)) {
  2315.       SOM_Resolve(objCls,SOMClass,somDeallocate)
  2316.          ((SOMClass*)objCls, (string)obj);
  2317.    }
  2318. }
  2319.  
  2320. M_WPKeyboard()
  2321. {
  2322.    if (*(void**)this != 
  2323.        ((somParentMtabStructPtr)
  2324.         (M_WPKeyboardCClassData.parentMtab))->mtab)
  2325.       return;
  2326.    somDefaultInit(0);
  2327. }
  2328.  
  2329. M_WPKeyboard(M_WPKeyboard* fromObj)
  2330. {
  2331.    if (*(void**)this != 
  2332.        ((somParentMtabStructPtr)
  2333.         (M_WPKeyboardCClassData.parentMtab))->mtab)
  2334.       return;
  2335.    somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  2336. }
  2337.  
  2338. M_WPKeyboard(const M_WPKeyboard* fromObj)
  2339. {
  2340.    if (*(void**)this != 
  2341.        ((somParentMtabStructPtr)
  2342.         (M_WPKeyboardCClassData.parentMtab))->mtab)
  2343.       return;
  2344.    somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  2345. }
  2346.  
  2347. ~M_WPKeyboard()
  2348. {
  2349.    if (!somIsObj(this)) return;
  2350.    somDestruct(0,0);
  2351.    *(void**)this = **(void***)this;
  2352. }
  2353.  
  2354.  
  2355. /*
  2356.  * Reintroduce inherited methods
  2357.  */
  2358.  
  2359. /* method: wpclsQuerySetting */
  2360. ULONG   wpclsQuerySetting(PSZ pszSetting,
  2361.         PVOID pValue,
  2362.         ULONG ulValueLen)
  2363. {
  2364.    return SOM_ResolveD(this,M_WPKeyboard,M_WPAbstract,wpclsQuerySetting)
  2365.     (this,pszSetting,pValue,ulValueLen);
  2366. }
  2367.  
  2368.  
  2369. /* method: wpclsSetSetting */
  2370. BOOL   wpclsSetSetting(PSZ pszSetting,
  2371.         PVOID pValue)
  2372. {
  2373.    return SOM_ResolveD(this,M_WPKeyboard,M_WPAbstract,wpclsSetSetting)
  2374.     (this,pszSetting,pValue);
  2375. }
  2376.  
  2377.  
  2378. /* method: wpclsQueryTitle */
  2379. PSZ   wpclsQueryTitle()
  2380. {
  2381.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQueryTitle)
  2382.     (this);
  2383. }
  2384.  
  2385.  
  2386. /* method: wpclsCreateDefaultTemplates */
  2387. BOOL   wpclsCreateDefaultTemplates(WPObject* Folder)
  2388. {
  2389.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsCreateDefaultTemplates)
  2390.     (this,Folder);
  2391. }
  2392.  
  2393.  
  2394. /* method: wpclsInitData */
  2395. void   wpclsInitData()
  2396. {
  2397.    SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsInitData)
  2398.     (this);
  2399. }
  2400.  
  2401.  
  2402. /* method: wpclsMakeAwake */
  2403. WPObject*   wpclsMakeAwake(PSZ pszTitle,
  2404.         ULONG ulStyle,
  2405.         HPOINTER hptrIcon,
  2406.         POBJDATA pObjData,
  2407.         WPFolder* Folder,
  2408.         ULONG ulUser)
  2409. {
  2410.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsMakeAwake)
  2411.     (this,pszTitle,ulStyle,hptrIcon,pObjData,Folder,ulUser);
  2412. }
  2413.  
  2414.  
  2415. /* method: wpclsNew */
  2416. WPObject*   wpclsNew(PSZ pszTitle,
  2417.         PSZ pszSetupEnv,
  2418.         WPFolder* Folder,
  2419.         BOOL fLock)
  2420. {
  2421.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsNew)
  2422.     (this,pszTitle,pszSetupEnv,Folder,fLock);
  2423. }
  2424.  
  2425.  
  2426. /* method: wpclsQueryDefaultHelp */
  2427. BOOL   wpclsQueryDefaultHelp(PULONG pHelpPanelId,
  2428.         PSZ pszHelpLibrary)
  2429. {
  2430.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQueryDefaultHelp)
  2431.     (this,pHelpPanelId,pszHelpLibrary);
  2432. }
  2433.  
  2434.  
  2435. /* method: wpclsQueryDefaultView */
  2436. ULONG   wpclsQueryDefaultView()
  2437. {
  2438.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQueryDefaultView)
  2439.     (this);
  2440. }
  2441.  
  2442.  
  2443. /* method: wpclsQueryDetails */
  2444. PCLASSDETAILS   wpclsQueryDetails()
  2445. {
  2446.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQueryDetails)
  2447.     (this);
  2448. }
  2449.  
  2450.  
  2451. /* method: wpclsQueryDetailsInfo */
  2452. ULONG   wpclsQueryDetailsInfo(PCLASSFIELDINFO* ppClassFieldInfo,
  2453.         PULONG pSize)
  2454. {
  2455.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQueryDetailsInfo)
  2456.     (this,ppClassFieldInfo,pSize);
  2457. }
  2458.  
  2459.  
  2460. /* method: wpclsQueryExtendedCriteria */
  2461. BOOL   wpclsQueryExtendedCriteria(PSZ pszName,
  2462.         ULONG ulSearchType,
  2463.         PVOID pvoidExtendedCriteria)
  2464. {
  2465.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQueryExtendedCriteria)
  2466.     (this,pszName,ulSearchType,pvoidExtendedCriteria);
  2467. }
  2468.  
  2469.  
  2470. /* method: wpclsQueryFolder */
  2471. WPObject*   wpclsQueryFolder(PSZ pszLocation,
  2472.         BOOL fLock)
  2473. {
  2474.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQueryFolder)
  2475.     (this,pszLocation,fLock);
  2476. }
  2477.  
  2478.  
  2479. /* method: wpclsQueryIcon */
  2480. HPOINTER   wpclsQueryIcon()
  2481. {
  2482.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQueryIcon)
  2483.     (this);
  2484. }
  2485.  
  2486.  
  2487. /* method: wpclsQuerySearchInfo */
  2488. void   wpclsQuerySearchInfo(M_WPObject** ClassExtended,
  2489.         M_WPObject** ClassCreate,
  2490.         PULONG pulClassCriteriaSize)
  2491. {
  2492.    SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQuerySearchInfo)
  2493.     (this,ClassExtended,ClassCreate,pulClassCriteriaSize);
  2494. }
  2495.  
  2496.  
  2497. /* method: wpclsQueryStyle */
  2498. ULONG   wpclsQueryStyle()
  2499. {
  2500.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQueryStyle)
  2501.     (this);
  2502. }
  2503.  
  2504.  
  2505. /* method: wpclsUnInitData */
  2506. void   wpclsUnInitData()
  2507. {
  2508.    SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsUnInitData)
  2509.     (this);
  2510. }
  2511.  
  2512.  
  2513. /* method: wpclsFindObjectFirst */
  2514. BOOL   wpclsFindObjectFirst(PCLASS pClassList,
  2515.         PHFIND phFind,
  2516.         PSZ pszTitle,
  2517.         WPFolder* Folder,
  2518.         BOOL fSubfolders,
  2519.         PVOID pExtendedCriteria,
  2520.         POBJECT pBuffer,
  2521.         PULONG pCount)
  2522. {
  2523.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsFindObjectFirst)
  2524.     (this,pClassList,phFind,pszTitle,Folder,fSubfolders,pExtendedCriteria,pBuffer,pCount);
  2525. }
  2526.  
  2527.  
  2528. /* method: wpclsFindObjectNext */
  2529. BOOL   wpclsFindObjectNext(HFIND hFind,
  2530.         POBJECT pBuffer,
  2531.         PULONG pCount)
  2532. {
  2533.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsFindObjectNext)
  2534.     (this,hFind,pBuffer,pCount);
  2535. }
  2536.  
  2537.  
  2538. /* method: wpclsFindObjectEnd */
  2539. BOOL   wpclsFindObjectEnd(HFIND hFind)
  2540. {
  2541.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsFindObjectEnd)
  2542.     (this,hFind);
  2543. }
  2544.  
  2545.  
  2546. /* method: wpclsSetError */
  2547. BOOL   wpclsSetError(ULONG ulErrorId)
  2548. {
  2549.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsSetError)
  2550.     (this,ulErrorId);
  2551. }
  2552.  
  2553.  
  2554. /* method: wpclsQueryError */
  2555. ULONG   wpclsQueryError()
  2556. {
  2557.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQueryError)
  2558.     (this);
  2559. }
  2560.  
  2561.  
  2562. /* method: wpclsQuerySettingsPageSize */
  2563. BOOL   wpclsQuerySettingsPageSize(PSIZEL pSizl)
  2564. {
  2565.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQuerySettingsPageSize)
  2566.     (this,pSizl);
  2567. }
  2568.  
  2569.  
  2570. /* method: wpclsQueryIconData */
  2571. ULONG   wpclsQueryIconData(PICONINFO pIconInfo)
  2572. {
  2573.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQueryIconData)
  2574.     (this,pIconInfo);
  2575. }
  2576.  
  2577.  
  2578. /* method: wpclsQueryObject */
  2579. WPObject*   wpclsQueryObject(HOBJECT hObject)
  2580. {
  2581.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQueryObject)
  2582.     (this,hObject);
  2583. }
  2584.  
  2585.  
  2586. /* method: wpclsQueryButtonAppearance */
  2587. ULONG   wpclsQueryButtonAppearance()
  2588. {
  2589.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsQueryButtonAppearance)
  2590.     (this);
  2591. }
  2592.  
  2593.  
  2594. /* method: wpclsDecUsage */
  2595. void   wpclsDecUsage()
  2596. {
  2597.    SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsDecUsage)
  2598.     (this);
  2599. }
  2600.  
  2601.  
  2602. /* method: wpclsIncUsage */
  2603. void   wpclsIncUsage()
  2604. {
  2605.    SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsIncUsage)
  2606.     (this);
  2607. }
  2608.  
  2609.  
  2610. /* method: wpclsInsertMultipleObjects */
  2611. BOOL   wpclsInsertMultipleObjects(HWND hwndCnr,
  2612.         PPOINTL pptlIcon,
  2613.         PVOID* pObjectArray,
  2614.         PVOID pRecordParent,
  2615.         ULONG NumRecords)
  2616. {
  2617.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsInsertMultipleObjects)
  2618.     (this,hwndCnr,pptlIcon,pObjectArray,pRecordParent,NumRecords);
  2619. }
  2620.  
  2621.  
  2622. /* method: wpclsFindOneObject */
  2623. WPObject*   wpclsFindOneObject(HWND hwndOwner,
  2624.         PSZ pszFindParams)
  2625. {
  2626.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsFindOneObject)
  2627.     (this,hwndOwner,pszFindParams);
  2628. }
  2629.  
  2630.  
  2631. /* method: wpclsSetSettingsPageSize */
  2632. BOOL   wpclsSetSettingsPageSize(PSIZEL pSizl)
  2633. {
  2634.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsSetSettingsPageSize)
  2635.     (this,pSizl);
  2636. }
  2637.  
  2638.  
  2639. /* method: wpclsSetIconData */
  2640. BOOL   wpclsSetIconData(PICONINFO pIconInfo)
  2641. {
  2642.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsSetIconData)
  2643.     (this,pIconInfo);
  2644. }
  2645.  
  2646.  
  2647. /* method: wpclsSetIcon */
  2648. BOOL   wpclsSetIcon(HPOINTER hptrNewIcon)
  2649. {
  2650.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsSetIcon)
  2651.     (this,hptrNewIcon);
  2652. }
  2653.  
  2654.  
  2655. /* method: wpclsObjectFromHandle */
  2656. WPObject*   wpclsObjectFromHandle(HOBJECT hObject)
  2657. {
  2658.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsObjectFromHandle)
  2659.     (this,hObject);
  2660. }
  2661.  
  2662.  
  2663. /* method: wpclsRemoveObjects */
  2664. BOOL   wpclsRemoveObjects(HWND hwndCnr,
  2665.         PVOID* pRecordArray,
  2666.         ULONG NumRecords,
  2667.         BOOL RemoveAll)
  2668. {
  2669.    return SOM_ResolveD(this,M_WPKeyboard,M_WPObject,wpclsRemoveObjects)
  2670.     (this,hwndCnr,pRecordArray,NumRecords,RemoveAll);
  2671. }
  2672.  
  2673.  
  2674. /* method: somUninit */
  2675. void   somUninit()
  2676. {
  2677.    SOM_ResolveD(this,M_WPKeyboard,SOMObject,somUninit)
  2678.     (this);
  2679. }
  2680.  
  2681.  
  2682. /* method: somClassReady */
  2683. void   somClassReady()
  2684. {
  2685.    SOM_ResolveD(this,M_WPKeyboard,SOMClass,somClassReady)
  2686.     (this);
  2687. }
  2688.  
  2689.  
  2690. /* method: somNew */
  2691. WPKeyboard*  somNew()
  2692. {
  2693.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somNew)
  2694.     (this);
  2695. }
  2696.  
  2697.  
  2698. /* method: somRenew */
  2699. SOMObject*   somRenew(void* obj)
  2700. {
  2701.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somRenew)
  2702.     (this,obj);
  2703. }
  2704.  
  2705.  
  2706. /* method: _get_somDataAlignment */
  2707. long   _get_somDataAlignment()
  2708. {
  2709.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,_get_somDataAlignment)
  2710.     (this);
  2711. }
  2712.  
  2713.  
  2714. /* nonstatic method: _get_somInstanceDataOffsets */
  2715. SOMClass_somOffsets   _get_somInstanceDataOffsets()
  2716. {
  2717.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,_get_somInstanceDataOffsets)
  2718.     (this);
  2719. }
  2720.  
  2721.  
  2722. /* nonstatic method: _get_somDirectInitClasses */
  2723. SOMClass_SOMClassSequence   _get_somDirectInitClasses()
  2724. {
  2725.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,_get_somDirectInitClasses)
  2726.     (this);
  2727. }
  2728.  
  2729.  
  2730. /* nonstatic method: _set_somDirectInitClasses */
  2731. void   _set_somDirectInitClasses(SOMClass_SOMClassSequence* somDirectInitClasses)
  2732. {
  2733.    SOM_ResolveD(this,M_WPKeyboard,SOMClass,_set_somDirectInitClasses)
  2734.     (this,somDirectInitClasses);
  2735. }
  2736.  
  2737.  
  2738. /* method: somNewNoInit */
  2739. SOMObject*   somNewNoInit()
  2740. {
  2741.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somNewNoInit)
  2742.     (this);
  2743. }
  2744.  
  2745.  
  2746. /* method: somRenewNoInit */
  2747. SOMObject*   somRenewNoInit(void* obj)
  2748. {
  2749.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somRenewNoInit)
  2750.     (this,obj);
  2751. }
  2752.  
  2753.  
  2754. /* method: somRenewNoZero */
  2755. SOMObject*   somRenewNoZero(void* obj)
  2756. {
  2757.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somRenewNoZero)
  2758.     (this,obj);
  2759. }
  2760.  
  2761.  
  2762. /* method: somRenewNoInitNoZero */
  2763. SOMObject*   somRenewNoInitNoZero(void* obj)
  2764. {
  2765.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somRenewNoInitNoZero)
  2766.     (this,obj);
  2767. }
  2768.  
  2769.  
  2770. /* nonstatic method: somAllocate */
  2771. string   somAllocate(long size)
  2772. {
  2773.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somAllocate)
  2774.     (this,size);
  2775. }
  2776.  
  2777.  
  2778. /* nonstatic method: somDeallocate */
  2779. void   somDeallocate(string memptr)
  2780. {
  2781.    SOM_ResolveD(this,M_WPKeyboard,SOMClass,somDeallocate)
  2782.     (this,memptr);
  2783. }
  2784.  
  2785.  
  2786. /* nonstatic method: _get_somClassAllocate */
  2787. somMethodProc*   _get_somClassAllocate()
  2788. {
  2789.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,_get_somClassAllocate)
  2790.     (this);
  2791. }
  2792.  
  2793.  
  2794. /* nonstatic method: _get_somClassDeallocate */
  2795. somMethodProc*   _get_somClassDeallocate()
  2796. {
  2797.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,_get_somClassDeallocate)
  2798.     (this);
  2799. }
  2800.  
  2801.  
  2802. /* method: somGetInstanceInitMask */
  2803. somBooleanVector   somGetInstanceInitMask(somInitCtrl* ctrl)
  2804. {
  2805.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetInstanceInitMask)
  2806.     (this,ctrl);
  2807. }
  2808.  
  2809.  
  2810. /* method: somGetInstanceDestructionMask */
  2811. somBooleanVector   somGetInstanceDestructionMask(somDestructCtrl* ctrl)
  2812. {
  2813.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetInstanceDestructionMask)
  2814.     (this,ctrl);
  2815. }
  2816.  
  2817.  
  2818. /* method: somGetInstanceAssignmentMask */
  2819. somBooleanVector   somGetInstanceAssignmentMask(somAssignCtrl* ctrl)
  2820. {
  2821.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetInstanceAssignmentMask)
  2822.     (this,ctrl);
  2823. }
  2824.  
  2825.  
  2826. /* method: somInitClass */
  2827. void   somInitClass(string className,
  2828.         SOMClass* parentClass,
  2829.         long dataSize,
  2830.         long maxStaticMethods,
  2831.         long majorVersion,
  2832.         long minorVersion)
  2833. {
  2834.    SOM_ResolveD(this,M_WPKeyboard,SOMClass,somInitClass)
  2835.     (this,className,parentClass,dataSize,maxStaticMethods,majorVersion,minorVersion);
  2836. }
  2837.  
  2838.  
  2839. /* method: somInitMIClass */
  2840. void   somInitMIClass(long inherit_vars,
  2841.         string className,
  2842.         SOMClass_SOMClassSequence* parentClasses,
  2843.         long dataSize,
  2844.         long dataAlignment,
  2845.         long maxStaticMethods,
  2846.         long majorVersion,
  2847.         long minorVersion)
  2848. {
  2849.    SOM_ResolveD(this,M_WPKeyboard,SOMClass,somInitMIClass)
  2850.     (this,inherit_vars,className,parentClasses,dataSize,dataAlignment,maxStaticMethods,majorVersion,minorVersion);
  2851. }
  2852.  
  2853.  
  2854. /* method: somAddStaticMethod */
  2855. somMToken   somAddStaticMethod(somId methodId,
  2856.         somId methodDescriptor,
  2857.         somMethodPtr method,
  2858.         somMethodPtr redispatchStub,
  2859.         somMethodPtr applyStub)
  2860. {
  2861.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somAddStaticMethod)
  2862.     (this,methodId,methodDescriptor,method,redispatchStub,applyStub);
  2863. }
  2864.  
  2865.  
  2866. /* method: somAddDynamicMethod */
  2867. void   somAddDynamicMethod(somId methodId,
  2868.         somId methodDescriptor,
  2869.         somMethodPtr method,
  2870.         somMethodPtr applyStub)
  2871. {
  2872.    SOM_ResolveD(this,M_WPKeyboard,SOMClass,somAddDynamicMethod)
  2873.     (this,methodId,methodDescriptor,method,applyStub);
  2874. }
  2875.  
  2876.  
  2877. /* method: somOverrideSMethod */
  2878. void   somOverrideSMethod(somId methodId,
  2879.         somMethodPtr method)
  2880. {
  2881.    SOM_ResolveD(this,M_WPKeyboard,SOMClass,somOverrideSMethod)
  2882.     (this,methodId,method);
  2883. }
  2884.  
  2885.  
  2886. /* method: somGetApplyStub */
  2887. somMethodPtr   somGetApplyStub(somId methodId)
  2888. {
  2889.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetApplyStub)
  2890.     (this,methodId);
  2891. }
  2892.  
  2893.  
  2894. /* method: somGetClassData */
  2895. somClassDataStructure*   somGetClassData()
  2896. {
  2897.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetClassData)
  2898.     (this);
  2899. }
  2900.  
  2901.  
  2902. /* method: somSetClassData */
  2903. void   somSetClassData(somClassDataStructure* cds)
  2904. {
  2905.    SOM_ResolveD(this,M_WPKeyboard,SOMClass,somSetClassData)
  2906.     (this,cds);
  2907. }
  2908.  
  2909.  
  2910. /* method: somGetClassMtab */
  2911. somMethodTab*   somGetClassMtab()
  2912. {
  2913.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetClassMtab)
  2914.     (this);
  2915. }
  2916.  
  2917.  
  2918. /* method: somGetInstanceOffset */
  2919. long   somGetInstanceOffset()
  2920. {
  2921.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetInstanceOffset)
  2922.     (this);
  2923. }
  2924.  
  2925.  
  2926. /* method: somGetInstancePartSize */
  2927. long   somGetInstancePartSize()
  2928. {
  2929.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetInstancePartSize)
  2930.     (this);
  2931. }
  2932.  
  2933.  
  2934. /* method: somGetInstanceSize */
  2935. long   somGetInstanceSize()
  2936. {
  2937.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetInstanceSize)
  2938.     (this);
  2939. }
  2940.  
  2941.  
  2942. /* method: somGetInstanceToken */
  2943. somDToken   somGetInstanceToken()
  2944. {
  2945.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetInstanceToken)
  2946.     (this);
  2947. }
  2948.  
  2949.  
  2950. /* method: somGetMemberToken */
  2951. somDToken   somGetMemberToken(long memberOffset,
  2952.         somDToken instanceToken)
  2953. {
  2954.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetMemberToken)
  2955.     (this,memberOffset,instanceToken);
  2956. }
  2957.  
  2958.  
  2959. /* method: somGetMethodData */
  2960. boolean   somGetMethodData(somId methodId,
  2961.         somMethodData* md)
  2962. {
  2963.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetMethodData)
  2964.     (this,methodId,md);
  2965. }
  2966.  
  2967.  
  2968. /* method: somGetRdStub */
  2969. somMethodProc*   somGetRdStub(somId methodId)
  2970. {
  2971.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetRdStub)
  2972.     (this,methodId);
  2973. }
  2974.  
  2975.  
  2976. /* method: somGetMethodDescriptor */
  2977. somId   somGetMethodDescriptor(somId methodId)
  2978. {
  2979.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetMethodDescriptor)
  2980.     (this,methodId);
  2981. }
  2982.  
  2983.  
  2984. /* method: somGetMethodIndex */
  2985. long   somGetMethodIndex(somId id)
  2986. {
  2987.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetMethodIndex)
  2988.     (this,id);
  2989. }
  2990.  
  2991.  
  2992. /* method: somGetMethodToken */
  2993. somMToken   somGetMethodToken(somId methodId)
  2994. {
  2995.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetMethodToken)
  2996.     (this,methodId);
  2997. }
  2998.  
  2999.  
  3000. /* method: somGetName */
  3001. string   somGetName()
  3002. {
  3003.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetName)
  3004.     (this);
  3005. }
  3006.  
  3007.  
  3008. /* method: somGetNthMethodData */
  3009. boolean   somGetNthMethodData(long n,
  3010.         somMethodData* md)
  3011. {
  3012.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetNthMethodData)
  3013.     (this,n,md);
  3014. }
  3015.  
  3016.  
  3017. /* method: somGetNthMethodInfo */
  3018. somId   somGetNthMethodInfo(long n,
  3019.         somId* descriptor)
  3020. {
  3021.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetNthMethodInfo)
  3022.     (this,n,descriptor);
  3023. }
  3024.  
  3025.  
  3026. /* method: somGetNumMethods */
  3027. long   somGetNumMethods()
  3028. {
  3029.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetNumMethods)
  3030.     (this);
  3031. }
  3032.  
  3033.  
  3034. /* method: somGetNumStaticMethods */
  3035. long   somGetNumStaticMethods()
  3036. {
  3037.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetNumStaticMethods)
  3038.     (this);
  3039. }
  3040.  
  3041.  
  3042. /* method: somGetParent */
  3043. SOMClass*   somGetParent()
  3044. {
  3045.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetParent)
  3046.     (this);
  3047. }
  3048.  
  3049.  
  3050. /* method: somGetParents */
  3051. SOMClass_SOMClassSequence   somGetParents()
  3052. {
  3053.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetParents)
  3054.     (this);
  3055. }
  3056.  
  3057.  
  3058. /* method: somGetPClsMtab */
  3059. somMethodTabs   somGetPClsMtab()
  3060. {
  3061.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetPClsMtab)
  3062.     (this);
  3063. }
  3064.  
  3065.  
  3066. /* method: somGetPClsMtabs */
  3067. somMethodTabs   somGetPClsMtabs()
  3068. {
  3069.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetPClsMtabs)
  3070.     (this);
  3071. }
  3072.  
  3073.  
  3074. /* method: somGetVersionNumbers */
  3075. void   somGetVersionNumbers(long* majorVersion,
  3076.         long* minorVersion)
  3077. {
  3078.    SOM_ResolveD(this,M_WPKeyboard,SOMClass,somGetVersionNumbers)
  3079.     (this,majorVersion,minorVersion);
  3080. }
  3081.  
  3082.  
  3083. /* method: somSetMethodDescriptor */
  3084. boolean   somSetMethodDescriptor(somId methodId,
  3085.         somId descriptor)
  3086. {
  3087.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somSetMethodDescriptor)
  3088.     (this,methodId,descriptor);
  3089. }
  3090.  
  3091.  
  3092. /* method: somFindMethod */
  3093. boolean   somFindMethod(somId methodId,
  3094.         somMethodPtr* m)
  3095. {
  3096.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somFindMethod)
  3097.     (this,methodId,m);
  3098. }
  3099.  
  3100.  
  3101. /* method: somFindMethodOk */
  3102. boolean   somFindMethodOk(somId methodId,
  3103.         somMethodPtr* m)
  3104. {
  3105.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somFindMethodOk)
  3106.     (this,methodId,m);
  3107. }
  3108.  
  3109.  
  3110. /* method: somFindSMethod */
  3111. somMethodPtr   somFindSMethod(somId methodId)
  3112. {
  3113.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somFindSMethod)
  3114.     (this,methodId);
  3115. }
  3116.  
  3117.  
  3118. /* method: somFindSMethodOk */
  3119. somMethodPtr   somFindSMethodOk(somId methodId)
  3120. {
  3121.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somFindSMethodOk)
  3122.     (this,methodId);
  3123. }
  3124.  
  3125.  
  3126. /* method: somLookupMethod */
  3127. somMethodPtr   somLookupMethod(somId methodId)
  3128. {
  3129.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somLookupMethod)
  3130.     (this,methodId);
  3131. }
  3132.  
  3133.  
  3134. /* method: somCheckVersion */
  3135. boolean   somCheckVersion(long majorVersion,
  3136.         long minorVersion)
  3137. {
  3138.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somCheckVersion)
  3139.     (this,majorVersion,minorVersion);
  3140. }
  3141.  
  3142.  
  3143. /* method: somDescendedFrom */
  3144. boolean   somDescendedFrom(SOMClass* aClassObj)
  3145. {
  3146.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somDescendedFrom)
  3147.     (this,aClassObj);
  3148. }
  3149.  
  3150.  
  3151. /* method: somSupportsMethod */
  3152. boolean   somSupportsMethod(somId mId)
  3153. {
  3154.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somSupportsMethod)
  3155.     (this,mId);
  3156. }
  3157.  
  3158.  
  3159. /* method: somDefinedMethod */
  3160. somMethodPtr   somDefinedMethod(somMToken method)
  3161. {
  3162.    return SOM_ResolveD(this,M_WPKeyboard,SOMClass,somDefinedMethod)
  3163.     (this,method);
  3164. }
  3165.  
  3166.  
  3167. /* method: somOverrideMtab */
  3168. void   somOverrideMtab()
  3169. {
  3170.    SOM_ResolveD(this,M_WPKeyboard,SOMClass,somOverrideMtab)
  3171.     (this);
  3172. }
  3173.  
  3174.  
  3175. /* initializer method: somDefaultInit */
  3176. void   somDefaultInit(somInitCtrl* ctrl)
  3177. {
  3178.    SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDefaultInit)
  3179.     (this,ctrl);
  3180. }
  3181.  
  3182.  
  3183. /* method: somDestruct */
  3184. void   somDestruct(octet doFree,
  3185.         somDestructCtrl* ctrl)
  3186. {
  3187.    SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDestruct)
  3188.     (this,doFree,ctrl);
  3189. }
  3190.  
  3191.  
  3192. /* method: somDefaultCopyInit */
  3193. void   somDefaultCopyInit(somInitCtrl* ctrl,
  3194.         SOMObject* fromObj)
  3195. {
  3196.    SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDefaultCopyInit)
  3197.     (this,ctrl,fromObj);
  3198. }
  3199.  
  3200.  
  3201. /* method: somDefaultAssign */
  3202. M_WPKeyboard*  somDefaultAssign(somAssignCtrl* ctrl,
  3203.         SOMObject* fromObj)
  3204. {
  3205.    return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDefaultAssign)
  3206.     (this,ctrl,fromObj);
  3207. }
  3208.  
  3209.  
  3210. /* method: somDefaultConstCopyInit */
  3211. void   somDefaultConstCopyInit(somInitCtrl* ctrl,
  3212.         SOMObject* fromObj)
  3213. {
  3214.    SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDefaultConstCopyInit)
  3215.     (this,ctrl,fromObj);
  3216. }
  3217.  
  3218.  
  3219. /* method: somDefaultVCopyInit */
  3220. void   somDefaultVCopyInit(somInitCtrl* ctrl,
  3221.         SOMObject* fromObj)
  3222. {
  3223.    SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDefaultVCopyInit)
  3224.     (this,ctrl,fromObj);
  3225. }
  3226.  
  3227.  
  3228. /* method: somDefaultConstVCopyInit */
  3229. void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
  3230.         SOMObject* fromObj)
  3231. {
  3232.    SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDefaultConstVCopyInit)
  3233.     (this,ctrl,fromObj);
  3234. }
  3235.  
  3236.  
  3237. /* method: somDefaultConstAssign */
  3238. M_WPKeyboard*  somDefaultConstAssign(somAssignCtrl* ctrl,
  3239.         SOMObject* fromObj)
  3240. {
  3241.    return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDefaultConstAssign)
  3242.     (this,ctrl,fromObj);
  3243. }
  3244.  
  3245.  
  3246. /* method: somDefaultVAssign */
  3247. M_WPKeyboard*  somDefaultVAssign(somAssignCtrl* ctrl,
  3248.         SOMObject* fromObj)
  3249. {
  3250.    return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDefaultVAssign)
  3251.     (this,ctrl,fromObj);
  3252. }
  3253.  
  3254.  
  3255. /* method: somDefaultConstVAssign */
  3256. M_WPKeyboard*  somDefaultConstVAssign(somAssignCtrl* ctrl,
  3257.         SOMObject* fromObj)
  3258. {
  3259.    return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDefaultConstVAssign)
  3260.     (this,ctrl,fromObj);
  3261. }
  3262.  
  3263.  
  3264. /* method: somInit */
  3265. void   somInit()
  3266. {
  3267.    SOM_ResolveD(this,M_WPKeyboard,SOMObject,somInit)
  3268.     (this);
  3269. }
  3270.  
  3271.  
  3272. /* method: somFree */
  3273. void   somFree()
  3274. {
  3275.    SOM_ResolveD(this,M_WPKeyboard,SOMObject,somFree)
  3276.     (this);
  3277. }
  3278.  
  3279.  
  3280. /* method: somGetClass */
  3281. SOMClass*   somGetClass()
  3282. {
  3283.    return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somGetClass)
  3284.     (this);
  3285. }
  3286.  
  3287.  
  3288. /* method: somGetClassName */
  3289. string   somGetClassName()
  3290. {
  3291.    return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somGetClassName)
  3292.     (this);
  3293. }
  3294.  
  3295.  
  3296. /* method: somGetSize */
  3297. long   somGetSize()
  3298. {
  3299.    return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somGetSize)
  3300.     (this);
  3301. }
  3302.  
  3303.  
  3304. /* method: somIsA */
  3305. boolean   somIsA(SOMClass* aClassObj)
  3306. {
  3307.    return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somIsA)
  3308.     (this,aClassObj);
  3309. }
  3310.  
  3311.  
  3312. /* method: somIsInstanceOf */
  3313. boolean   somIsInstanceOf(SOMClass* aClassObj)
  3314. {
  3315.    return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somIsInstanceOf)
  3316.     (this,aClassObj);
  3317. }
  3318.  
  3319.  
  3320. /* method: somRespondsTo */
  3321. boolean   somRespondsTo(somId mId)
  3322. {
  3323.    return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somRespondsTo)
  3324.     (this,mId);
  3325. }
  3326.  
  3327.  
  3328. /* va_list method: somDispatch */
  3329. /* the va_list invocation form */
  3330. boolean   M_WPKeyboard_somDispatch(somToken* retValue,
  3331.         somId methodId,
  3332.         va_list ap)
  3333. {
  3334. return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDispatch)
  3335.     (this,retValue,methodId,ap);
  3336. }
  3337.  
  3338. /* the varargs invocation form */
  3339. boolean   somDispatch(somToken* retValue,
  3340.         somId methodId,
  3341.         ...)
  3342. {
  3343.    va_list ap;
  3344.    va_start(ap, methodId);
  3345.    boolean __somResult = 
  3346.       SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDispatch)
  3347.     (this,retValue,methodId,ap);
  3348.    va_end(ap);
  3349.    return __somResult;
  3350. }
  3351.  
  3352.  
  3353. /* va_list method: somClassDispatch */
  3354. /* the va_list invocation form */
  3355. boolean   M_WPKeyboard_somClassDispatch(SOMClass* clsObj,
  3356.         somToken* retValue,
  3357.         somId methodId,
  3358.         va_list ap)
  3359. {
  3360. return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somClassDispatch)
  3361.     (this,clsObj,retValue,methodId,ap);
  3362. }
  3363.  
  3364. /* the varargs invocation form */
  3365. boolean   somClassDispatch(SOMClass* clsObj,
  3366.         somToken* retValue,
  3367.         somId methodId,
  3368.         ...)
  3369. {
  3370.    va_list ap;
  3371.    va_start(ap, methodId);
  3372.    boolean __somResult = 
  3373.       SOM_ResolveD(this,M_WPKeyboard,SOMObject,somClassDispatch)
  3374.     (this,clsObj,retValue,methodId,ap);
  3375.    va_end(ap);
  3376.    return __somResult;
  3377. }
  3378.  
  3379.  
  3380. /* method: somCastObj */
  3381. boolean   somCastObj(SOMClass* cls)
  3382. {
  3383.    return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somCastObj)
  3384.     (this,cls);
  3385. }
  3386.  
  3387.  
  3388. /* method: somResetObj */
  3389. boolean   somResetObj()
  3390. {
  3391.    return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somResetObj)
  3392.     (this);
  3393. }
  3394.  
  3395.  
  3396. /* va_list method: somDispatchV */
  3397. /* the va_list invocation form */
  3398. void   M_WPKeyboard_somDispatchV(somId methodId,
  3399.         somId descriptor,
  3400.         va_list ap)
  3401. {
  3402.    SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDispatchV)
  3403.     (this,methodId,descriptor,ap);
  3404. }
  3405.  
  3406. /* the varargs invocation form */
  3407. void   somDispatchV(somId methodId,
  3408.         somId descriptor,
  3409.         ...)
  3410. {
  3411.    va_list ap;
  3412.    va_start(ap, descriptor);
  3413.    SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDispatchV)
  3414.     (this,methodId,descriptor,ap);
  3415.    va_end(ap);
  3416. }
  3417.  
  3418.  
  3419. /* va_list method: somDispatchL */
  3420. /* the va_list invocation form */
  3421. long   M_WPKeyboard_somDispatchL(somId methodId,
  3422.         somId descriptor,
  3423.         va_list ap)
  3424. {
  3425. return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDispatchL)
  3426.     (this,methodId,descriptor,ap);
  3427. }
  3428.  
  3429. /* the varargs invocation form */
  3430. long   somDispatchL(somId methodId,
  3431.         somId descriptor,
  3432.         ...)
  3433. {
  3434.    va_list ap;
  3435.    va_start(ap, descriptor);
  3436.    long __somResult = 
  3437.       SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDispatchL)
  3438.     (this,methodId,descriptor,ap);
  3439.    va_end(ap);
  3440.    return __somResult;
  3441. }
  3442.  
  3443.  
  3444. /* va_list method: somDispatchA */
  3445. /* the va_list invocation form */
  3446. void*   M_WPKeyboard_somDispatchA(somId methodId,
  3447.         somId descriptor,
  3448.         va_list ap)
  3449. {
  3450. return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDispatchA)
  3451.     (this,methodId,descriptor,ap);
  3452. }
  3453.  
  3454. /* the varargs invocation form */
  3455. void*   somDispatchA(somId methodId,
  3456.         somId descriptor,
  3457.         ...)
  3458. {
  3459.    va_list ap;
  3460.    va_start(ap, descriptor);
  3461.    void* __somResult = 
  3462.       SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDispatchA)
  3463.     (this,methodId,descriptor,ap);
  3464.    va_end(ap);
  3465.    return __somResult;
  3466. }
  3467.  
  3468.  
  3469. /* va_list method: somDispatchD */
  3470. /* the va_list invocation form */
  3471. double   M_WPKeyboard_somDispatchD(somId methodId,
  3472.         somId descriptor,
  3473.         va_list ap)
  3474. {
  3475. return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDispatchD)
  3476.     (this,methodId,descriptor,ap);
  3477. }
  3478.  
  3479. /* the varargs invocation form */
  3480. double   somDispatchD(somId methodId,
  3481.         somId descriptor,
  3482.         ...)
  3483. {
  3484.    va_list ap;
  3485.    va_start(ap, descriptor);
  3486.    double __somResult = 
  3487.       SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDispatchD)
  3488.     (this,methodId,descriptor,ap);
  3489.    va_end(ap);
  3490.    return __somResult;
  3491. }
  3492.  
  3493.  
  3494. /* method: somPrintSelf */
  3495. SOMObject*   somPrintSelf()
  3496. {
  3497.    return SOM_ResolveD(this,M_WPKeyboard,SOMObject,somPrintSelf)
  3498.     (this);
  3499. }
  3500.  
  3501.  
  3502. /* method: somDumpSelf */
  3503. void   somDumpSelf(long level)
  3504. {
  3505.    SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDumpSelf)
  3506.     (this,level);
  3507. }
  3508.  
  3509.  
  3510. /* method: somDumpSelfInt */
  3511. void   somDumpSelfInt(long level)
  3512. {
  3513.    SOM_ResolveD(this,M_WPKeyboard,SOMObject,somDumpSelfInt)
  3514.     (this,level);
  3515. }
  3516.  
  3517.  
  3518.  
  3519. };   /* M_WPKeyboard */
  3520.  
  3521.  
  3522.  
  3523. #endif       /* SOM_M_WPKeyboard_xh */
  3524.