Desktop Functions: Smart Device Functions:
|
Search Results for "API" in [All]httpapi
[DllImport("httpapi.dll", SetLastError = true)]
Declare Function HttpDeleteServiceConfiguration Lib "httpapi.dll" (TODO) As TODO 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).
retVal = HttpApi.HttpInitialize(HttpApi.HTTPAPI_VERSION, HttpApi.HTTP_INITIALIZE_CONFIG, IntPtr.Zero);
retVal = HttpApi.HttpDeleteServiceConfiguration(IntPtr.Zero,
HttpApi.HttpTerminate(HttpApi.HTTP_INITIALIZE_CONFIG, IntPtr.Zero); Alternative Managed API:
[DllImport("httpapi.dll", SetLastError = true)]
HTTPAPI_VERSION Version,
<DllImport("httpapi.dll", SetLastError := True)> _
Private Shared Function HttpInitialize(ByVal Version As HTTPAPI_VERSION, ByVal Flags As UInteger, ByVal pReserved As IntPtr) As UInteger
retVal = HttpApi.HttpInitialize(HttpApi.HTTPAPI_VERSION, HttpApi.HTTP_INITIALIZE_CONFIG, IntPtr.Zero);
HttpApi.HttpTerminate(HttpApi.HTTP_INITIALIZE_CONFIG, IntPtr.Zero); Alternative Managed API:
[DllImport("httpapi.dll", SetLastError = true)]
Declare Function HttpQueryServiceConfiguration Lib "httpapi.dll" (TODO) As TODO 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).
HTTPAPI_VERSION httpApiVersion = new HTTPAPI_VERSION(1, 0);
retVal = HttpApi.HttpInitialize(httpApiVersion, HTTP_INITIALIZE_CONFIG, IntPtr.Zero);
retVal = HttpApi.HttpQueryServiceConfiguration(IntPtr.Zero,
retVal = HttpApi.HttpQueryServiceConfiguration(IntPtr.Zero,
HttpApi.HttpTerminate(HttpApi.HTTP_INITIALIZE_CONFIG, IntPtr.Zero); Alternative Managed API:
[DllImport("httpapi.dll", SetLastError = true)]
Declare Function HttpSetServiceConfiguration Lib "httpapi.dll" (ByVal mustbezero As IntPtr, ByVal configID As Integer, ByVal configInfo As HTTP_SERVICE_CONFIG_URLACL_SET, ByVal configInfoLength As Integer, ByVal mustBeZero2 As IntPtr) As Integer 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).
retVal = HttpApi.HttpInitialize(HttpApi.HTTPAPI_VERSION, HttpApi.HTTP_INITIALIZE_CONFIG, IntPtr.Zero);
retVal = HttpApi.HttpSetServiceConfiguration(IntPtr.Zero,
retVal = HttpApi.HttpDeleteServiceConfiguration(IntPtr.Zero,
retVal = HttpApi.HttpSetServiceConfiguration(IntPtr.Zero,
HttpApi.HttpTerminate(HttpApi.HTTP_INITIALIZE_CONFIG, IntPtr.Zero);
[DllImport("httpapi.dll", SetLastError = true)]
HTTPAPI_VERSION Version,
[DllImport("httpapi.dll", SetLastError = true)]
[DllImport("httpapi.dll", SetLastError = true)]
[DllImport("httpapi.dll", SetLastError = true)]
public struct HTTPAPI_VERSION
public ushort HttpApiMajorVersion;
public ushort HttpApiMinorVersion;
public HTTPAPI_VERSION(ushort majorVersion, ushort minorVersion)
HttpApiMajorVersion = majorVersion;
HttpApiMinorVersion = minorVersion;
HTTPAPI_VERSION httpApiVersion = new HTTPAPI_VERSION(1, 0);
retVal = HttpInitialize(httpApiVersion, HTTP_INITIALIZE_CONFIG, IntPtr.Zero); Alternative Managed API:
[DllImport("httpapi.dll", SetLastError = true)]
Declare Function HttpTerminate Lib "httpapi.dll" (TODO) As TODO
HttpApi.HttpTerminate(HttpApi.HTTP_INITIALIZE_CONFIG, IntPtr.Zero); Alternative Managed API:cfgmgr32
CallingConvention:=CallingConvention.Winapi)> _ Alternative Managed API:
InvalidApi = 0x00000020,
CallingConvention:=CallingConvention.Winapi)> _ Alternative Managed API:Alternative Managed API:Alternative Managed API:14: CM_Setup_DevNode Alternative Managed API:mscorsnSee the sample on Shawn Farkas' blog for a complete sample of using this API: http://blogs.msdn.com/shawnfa/archive/2004/07/09/178902.aspx See the sample on Shawn Farkas' blog for a complete sample of using this API: http://blogs.msdn.com/shawnfa/archive/2004/07/09/178902.aspx 18: StrongNameKeyGen This strong name API has been moved to mscoree.dll for Whidbey. It is not available in the v1.0 or v1.1 versions of the framework. This strong name API has been moved to mscoree.dll for Whidbey. It is not available in the v1.0 or v1.1 versions of the framework. Alternative Managed API:Alternative Managed API:psapi23: 7Y43B184M1C2VFXI6WPW0TNVWFTD22KE5624RRQ6DQQAVVEP7O969RWD13IT37CM4A7IAQ79BVZGS5KMREUD1ET6R2DKTBOBUBPK 24: EmptyWorkingSet
[DllImport("psapi")]
Public Declare Function EmptyWorkingSet Lib "psapi.dll" (hwProc As IntPtr) As Int32 Alternative Managed API:
_result = PsapiHelper.EmptyWorkingSet(process.Handle);
[DllImport("psapi")]
Declare Function EnumDeviceDrivers Lib "psapi.dll" (TODO) As TODO Alternative Managed API:
[DllImport("psapi")]
[DllImport("psapi")]
[DllImport("psapi")] 26: EnumProcesses
[DllImport("Psapi.dll", SetLastError=true)]
<DllImport("psapi.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _ Alternative Managed API:
[DllImport("psapi")]
[DllImport("psapi.dll", SetLastError = true)]
<DllImport("psapi.dll", SetLastError:=True)> _ Alternative Managed API:
[DllImport("psapi.dll", CallingConvention=CallingConvention.StdCall, SetLastError = true)]
[DllImport("psapi")]
Declare Function GetDeviceDriverBaseName Lib "psapi.dll" (TODO) As TODO Alternative Managed API:
[DllImport("psapi")]
[DllImport("psapi")]
[DllImport("psapi.dll")] Alternative Managed API:
[DllImport("psapi.dll")]
<DllImport("psapi.dll")> _ Alternative Managed API:
[DllImport("psapi.dll", CallingConvention=CallingConvention.StdCall, CharSet=CharSet.Unicode)]
[DllImport("psapi.dll", SetLastError=true)]
<DllImport("psapi.dll", SetLastError:=True)> Alternative Managed API:
[DllImport("psapi.dll", SetLastError = true)]
Declare Function GetPerformanceInfo Lib "psapi.dll" (TODO) As Boolean Alternative Managed API:
public static class PsApiWrapper
[DllImport("psapi.dll", SetLastError = true)]
private static extern bool GetPerformanceInfo([Out] out PsApiPerformanceInformation PerformanceInformation, [In] int Size);
public struct PsApiPerformanceInformation
PsApiPerformanceInformation perfInfo = new PsApiPerformanceInformation();
[DllImport( "psapi.dll", CharSet = CharSet.Auto, EntryPoint = "GetPerformanceInfo", SetLastError = true )]
[DllImport("psapi.dll")]
Declare Function GetProcessImageFileName Lib "psapi.dll"
<DllImport("psapi.dll")> _ Alternative Managed API:
[DllImport("psapi.dll", SetLastError=true)]
Declare Function GetProcessMemoryInfo Lib "psapi.dll" (TODO) As TODO Alternative Managed API:
[DllImport("psapi.dll", SetLastError = true)] gdiplus40: GdipAddPathArcI Alternative Managed API:Alternative Managed API:Alternative Managed API:Alternative Managed API:Alternative Managed API:Alternative Managed API:46: GdipAddPathCurve Alternative Managed API:Alternative Managed API:Alternative Managed API:Alternative Managed API:50: GdipAddPathLine Alternative Managed API:51: GdipAddPathLine2 Alternative Managed API:52: GdipAddPathPath Alternative Managed API:53: GdipAddPathPie Alternative Managed API:Alternative Managed API:Alternative Managed API:Alternative Managed API:Alternative Managed API:Alternative Managed API:Alternative Managed API:Alternative Managed API:Cut off search results after 60. Please refine your search. |