Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than httpapi, prefix the name with the module name and a period.
HttpQueryServiceConfiguration (httpapi)
.
C# Signature:
[DllImport("httpapi.dll", SetLastError = true)]
static extern uint HttpQueryServiceConfiguration(
IntPtr ServiceIntPtr,
HTTP_SERVICE_CONFIG_ID ConfigId,
IntPtr pInputConfigInfo,
int InputConfigInfoLength,
IntPtr pOutputConfigInfo,
int OutputConfigInfoLength,
[Optional()]
out int pReturnLength,
IntPtr pOverlapped);
VB Signature:
Declare Function HttpQueryServiceConfiguration Lib "httpapi.dll" (TODO) As TODO
Depending on the value of ConfigId, both pInputConfigInfo and pOutputConfigInfo should point to a different type of structure. If it wasn't for this, I could redifine the PInvoke signature to explicitly specify the underlying structure type.
If your use of this API is focused around a single value of ConfigId, you may want to change the IntPtr (pConfigInformation) to point directly to a managed version of the correct underlying structure and let the default marshaller take care of the interop layer marshaling for you (and your memory management).
The HttpQueryServiceConfiguration function retrieves one or more HTTP API configuration records.
3/19/2012 6:56:21 AM - -91.196.95.18
The HTTP_SERVICE_CONFIG_ID enumeration type defines service configuration options.
11/9/2010 10:45:54 AM - markg@microsoft.com-131.107.71.95
The HTTP_SERVICE_CONFIG_SSL_QUERY structure is used to specify a particular record to query in the SSL configuration store. It is passed to the HttpQueryServiceConfiguration function using the pInputConfigInfo parameter when the ConfigId parameter is equal to HttpServiceConfigSSLCertInfo.
3/16/2007 8:16:50 AM - anonymous
The HTTP_SERVICE_CONFIG_URLACL_QUERY structure is used to specify a particular reservation record to query in the URL namespace reservation store. It is passed to the HttpQueryServiceConfiguration function using the pInputConfigInfo parameter when the ConfigId parameter is equal to HttpServiceConfigUrlAclInfo.
3/16/2007 8:16:54 AM - markg@microsoft.com-131.107.71.224
The HTTP_SERVICE_CONFIG_IP_LISTEN_QUERY structure is used by HttpQueryServiceConfiguration to return a list of the Internet Protocol (IP) addresses to which the HTTP service binds.
3/16/2007 8:16:48 AM - anonymous
The HTTP_SERVICE_CONFIG_SSL_SET structure is used to add a new record to the SSL store or retrieve an existing record from it. An instance of the structure is used to pass data in to the HttpSetServiceConfiguration function through the pConfigInformation parameter or to retrieve data from the HttpQueryServiceConfiguration function through the pOutputConfigInformation parameter when the ConfigId parameter of either function is equal to HttpServiceConfigSSLCertInfo.
3/16/2007 8:16:50 AM - markg@microsoft.com-131.107.71.92
The HTTP_SERVICE_CONFIG_URLACL_SET structure is used to add a new record to the URL reservation store or retrieve an existing record from it. An instance of the structure is used to pass data in through the pConfigInformation parameter of the HTTPSetServiceConfiguration function, or to retrieve data through the pOutputConfigInformation parameter of the HTTPQueryServiceConfiguration function when the ConfigId parameter of either function is equal to HTTPServiceConfigUrlAclInfo.
The mechanism provided by the CLR that enables managed code to call static DLL exports.
3/15/2016 1:24:19 AM - -84.164.4.39
The HTTP_SERVICE_CONFIG_SSL_QUERY structure is used to specify a particular record to query in the SSL configuration store. It is passed to the HttpQueryServiceConfiguration function using the pInputConfigInfo parameter when the ConfigId parameter is equal to HttpServiceConfigSSLCertInfo.
3/16/2007 8:16:50 AM - anonymous
The HTTP_SERVICE_CONFIG_URLACL_QUERY structure is used to specify a particular reservation record to query in the URL namespace reservation store. It is passed to the HttpQueryServiceConfiguration function using the pInputConfigInfo parameter when the ConfigId parameter is equal to HttpServiceConfigUrlAclInfo.
3/16/2007 8:16:54 AM - markg@microsoft.com-131.107.71.224
The HTTP_SERVICE_CONFIG_IP_LISTEN_QUERY structure is used by HttpQueryServiceConfiguration to return a list of the Internet Protocol (IP) addresses to which the HTTP service binds.
3/16/2007 8:16:48 AM - anonymous
The HTTP_SERVICE_CONFIG_SSL_SET structure is used to add a new record to the SSL store or retrieve an existing record from it. An instance of the structure is used to pass data in to the HttpSetServiceConfiguration function through the pConfigInformation parameter or to retrieve data from the HttpQueryServiceConfiguration function through the pOutputConfigInformation parameter when the ConfigId parameter of either function is equal to HttpServiceConfigSSLCertInfo.
3/16/2007 8:16:50 AM - markg@microsoft.com-131.107.71.92
The HTTP_SERVICE_CONFIG_URLACL_SET structure is used to add a new record to the URL reservation store or retrieve an existing record from it. An instance of the structure is used to pass data in through the pConfigInformation parameter of the HTTPSetServiceConfiguration function, or to retrieve data through the pOutputConfigInformation parameter of the HTTPQueryServiceConfiguration function when the ConfigId parameter of either function is equal to HTTPServiceConfigUrlAclInfo.
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).