- 9
- 0
- 约9.93千字
- 约 5页
- 2016-12-15 发布于江苏
- 举报
UrlEscape Function
Converts characters in a URL that might be altered during transport across the Internet (unsafe characters) into their corresponding escape sequences.
Syntax
Copy
HRESULT UrlEscape(
__in?????PCTSTR pszURL,
__out????PTSTR pszEscaped,
__inout??DWORD *pcchEscaped,
?????????DWORD dwFlags
);
Parameters
pszURL?[in]
Type:?PCTSTR
A null-terminated string of maximum length INTERNET_MAX_URL_LENGTH that contains a full or partial URL, as appropriate for the value in?dwFlags.
pszEscaped?[out]
Type:?PTSTR
The buffer that receives the converted string, with the unsafe characters converted to their escape sequences.
pcchEscaped?[in, out]
Type:?DWORD*
A pointer to a?DWORD?value that, on entry, contains the number of characters in the?pszEscaped?buffer. Before calling?UrlEscape, the calling application must set the value referenced by?pcchEscaped?to the size of the buffer. When this function returns successfully, the value receives the number of characters written to the buffer, not including the terminating NULL character.
If an E_POINTER error code is returned, the buffer was too small to hold the result, and the value referenced by?pcchEscaped?is set to the required number of characters in the buffer. If any other errors are returned, the value referenced by?pcchEscaped?is undefined.
dwFlags
Type:?DWORD
The flags that indicate which portion of the URL is being provided in?pszURL?and which characters in that string should be converted to their escape sequences. The following flags are defined.
URL_DONT_ESCAPE_EXTRA_INFO (0
Used only in conjunction with URL_ESCAPE_SPACES_ONLY to prevent the conversion of characters in the query (the portion of the URL following the first # or ? character encountered in the string). This flag should not be used alone, nor combined with URL_ESCAPE_SEGMENT_ONLY.
URL_BROWSER_MODE
Defined to be the same as URL_DONT_ESCAPE_EXTRA_INFO.
URL_ESCAPE_SPACES_ONLY (0
Convert only space characters to their escape
您可能关注的文档
- Unit3 Reading (优质课1)知识点.doc
- VB经典试题8知识点.doc
- Why Anglos Lead知识点.doc
- zemax操作数手册知识点.doc
- 案例研究:香蕉案知识点.doc
- 必修3212系统抽样知识点.doc
- 必修三《212系统抽样》训练评估知识点.doc
- 毕业设计论文原文知识点.doc
- 并发编程之Operation Queue和GCD知识点.doc
- 测定望远镜的角放大率知识点.doc
- 03-2 2025年度民主生活会征求意见座谈会主持词.docx
- 03-1 2025年度民主生活会主持讲话提纲.docx
- 02-1 会前学习-《县以上党和国家机关党员领导干部民主生活会若干规定》相关要求.docx
- 在2025年度民主生活会上的总结讲话三篇.docx
- 在2025年度民主生活会上的总结讲话三篇 (3).docx
- 市委宣传部2025年度民主生活会查摆问题整改方案两篇.docx
- 在市行政审批和政务信息管理局机关2026年全体干部政绩观教育大会上的党课讲稿.docx
- X市应急管理局2026年度安全生产监督检查计划.docx
- 2025年度民主生活会领导班子对照检查材料(五个带头)三篇.docx
- 2025年度民主生活会“五个带头”个人对照检查材料三篇.docx
最近下载
- DB5115_T 06-2019 农村产权流转交易服务规范 土地经营权价值评估.docx VIP
- 国新资本有限公司相关岗位招聘16人备考考试题库含答案解析.docx VIP
- 《农村产权流转交易 抵(质)押融资规范》.pdf VIP
- 《农村产权流转交易 农村产权价值评估规范》.pdf VIP
- 循环水处理标准GB50050-2007.doc VIP
- 《DL T5068-2016火力发电厂化学设计技术规程.epub》.pdf
- 2011年高考湖北卷英语试题(真题).pdf VIP
- 国新资本有限公司相关岗位招聘16人备考考试试题有答案解析.docx VIP
- 2011年高考湖北卷语文试题(真题).pdf VIP
- 2026国新资本有限公司相关岗位招聘16人考试参考试题及答案解析.docx VIP
原创力文档

文档评论(0)