35 lines
696 B
Plaintext
35 lines
696 B
Plaintext
|
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
|
||
|
);
|
||
|
|