Ejemplo n.º 1
0
 private static HttpApi.Error QueryServiceConfig(IntPtr pInput, IntPtr pOutput, int outputLength, out int requiredBufferLength)
 {
     return(HttpApi.HttpQueryServiceConfiguration(
                IntPtr.Zero,
                HttpApi.HTTP_SERVICE_CONFIG_ID.HttpServiceConfigUrlAclInfo,
                pInput,
                Marshal.SizeOf(typeof(HttpApi.HTTP_SERVICE_CONFIG_URLACL_QUERY)),
                pOutput,
                outputLength,
                out requiredBufferLength,
                IntPtr.Zero));
 }
Ejemplo n.º 2
0
 private static HttpApi.Error QueryServiceConfig(IntPtr pOutput, int outputLength, out int requiredBufferLength)
 {
     return(HttpApi.HttpQueryServiceConfiguration(
                IntPtr.Zero,
                HttpApi.HTTP_SERVICE_CONFIG_ID.HttpServiceConfigIPListenList,
                IntPtr.Zero,
                0,
                pOutput,
                outputLength,
                out requiredBufferLength,
                IntPtr.Zero));
 }