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]

powrprof

.

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;

rpcrt4

.

pin_ptr<unsigned char> UuidSringPtr = static_cast<unsigned char *>(System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi("C3ECE8CB-E9F8-47f9-AC61-8EA8572403F2").ToPointer());

.
System

winhttp

.

/// <returns>If the function succeeds, the function returns <c>true</c>. If the function fails, it returns <c>false</c>. For extended error data, call <see cref="System.Runtime.InteropServices.Marshal.GetLastWin32Error"/>.</returns>

.

ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR - Returned by WinHttpGetProxyForUrl when a proxy for the specified URL cannot be located.

icmp

.

    using System.Runtime.InteropServices;

.

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.

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;

winscard

.

    SCARD_E_NO_SERVICE =        0x8010001D,

.

    SCARD_E_SERVICE_STOPPED =       0x8010001E,

.
Summary
The SCardTransmit function sends a service request to the smart card and expects to receive data back from the card.
.

        request.cbPciLength = System.Runtime.InteropServices.Marshal.SizeOf(typeof(UnsafeNativeMethods.SCARD_IO_REQUEST));

mpr

.

[DllImport("mpr.dll", CharSet = System.Runtime.InteropServices.CharSet.Ansi)]

.

  using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

    [MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)] public string lpLocalName;

.

    [MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)] public string lpRemoteName;

.

    [MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)] public string lpComment;

.

    [MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)] public string lpProvider;

.

Imports System.Runtime.InteropServices

.

    <MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)> Public lpLocalName As String

.

    <MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)> Public lpRemoteName As String

.

    <MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)> Public lpComment As String

.

    <MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)> Public lpProvider As String

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.

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)> _

user32

.

Imports System.Runtime.InteropServices

.

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

.

If you come across this error "System.Runtime.InteropServices.MarshalDirectiveException: Cannot marshal 'parameter #6': Invalid managed/unmanaged type combination (this value type must be paired with Struct).", you may want to use

.

        [System.Runtime.InteropServices.ComRegisterFunctionAttribute()]

.

        [System.Runtime.InteropServices.ComUnregisterFunctionAttribute()]

.

using System.Runtime.InteropServices;

.

static extern IntPtr DdeConnect(uint idInst, IntPtr hszService,

.

IntPtr handle = DdeConnect(instanceId, serviceHandle, topicHandle, IntPtr.Zero);

.

IntPtr serviceHandle = DdeCreateStringHandle(instanceId, "MT4", CP_WINANSI);

.

    [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential)]

.

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

.

      [System.Runtime.InteropServices.In] ref RECT lprcFrom,

.

      [System.Runtime.InteropServices.In] ref RECT lprcTo);

.

    [System.Runtime.InteropServices.DllImport("user32.dll", SetLastError = true)]

.

    [System.Runtime.InteropServices.DllImport("user32.dll", SetLastError = true)]

.

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

.

    [StructLayout(System::Runtime::InteropServices::LayoutKind::Sequential)]

.

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

.

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

.

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

.

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

.

    <DllImport("user32.dll", CallingConvention:=Runtime.InteropServices.CallingConvention.Cdecl)> _

.

    <DllImport("user32.dll", CallingConvention:=Runtime.InteropServices.CallingConvention.Cdecl)> _

.

Imports System.Runtime.InteropServices

.

using System.Runtime.InteropServices;

.

<Runtime.InteropServices.DllImport("user32.dll")>

.

using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

Imports System.Runtime.InteropServices

.

If uFlags is set to 'LogOff', then the call will fail if the process calling it is a non-interactive-process (i.e a Windows Service). Read the [ExitWindowsEx] on MSDN for more info. All other values for uFlags work fine for non-interactive-processes.

.

        .cbSize = System.Runtime.InteropServices.Marshal.SizeOf(fwi)

.

        .cbSize = System.Runtime.InteropServices.Marshal.SizeOf(fwi)

.

Imports System.Runtime.InteropServices

.

using System.Runtime.InteropServices;

.

cbi.cbSize = System.Runtime.InteropServices.Marshal.SizeOf(cbi);

.

cbi.cbSize = System.Runtime.InteropServices.Marshal.SizeOf(cbi)

.

<System.Runtime.InteropServices.StructLayout(Runtime.InteropServices.LayoutKind.Sequential)> _

.

using System.Runtime.InteropServices;

.

<System.Runtime.InteropServices.StructLayout(Runtime.InteropServices.LayoutKind.Sequential)> _

.

    using System.Runtime.InteropServices;

.

   <System.Runtime.InteropServices.DllImportAttribute("user32.dll", EntryPoint:="GetIconInfo")>  _

.

    Public Shared Function GetIconInfo(ByVal hIcon As System.IntPtr, ByRef piconinfo As ICONINFO) As <System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.Bool)> Boolean

.

    using System.Runtime.InteropServices;

.

    using System.Runtime.InteropServices;

.

    using System.Runtime.InteropServices;

.

Imports System.Runtime.InteropServices

.

    using System.Runtime.InteropServices;

.

Use Runtime.InteropServices.Marshal.GetLastWin32Error()

.

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

.

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

.

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

.

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

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


 
Access PInvoke.net directly from VS: