Source code of Windows XP (NT5)
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

  1. ULONG
  2. WINAPI
  3. UlSubmitHttpRequest(
  4. IN HANDLE SomeDamnHandle,
  5. IN PUL_HTTP_REQUEST pRequest,
  6. OUT PUL_HTTP_RESPONSE pResponseBuffer,
  7. IN ULONG ResponseBufferLength,
  8. OUT PULONG pBytesReceived,
  9. IN LPOVERLAPPED pOverlapped OPTIONAL
  10. );
  11. //
  12. // Issues:
  13. //
  14. // What if the response is too large for the supplied buffer?
  15. //
  16. // What about entity body data (send & receive)?
  17. //
  18. // Security?
  19. //
  20. // What type of handle do we use? An App Pool hadnle seems
  21. // rather unnatural, but a Control Channel handle is
  22. // out of the question. Maybe we need an IPC handle?
  23. //
  24. ULONG
  25. WINAPI
  26. UlOpenIPC(
  27. OUT PHANDLE pIpcHandle,
  28. IN ULONG Options
  29. );