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.

82 lines
1.4 KiB

  1. #include "inetcorepch.h"
  2. #pragma hdrstop
  3. #define _MIMEOLE_
  4. #include <mimeole.h>
  5. #undef MIMEOLEAPI
  6. #define MIMEOLEAPI HRESULT STDAPICALLTYPE
  7. static
  8. MIMEOLEAPI
  9. MimeOleCreateVirtualStream(
  10. IStream **ppStream
  11. )
  12. {
  13. if (ppStream)
  14. {
  15. *ppStream = NULL;
  16. }
  17. return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
  18. }
  19. static
  20. MIMEOLEAPI
  21. MimeOleCreateMessage(
  22. IUnknown *pUnkOuter,
  23. IMimeMessage **ppMessage
  24. )
  25. {
  26. if (ppMessage)
  27. {
  28. *ppMessage = NULL;
  29. }
  30. return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
  31. }
  32. static
  33. MIMEOLEAPI
  34. MimeOleSetCompatMode(
  35. DWORD dwMode
  36. )
  37. {
  38. return S_OK;
  39. }
  40. static
  41. MIMEOLEAPI
  42. MimeOleParseMhtmlUrl(
  43. LPSTR pszUrl,
  44. LPSTR *ppszRootUrl,
  45. LPSTR *ppszBodyUrl
  46. )
  47. {
  48. if (pszUrl)
  49. {
  50. if (ppszRootUrl)
  51. {
  52. *ppszRootUrl = NULL;
  53. }
  54. if (ppszBodyUrl)
  55. {
  56. *ppszBodyUrl = NULL;
  57. }
  58. }
  59. return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
  60. }
  61. //
  62. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  63. //
  64. DEFINE_PROCNAME_ENTRIES(inetcomm)
  65. {
  66. DLPENTRY(MimeOleCreateMessage)
  67. DLPENTRY(MimeOleCreateVirtualStream)
  68. DLPENTRY(MimeOleParseMhtmlUrl)
  69. DLPENTRY(MimeOleSetCompatMode)
  70. };
  71. DEFINE_PROCNAME_MAP(inetcomm)