home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / programm / 4248 < prev    next >
Encoding:
Text File  |  1992-08-16  |  910 b   |  28 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!wupost!darwin.sura.net!jvnc.net!nuscc!matcsp
  3. From: matcsp@nuscc.nus.sg (Chan Shih-Ping)
  4. Subject: How to get pointer to class object
  5. Message-ID: <1992Aug17.005733.2856@nuscc.nus.sg>
  6. Organization: National University of Singapore
  7. Date: Mon, 17 Aug 1992 00:57:33 GMT
  8. Lines: 18
  9.  
  10.  
  11.  
  12. Many of the WPS class method API functions (those that start with _wpcls)
  13. require a "pointer to the class object" as their first argument e.g.
  14. _wpclsQueryFolder etc.  These pointers are suppose to have type
  15. M_WPObject *.
  16.  
  17. How do you obtain a pointer to the *existing*
  18. class objects like WPFolder??  (I don't have the SOM manual only
  19. the Developer's Toolkit.)  I can enumerate the registered classes using
  20. WinEnumObjectClasses but that function doesn't return pointers to the
  21. class objects.
  22.  
  23. Thanks in advance.
  24.  
  25. Shih-Ping Chan
  26. Dept of Mathematics
  27. National University of Singapore
  28.