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.

36 lines
1.4 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Copyright (C) 1993-1996 Microsoft Corporation. All Rights Reserved.
  3. //
  4. // MODULE: Url.h
  5. //
  6. // PURPOSE: Prototypes and defines exported from the url parsing code.
  7. //
  8. #ifndef _URL_H
  9. #define _URL_H
  10. HRESULT URL_ParseNewsUrls(LPTSTR pszURL, LPTSTR* ppszServer, LPUINT puPort,
  11. LPTSTR* ppszGroup, LPTSTR* ppszArticle, LPBOOL pfSecure);
  12. HRESULT URL_ParseMailTo(LPTSTR pszURL, LPMIMEMESSAGE pMsg);
  13. HRESULT URL_ParseNEWS(LPTSTR pszURL, LPTSTR* ppszServer, LPTSTR* ppszGroup,
  14. LPTSTR* ppszArticle);
  15. HRESULT URL_ParseNNTP(LPTSTR pszURL, LPTSTR* ppszServer, LPUINT puPort,
  16. LPTSTR* ppszGroup, LPTSTR* ppszArticle);
  17. // values for dwSubstitutions in the URLSub functions below
  18. #define URLSUB_CLCID 0x00000001
  19. #define URLSUB_PRD 0x00000002
  20. #define URLSUB_PVER 0x00000004
  21. #define URLSUB_NAME 0x00000008
  22. #define URLSUB_EMAIL 0x00000010
  23. #define URLSUB_ALL 0x0000001F
  24. HRESULT URLSubstitutionA(LPCSTR pszUrlIn, LPSTR pszUrlOut, DWORD cchSize, DWORD dwSubstitutions, IImnAccount *pCertAccount);
  25. HRESULT URLSubLoadStringA(UINT idRes, LPSTR pszUrlOut, DWORD cchSizeOut, DWORD dwSubstitutions, IImnAccount *pCertAccount);
  26. HRESULT HrCreateBasedWebPage(LPWSTR pwszUrl, LPSTREAM *ppstmHtml);
  27. #endif //_URL_H