Leaked source code of windows server 2003
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.

28 lines
836 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: unknown.inc
  8. //
  9. // Magic include file to help with implementing IUnknown
  10. //
  11. //--------------------------------------------------------------------------
  12. /*----------------------------------------------------------------------------
  13. / Macros to handle AddRef & Release (by calling CUnknown methods)
  14. /----------------------------------------------------------------------------*/
  15. STDMETHODIMP_(ULONG) CLASS_NAME::AddRef()
  16. {
  17. return CUnknown::HandleAddRef();
  18. }
  19. /*---------------------------------------------------------------------------*/
  20. STDMETHODIMP_(ULONG) CLASS_NAME::Release()
  21. {
  22. return CUnknown::HandleRelease();
  23. }