Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
482 B

  1. #ifndef _TUNK_
  2. #define _TUNK_
  3. class CTestUnk : public IParseDisplayName
  4. {
  5. public:
  6. CTestUnk(void);
  7. // IUnknown
  8. STDMETHODIMP QueryInterface(REFIID iid, void FAR * FAR * ppv);
  9. STDMETHODIMP_(ULONG) AddRef(void);
  10. STDMETHODIMP_(ULONG) Release(void);
  11. // IParseDisplayName
  12. STDMETHODIMP ParseDisplayName(LPBC pbc, LPOLESTR lpszDisplayName,
  13. ULONG *pchEaten, LPMONIKER *ppmkOut);
  14. private:
  15. ~CTestUnk(void);
  16. ULONG _cRefs;
  17. };
  18. #endif // _TUNK_