mirror of https://github.com/tongzx/nt5src
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.
34 lines
696 B
34 lines
696 B
ULONG
|
|
WINAPI
|
|
UlSubmitHttpRequest(
|
|
IN HANDLE SomeDamnHandle,
|
|
IN PUL_HTTP_REQUEST pRequest,
|
|
OUT PUL_HTTP_RESPONSE pResponseBuffer,
|
|
IN ULONG ResponseBufferLength,
|
|
OUT PULONG pBytesReceived,
|
|
IN LPOVERLAPPED pOverlapped OPTIONAL
|
|
);
|
|
|
|
|
|
//
|
|
// Issues:
|
|
//
|
|
// What if the response is too large for the supplied buffer?
|
|
//
|
|
// What about entity body data (send & receive)?
|
|
//
|
|
// Security?
|
|
//
|
|
// What type of handle do we use? An App Pool hadnle seems
|
|
// rather unnatural, but a Control Channel handle is
|
|
// out of the question. Maybe we need an IPC handle?
|
|
//
|
|
|
|
|
|
ULONG
|
|
WINAPI
|
|
UlOpenIPC(
|
|
OUT PHANDLE pIpcHandle,
|
|
IN ULONG Options
|
|
);
|
|
|