// This file is automatically generated. using System; using System.Text; using System.Runtime.InteropServices; namespace Steam4NET { [StructLayout(LayoutKind.Sequential,Pack=4)] public class IClientHTTPVTable { public IntPtr CreateHTTPRequest0; public IntPtr SetHTTPRequestContextValue1; public IntPtr SetHTTPRequestNetworkActivityTimeout2; public IntPtr SetHTTPRequestHeaderValue3; public IntPtr SetHTTPRequestGetOrPostParameter4; public IntPtr SendHTTPRequest5; public IntPtr SendHTTPRequestAndStreamResponse6; public IntPtr DeferHTTPRequest7; public IntPtr PrioritizeHTTPRequest8; public IntPtr CancelHTTPRequest9; public IntPtr GetHTTPResponseHeaderSize10; public IntPtr GetHTTPResponseHeaderValue11; public IntPtr GetHTTPResponseBodySize12; public IntPtr GetHTTPResponseBodyData13; public IntPtr GetHTTPStreamingResponseBodyData14; public IntPtr ReleaseHTTPRequest15; public IntPtr GetHTTPDownloadProgressPct16; public IntPtr SetHTTPRequestRawPostBody17; private IntPtr DTorIClientHTTP18; }; [InteropHelp.InterfaceVersion("CLIENTHTTP_INTERFACE_VERSION001")] public class IClientHTTP : InteropHelp.NativeWrapper { [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate UInt32 NativeCreateHTTPRequestES( IntPtr thisptr, EHTTPMethod eHTTPRequestMethod, string pchAbsoluteURL ); public UInt32 CreateHTTPRequest( EHTTPMethod eHTTPRequestMethod, string pchAbsoluteURL ) { return this.GetFunction( this.Functions.CreateHTTPRequest0 )( this.ObjectAddress, eHTTPRequestMethod, pchAbsoluteURL ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeSetHTTPRequestContextValueUU( IntPtr thisptr, UInt32 hRequest, UInt64 ulContextValue ); public bool SetHTTPRequestContextValue( UInt32 hRequest, UInt64 ulContextValue ) { return this.GetFunction( this.Functions.SetHTTPRequestContextValue1 )( this.ObjectAddress, hRequest, ulContextValue ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeSetHTTPRequestNetworkActivityTimeoutUU( IntPtr thisptr, UInt32 hRequest, UInt32 unTimeoutSeconds ); public bool SetHTTPRequestNetworkActivityTimeout( UInt32 hRequest, UInt32 unTimeoutSeconds ) { return this.GetFunction( this.Functions.SetHTTPRequestNetworkActivityTimeout2 )( this.ObjectAddress, hRequest, unTimeoutSeconds ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeSetHTTPRequestHeaderValueUSS( IntPtr thisptr, UInt32 hRequest, string pchHeaderName, string pchHeaderValue ); public bool SetHTTPRequestHeaderValue( UInt32 hRequest, string pchHeaderName, string pchHeaderValue ) { return this.GetFunction( this.Functions.SetHTTPRequestHeaderValue3 )( this.ObjectAddress, hRequest, pchHeaderName, pchHeaderValue ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeSetHTTPRequestGetOrPostParameterUSS( IntPtr thisptr, UInt32 hRequest, string pchParamName, string pchParamValue ); public bool SetHTTPRequestGetOrPostParameter( UInt32 hRequest, string pchParamName, string pchParamValue ) { return this.GetFunction( this.Functions.SetHTTPRequestGetOrPostParameter4 )( this.ObjectAddress, hRequest, pchParamName, pchParamValue ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeSendHTTPRequestUU( IntPtr thisptr, UInt32 hRequest, ref UInt64 pCallHandle ); public bool SendHTTPRequest( UInt32 hRequest, ref UInt64 pCallHandle ) { return this.GetFunction( this.Functions.SendHTTPRequest5 )( this.ObjectAddress, hRequest, ref pCallHandle ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeSendHTTPRequestAndStreamResponseUU( IntPtr thisptr, UInt32 hRequest, ref UInt64 pCallHandle ); public bool SendHTTPRequestAndStreamResponse( UInt32 hRequest, ref UInt64 pCallHandle ) { return this.GetFunction( this.Functions.SendHTTPRequestAndStreamResponse6 )( this.ObjectAddress, hRequest, ref pCallHandle ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeDeferHTTPRequestU( IntPtr thisptr, UInt32 hRequest ); public bool DeferHTTPRequest( UInt32 hRequest ) { return this.GetFunction( this.Functions.DeferHTTPRequest7 )( this.ObjectAddress, hRequest ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativePrioritizeHTTPRequestU( IntPtr thisptr, UInt32 hRequest ); public bool PrioritizeHTTPRequest( UInt32 hRequest ) { return this.GetFunction( this.Functions.PrioritizeHTTPRequest8 )( this.ObjectAddress, hRequest ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeCancelHTTPRequestU( IntPtr thisptr, UInt32 hRequest ); public bool CancelHTTPRequest( UInt32 hRequest ) { return this.GetFunction( this.Functions.CancelHTTPRequest9 )( this.ObjectAddress, hRequest ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeGetHTTPResponseHeaderSizeUSU( IntPtr thisptr, UInt32 hRequest, string pchHeaderName, ref UInt32 unResponseHeaderSize ); public bool GetHTTPResponseHeaderSize( UInt32 hRequest, string pchHeaderName, ref UInt32 unResponseHeaderSize ) { return this.GetFunction( this.Functions.GetHTTPResponseHeaderSize10 )( this.ObjectAddress, hRequest, pchHeaderName, ref unResponseHeaderSize ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeGetHTTPResponseHeaderValueUSBU( IntPtr thisptr, UInt32 hRequest, string pchHeaderName, Byte[] pHeaderValueBuffer, UInt32 unBufferSize ); public bool GetHTTPResponseHeaderValue( UInt32 hRequest, string pchHeaderName, Byte[] pHeaderValueBuffer ) { return this.GetFunction( this.Functions.GetHTTPResponseHeaderValue11 )( this.ObjectAddress, hRequest, pchHeaderName, pHeaderValueBuffer, (UInt32) pHeaderValueBuffer.Length ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeGetHTTPResponseBodySizeUU( IntPtr thisptr, UInt32 hRequest, ref UInt32 unBodySize ); public bool GetHTTPResponseBodySize( UInt32 hRequest, ref UInt32 unBodySize ) { return this.GetFunction( this.Functions.GetHTTPResponseBodySize12 )( this.ObjectAddress, hRequest, ref unBodySize ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeGetHTTPResponseBodyDataUBU( IntPtr thisptr, UInt32 hRequest, Byte[] pBodyDataBuffer, UInt32 unBufferSize ); public bool GetHTTPResponseBodyData( UInt32 hRequest, Byte[] pBodyDataBuffer ) { return this.GetFunction( this.Functions.GetHTTPResponseBodyData13 )( this.ObjectAddress, hRequest, pBodyDataBuffer, (UInt32) pBodyDataBuffer.Length ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeGetHTTPStreamingResponseBodyDataUUBU( IntPtr thisptr, UInt32 hRequest, UInt32 arg1, Byte[] pBodyDataBuffer, UInt32 unBufferSize ); public bool GetHTTPStreamingResponseBodyData( UInt32 hRequest, UInt32 arg1, Byte[] pBodyDataBuffer ) { return this.GetFunction( this.Functions.GetHTTPStreamingResponseBodyData14 )( this.ObjectAddress, hRequest, arg1, pBodyDataBuffer, (UInt32) pBodyDataBuffer.Length ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeReleaseHTTPRequestU( IntPtr thisptr, UInt32 hRequest ); public bool ReleaseHTTPRequest( UInt32 hRequest ) { return this.GetFunction( this.Functions.ReleaseHTTPRequest15 )( this.ObjectAddress, hRequest ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeGetHTTPDownloadProgressPctUF( IntPtr thisptr, UInt32 hRequest, ref float pflPercentOut ); public bool GetHTTPDownloadProgressPct( UInt32 hRequest, ref float pflPercentOut ) { return this.GetFunction( this.Functions.GetHTTPDownloadProgressPct16 )( this.ObjectAddress, hRequest, ref pflPercentOut ); } [return: MarshalAs(UnmanagedType.I1)] [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate bool NativeSetHTTPRequestRawPostBodyUSBU( IntPtr thisptr, UInt32 hRequest, string pchContentType, Byte[] pubBody, UInt32 unBodyLen ); public bool SetHTTPRequestRawPostBody( UInt32 hRequest, string pchContentType, Byte[] pubBody ) { return this.GetFunction( this.Functions.SetHTTPRequestRawPostBody17 )( this.ObjectAddress, hRequest, pchContentType, pubBody, (UInt32) pubBody.Length ); } }; }