HttpQueryInfo这个在c#怎样填参数哇。怎么老出错
[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
上面是我填的参数头。