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.

30 lines
806 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. iadmxp.c
  5. Abstract:
  6. Wrapper around the MIDL-generated IADM_P.C. This wrapper allows us
  7. to "hook" the RPC-runtime-supplied IUnknown_Release_Proxy used in
  8. the client-side object's VTable. We need to hook this method so
  9. we may determine the exact lifetime of the client-side object. We
  10. need the exact lifetime so we can know when to destroy the security
  11. context we associate with each object.
  12. Hooked_IUnknown_Release_Proxy is implemented in SECURITY.CXX.
  13. Author:
  14. Keith Moore (keithmo) 29-Feb-1997
  15. Revision History:
  16. --*/
  17. #pragma warning(disable: 4100 4115 4152 4201 4211 4232 4310 4306)
  18. #define IUnknown_Release_Proxy Hooked_IUnknown_Release_Proxy
  19. #include "iadmw_p.c"