home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / WPSDEM.ZIP / WHOAMI / WHOAMI.C < prev    next >
Text File  |  1992-05-18  |  863b  |  35 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: whoami.c.
  5.  * Generated using:
  6.  *     SOM Precompiler spc: 1.22
  7.  *     SOM Emitter emitc: 1.24
  8.  */
  9.  
  10. #define Whoami_Class_Source
  11. #include "whoami.ih"
  12.  
  13. SOM_Scope MRESULT   SOMLINK wpDrop(Whoami *somSelf,
  14.         HWND hwndCnr,
  15.         PDRAGINFO pdrgInfo,
  16.         PDRAGITEM pdrgItem)
  17. {
  18.     char szDataType[80];
  19.  
  20.     /* WhoamiData *somThis = WhoamiGetData(somSelf); */
  21.     WhoamiMethodDebug("Whoami","wpDrop");
  22.  
  23.        DrgQueryStrName(pdrgItem->hstrSourceName, 80, szDataType);
  24.         WinMessageBox(HWND_DESKTOP,
  25.                       HWND_DESKTOP,
  26.                       szDataType,
  27.                       "Who Am I?",
  28.                       0,
  29.                       MB_NOICON | MB_OK | MB_MOVEABLE);
  30.  
  31.         return 0;
  32.  
  33. //    return (parent_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem));
  34. }
  35.