C# Class TOAPI.WtsApi32.Wts

Show file Open project: Wiladams/NewTOAPIA

Public Properties

Property Type Description
WTS_CURRENT_SERVER System.IntPtr
WTS_CURRENT_SERVER_HANDLE System.IntPtr

Private Methods

Method Description
WTSCloseServer ( IntPtr hServer ) : void
WTSDisconnectSession ( IntPtr hServer, int sessionId, bool bWait ) : bool
WTSEnumerateProcesses ( IntPtr serverHandle, int reserved, int version, IntPtr &ppProcessInfo, int &pCount ) : bool
WTSEnumerateServers ( string pDomainName, int Reserved, int Version, WTS_SERVER_INFO &ppServerInfo, int &pCount ) : bool
WTSEnumerateSessions ( IntPtr hServer, int Reserved, int Version, IntPtr &ppSessionInfo, int &pCount ) : Int32
WTSFreeMemory ( IntPtr memory ) : void
WTSLogoffSession ( IntPtr hServer, int SessionId, bool bWait ) : bool
WTSOpenServer ( string pServerName ) : IntPtr
WTSQuerySessionInformation ( IntPtr hServer, int sessionId, WTSInfoClass wtsInfoClass, IntPtr &ppBuffer, uint &pBytesReturned ) : bool
WTSQueryUserConfig ( string pServerName, string pUserName, WTS_CONFIG_CLASS configClass, Char ppBuffer, int &pBytesReturned ) : bool
WTSQueryUserToken ( uint SessionId, IntPtr &phToken ) : bool
WTSRegisterSessionNotification ( IntPtr hWnd, uint dwFlags ) : bool
WTSRegisterSessionNotificationEx ( IntPtr hServer, IntPtr hWnd, uint dwFlags ) : bool
WTSSendMessage ( IntPtr hServer, int SessionId, String pTitle, int TitleLength, String pMessage, int MessageLength, int Style, int Timeout, int &pResponse, bool bWait ) : bool
WTSSetUserConfig ( string pServerName, string pUserName, WTS_CONFIG_CLASS WTSConfigClass, Char pBuffer, int DataLength ) : bool
WTSShutdownSystem ( IntPtr ServerHandle, long ShutdownFlags ) : int
WTSTerminateProcess ( IntPtr hServer, uint ProcessId, uint ExitCode ) : bool
WTSUnRegisterSessionNotification ( IntPtr hWnd ) : bool
WTSUnRegisterSessionNotificationEx ( IntPtr hServer, IntPtr hWnd ) : bool
WTSVirtualChannelClose ( IntPtr hChannelHandle ) : bool
WTSVirtualChannelOpen ( IntPtr hServer, int SessionId, [ VirtualName ) : IntPtr
WTSVirtualChannelPurgeInput ( IntPtr hChannelHandle ) : bool
WTSVirtualChannelPurgeOutput ( IntPtr hChannelHandle ) : bool
WTSVirtualChannelQuery ( IntPtr hChannelHandle, WTS_VIRTUAL_CLASS virtualClass, IntPtr &ppBuffer, int &pBytesReturned ) : bool
WTSVirtualChannelRead ( IntPtr hChannelHandle, uint TimeOut, IntPtr Buffer, uint BufferSize, [ pBytesRead ) : bool
WTSVirtualChannelWrite ( IntPtr hChannelHandle, byte Buffer, int Length, int &pBytesWritten ) : bool
WTSWaitSystemEvent ( IntPtr hServer, uint EventMask, uint &pEventFlags ) : bool

Property Details

WTS_CURRENT_SERVER public static property

public static IntPtr,System WTS_CURRENT_SERVER
return System.IntPtr

WTS_CURRENT_SERVER_HANDLE public static property

public static IntPtr,System WTS_CURRENT_SERVER_HANDLE
return System.IntPtr