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 "Run" in [All]

ntdsapi

.

using System.Runtime.ConstrainedExecution;

.

using System.Runtime.InteropServices;

.

    using System.Runtime.InteropServices;

winspool

.

        System.Runtime.InteropServices.ComTypes.FILETIME ftDriverDate;

.

    Imports System.Runtime.InteropServices

.

    using System.Runtime.InteropServices;

.

    static extern bool EnumPrinterDrivers(String pName, String pEnvironment, uint level, IntPtr pDriverInfo, uint cdBuf, ref uint pcbNeeded, ref uint pcRetruned);

.

You will need to import System.Runtime.InteropServices

.

public static extern int EnumPrintProcessorDatatypesA(string pName, string pPrintProcessorName, int Level, ref byte pDatatypes, int cdBuf, ref int pcbNeeded, ref int pcRetruned)

.

Declare Function EnumPrintProcessorDatatypes Lib "winspool.drv" Alias "EnumPrintProcessorDatatypesA" (ByVal pName As String, ByVal pPrintProcessorName As String, ByVal Level As Integer, ByRef pDatatypes As Byte, ByVal cdBuf As Integer, ByRef pcbNeeded As Integer, ByRef pcRetruned As Integer) As Integer

.

You will need to import System.Runtime.InteropServices.

.

Optionally call SendMessageTimeout() to notify running programs of the change:

.

    // Notify running programs?

.

    if (result == true && notifyRunningPrograms == true)

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>

psapi

.

using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

        /// or deleted, or if pagefiles have grown, shrunk, or been added. If the paging

.

      public uint PagefileUsage;          // The Commit Charge value in bytes for this process (SIZE_T). Commit Charge is the total amount of memory that the memory manager has committed for a running process.

icmp

.

W€IªéÇÒíÌ„x鐸tÎÿxjõldĶå¯B§šÞÌJè}5'…ÎúªFKì1ü•¯É ‚'ÌýÇ/4P±Lfª‚~ôl?ÇOÅï<Jè[£!¾ïçƒËBÆ$ý_)Ý!HÃcy4a¿¨4'(%«ß‡¶ÂÕí2[ZϘÆ}í¶0ϤJîWyòc˜D¯èmœµÙ³?ŒV{äÒGÎiäRe¨ê$OÒ,T÷0JPzᯍ6õ¢Dú<‰$ûmz—ðîd‹l[MóúηÁÍxZ.;4'HÌÚQ÷PЎ¸Ti×Y˜kŸ"ótä!­E±åeœpµ|J !EI‘™Du•o Ü{ ¸6¾AÓ¹jè{étëëlÏu]³ÂÞ<?ç·¨FhVw¬o ü*ÿùVrhä|FgnÅ?ɕ”ÁG ù5µ Ÿ³Ý„ù€l>Jȱ¸£ž¥ü©¬öi¾%º‚†”‹3](ib¯ßœúÆßÕ¬žç¡…Ýi3ršï@N—\‚i̓ú6ôä({©fđ¥ÖÚ¾Ó?P@<e®£Jñf'ñEWQ¾l? #7´Wþq‹'bøQo:œA¿ƒ÷.|ú™S ɀáQF`yÍFaŒ’Ó´˜.Àý\!×Ö`† Í·\ä1,ÄèãÏ;]}]ñ ]×0ÆýÆ­îяB²­ÝÀppC¥G»U`RL~½ÞêšÑñÇ»$Ò¡#•PÀ×ܝJäÅxCüqÁ³ñ"é¢rHôƟK ow†ÑIÄ5Ã}—Àezç'šcjÝ0®»ùªõ»ódÊ{¬GêC,¤à/©¹¤8¡RuN­ßѕ…--õìPfE§ËM´!Û3AéŽî«ñ>ʊ3ë²Ë«+Žd Ú¶4$ÂTn”Þºq¨ªÀÙFd“÷ŸáÿõìW±ÜßHm’¶ýhžvÂGAH«w@Y[œÑÍáXž˜³ªqó´j3ɬ¼½j$ Â@ª [ué]ÑÂ,P]qõƒþá]-ُ©œOÝô0Ûéh•€øÄžyXq¸äÝȸÏñH·a"¦V] 0¤Èûò#Öe¤Îk­{(ÛBVc">†ÛjÏY*¸ÄW…·$±ä£ òÍÁÀ‚ ,ªÿÏýçøøWaÈé[ZðŸÐþC&ØF ¡WM]W6ÿåF&¡ÓWGF¢ŽÔÏéBHœÑñyƒ[p:씕<€}ö[´gÙØ_ Íºo±. 1Ž»"z*×Â/˜¹¯pý³£hðùî1•JÐ_™ s…6Í~` ×Áòª=‹”ÌŽ0žàM,w¤)cÌ-¼M-׀½œ¿±nçw½Ú ¸XtkOg¾cÎ\oM‹:KÉþ#!י펜‹Å‡FÏ.(Û »é¨<E9³#﫟xOQDȓª€”Tï

.

KŸ”°œ­Ýô7žlÌÏÄYLôoÚX‹"³kŒ¤& ÷<4i¾ܳ‹É†&Wx¨im¿¡g˜¸„ØÃþ^‘‹5å'¸×"Êå;0}>x7`KóÄï×å¼3nÊ jĸ#‡O A÷bQ+-‹&›“V×ΩVmP¿:uoÖæ¬HJøÇ"÷;öí=Ûþõ²Ϩl-q™¾íחüî±Êê²rŒN’³õTFKBÓ0 y-ôà*¢wé’øû\6.4õ×Saê–Ô¯¹È¿SI7žg£Æ»5Í/ë§ê&qöRRUN¾cÕÀð^&E7ä@§JÅ'ÚÀ`d¹[Z˜âñZûڍūºæÜԖ'9Ï͙ë|¢²ì%¦úÒñ¸þ¸nöè˜8ÀŌ…ÊNiy;V?2â ìñΓチ(ü<tÅa›'4£3_ç¹ …/×Ìk™÷&u<ƤL*:™íß¼ ;º¼¾v¬U ©‚ `Qiá«6¹¹¹xBç~ÑX’N^ÇK€ótö‡ZO䈙¥…¿ÌÙb¦a2Q¢Ê¢VîX©xó˜šlÇIŠ”põ„2{ÍþòêÏvïX(îIx!u°"QßÞ-aâ5_% ‰û¨!Ó÷N#rK•6n+õ/ǓWx<ëÓÊ H¶“Ý68œâ ¸H¡§ã?#"ˆñNœJ ©ìý›‡Y’Š:e/˜ÕäÞê>UVÉëv´çµXƒ¾ÆÓåÇlTeô|rWãý·ÿþՋ¸s?¾JNA.˜Œ¢Ì"[eîu8d\Œ„á;¦€YD4ŽêcÅÝB úÁŠüZB;¹CacPÎó½#÷@Jîe—§b‡VÇqíŸÍiŒÁò…‚1®’×56þM龑ºV˜Ülî.JMèæ=•lcmqèßMn°ßDbÒ2=Ìl÷Œ•€JãBbL‘é…

.

Never gonna run around and desert you

.

    using System.Runtime.InteropServices;

wintrust

.

    using System.Runtime.InteropServices;

.

         ProviderUnknown = 0x800b0001,           // Trust provider is not recognized on this system

netapi32

.

     DS_DOMAIN_NATIVE_MODE     = 0x0010,  // Primary domain is running in native mode

.

     DS_DOMAIN_NATIVE_MODE     = 0x0010,  // Primary domain is running in native mode

.

    /// <summary>The directory service is running on this computer.</summary>

.

    ServerRunning = 1,

.

    /// <summary>The directory service is running in mixed mode.</summary>

.

    /// <summary>The directory service is running as read-only on this computer.</summary>

.

    /// <summary>Primary domain server is running.</summary>

.

    Running = 1,

.

Declare Function NetDfsAdd Lib "NETAPI32.DLL" (<Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> ByVal DfsEntryPath As String, <Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> ByVal ServerName As String, <Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> ByVal ShareName As String, <Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> ByVal Comment As String, ByVal Flags As Uint32) As Long

.

    Declare Function NetDfsRemove Lib "NETAPI32.DLL" (<Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> _

.

  ByVal DfsEntryPath As String, <Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> _

.

  ByVal ServerName As String, <Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> _

.

Imports System.Runtime.InteropServices

.

    using System.Runtime.InteropServices;

.

    ''' <remarks>If you call this function on a domain controller that is running Active Directory, access is allowed or denied based on

.

The Alerter service must be running for NetMessageBufferSend to function.

.

using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

    /// Time the job is run. Expressed in milliseconds from midnight of the day the

.

    /// job is to be run.

.

    /// Bitmask of days of the month that the job is to be run.

.

    /// Bitmask is from the first to thirty first, lowest to highest bit, or 0 if the job will be run only once.

.

    /// Bitmask of days of the week that the job is to be run.

.

    /// Bitmask is from Monday to Sunday, from lowest to highest bit, or 0 if the job will be run only once.

.

    /// The command to run.

.

    JOB_RUN_PERIODICALLY = 1,

.

    JOB_RUNS_TODAY = 4,

.

using System.Runtime.InteropServices;

.

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

.

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

.

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

.

namespace System.Runtime.InteropServices

.

using System.Runtime.InteropServices;

.

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

.

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

.

            [MarshalAs(System.Runtime.InteropServices.UnmanagedType.U4)] public UInt32 sv101_version_major;

.

            [MarshalAs(System.Runtime.InteropServices.UnmanagedType.U4)] public UInt32 sv101_version_minor;

.

            [MarshalAs(System.Runtime.InteropServices.UnmanagedType.U4)] public UInt32 sv101_type;

.

            [MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)] public string sv101_comment;

.

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

.

Imports System.Runtime.InteropServices

.

  Imports System.Runtime.InteropServices

.

int Result = NetShareGetInfo("ArunGanesh", "public",502,out pBuffer);

.

    using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

Imports System.Runtime.InteropServices

.

Imports System.Runtime.InteropServices.UnmanagedType

.

Imports System.Runtime.InteropServices.Marshal

.

Imports System.Runtime.InteropServices.StructLayoutAttribute

.

        using System.Runtime.InteropServices;

.

        using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

Shared Function NetWkstaUserEnum(ByVal servername As String, ByVal level As Integer, <System.Runtime.InteropServices.Out()> ByRef bufptr As IntPtr, ByVal prefmaxlen As Integer, <System.Runtime.InteropServices.Out()> ByRef entriesread As Integer, <System.Runtime.InteropServices.Out()> ByRef totalentries As Integer, ByRef resume_handle As Integer) As Integer

.

If you want to find the user logged in to the workstation, consider instead a WMI query ("select UserName from Win32_ComputerSystem"), which has certain advantages (runs faster, less ambigious results, doesn't require Interop if using .Net 2.0 System.Management namespace, etc.)

.

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

.

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

.

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

.

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

Enums

40: CLSCTX
.
Summary
Indicates the execution contexts in which an object is to be run
41: COINIT
.
Summary
A set of values from the COINIT enumeration is passed as the second parameter to CoInitializeEx. This value determines the concurrency model used for incoming calls to objects created by the thread making the call. However, since pinvoke is a dotNET construct you should be aware that dotNET already does a COM initialization and therefore calling a CoInitializeEx function most likely will not do what you expect. This problem occurs when trying to instantiate a COM object from within dotNET where the COM objects threading model is different from dotNETs. Search on Common Language Runtime or CLR and COINIT_APARTMENTTHREADED to find posts on this issue.
.

    using System.Runtime.InteropServices;

.

    using System.Runtime.InteropServices;

.

    ModesPruned = 0x8000000,

.

    ModesPruned = &H8000000

.

  [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential,Pack=4)]

.

      return System.Runtime.InteropServices.Marshal.GetExceptionForHR(hr);

.

    ///The class is configured to run as a security id different from the caller

.

    [Description("The class is configured to run as a security id different from the caller")]

.

    ///A RunAs specification must be &lt;domain name>\<user name> or simply &lt;user name>

.

    [Description("A RunAs specification must be <domain name>\\<user name> or simply <user name>")]

.

    public const int CO_E_RUNAS_SYNTAX = unchecked((int)0x80004017);

.

    public const int CO_E_RUNAS_CREATEPROCESS_FAILURE = unchecked((int)0x80004019);

.

    public const int CO_E_RUNAS_LOGON_FAILURE = unchecked((int)0x8000401A);

.

    ///The common language runtime is not available

.

    [Description("The common language runtime is not available")]

.

    ///Need to run the object to perform this operation

.

    [Description("Need to run the object to perform this operation")]

.

    public const int OLE_E_NOTRUNNING = unchecked((int)0x80040005);

.

    ///Application cannot be run more than once

.

    [Description("Application cannot be run more than once")]

.

    ///Message is too long; some of it had to be truncated before displaying

.

    [Description("Message is too long; some of it had to be truncated before displaying")]

.

    public const int INPLACE_S_TRUNCATED = unchecked((int)0x000401A0);

.

    ///Moniker is already registered in running object table

.

    [Description("Moniker is already registered in running object table")]

.

    ///The task is ready to run at its next scheduled time.

.

    [Description("The task is ready to run at its next scheduled time.")]

.

    ///The task is currently running.

.

    [Description("The task is currently running.")]

.

    public const int SCHED_S_TASK_RUNNING = unchecked((int)0x00041301);

.

    ///The task will not run at the scheduled times because it has been disabled.

.

    [Description("The task will not run at the scheduled times because it has been disabled.")]

.

    ///The task has not yet run.

.

    [Description("The task has not yet run.")]

.

    public const int SCHED_S_TASK_HAS_NOT_RUN = unchecked((int)0x00041303);

.

    ///There are no more runs scheduled for this task.

.

    [Description("There are no more runs scheduled for this task.")]

.

    public const int SCHED_S_TASK_NO_MORE_RUNS = unchecked((int)0x00041304);

.

    ///One or more of the properties that are needed to run this task on a schedule have not been set.

.

    [Description("One or more of the properties that are needed to run this task on a schedule have not been set.")]

.

    ///The last run of the task was terminated by the user.

.

    [Description("The last run of the task was terminated by the user.")]

.

    ///Event triggers don't have set run times.

.

    [Description("Event triggers don't have set run times.")]

.

    ///One or more of the properties that are needed to run this task have not been set.

.

    [Description("One or more of the properties that are needed to run this task have not been set.")]

.

    ///There is no running instance of the task to terminate.

.

    [Description("There is no running instance of the task to terminate.")]

.

    public const int SCHED_E_TASK_NOT_RUNNING = unchecked((int)0x8004130B);

.

    ///The task has been configured with an unsupported combination of account settings and run time options.

.

    [Description("The task has been configured with an unsupported combination of account settings and run time options.")]

.

    ///The Task Scheduler Service is not running.

.

    [Description("The Task Scheduler Service is not running.")]

.

    public const int SCHED_E_SERVICE_NOT_RUNNING = unchecked((int)0x80041315);

.

    //  See asn1code.h for a definition of the OSS runtime errors. The OSS

.

    ///OSS ASN.1 Error: Output buffer is too small, the decoded data has been truncated.

.

    [Description("OSS ASN.1 Error: Output buffer is too small, the decoded data has been truncated.")]

.

    ///The Smart card resource manager is not running.

.

    [Description("The Smart card resource manager is not running.")]

.

    ///The COM+ registry database is already running

.

    [Description("The COM+ registry database is already running")]

.

    public const int COMADMIN_E_REGDB_ALREADYRUNNING = unchecked((int)0x80110475);

.

    ///The specified application is not currently running

.

    [Description("The specified application is not currently running")]

.

    public const int COMADMIN_E_APP_NOT_RUNNING = unchecked((int)0x8011080A);

.

    ///COM+ applications that run as NT service may not be pooled or recycled

.

    [Description("COM+ applications that run as NT service may not be pooled or recycled")]

.

    ///Applications running as NT services may not be recycled.

.

    [Description("Applications running as NT services may not be recycled.")]

.

<System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack := 4)> _

.

        Return System.Runtime.InteropServices.Marshal.GetExceptionForHR(hr)

.

    '''The class is configured to run as a security id different from the caller

.

    <Description("The class is configured to run as a security id different from the caller")> _

.

    '''A RunAs specification must be &lt;domain name>\<user name> or simply &lt;user name>

.

    <Description("A RunAs specification must be <domain name>\<user name> or simply <user name>")> _

.

    Public Const CO_E_RUNAS_SYNTAX As Integer = CInt(&H80004017UI)

.

    Public Const CO_E_RUNAS_CREATEPROCESS_FAILURE As Integer = CInt(&H80004019UI)

.

    Public Const CO_E_RUNAS_LOGON_FAILURE As Integer = CInt(&H8000401aUI)

.

    '''The common language runtime is not available

.

    <Description("The common language runtime is not available")> _

.

    '''Need to run the object to perform this operation

.

    <Description("Need to run the object to perform this operation")> _

.

    Public Const OLE_E_NOTRUNNING As Integer = CInt(&H80040005UI)

.

    '''Application cannot be run more than once

.

    <Description("Application cannot be run more than once")> _

.

    '''Message is too long; some of it had to be truncated before displaying

.

    <Description("Message is too long; some of it had to be truncated before displaying")> _

.

    Public Const INPLACE_S_TRUNCATED As Integer = CInt(&H401a0)

.

    '''Moniker is already registered in running object table

.

    <Description("Moniker is already registered in running object table")> _

.

    '''The task is ready to run at its next scheduled time.

.

    <Description("The task is ready to run at its next scheduled time.")> _

.

    '''The task is currently running.

.

    <Description("The task is currently running.")> _

.

    Public Const SCHED_S_TASK_RUNNING As Integer = CInt(&H41301)

.

    '''The task will not run at the scheduled times because it has been disabled.

.

    <Description("The task will not run at the scheduled times because it has been disabled.")> _

.

    '''The task has not yet run.

.

    <Description("The task has not yet run.")> _

.

    Public Const SCHED_S_TASK_HAS_NOT_RUN As Integer = CInt(&H41303)

.

    '''There are no more runs scheduled for this task.

.

    <Description("There are no more runs scheduled for this task.")> _

.

    Public Const SCHED_S_TASK_NO_MORE_RUNS As Integer = CInt(&H41304)

.

    '''One or more of the properties that are needed to run this task on a schedule have not been set.

.

    <Description("One or more of the properties that are needed to run this task on a schedule have not been set.")> _

.

    '''The last run of the task was terminated by the user.

.

    <Description("The last run of the task was terminated by the user.")> _

.

    '''Event triggers don't have set run times.

.

    <Description("Event triggers don't have set run times.")> _

.

    '''One or more of the properties that are needed to run this task have not been set.

.

    <Description("One or more of the properties that are needed to run this task have not been set.")> _

.

    '''There is no running instance of the task to terminate.

.

    <Description("There is no running instance of the task to terminate.")> _

.

    Public Const SCHED_E_TASK_NOT_RUNNING As Integer = CInt(&H8004130bUI)

.

    '''The task has been configured with an unsupported combination of account settings and run time options.

.

    <Description("The task has been configured with an unsupported combination of account settings and run time options.")> _

.

    '''The Task Scheduler Service is not running.

.

    <Description("The Task Scheduler Service is not running.")> _

.

    Public Const SCHED_E_SERVICE_NOT_RUNNING As Integer = CInt(&H80041315UI)

.

    '  See asn1code.h for a definition of the OSS runtime errors. The OSS

.

    '''OSS ASN.1 Error: Output buffer is too small, the decoded data has been truncated.

.

    <Description("OSS ASN.1 Error: Output buffer is too small, the decoded data has been truncated.")> _

.

    '''The Smart card resource manager is not running.

.

    <Description("The Smart card resource manager is not running.")> _

.

    '''The COM+ registry database is already running

.

    <Description("The COM+ registry database is already running")> _

.

    Public Const COMADMIN_E_REGDB_ALREADYRUNNING As Integer = CInt(&H80110475UI)

.

    '''The specified application is not currently running

.

    <Description("The specified application is not currently running")> _

.

    Public Const COMADMIN_E_APP_NOT_RUNNING As Integer = CInt(&H8011080aUI)

.

    '''COM+ applications that run as NT service may not be pooled or recycled

.

    <Description("COM+ applications that run as NT service may not be pooled or recycled")> _

.

    '''Applications running as NT services may not be recycled.

.

    <Description("Applications running as NT services may not be recycled.")> _

.

    INSTALLSTATE_SOURCEABSENT = -4,  // run from source, source is unavailable

.

    INSTALLSTATE_SOURCE       =  4,  // run from source, CD or net

.

    ''' Run from source, source is unavailable.

.

    ''' Run from source, CD or net.

.

    DataOverrun = 0xc000003c,

.

    OF_CREATE    = 0x00001000,  // Creates a new file. If file exists, it is truncated to zero (0) length.

.

        /// <summary>664. The system has run out of memory. </summary>

.

        /// <summary>710. Serial overrun errors were detected while communicating with the modem. </summary>

.

        ERROR_OVERRUN,

.

        /// <summary>827. The L2TP/IPsec connection cannot be completed because the IKE and AuthIP IPSec Keying Modules service and/or the Base Filtering Engine service is not running. These services are required to establish an L2TP/IPSec connection. </summary>

.

    /// Application is currently running.

.

    RmStatusRunning = 0x1,

.

    /// One or more processes are running in another TS session.

51: SBSP
.

    SBSP_CALLERUNTRUSTED = 0x00800000,

.

            Run_Command = 3

.

        Run_Command = 3

.

    MinorUnstable = 0x00000006,

.

     MinorUnstable = &H6

54: STARTF
.

        STARTF_RUNFULLSCREEN = 0x00000020,  // ignored for non-x86 platforms

.

    STARTF_RUNFULLSCREEN = &H20

.

        /// input supported by a device running Windows 7 or Windows Server 2008 R2. For more information, see Remarks.

.
Summary
Specifies values that identify whether the font size of a highlighted text run should be incremented or decremented.
.

You should use System.Runtime.InteropServices.VarEnum instead.

.

using System.Runtime.InteropServices;

.

            Application.Run(new Form1());

.

     /// A null-terminated string that contains the name of the initial program that Remote Desktop Services runs when the user logs on.

.

     /// A null-terminated string that contains the published name of the application that the session is running.

cards

.

using System.Runtime.InteropServices;

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


 
Access PInvoke.net directly from VS: