HttpQueryInfo这个在c#怎样填参数哇。怎么老出错

ckkyjtqlt 2015-11-02 08:09:37
[DllImport("wininet.dll", CharSet = CharSet.Unicode)]
public static extern bool HttpQueryInfoA(
IntPtr hRequest,
uint dwInfoLevel,
ref IntPtr lpvBuffer,
ref int lpdwBufferLength,
out int lpdwIndex
);

public delegate bool MyHttpQueryInfoW(
IntPtr hRequest,
uint dwInfoLevel,
ref IntPtr lpvBuffer,
ref int lpdwBufferLength,
out int lpdwIndex);

static bool My_HttpQueryInfoW(
IntPtr hRequest,
uint dwInfoLevel,
ref IntPtr lpvBuffer,
ref int lpdwBufferLength,
out int lpdwIndex) // CALLBACK


上面是我填的参数头。
...全文
75 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

110,533

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧