@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The HttpInitialize function initializes the HTTP API driver, starts it, if it has not already been started, and allocates data structures for the calling application to support response-queue creation and other operations. Call this function before calling any other functions in the HTTP API. !!!!C# Signature: [DllImport("httpapi.dll", SetLastError = true)] static extern uint HttpInitialize( HTTPAPI_VERSION Version, uint Flags, IntPtr pReserved); !!!!VB Signature: <DllImport("httpapi.dll", SetLastError := True)> _ Private Shared Function HttpInitialize(ByVal Version As HTTPAPI_VERSION, ByVal Flags As UInteger, ByVal pReserved As IntPtr) As UInteger End Function !!!!User-Defined Types: [HTTPAPI_VERSION] !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: uint retVal = (uint) ErrorCodes.NOERROR; retVal = HttpApi.HttpInitialize(HttpApi.HTTPAPI_VERSION, HttpApi.HTTP_INITIALIZE_CONFIG, IntPtr.Zero); if ((uint) ErrorCodes.NOERROR == retVal) { // Do some work... HttpApi.HttpTerminate(HttpApi.HTTP_INITIALIZE_CONFIG, IntPtr.Zero); } !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: HttpInitialize@msdn on MSDN
Edit httpapi.HttpIniti...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.