Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "Service" in [All]

odbccp32

.

using System.Runtime.InteropServices;

.

Imports System.Runtime.InteropServices

cfgmgr32

.

     NoCmServices = 0x00000032,   // NT ONLY

iphlpapi

.

using System.Runtime.InteropServices;

.

        IF_TYPE_FRAMERELAY_SERVICE = 44,  // FRNETSERV-MIB

.

        IF_TYPE_CES = 133,  // Circuit Emulation Service

.

        [System.Runtime.InteropServices.MarshalAs(UnmanagedType.LPWStr)]

.

        [System.Runtime.InteropServices.MarshalAs(UnmanagedType.LPWStr)]

.

  using System.Runtime.InteropServices;

.

    $services=Get-WmiObject -Namespace "root\cimv2" -Class "Win32_Service"

.

      $boolNoService=$true

.

      for ($j=0; $j -lt $services.Count; $j++) {

.

    if ($services[$j].ProcessId -eq $y[$i].owningPid) {

.

      Add-Member -InputObject $objOutput -MemberType NoteProperty -Name "ServiceName" -Value $services[$j].Caption

.

      $boolNoService=$false

.

      if ($boolNoService) { Add-Member -InputObject $objOutput -MemberType NoteProperty -Name "ServiceName" -Value $null }

.

    using System.Runtime.InteropServices;

.

    using System.Runtime.InteropServices;

.

    using System.Runtime.InteropServices;

.

    using System.Runtime.InteropServices;

odbc32

.

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _

.

    Private Shared Function SQLAllocStmt(ByVal connectionHandle As IntPtr, <Runtime.InteropServices.Out()> _

.

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _

.

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _

.

    <Runtime.InteropServices.Out()> ByRef pbcConnStrOut As Short, ByVal fDriverCompletion As Short) As Short

.

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _

.

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _

.

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _

.

<Runtime.InteropServices.DllImport("odbc32.dll")> _

.

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _

shlwapi

.

  using System.Runtime.InteropServices;

.

  using System.Runtime.InteropServices;

.

[System.Runtime.InteropServices.ComImport]

.

Hey Marty, I'm not your answering service, but you're outside pouting about the car, Jennifer Parker called you twice. Say that again. Calvin, why do you keep calling me Calvin? Marty, you didn't fall asleep, did you? I'm too loud. I can't believe it. I'm never gonna get a chance to play in front of anybody.

.

using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

static extern void SHCreateStreamOnFileEx(string fileName, uint grfmode, uint dwAttributes, bool fCreate, System.Runtime.InteropServices.ComTypes.IStream streamNull, ref System.Runtime.InteropServices.ComTypes.IStream stream);

.

static extern void SHCreateStreamOnFileEx(string fileName, uint grfmode, uint dwAttributes, bool fCreate, System.Runtime.InteropServices.ComTypes.IStream streamNull, ref System.Runtime.InteropServices.ComTypes.IStream stream);

.

<System.Runtime.InteropServices.DllImport("shlwapi", CharSet:=System.Runtime.InteropServices.CharSet.Auto)> _

winfax

.

Hey Marty, I'm not your answering service, but you're outside pouting about the car, Jennifer Parker called you twice. Say that again. Calvin, why do you keep calling me Calvin? Marty, you didn't fall asleep, did you? I'm too loud. I can't believe it. I'm never gonna get a chance to play in front of anybody.

faultrep

.

using System.Runtime.InteropServices;

msvcrt

29: memcpy
.

System.Buffer.BlockCopy, Marshal.Copy and Array.Copy provide similar services, but require one or two managed arrays instead of pointers.

.

Imports System.Runtime.InteropServices

gdi32

30: BitBlt
.

///    <c>true</c> if the operation succeedes, <c>false</c> otherwise. To get extended error information, call <see cref="System.Runtime.InteropServices.Marshal.GetLastWin32Error"/>.

31: Chord
.

<Runtime.InteropServices.DllImport("gdi32.dll")> _

.

using System.Runtime.InteropServices;

.

<System.Runtime.InteropServices.DllImport("gdi32.dll")> _

.

using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

    [System.Runtime.InteropServices.DllImport("gdi32")]

.

    [System.Runtime.InteropServices.DllImport("gdi32")]

.

  using System.Runtime.InteropServices;

.

  using System.Runtime.InteropServices;

.

  using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices; // For calling Windows API functions.

.

using System.Runtime.InteropServices;

.

   using System.Runtime.InteropServices;

.

Imports System.Runtime.InteropServices

oleaut32

.

Declare Unicode Function LoadTypeLib Lib "oleaut32.dll" (ByVal szFile As String, ByRef TPpTypeLib As System.Runtime.InteropServices.ComTypes.ITypeLib) As Integer

.

In VB.Net you can substitute [System.Runtime.InteropServices.ComTypes.ITypeLib2] or [System.Runtime.InteropServices.UCOMITypeLib] for [System.Runtime.InteropServices.ComTypes.ITypeLib], defined in mscorlib.dll.

.

Note that in v2.0 (Whidbey) of the .NET Framework, the System.Runtime.InteropServices.UCOMITypeLib interface has been deprecated in favor of System.Runtime.InteropServices.ComTypes.ITypeLib.

.

Declare Unicode Function RegisterTypeLib Lib "oleaut32.dll" (ByVal ptlib As System.Runtime.InteropServices.ComTypes.ITypeLib, ByVal szFullPath As String, ByVal szHelpDir As String) As Integer

.

For the ITypeLib parameter in C#, you can use [System.Runtime.InteropServices.UCOMITypeLib], already defined in mscorlib.dll. Note that in v2.0 (Whidbey) of the .NET Framework, this interface has been deprecated in favor of System.Runtime.InteropServices.ComTypes.ITypeLib.

.

In VB.Net you can substitute [System.Runtime.InteropServices.ComTypes.ITypeLib2] or [System.Runtime.InteropServices.UCOMITypeLib] for [System.Runtime.InteropServices.ComTypes.ITypeLib], defined in mscorlib.dll.

.

System.Runtime.InteropServices.Marshal.FreeBSTR

.

http://msdn2.microsoft.com/en-us/library/system.runtime.interopservices.marshal.freebstr.aspx

.

Declare Unicode Function UnRegisterTypeLib Lib "oleaut32.dll" (ByRef LibID As System.Guid, ByVal nVerMajor As Short, ByVal nVerMinor As Short, ByVal lCID As Integer, ByVal tSysKind As System.Runtime.InteropServices.ComTypes.SYSKIND) As Integer

.

In VB.Net you can substitute [System.Runtime.InteropServices.SYSKIND] for [System.Runtime.InteropServices.ComTypes.SYSKIND], defined in mscorlib.dll.

.

Note that in v2.0 (Whidbey) of the .NET Framework, the System.Runtime.InteropServices.SYSKIND interface has been deprecated in favor of System.Runtime.InteropServices.ComTypes.SYSKIND.

wininet

.

        uint nService,

.

    private const uint INTERNET_SERVICE_FTP = 1;

.

                    INTERNET_SERVICE_FTP, INTERNET_FLAG_PASSIVE, 0);

.

    * Returns a valid handle to the FTP, Gopher, or HTTP session if the connection is successful, or NULL otherwise. To get extended error information, call GetLastError. An application can also use InternetGetLastResponseInfo to determine why access to the service was denied.

.

   string lpszUsername, string lpszPassword, int dwService,

.

    ByVal lService As Int32,

.

    Number of the TCP/IP port on the server to connect to. Can be one of the values in the following list. If this parameter is set to INTERNET_INVALID_PORT_NUMBER, the function uses the default port for the specified service. These values do not cause the function to use this protocol. The value sets the port to be used. A flag must be used to set the service.

.

dwService

.

    Type of service to access. Can be one of these values:

.

    INTERNET_SERVICE_FTP     FTP service.

.

    INTERNET_SERVICE_GOPHER     Gopher service.

.

    INTERNET_SERVICE_HTTP     HTTP service.

.

    Flags specific to the service used. Can be one of these values:

.

    If dwService is:     dwFlags supported

.

    INTERNET_SERVICE_FTP     INTERNET_CONNECT_FLAG_PASSIVE (Use passive mode in all data connections for this FTP session.)

.

The InternetConnect function is required before communicating with any Internet service.

.

[System.Runtime.InteropServices.DllImport("Wininet.dll")]

.

///     <br />Note WinINet does not support server implementations. In addition, it should not be used from a service. For

.

///     server implementations or services use Microsoft Windows HTTP Services (WinHTTP).

.

using System.Runtime.InteropServices;

.

    <System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.Bool)> Boolean

.

    <System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.Bool)> Boolean

.

    'sBuffer = System.Runtime.InteropServices.Marshal.AllocHGlobal(dwBufferLength)

.

        MsgBox("1st Party: There was an error: Code " & CStr(System.Runtime.InteropServices.Marshal.GetLastWin32Error()))

.

        MsgBox("There was an error: Code " & CStr(System.Runtime.InteropServices.Marshal.GetLastWin32Error()))

coredll

.

using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

    Imports System.Runtime.InteropServices

.

using System.Runtime.InteropServices;

Cut off search results after 60. Please refine your search.


 
Access PInvoke.net directly from VS: