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.

35 lines
907 B

  1. /*===================================================================
  2. Microsoft Denali
  3. Microsoft Confidential.
  4. Copyright 1997 Microsoft Corporation. All Rights Reserved.
  5. Component: MTA Callback
  6. File: mtacb.h
  7. Owner: DmitryR
  8. This file contains the definitons for MTA Callback
  9. ===================================================================*/
  10. #ifndef MTACALLBACK_H
  11. #define MTACALLBACK_H
  12. // To be called from DllInit()
  13. HRESULT InitMTACallbacks();
  14. // To be called from DllUnInit()
  15. HRESULT UnInitMTACallbacks();
  16. // The callback function to be called from an MTA thread
  17. typedef HRESULT (__stdcall *PMTACALLBACK)(void *, void *);
  18. HRESULT CallMTACallback
  19. (
  20. PMTACALLBACK pMTACallback, // call this function
  21. void *pvContext, // pass this to it
  22. void *pvContext2 // extra arg
  23. );
  24. #endif // MTACALLBACK_H