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.

64 lines
1.5 KiB

  1. /*
  2. * ispriv.h - url.dll APIs.
  3. */
  4. #ifndef __ISPRIV_H__
  5. #define __ISPRIV_H__
  6. #ifdef __cplusplus
  7. extern "C" { /* Assume C declarations for C++. */
  8. #endif /* __cplusplus */
  9. /* Constants
  10. ************/
  11. /* Define API decoration for direct import of DLL functions. */
  12. #ifdef _INTSHCUT_
  13. #define INTSHCUTPRIVAPI
  14. #else
  15. #define INTSHCUTPRIVAPI DECLSPEC_IMPORT
  16. #endif
  17. /* Prototypes
  18. *************/
  19. /******************************************************************************
  20. @doc INTERNAL
  21. @func HRESULT | AddMIMEFileTypesPS | Adds the MIME-enabled File Types property
  22. sheet to a set of property sheets to a list of property sheets.
  23. @parm LPFNADDPROPSHEETPAGE | pfnAddPage | Callback function to be called to add
  24. the property sheet.
  25. @parm LPARAM | lparam | Data to be passed to callback function.
  26. @rdesc Returns one of the following return codes on success:
  27. @flag S_OK | Pages added.
  28. otherwise returns one of the following return codes on error:
  29. @flag E_ABORT | pfnAddPage callback failed.
  30. @flag E_OUTOFMEMORY | There is not enough memory to complete the operation.
  31. ******************************************************************************/
  32. INTSHCUTPRIVAPI HRESULT WINAPI AddMIMEFileTypesPS(LPFNADDPROPSHEETPAGE pfnAddPage,
  33. LPARAM lparam);
  34. #ifdef __cplusplus
  35. } /* End of extern "C" {. */
  36. #endif /* __cplusplus */
  37. #endif /* ! __ISPRIV_H__ */