rail

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2026 License: GPL-3.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

rail.go

Index

Constants

View Source
const (
	TS_RAIL_ORDER_EXEC                  = 0x0001
	TS_RAIL_ORDER_ACTIVATE              = 0x0002
	TS_RAIL_ORDER_SYSPARAM              = 0x0003
	TS_RAIL_ORDER_SYSCOMMAND            = 0x0004
	TS_RAIL_ORDER_HANDSHAKE             = 0x0005
	TS_RAIL_ORDER_NOTIFY_EVENT          = 0x0006
	TS_RAIL_ORDER_WINDOWMOVE            = 0x0008
	TS_RAIL_ORDER_LOCALMOVESIZE         = 0x0009
	TS_RAIL_ORDER_MINMAXINFO            = 0x000A
	TS_RAIL_ORDER_CLIENTSTATUS          = 0x000B
	TS_RAIL_ORDER_SYSMENU               = 0x000C
	TS_RAIL_ORDER_LANGBARINFO           = 0x000D
	TS_RAIL_ORDER_GET_APPID_REQ         = 0x000E
	TS_RAIL_ORDER_GET_APPID_RESP        = 0x000F
	TS_RAIL_ORDER_TASKBARINFO           = 0x0010
	TS_RAIL_ORDER_LANGUAGEIMEINFO       = 0x0011
	TS_RAIL_ORDER_COMPARTMENTINFO       = 0x0012
	TS_RAIL_ORDER_HANDSHAKE_EX          = 0x0013
	TS_RAIL_ORDER_ZORDER_SYNC           = 0x0014
	TS_RAIL_ORDER_CLOAK                 = 0x0015
	TS_RAIL_ORDER_POWER_DISPLAY_REQUEST = 0x0016
	TS_RAIL_ORDER_SNAP_ARRANGE          = 0x0017
	TS_RAIL_ORDER_GET_APPID_RESP_EX     = 0x0018
	TS_RAIL_ORDER_EXEC_RESULT           = 0x0080
)
View Source
const (
	TS_RAIL_CLIENTSTATUS_ALLOWLOCALMOVESIZE              = 0x00000001
	TS_RAIL_CLIENTSTATUS_AUTORECONNECT                   = 0x00000002
	TS_RAIL_CLIENTSTATUS_ZORDER_SYNC                     = 0x00000004
	TS_RAIL_CLIENTSTATUS_WINDOW_RESIZE_MARGIN_SUPPORTED  = 0x00000010
	TS_RAIL_CLIENTSTATUS_HIGH_DPI_ICONS_SUPPORTED        = 0x00000020
	TS_RAIL_CLIENTSTATUS_APPBAR_REMOTING_SUPPORTED       = 0x00000040
	TS_RAIL_CLIENTSTATUS_POWER_DISPLAY_REQUEST_SUPPORTED = 0x00000080
	TS_RAIL_CLIENTSTATUS_GET_APPID_RESPONSE_EX_SUPPORTED = 0x00000100
	TS_RAIL_CLIENTSTATUS_BIDIRECTIONAL_CLOAK_SUPPORTED   = 0x00000200
)
View Source
const (
	SPI_SET_SCREEN_SAVE_ACTIVE = 0x00000011
	SPI_SET_SCREEN_SAVE_SECURE = 0x00000077
)
View Source
const (
	/*Bit mask values for SPI_ parameters*/
	SPI_MASK_SET_DRAG_FULL_WINDOWS      = 0x00000001
	SPI_MASK_SET_KEYBOARD_CUES          = 0x00000002
	SPI_MASK_SET_KEYBOARD_PREF          = 0x00000004
	SPI_MASK_SET_MOUSE_BUTTON_SWAP      = 0x00000008
	SPI_MASK_SET_WORK_AREA              = 0x00000010
	SPI_MASK_DISPLAY_CHANGE             = 0x00000020
	SPI_MASK_TASKBAR_POS                = 0x00000040
	SPI_MASK_SET_HIGH_CONTRAST          = 0x00000080
	SPI_MASK_SET_SCREEN_SAVE_ACTIVE     = 0x00000100
	SPI_MASK_SET_SET_SCREEN_SAVE_SECURE = 0x00000200
	SPI_MASK_SET_CARET_WIDTH            = 0x00000400
	SPI_MASK_SET_STICKY_KEYS            = 0x00000800
	SPI_MASK_SET_TOGGLE_KEYS            = 0x00001000
	SPI_MASK_SET_FILTER_KEYS            = 0x00002000
)
View Source
const (
	SPI_SET_DRAG_FULL_WINDOWS = 0x00000025
	SPI_SET_KEYBOARD_CUES     = 0x0000100B
	SPI_SET_KEYBOARD_PREF     = 0x00000045
	SPI_SET_MOUSE_BUTTON_SWAP = 0x00000021
	SPI_SET_WORK_AREA         = 0x0000002F
	SPI_DISPLAY_CHANGE        = 0x0000F001
	SPI_TASKBAR_POS           = 0x0000F000
	SPI_SET_HIGH_CONTRAST     = 0x00000043
	SPI_SETCARETWIDTH         = 0x00002007
	SPI_SETSTICKYKEYS         = 0x0000003B
	SPI_SETTOGGLEKEYS         = 0x00000035
	SPI_SETFILTERKEYS         = 0x00000033
)
View Source
const (
	//The Client Execute request was successful and the requested application or file has been launched.
	RAIL_EXEC_S_OK = 0x0000
	//The Client Execute request could not be satisfied because the server is not monitoring the current input desktop.
	RAIL_EXEC_E_HOOK_NOT_LOADED = 0x0001
	//The Execute request could not be satisfied because the request PDU was malformed.
	RAIL_EXEC_E_DECODE_FAILED = 0x0002
	//The Client Execute request could not be satisfied because the requested application was blocked by policy from being launched on the server.
	RAIL_EXEC_E_NOT_IN_ALLOWLIST = 0x0003
	//The Client Execute request could not be satisfied because the application or file path could not be found.
	RAIL_EXEC_E_FILE_NOT_FOUND = 0x0005
	//The Client Execute request could not be satisfied because an unspecified error occurred on the server.
	RAIL_EXEC_E_FAIL = 0x0006
	//The Client Execute request could not be satisfied because the remote session is locked.
	RAIL_EXEC_E_SESSION_LOCKED = 0x0007
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RailClient

type RailClient struct {
	DesktopWidth             uint16
	DesktopHeight            uint16
	RemoteApplicationProgram string
	ShellWorkingDirectory    string
	RemoteApplicationCmdLine string
	// contains filtered or unexported fields
}

func NewClient

func NewClient() *RailClient

func (*RailClient) GetType

func (c *RailClient) GetType() (string, uint32)

func (*RailClient) Process

func (c *RailClient) Process(s []byte)

func (*RailClient) Send

func (c *RailClient) Send(s []byte) (int, error)

func (*RailClient) Sender

func (c *RailClient) Sender(f core.ChannelSender)

type RailExecOrder

type RailExecOrder struct {
	RemoteApplicationProgram    string
	RemoteApplicationWorkingDir string
	RemoteApplicationArguments  string
	// contains filtered or unexported fields
}

type RailHighContrast

type RailHighContrast struct {
	// contains filtered or unexported fields
}

type RailPDUHeader

type RailPDUHeader struct {
	OrderType   uint16 `struc:"little"`
	OrderLength uint16 `struc:"little"`
}

func NewRailPDUHeader

func NewRailPDUHeader(mType, ln uint16) *RailPDUHeader

type RailSysparamOrder

type RailSysparamOrder struct {
	// contains filtered or unexported fields
}

type Rectangle16

type Rectangle16 struct {
	// contains filtered or unexported fields
}

type TsFilterKeys

type TsFilterKeys struct {
	Flags      uint32
	WaitTime   uint32
	DelayTime  uint32
	RepeatTime uint32
	BounceTime uint32
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL