From dd1c44d1d55bbba85fb2ab7126beaeaf5e5bea49 Mon Sep 17 00:00:00 2001 From: Sourabh Shirhatti Date: Fri, 17 Sep 2021 14:52:32 -0700 Subject: [PATCH 1/3] Update nf-http-httpinitialize.md --- sdk-api-src/content/http/nf-http-httpinitialize.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sdk-api-src/content/http/nf-http-httpinitialize.md b/sdk-api-src/content/http/nf-http-httpinitialize.md index 75f6e6e08794..049039b62212 100644 --- a/sdk-api-src/content/http/nf-http-httpinitialize.md +++ b/sdk-api-src/content/http/nf-http-httpinitialize.md @@ -78,8 +78,9 @@ Initialization options, which can include one or both of the following values. Perform initialization for applications that use the HTTP configuration functions, HttpSetServiceConfiguration, -HttpQueryServiceConfiguration and -HttpDeleteServiceConfiguration. +HttpQueryServiceConfiguration, +HttpDeleteServiceConfiguration, and +HttpDelegateRequestEx. @@ -150,4 +151,4 @@ Call -HttpTerminate \ No newline at end of file +HttpTerminate From 0da32520de1d7665320fc8edbf1616e728391b25 Mon Sep 17 00:00:00 2001 From: Sourabh Shirhatti Date: Fri, 17 Sep 2021 14:55:10 -0700 Subject: [PATCH 2/3] =?UTF-8?q?Oops.=20Wrong=20function=20=F0=9F=98=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sdk-api-src/content/http/nf-http-httpinitialize.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk-api-src/content/http/nf-http-httpinitialize.md b/sdk-api-src/content/http/nf-http-httpinitialize.md index 049039b62212..642e8790c7c5 100644 --- a/sdk-api-src/content/http/nf-http-httpinitialize.md +++ b/sdk-api-src/content/http/nf-http-httpinitialize.md @@ -80,7 +80,7 @@ Perform initialization for applications that use the HTTP configuration function HttpSetServiceConfiguration, HttpQueryServiceConfiguration, HttpDeleteServiceConfiguration, and -HttpDelegateRequestEx. +HttpIsFeatureSupported. From 070075b3f44aecaca73d71fdf936a6930c87d122 Mon Sep 17 00:00:00 2001 From: Steven White <31261191+stevewhims@users.noreply.github.com> Date: Fri, 17 Sep 2021 15:21:23 -0700 Subject: [PATCH 3/3] Edit pass --- .../content/http/nf-http-httpinitialize.md | 31 ++++++++----------- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/sdk-api-src/content/http/nf-http-httpinitialize.md b/sdk-api-src/content/http/nf-http-httpinitialize.md index 642e8790c7c5..a449c4dcd89f 100644 --- a/sdk-api-src/content/http/nf-http-httpinitialize.md +++ b/sdk-api-src/content/http/nf-http-httpinitialize.md @@ -47,18 +47,16 @@ api_name: # HttpInitialize function - ## -description -The -HttpInitialize function initializes the HTTP Server 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 Server API. +The HttpInitialize function initializes the HTTP Server 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 Server API. ## -parameters ### -param Version [in] HTTP version. This parameter is an -HTTPAPI_VERSION structure. For the current version, declare an instance of the structure and set it to the pre-defined value HTTPAPI_VERSION_1 before passing it to +HTTPAPI_VERSION structure. For the current version, declare an instance of the structure and set it to the pre-defined value **HTTPAPI_VERSION_1** before passing it to HttpInitialize. ### -param Flags [in] @@ -77,10 +75,10 @@ Initialization options, which can include one or both of the following values. Perform initialization for applications that use the HTTP configuration functions, -HttpSetServiceConfiguration, -HttpQueryServiceConfiguration, -HttpDeleteServiceConfiguration, and -HttpIsFeatureSupported. +HttpSetServiceConfiguration, +HttpQueryServiceConfiguration, +HttpDeleteServiceConfiguration, and +HttpIsFeatureSupported. @@ -98,13 +96,13 @@ Perform initialization for applications that use the HTTP Server API. ### -param pReserved [in, out] -This parameter is reserved and must be NULL. +This parameter is reserved, and must be NULL. ## -returns -If the function succeeds, the return value is NO_ERROR. +If the function succeeds, then the return value is **NO_ERROR**. -If the function fails, the return value is one of the following error codes. +If the function fails, then the return value is one of the following error codes. @@ -129,7 +127,7 @@ The Flags parameter contains an unsupported value. @@ -138,7 +136,7 @@ A system error code defi ## -remarks Call -HttpTerminate when the application completes. All the same flags that were passed to +HttpTerminate when the application completes. All the same flags that were passed to HttpInitialize in the Flags parameter must also be passed to HttpTerminate. An application can call HttpInitialize repeatedly, provided that each call to @@ -147,8 +145,5 @@ Call ## -see-also -HTTP Server API Version 1.0 Functions - - - -HttpTerminate +* HTTP Server API Version 1.0 Functions +* HttpTerminate
-A system error code defined in WinError.h. +A system error code defined in WinError.h.