Desktop Functions: Smart Device Functions:
|
Search Results for "Service" in [All]icmp1: IcmpSendEcho
using System.Runtime.InteropServices; netapi322: DsGetDcName
DS_DIRECTORY_SERVICE_REQUIRED = 0x00000010,
DS_DIRECTORY_SERVICE_PREFERRED = 0x00000020,
DSGETDCNAME_FLAGS.DS_DIRECTORY_SERVICE_REQUIRED| System.DirectoryServices.ActiveDirectory.Domain.GetCurrentDomain() The DsGetSiteName function does not require any particular access to the specified domain. The function is sent to the Netlogon service on the computer specified by ComputerName.
/// <summary>Retrieves state data for the computer, which includes the state of the directory service installation and domain data.</summary>
/// <summary>The directory service is running on this computer.</summary>
/// <summary>The directory service is running in mixed mode.</summary>
/// <summary>The directory service is running as read-only on this computer.</summary>
/// <summary>Gets state data for the computer, which includes the state of the directory service installation and domain data.</summary>
Policies = new string[9, 2] { { "System", "" }, { "Logon", "" }, { "Object Access", "" }, { "Privilige Use", "" }, { "Detailed Tracking", "" }, { "Policy Change", "" }, { "Account Management", "" }, { "Directory Service Access", "" }, { "Account Logon", "" } };
aObjectAttributes.SecurityQualityOfService = IntPtr.Zero; 6: NetDfsAdd 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 7: NetDfsRemove
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)> _
System.DirectoryServices.ActiveDirectory.Domain.GetComputerDomain();
Imports System.Runtime.InteropServices Here's some sample code that can do this using System.DirectoryServices
catch (DirectoryServicesCOMException e)
using System.Runtime.InteropServices; The Alerter service must be running for NetMessageBufferSend to function.
using System.Runtime.InteropServices; 11: NetRemoteTOD using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.DirectoryServices.ActiveDirectory; 12: netserverenum
using System.Runtime.InteropServices;
BrowserService = 0x00010000,
BackupBrowserService= 0x00020000,
MasterBrowserService= 0x00040000,
[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; 13: NetServerGetInfo
BrowserService = 0x00010000,
BackupBrowserService= 0x00020000,
MasterBrowserService= 0x00040000,
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)] 14: NetShareEnum
Imports System.Runtime.InteropServices
Const NERR_ServerNotStarted As Long = 2114& ' Server service not installed.
Const NERR_WkstaNotStarted As Long = 2138& ' The Workstation service is not started. 15: NetShareGetInfo
Imports System.Runtime.InteropServices
Const NERR_ServerNotStarted As Long = 2114& ' Server service not installed.
Const NERR_WkstaNotStarted As Long = 2138& ' The Workstation service is not started.
Throw New Exception("NetShareGetInfo: NERR_ServerNotStarted -> Server service not installed.")
Throw New Exception("NetShareGetInfo: NERR_WkstaNotStarted -> The Workstation service is not started.")
Result = 2114& ' Server service not installed.
Result = 2138& ' The Workstation service is not started.
using System.Runtime.InteropServices; 16: NetStatisticsGet 17: NetUseAdd using System.Runtime.InteropServices; 18: NetUserEnum using System.DirectoryServices; //System.DirectoryServices 19: NetUserGetInfo 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; 21: NetValidateName
using System.Runtime.InteropServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices; 22: NetWkstaUserEnum 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
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)]
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)]
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)]
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)] Enums24: ADDRESS_FAMILIES
/// Native ATM Services [value = 22].
using System.Runtime.InteropServices;
using System.Runtime.InteropServices; 26: DEVICE_TYPE
FILE_DEVICE_POINT_OF_SERVICE = 0x54,
FILE_DEVICE_POINT_OF_SERVICE = &H54 27: DOT11_BSS_TYPE 28: DS_NAME_FORMAT
// eg: www/www.microsoft.com@example.com - generalized service principal
DS_SERVICE_PRINCIPAL_NAME = 10, 29: FileAttributes
/// The file or directory is not to be indexed by the content indexing service.
''' The file or directory is not to be indexed by the content indexing service. 30: HRESULT
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential,Pack=4)]
return System.Runtime.InteropServices.Marshal.GetExceptionForHR(hr);
///Unable to initialize RPC services
[Description("Unable to initialize RPC services")]
///The OLE service mutex already exists
[Description("The OLE service mutex already exists")]
///The OLE service file mapping already exists
[Description("The OLE service file mapping already exists")]
///Unable to map view of file for OLE service
[Description("Unable to map view of file for OLE service")]
///Failure attempting to launch OLE service
[Description("Failure attempting to launch OLE service")]
///Use of Ole1 services requiring DDE windows is disabled
[Description("Use of Ole1 services requiring DDE windows is disabled")]
///The service providing this server could not be started.
[Description("The service providing this server could not be started.")]
public const int CO_E_START_SERVICE_FAILURE = unchecked((int)0x8000401C);
///The Task Scheduler Service is not installed on this computer.
[Description("The Task Scheduler Service is not installed on this computer.")]
public const int SCHED_E_SERVICE_NOT_INSTALLED = unchecked((int)0x8004130C);
///Task Scheduler security services are available only on Windows NT.
[Description("Task Scheduler security services are available only on Windows NT.")]
public const int SCHED_E_NO_SECURITY_SERVICES = unchecked((int)0x80041312);
///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);
///OLE service could not bind object
[Description("OLE service could not bind object")]
///RPC communication failed with OLE service
[Description("RPC communication failed with OLE service")]
///OLE service could not communicate with the object server
[Description("OLE service could not communicate with the object server")]
///Object server is stopping when OLE service contacts it
[Description("Object server is stopping when OLE service contacts it")]
///The security context could not be established due to a failure in the requested quality of service (e.g. mutual authentication or delegation).
[Description("The security context could not be established due to a failure in the requested quality of service (e.g. mutual authentication or delegation).")]
///The KDC was unable to generate a referral for the service requested.
[Description("The KDC was unable to generate a referral for the service requested.")]
///The Kerberos subsystem encountered an error. A service for user protocol request was made against a domain controller which does not support service for user.
[Description("The Kerberos subsystem encountered an error. A service for user protocol request was made against a domain controller which does not support service for user.")]
///Certificate service has been suspended for a database restore operation.
[Description("Certificate service has been suspended for a database restore operation.")]
///The contacted domain controller cannot support signed LDAP traffic. Update the domain controller or configure Certificate Services to use SSL for Active Directory access.
[Description("The contacted domain controller cannot support signed LDAP traffic. Update the domain controller or configure Certificate Services to use SSL for Active Directory access.")]
///A service installation section in this INF is invalid.
[Description("A service installation section in this INF is invalid.")]
public const int SPAPI_E_BAD_SERVICE_INSTALLSECT = unchecked((int)0x800F0217);
public const int SPAPI_E_NO_ASSOCIATED_SERVICE = unchecked((int)0x800F0219);
///The Plug and Play service is not available on the remote machine.
[Description("The Plug and Play service is not available on the remote machine.")]
public const int SPAPI_E_NO_CONFIGMGR_SERVICES = unchecked((int)0x800F0223);
public const int SCARD_E_NO_SERVICE = unchecked((int)0x8010001D);
public const int SCARD_E_SERVICE_STOPPED = unchecked((int)0x8010001E);
///The service is not installed
[Description("The service is not installed")]
public const int COMADMIN_E_SERVICENOTINSTALLED = unchecked((int)0x80110436);
public const int COMQC_E_QUEUING_SERVICE_NOT_AVAILABLE = unchecked((int)0x80110602);
///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.")]
public const int COMADMIN_E_CANTRECYCLESERVICEAPPS = unchecked((int)0x80110811);
///Library applications may not be NT services.
[Description("Library applications may not be NT services.")]
public const int COMADMIN_E_CANTMAKEINPROCSERVICE = unchecked((int)0x80110814);
<System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack := 4)> _
Return System.Runtime.InteropServices.Marshal.GetExceptionForHR(hr)
'''Unable to initialize RPC services
<Description("Unable to initialize RPC services")> _
'''The OLE service mutex already exists
<Description("The OLE service mutex already exists")> _
'''The OLE service file mapping already exists
<Description("The OLE service file mapping already exists")> _
'''Unable to map view of file for OLE service
<Description("Unable to map view of file for OLE service")> _
'''Failure attempting to launch OLE service
<Description("Failure attempting to launch OLE service")> _
'''Use of Ole1 services requiring DDE windows is disabled
<Description("Use of Ole1 services requiring DDE windows is disabled")> _
'''The service providing this server could not be started.
<Description("The service providing this server could not be started.")> _
Public Const CO_E_START_SERVICE_FAILURE As Integer = CInt(&H8000401cUI)
'''The Task Scheduler Service is not installed on this computer.
<Description("The Task Scheduler Service is not installed on this computer.")> _
Public Const SCHED_E_SERVICE_NOT_INSTALLED As Integer = CInt(&H8004130cUI)
'''Task Scheduler security services are available only on Windows NT.
<Description("Task Scheduler security services are available only on Windows NT.")> _
Public Const SCHED_E_NO_SECURITY_SERVICES As Integer = CInt(&H80041312UI)
'''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)
'''OLE service could not bind object
<Description("OLE service could not bind object")> _
'''RPC communication failed with OLE service
<Description("RPC communication failed with OLE service")> _
'''OLE service could not communicate with the object server
<Description("OLE service could not communicate with the object server")> _
'''Object server is stopping when OLE service contacts it
<Description("Object server is stopping when OLE service contacts it")> _
'''The security context could not be established due to a failure in the requested quality of service (e.g. mutual authentication or delegation).
<Description("The security context could not be established due to a failure in the requested quality of service (e.g. mutual authentication or delegation).")> _
'''The KDC was unable to generate a referral for the service requested.
<Description("The KDC was unable to generate a referral for the service requested.")> _
'''The Kerberos subsystem encountered an error. A service for user protocol request was made against a domain controller which does not support service for user.
<Description("The Kerberos subsystem encountered an error. A service for user protocol request was made against a domain controller which does not support service for user.")> _
'''Certificate service has been suspended for a database restore operation.
<Description("Certificate service has been suspended for a database restore operation.")> _
'''The contacted domain controller cannot support signed LDAP traffic. Update the domain controller or configure Certificate Services to use SSL for Active Directory access.
<Description("The contacted domain controller cannot support signed LDAP traffic. Update the domain controller or configure Certificate Services to use SSL for Active Directory access.")> _
'''A service installation section in this INF is invalid.
<Description("A service installation section in this INF is invalid.")> _
Public Const SPAPI_E_BAD_SERVICE_INSTALLSECT As Integer = CInt(&H800f0217UI)
Public Const SPAPI_E_NO_ASSOCIATED_SERVICE As Integer = CInt(&H800f0219UI)
'''The Plug and Play service is not available on the remote machine.
<Description("The Plug and Play service is not available on the remote machine.")> _
Public Const SPAPI_E_NO_CONFIGMGR_SERVICES As Integer = CInt(&H800f0223UI)
Public Const SCARD_E_NO_SERVICE As Integer = CInt(&H8010001dUI)
Public Const SCARD_E_SERVICE_STOPPED As Integer = CInt(&H8010001eUI)
'''The service is not installed
<Description("The service is not installed")> _
Public Const COMADMIN_E_SERVICENOTINSTALLED As Integer = CInt(&H80110436UI)
Public Const COMQC_E_QUEUING_SERVICE_NOT_AVAILABLE As Integer = CInt(&H80110602UI)
'''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.")> _
Public Const COMADMIN_E_CANTRECYCLESERVICEAPPS As Integer = CInt(&H80110811UI)
'''Library applications may not be NT services.
<Description("Library applications may not be NT services.")> _
Public Const COMADMIN_E_CANTMAKEINPROCSERVICE As Integer = CInt(&H80110814UI)
enum HTTP_SERVICE_CONFIG_ID
HttpServiceConfigIPListenList = 0,
HttpServiceConfigSSLCertInfo,
HttpServiceConfigUrlAclInfo,
HttpServiceConfigMax
Enum HTTP_SERVICE_CONFIG_ID
HttpServiceConfigIPListenList = 0
HttpServiceConfigSSLCertInfo = 1
HttpServiceConfigUrlAclInfo = 2
HttpServiceConfigMax = 3
public enum HTTP_SERVICE_CONFIG_QUERY_TYPE
HttpServiceConfigQueryExact = 0,
HttpServiceConfigQueryNext,
HttpServiceConfigQueryMax
Enum HTTP_SERVICE_CONFIG_QUERY_TYPE 33: PARTITION_TYPE
PARTITION_FAT32_XINT13 = 0x0C, // FAT32 using extended int13 services
PARTITION_XINT13 = 0x0E, // Win95 partition using extended int13 services
PARTITION_XINT13_EXTENDED = 0x0F, // Same as type 5 but uses extended int13 services
PARTITION_FAT32_XINT13 = &Hc ' FAT32 using extended int13 services
PARTITION_XINT13 = &He ' Win95 partition using extended int13 services
PARTITION_XINT13_EXTENDED = &Hf ' Same as type 5 but uses extended int13 services
/// Indicates whether the printer is published in the directory service. 35: RasError
/// <summary>711. The Remote Access Service Manager could not start. Additional information is provided in the event log. </summary>
/// <summary>716. The Remote Access Service IP configuration is unusable. </summary>
/// <summary>717. No IP addresses are available in the static pool of Remote Access Service IP addresses. </summary>
/// <summary>796. The Service Type RADIUS attribute for this user is neither Framed nor Callback Framed. </summary>
ERROR_UNKNOWN_SERVICE_TYPE,
/// <summary>815. The broadband network connection could not be established on your computer because the remote server is not responding. This could be caused by an invalid value for the 'Service Name' field for this connection. </summary>
/// <summary>816. A feature or setting you have tried to enable is no longer supported by the remote access service. </summary>
/// <summary>818. The Network Access Protection (NAP) enforcement client could not create system resources for remote access connections. Some network services or resources might not be available. </summary>
/// <summary>819. The Network Access Protection Agent (NAP Agent) service has been disabled or is not installed on this computer. Some network services or resources might not be available. </summary>
/// <summary>820. The Network Access Protection (NAP) enforcement client failed to register with the Network Access Protection Agent (NAP Agent) service. Some network services or resources might not be available. </summary>
/// <summary>822. The Network Access Protection (NAP) enforcement client did not respond. Some network services or resources might not be available. </summary>
/// <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>
ERROR_IPSEC_SERVICE_STOPPED,
ERROR_RASMAN_SERVICE_STOPPED, 36: RM_REBOOT_REASON
/// A critical service has been detected.
RmRebootReasonCriticalService = 0x8, 37: SCM_ACCESS The Windows security model enables you to control access to the service control manager (SCM) and service objects. The following provides detailed information regarding the Access Rights for the Service Control Manager.
SC_MANAGER_CREATE_SERVICE = 0x00002,
SC_MANAGER_ENUMERATE_SERVICE = 0x00004,
SC_MANAGER_CREATE_SERVICE |
SC_MANAGER_ENUMERATE_SERVICE |
SC_MANAGER_CREATE_SERVICE = &H2
SC_MANAGER_ENUMERATE_SERVICE = &H4
SC_MANAGER_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED And SC_MANAGER_CONNECT And SC_MANAGER_CREATE_SERVICE And SC_MANAGER_ENUMERATE_SERVICE And SC_MANAGER_LOCK And SC_MANAGER_QUERY_LOCK_STATUS And SC_MANAGER_MODIFY_BOOT_CONFIG 38: SC_ACTION_TYPE
RestartService = 1,
RestartService = 1
public enum ServiceControlAccessRights : int
CreateService = 0x00002,
EnumerateService = 0x00004,
Public Enum ServiceControlAccessRights As UInteger
CreateService = &H2
EnumerateService = &H4 41: SERVICE_ACCESS
public enum SERVICE_ACCESS : uint
SERVICE_QUERY_CONFIG = 0x00001,
SERVICE_CHANGE_CONFIG = 0x00002,
SERVICE_QUERY_STATUS = 0x00004,
SERVICE_ENUMERATE_DEPENDENTS = 0x00008,
SERVICE_START = 0x00010,
SERVICE_STOP = 0x00020,
SERVICE_PAUSE_CONTINUE = 0x00040,
SERVICE_INTERROGATE = 0x00080,
SERVICE_USER_DEFINED_CONTROL = 0x00100,
SERVICE_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED |
SERVICE_QUERY_CONFIG |
SERVICE_CHANGE_CONFIG |
SERVICE_QUERY_STATUS |
SERVICE_ENUMERATE_DEPENDENTS |
SERVICE_START |
SERVICE_STOP |
SERVICE_PAUSE_CONTINUE |
SERVICE_INTERROGATE |
SERVICE_USER_DEFINED_CONTROL)
Public Enum SERVICE_ACCESS As Integer
SERVICE_QUERY_CONFIG = &H1
SERVICE_CHANGE_CONFIG = &H2
SERVICE_QUERY_STATUS = &H4
SERVICE_ENUMERATE_DEPENDENTS = &H8
SERVICE_START = &H10
SERVICE_STOP = &H20
SERVICE_PAUSE_CONTINUE = &H40
SERVICE_INTERROGATE = &H80
SERVICE_USER_DEFINED_CONTROL = &H100
SERVICE_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED Or _
SERVICE_QUERY_CONFIG Or _
SERVICE_CHANGE_CONFIG Or _
SERVICE_QUERY_STATUS Or _
SERVICE_ENUMERATE_DEPENDENTS Or _
SERVICE_START Or SERVICE_STOP Or _
SERVICE_PAUSE_CONTINUE Or _
SERVICE_INTERROGATE Or _
SERVICE_USER_DEFINED_CONTROL see OpenService 42: SERVICE_STATE
public enum SERVICE_STATES : int
SERVICE_ACTIVE = 0x00000001,
SERVICE_INACTIVE = 0x00000002,
SERVICE_STATE_ALL = SERVICE_ACTIVE | SERVICE_INACTIVE Public Enum SERVICE_STATES : int32
SERVICE_ACTIVE = &H1
SERVICE_INACTIVE = &H2
SERVICE_STATE_ALL = SERVICE_ACTIVE Or SERVICE_INACTIVE 43: SERVICE_STATES
public enum SERVICE_STATES : int
SERVICE_ACTIVE = 0x00000001,
SERVICE_INACTIVE = 0x00000002,
SERVICE_STATE_ALL = SERVICE_ACTIVE | SERVICE_INACTIVE <Flags()> Public Enum SERVICE_STATES : int32
SERVICE_ACTIVE = &H1
SERVICE_INACTIVE = &H2
SERVICE_STATE_ALL = SERVICE_ACTIVE Or SERVICE_INACTIVE 44: SERVICE_TYPES
enum SERVICE_TYPES : int
SERVICE_KERNEL_DRIVER = 0x00000001,
SERVICE_FILE_SYSTEM_DRIVER = 0x00000002,
SERVICE_WIN32_OWN_PROCESS = 0x00000010,
SERVICE_WIN32_SHARE_PROCESS = 0x00000020,
SERVICE_INTERACTIVE_PROCESS = 0x00000100
<Flags()> Public Enum SERVICE_TYPES : int32
SERVICE_KERNEL_DRIVER = &H1
SERVICE_FILE_SYSTEM_DRIVER = &H2
SERVICE_WIN32_OWN_PROCESS = &H10
SERVICE_WIN32_SHARE_PROCESS = &H20
SERVICE_INTERACTIVE_PROCESS = &H100 45: SE_OBJECT_TYPE
SE_SERVICE,
SE_SERVICE 46: ShutdownReason
MinorServicePack = 0x00000010,
MinorServicePackUninstall = 0x00000016,
MinorServicePack = &H10
MinorServicePackUninstall = &H16 47: SPDRP
/// Service (R/W)
SPDRP_SERVICE = 0x00000004, 48: SPDRP
SPDRP_SERVICE = 0x4,
SPDRP_SERVICE = &H4 49: SystemMetric
/// service is started; otherwise, 0. The return value is a bitmask that specifies the type of digitizer input supported by the device.
/// This system metric is used in a Terminal Services environment to determine if the current Terminal Server session is
/// You can use terminal services management tools such as Terminal Services Manager (tsadmin.msc) and shadow.exe to
/// This system metric is used in a Terminal Services environment. If the calling process is associated with a Terminal Services
/// client session, the return value is nonzero. If the calling process is associated with the Terminal Services console session,
/// or Windows 7 and the Tablet PC Input service is started; otherwise, 0. The SM_DIGITIZER setting indicates the type of digitizer
''' Windows XP (v5.1+) This system metric is used in a Terminal Services environment. If the calling process is associated with a Terminal Services client session the return value is nonzero. If the calling process is associated with the Terminal Server console session the return value is zero. The console session is not necessarily the physical console - see WTSGetActiveConsoleSessionId for more information.
''' Windows XP (v5.1+) This system metric is used in a Terminal Services environment. Its value is nonzero if the current session is remotely controlled; zero otherwise
/// The buffer receives a DWORD value that indicates the Terminal Services session identifier that is associated with the token. 51: TS_SFT_Constants
/// <summary>Display text service icons on the taskbar when the language bar is minimized.</summary>
/// <summary>Hide text service icons on the taskbar when the language bar is minimized.</summary> 52: VARENUM You should use System.Runtime.InteropServices.VarEnum instead.
WinServiceSid = 12,
WinLocalServiceSid = 23,
WinNetworkServiceSid = 24, 54: WindowsMessages
using System.Runtime.InteropServices;
wlan_hosted_network_reason_service_shutting_down,
wlan_hosted_network_reason_service_unavailable,
wlan_hosted_network_reason_service_available_on_virtual_station 56: WTSINFO
/// 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 name of the Remote Desktop Services session.
/// Rather, it returns the name of the Remote Desktop Services session.
/// Each Remote Desktop Services session is associated with an interactive window station. comctl3257: ImageList_DrawEx
using System.Runtime.InteropServices;
using System.Runtime.InteropServices; 59: TaskDialog using Microsoft.SDK.Samples.VistaBridge.Interop or .Library or .Properties or .Services - Depending on your needs. using Microsoft.SDK.Samples.VistaBridge.Interop or .Library or .Properties or .Services - Depending on your needs. Cut off search results after 60. Please refine your search. |