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.

61 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. adsiisex.h
  5. Abstract:
  6. Defines the interface for the ADSI extension dll that
  7. will extend the IIS:// namespace.
  8. Author:
  9. Magnus Hedlund (MagnusH) -- 6/25/97
  10. Revision History:
  11. --*/
  12. #ifndef _ADSIISEX_INCLUDED_
  13. #define _ADSIISEX_INCLUDED_
  14. //--------------------------------------------------------------------
  15. //
  16. // The extension DLL interface:
  17. //
  18. //--------------------------------------------------------------------
  19. //
  20. // The extension dll must export two functions:
  21. //
  22. // IS_EXTENSION_CLASS_FUNCTION "IsExtensionClass"
  23. // CREATE_EXTENSION_CLASS_FUNCTION "CreateExtensionClass"
  24. //
  25. #define EXTENSION_DLL_NAME _T("adsiisex.dll")
  26. #define IS_EXTENSION_CLASS_FUNCTION_NAME "IsExtensionClass"
  27. #define CREATE_EXTENSION_CLASS_FUNCTION_NAME "CreateExtensionClass"
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31. typedef BOOL (STDAPICALLTYPE *IS_EXTENSION_CLASS_FUNCTION) ( LPCWSTR wszClass );
  32. typedef HRESULT (STDAPICALLTYPE *CREATE_EXTENSION_CLASS_FUNCTION) (
  33. IADs FAR * pADs,
  34. LPCWSTR wszClass,
  35. LPCWSTR wszServerName,
  36. LPCWSTR wszAdsPath,
  37. const GUID * piid,
  38. void ** ppObject
  39. );
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43. #endif // _ADSIISEX_INCLUDED_