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.

27 lines
775 B

  1. /*----------------------------------------------------------------------------
  2. / Title;
  3. / unknown.inc
  4. /
  5. / Authors;
  6. / David De Vorchik (daviddv)
  7. /
  8. / Notes;
  9. / Magic include file to help with implementing IUnknown
  10. /----------------------------------------------------------------------------*/
  11. /*----------------------------------------------------------------------------
  12. / Macros to handle AddRef & Release (by calling CUnknown methods)
  13. /----------------------------------------------------------------------------*/
  14. STDMETHODIMP_(ULONG) CLASS_NAME::AddRef()
  15. {
  16. return CUnknown::HandleAddRef();
  17. }
  18. /*---------------------------------------------------------------------------*/
  19. STDMETHODIMP_(ULONG) CLASS_NAME::Release()
  20. {
  21. return CUnknown::HandleRelease();
  22. }