Documentation ¶
Index ¶
- Constants
- type BitmapCacheCapability
- type BitmapCacheHostSupportCapability
- type BitmapCapability
- type BitmapCodec
- type BitmapCodecS
- type BitmapCodecsCapability
- type BitmapCompressedDataHeader
- type BitmapData
- type BrushCapability
- type BrushSupport
- type Capability
- type CapsType
- type Client
- type ClientInputEventPDU
- type ColorCacheCapability
- type ConfirmActivePDU
- type ControlCapability
- type ControlDataPDU
- type DataPDU
- type DataPDUData
- type DeactiveAllPDU
- type DemandActivePDU
- type DesktopCompositionCapability
- type DrawGDIPlusCapability
- type ErrorInfoDataPDU
- type FastPathBitmapUpdateDataPDU
- type FastPathUpdatePDU
- type FontCapability
- type FontListDataPDU
- type FontMapDataPDU
- type GeneralCapability
- type GlyphCapability
- type GlyphSupport
- type InfoType
- type InputCapability
- type InputEventsInterface
- type LargePointerCapability
- type LogonFields
- type MajorType
- type MinorType
- type MultiFragmentUpdate
- type OffscreenBitmapCacheCapability
- type OffscreenSupportLevel
- type Order
- type OrderCapability
- type OrderEx
- type OrderFlag
- type PDU
- type PDULayer
- type PDUMessage
- type PersistKeyPDU
- type PointerCapability
- type PointerEvent
- type RailsupportLevel
- type RemoteProgramsCapability
- type SaveSessionInfo
- type ScancodeKeyEvent
- type ShareCapability
- type ShareControlHeader
- type ShareDataHeader
- type SlowPathInputEvent
- type SoundCapability
- type SoundFlag
- type SurfaceCommandsCapability
- type SynchronizeDataPDU
- type SynchronizeEvent
- type UnicodeKeyEvent
- type UpdateData
- type VirtualChannelCapability
- type VirtualChannelCompressionFlag
- type WindowActivationCapability
- type WindowListCapability
Constants ¶
View Source
const ( CAPSTYPE_GENERAL CapsType = 0x0001 CAPSTYPE_BITMAP = 0x0002 CAPSTYPE_ORDER = 0x0003 CAPSTYPE_BITMAPCACHE = 0x0004 CAPSTYPE_CONTROL = 0x0005 CAPSTYPE_ACTIVATION = 0x0007 CAPSTYPE_POINTER = 0x0008 CAPSTYPE_SHARE = 0x0009 CAPSTYPE_COLORCACHE = 0x000A CAPSTYPE_SOUND = 0x000C CAPSTYPE_INPUT = 0x000D CAPSTYPE_FONT = 0x000E CAPSTYPE_BRUSH = 0x000F CAPSTYPE_GLYPHCACHE = 0x0010 CAPSTYPE_OFFSCREENCACHE = 0x0011 CAPSTYPE_BITMAPCACHE_HOSTSUPPORT = 0x0012 CAPSTYPE_BITMAPCACHE_REV2 = 0x0013 CAPSTYPE_VIRTUALCHANNEL = 0x0014 CAPSTYPE_DRAWNINEGRIDCACHE = 0x0015 CAPSTYPE_DRAWGDIPLUS = 0x0016 CAPSTYPE_RAIL = 0x0017 CAPSTYPE_WINDOW = 0x0018 CAPSETTYPE_COMPDESK = 0x0019 CAPSETTYPE_MULTIFRAGMENTUPDATE = 0x001A CAPSETTYPE_LARGE_POINTER = 0x001B CAPSETTYPE_SURFACE_COMMANDS = 0x001C CAPSETTYPE_BITMAP_CODECS = 0x001D CAPSSETTYPE_FRAME_ACKNOWLEDGE = 0x001E )
View Source
const ( OSMAJORTYPE_UNSPECIFIED MajorType = 0x0000 OSMAJORTYPE_WINDOWS = 0x0001 OSMAJORTYPE_OS2 = 0x0002 OSMAJORTYPE_MACINTOSH = 0x0003 OSMAJORTYPE_UNIX = 0x0004 OSMAJORTYPE_IOS = 0x0005 OSMAJORTYPE_OSX = 0x0006 OSMAJORTYPE_ANDROID = 0x0007 )
View Source
const ( OSMINORTYPE_UNSPECIFIED MinorType = 0x0000 OSMINORTYPE_WINDOWS_31X = 0x0001 OSMINORTYPE_WINDOWS_95 = 0x0002 OSMINORTYPE_WINDOWS_NT = 0x0003 OSMINORTYPE_OS2_V21 = 0x0004 OSMINORTYPE_POWER_PC = 0x0005 OSMINORTYPE_MACINTOSH = 0x0006 OSMINORTYPE_NATIVE_XSERVER = 0x0007 OSMINORTYPE_PSEUDO_XSERVER = 0x0008 OSMINORTYPE_WINDOWS_RT = 0x0009 )
View Source
const ( FASTPATH_OUTPUT_SUPPORTED uint16 = 0x0001 NO_BITMAP_COMPRESSION_HDR = 0x0400 LONG_CREDENTIALS_SUPPORTED = 0x0004 AUTORECONNECT_SUPPORTED = 0x0008 ENC_SALTED_CHECKSUM = 0x0010 )
View Source
const ( NEGOTIATEORDERSUPPORT OrderFlag = 0x0002 ZEROBOUNDSDELTASSUPPORT = 0x0008 COLORINDEXSUPPORT = 0x0020 SOLIDPATTERNBRUSHONLY = 0x0040 ORDERFLAGS_EXTRA_FLAGS = 0x0080 )
View Source
const ( TS_NEG_DSTBLT_INDEX Order = 0x00 TS_NEG_PATBLT_INDEX = 0x01 TS_NEG_SCRBLT_INDEX = 0x02 TS_NEG_MEMBLT_INDEX = 0x03 TS_NEG_MEM3BLT_INDEX = 0x04 TS_NEG_DRAWNINEGRID_INDEX = 0x07 TS_NEG_LINETO_INDEX = 0x08 TS_NEG_MULTI_DRAWNINEGRID_INDEX = 0x09 TS_NEG_SAVEBITMAP_INDEX = 0x0B TS_NEG_MULTIDSTBLT_INDEX = 0x0F TS_NEG_MULTIPATBLT_INDEX = 0x10 TS_NEG_MULTISCRBLT_INDEX = 0x11 TS_NEG_MULTIOPAQUERECT_INDEX = 0x12 TS_NEG_FAST_INDEX_INDEX = 0x13 TS_NEG_POLYGON_SC_INDEX = 0x14 TS_NEG_POLYGON_CB_INDEX = 0x15 TS_NEG_POLYLINE_INDEX = 0x16 TS_NEG_FAST_GLYPH_INDEX = 0x18 TS_NEG_ELLIPSE_SC_INDEX = 0x19 TS_NEG_ELLIPSE_CB_INDEX = 0x1A TS_NEG_INDEX_INDEX = 0x1B )
View Source
const ( INPUT_FLAG_SCANCODES uint16 = 0x0001 INPUT_FLAG_MOUSEX = 0x0004 INPUT_FLAG_FASTPATH_INPUT = 0x0008 INPUT_FLAG_UNICODE = 0x0010 INPUT_FLAG_FASTPATH_INPUT2 = 0x0020 INPUT_FLAG_UNUSED1 = 0x0040 INPUT_FLAG_UNUSED2 = 0x0080 INPUT_FLAG_MOUSE_HWHEEL = 0x0100 )
View Source
const ( BRUSH_DEFAULT BrushSupport = 0x00000000 BRUSH_COLOR_8x8 = 0x00000001 BRUSH_COLOR_FULL = 0x00000002 )
View Source
const ( GLYPH_SUPPORT_NONE GlyphSupport = 0x0000 GLYPH_SUPPORT_PARTIAL = 0x0001 GLYPH_SUPPORT_FULL = 0x0002 GLYPH_SUPPORT_ENCODE = 0x0003 )
View Source
const ( VCCAPS_NO_COMPR VirtualChannelCompressionFlag = 0x00000000 VCCAPS_COMPR_SC = 0x00000001 VCCAPS_COMPR_CS_8K = 0x00000002 )
View Source
const ( RAIL_LEVEL_SUPPORTED = 0x00000001 RAIL_LEVEL_DOCKED_LANGBAR_SUPPORTED = 0x00000002 RAIL_LEVEL_SHELL_INTEGRATION_SUPPORTED = 0x00000004 RAIL_LEVEL_LANGUAGE_IME_SYNC_SUPPORTED = 0x00000008 RAIL_LEVEL_SERVER_TO_CLIENT_IME_SYNC_SUPPORTED = 0x00000010 RAIL_LEVEL_HIDE_MINIMIZED_APPS_SUPPORTED = 0x00000020 RAIL_LEVEL_WINDOW_CLOAKING_SUPPORTED = 0x00000040 RAIL_LEVEL_HANDSHAKE_EX_SUPPORTED = 0x00000080 )
View Source
const ( INPUT_EVENT_SYNC = 0x0000 INPUT_EVENT_UNUSED = 0x0002 INPUT_EVENT_SCANCODE = 0x0004 INPUT_EVENT_UNICODE = 0x0005 INPUT_EVENT_MOUSE = 0x8001 INPUT_EVENT_MOUSEX = 0x8002 )
View Source
const ( PTRFLAGS_HWHEEL = 0x0400 PTRFLAGS_WHEEL = 0x0200 PTRFLAGS_WHEEL_NEGATIVE = 0x0100 WheelRotationMask = 0x01FF PTRFLAGS_MOVE = 0x0800 PTRFLAGS_DOWN = 0x8000 PTRFLAGS_BUTTON1 = 0x1000 PTRFLAGS_BUTTON2 = 0x2000 PTRFLAGS_BUTTON3 = 0x4000 )
View Source
const ( KBDFLAGS_EXTENDED = 0x0100 KBDFLAGS_DOWN = 0x4000 KBDFLAGS_RELEASE = 0x8000 )
View Source
const ( PDUTYPE_DEMANDACTIVEPDU = 0x11 PDUTYPE_CONFIRMACTIVEPDU = 0x13 PDUTYPE_DEACTIVATEALLPDU = 0x16 PDUTYPE_DATAPDU = 0x17 PDUTYPE_SERVER_REDIR_PKT = 0x1A )
View Source
const ( PDUTYPE2_UPDATE = 0x02 PDUTYPE2_CONTROL = 0x14 PDUTYPE2_POINTER = 0x1B PDUTYPE2_INPUT = 0x1C PDUTYPE2_SYNCHRONIZE = 0x1F PDUTYPE2_REFRESH_RECT = 0x21 PDUTYPE2_PLAY_SOUND = 0x22 PDUTYPE2_SUPPRESS_OUTPUT = 0x23 PDUTYPE2_SHUTDOWN_REQUEST = 0x24 PDUTYPE2_SHUTDOWN_DENIED = 0x25 PDUTYPE2_SAVE_SESSION_INFO = 0x26 PDUTYPE2_FONTLIST = 0x27 PDUTYPE2_FONTMAP = 0x28 PDUTYPE2_SET_KEYBOARD_INDICATORS = 0x29 PDUTYPE2_BITMAPCACHE_PERSISTENT_LIST = 0x2B PDUTYPE2_BITMAPCACHE_ERROR_PDU = 0x2C PDUTYPE2_SET_KEYBOARD_IME_STATUS = 0x2D PDUTYPE2_OFFSCRCACHE_ERROR_PDU = 0x2E PDUTYPE2_SET_ERROR_INFO_PDU = 0x2F PDUTYPE2_DRAWNINEGRID_ERROR_PDU = 0x30 PDUTYPE2_DRAWGDIPLUS_ERROR_PDU = 0x31 PDUTYPE2_ARC_STATUS_PDU = 0x32 PDUTYPE2_STATUS_INFO_PDU = 0x36 PDUTYPE2_MONITOR_LAYOUT_PDU = 0x37 )
View Source
const ( CTRLACTION_REQUEST_CONTROL = 0x0001 CTRLACTION_GRANTED_CONTROL = 0x0002 CTRLACTION_DETACH = 0x0003 CTRLACTION_COOPERATE = 0x0004 )
View Source
const ( STREAM_UNDEFINED = 0x00 STREAM_LOW = 0x01 STREAM_MED = 0x02 STREAM_HI = 0x04 )
View Source
const ( FASTPATH_UPDATETYPE_ORDERS = 0x0 FASTPATH_UPDATETYPE_BITMAP = 0x1 FASTPATH_UPDATETYPE_PALETTE = 0x2 FASTPATH_UPDATETYPE_SYNCHRONIZE = 0x3 FASTPATH_UPDATETYPE_SURFCMDS = 0x4 FASTPATH_UPDATETYPE_PTR_NULL = 0x5 FASTPATH_UPDATETYPE_PTR_DEFAULT = 0x6 FASTPATH_UPDATETYPE_PTR_POSITION = 0x8 FASTPATH_UPDATETYPE_COLOR = 0x9 FASTPATH_UPDATETYPE_CACHED = 0xA FASTPATH_UPDATETYPE_POINTER = 0xB )
View Source
const ( INFOTYPE_LOGON = 0x00000000 INFOTYPE_LOGON_LONG = 0x00000001 INFOTYPE_LOGON_PLAINNOTIFY = 0x00000002 INFOTYPE_LOGON_EXTENDED_INFO = 0x00000003 )
View Source
const ( LOGON_EX_AUTORECONNECTCOOKIE = 0x00000001 LOGON_EX_LOGONERRORS = 0x00000002 )
View Source
const (
BITMAP_COMPRESSION = 0x0001
)
View Source
const (
FASTPATH_OUTPUT_COMPRESSION_USED = 0x2
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitmapCacheCapability ¶
type BitmapCacheCapability struct { // 04002800000000000000000000000000000000000000000000000000000000000000000000000000 Pad1 uint32 `struc:"little"` Pad2 uint32 `struc:"little"` Pad3 uint32 `struc:"little"` Pad4 uint32 `struc:"little"` Pad5 uint32 `struc:"little"` Pad6 uint32 `struc:"little"` Cache0Entries uint16 `struc:"little"` Cache0MaximumCellSize uint16 `struc:"little"` Cache1Entries uint16 `struc:"little"` Cache1MaximumCellSize uint16 `struc:"little"` Cache2Entries uint16 `struc:"little"` Cache2MaximumCellSize uint16 `struc:"little"` }
func (*BitmapCacheCapability) Type ¶
func (*BitmapCacheCapability) Type() CapsType
type BitmapCacheHostSupportCapability ¶
func (*BitmapCacheHostSupportCapability) Type ¶
func (*BitmapCacheHostSupportCapability) Type() CapsType
type BitmapCapability ¶
type BitmapCapability struct { // 02001c00180001000100010000052003000000000100000001000000 PreferredBitsPerPixel gcc.HighColor `struc:"little"` Receive1BitPerPixel uint16 `struc:"little"` Receive4BitsPerPixel uint16 `struc:"little"` Receive8BitsPerPixel uint16 `struc:"little"` DesktopWidth uint16 `struc:"little"` DesktopHeight uint16 `struc:"little"` Pad2octets uint16 `struc:"little"` DesktopResizeFlag uint16 `struc:"little"` BitmapCompressionFlag uint16 `struc:"little"` HighColorFlags uint8 `struc:"little"` DrawingFlags uint8 `struc:"little"` MultipleRectangleSupport uint16 `struc:"little"` Pad2octetsB uint16 `struc:"little"` }
func (*BitmapCapability) Type ¶
func (*BitmapCapability) Type() CapsType
type BitmapCodec ¶
type BitmapCodecS ¶
type BitmapCodecS struct { Count uint8 `struc:"sizeof=Array"` Array []BitmapCodec }
type BitmapCodecsCapability ¶
type BitmapCodecsCapability struct {
SupportedBitmapCodecs BitmapCodecS // A variable-length field containing a TS_BITMAPCODECS structure (section 2.2.7.2.10.1).
}
func (*BitmapCodecsCapability) Type ¶
func (*BitmapCodecsCapability) Type() CapsType
type BitmapData ¶
type BitmapData struct { DestLeft uint16 `struc:"little"` DestTop uint16 `struc:"little"` DestRight uint16 `struc:"little"` DestBottom uint16 `struc:"little"` Width uint16 `struc:"little"` Height uint16 `struc:"little"` BitsPerPixel uint16 `struc:"little"` Flags uint16 `struc:"little"` BitmapLength uint16 `struc:"little,sizeof=BitmapDataStream"` BitmapComprHdr *BitmapCompressedDataHeader BitmapDataStream []byte }
func (*BitmapData) IsCompress ¶
func (b *BitmapData) IsCompress() bool
type BrushCapability ¶
type BrushCapability struct { // 0f00080000000000 SupportLevel BrushSupport `struc:"little"` }
func (*BrushCapability) Type ¶
func (*BrushCapability) Type() CapsType
type Capability ¶
type Capability interface {
Type() CapsType
}
type Client ¶
type Client struct { *PDULayer // contains filtered or unexported fields }
func (*Client) RecvFastPath ¶
func (*Client) SendInputEvents ¶
func (c *Client) SendInputEvents(msgType uint16, events []InputEventsInterface)
type ClientInputEventPDU ¶
type ClientInputEventPDU struct { NumEvents uint16 `struc:"little,sizeof=SlowPathInputEvents"` Pad2Octets uint16 `struc:"little"` SlowPathInputEvents []SlowPathInputEvent `struc:"little"` }
func (*ClientInputEventPDU) Type2 ¶
func (*ClientInputEventPDU) Type2() uint8
type ColorCacheCapability ¶
type ColorCacheCapability struct { CacheSize uint16 `struc:"little"` Pad2octets uint16 `struc:"little"` }
func (*ColorCacheCapability) Type ¶
func (*ColorCacheCapability) Type() CapsType
type ConfirmActivePDU ¶
type ConfirmActivePDU struct { OriginatorId uint16 `struc:"little"` LengthSourceDescriptor uint16 `struc:"little,sizeof=SourceDescriptor"` LengthCombinedCapabilities uint16 `struc:"little"` SourceDescriptor []byte `struc:"sizefrom=LengthSourceDescriptor"` NumberCapabilities uint16 `struc:"little,sizeof=CapabilitySets"` Pad2Octets uint16 `struc:"little"` CapabilitySets []Capability `struc:"sizefrom=NumberCapabilities"` }
func NewConfirmActivePDU ¶
func NewConfirmActivePDU() *ConfirmActivePDU
func (*ConfirmActivePDU) Serialize ¶
func (c *ConfirmActivePDU) Serialize() []byte
func (*ConfirmActivePDU) Type ¶
func (*ConfirmActivePDU) Type() uint16
type ControlCapability ¶
type ControlCapability struct { ControlFlags uint16 `struc:"little"` RemoteDetachFlag uint16 `struc:"little"` ControlInterest uint16 `struc:"little"` DetachInterest uint16 `struc:"little"` }
func (*ControlCapability) Type ¶
func (*ControlCapability) Type() CapsType
type ControlDataPDU ¶
type ControlDataPDU struct { Action uint16 `struc:"little"` GrantId uint16 `struc:"little"` ControlId uint32 `struc:"little"` }
func (*ControlDataPDU) Type2 ¶
func (*ControlDataPDU) Type2() uint8
type DataPDU ¶
type DataPDU struct { Header *ShareDataHeader Data DataPDUData }
func NewDataPDU ¶
func NewDataPDU(data DataPDUData, shareId uint32) *DataPDU
type DataPDUData ¶
type DataPDUData interface {
Type2() uint8
}
type DeactiveAllPDU ¶
type DeactiveAllPDU struct { LengthSourceDescriptor uint16 `struc:"little,sizeof=SourceDescriptor"` SourceDescriptor []byte }
func (*DeactiveAllPDU) Serialize ¶
func (d *DeactiveAllPDU) Serialize() []byte
func (*DeactiveAllPDU) Type ¶
func (*DeactiveAllPDU) Type() uint16
type DemandActivePDU ¶
type DemandActivePDU struct { LengthSourceDescriptor uint16 `struc:"little,sizeof=SourceDescriptor"` LengthCombinedCapabilities uint16 `struc:"little"` SourceDescriptor []byte `struc:"sizefrom=LengthSourceDescriptor"` NumberCapabilities uint16 `struc:"little,sizeof=CapabilitySets"` Pad2Octets uint16 `struc:"little"` CapabilitySets []Capability `struc:"sizefrom=NumberCapabilities"` SessionId uint32 `struc:"little"` }
func (*DemandActivePDU) Serialize ¶
func (d *DemandActivePDU) Serialize() []byte
func (*DemandActivePDU) Type ¶
func (d *DemandActivePDU) Type() uint16
type DesktopCompositionCapability ¶
type DesktopCompositionCapability struct {
CompDeskSupportLevel uint16 `struc:"little"`
}
func (*DesktopCompositionCapability) Type ¶
func (*DesktopCompositionCapability) Type() CapsType
type DrawGDIPlusCapability ¶
type DrawGDIPlusCapability struct { SupportLevel uint32 GdipVersion uint32 CacheLevel uint32 GdipCacheEntries [10]byte GdipCacheChunkSize [8]byte GdipImageCacheProperties [6]byte }
func (*DrawGDIPlusCapability) Type ¶
func (*DrawGDIPlusCapability) Type() CapsType
type ErrorInfoDataPDU ¶
type ErrorInfoDataPDU struct {
ErrorInfo uint32 `struc:"little"`
}
func (*ErrorInfoDataPDU) Type2 ¶
func (*ErrorInfoDataPDU) Type2() uint8
type FastPathBitmapUpdateDataPDU ¶
type FastPathBitmapUpdateDataPDU struct { Header uint16 `struc:"little"` NumberRectangles uint16 `struc:"little,sizeof=Rectangles"` Rectangles []BitmapData }
func (*FastPathBitmapUpdateDataPDU) FastPathUpdateType ¶
func (*FastPathBitmapUpdateDataPDU) FastPathUpdateType() uint8
type FastPathUpdatePDU ¶
type FastPathUpdatePDU struct { UpdateHeader uint8 CompressionFlags uint8 Size uint16 Data UpdateData }
type FontCapability ¶
type FontCapability struct { SupportFlags uint16 `struc:"little"` Pad2octets uint16 `struc:"little"` }
func (*FontCapability) Type ¶
func (*FontCapability) Type() CapsType
type FontListDataPDU ¶
type FontListDataPDU struct { NumberFonts uint16 `struc:"little"` TotalNumFonts uint16 `struc:"little"` ListFlags uint16 `struc:"little"` EntrySize uint16 `struc:"little"` }
func (*FontListDataPDU) Type2 ¶
func (*FontListDataPDU) Type2() uint8
type FontMapDataPDU ¶
type FontMapDataPDU struct { NumberEntries uint16 `struc:"little"` TotalNumEntries uint16 `struc:"little"` MapFlags uint16 `struc:"little"` EntrySize uint16 `struc:"little"` }
func (*FontMapDataPDU) Type2 ¶
func (*FontMapDataPDU) Type2() uint8
type GeneralCapability ¶
type GeneralCapability struct { // 010018000100030000020000000015040000000000000000 OSMajorType MajorType `struc:"little"` OSMinorType MinorType `struc:"little"` ProtocolVersion uint16 `struc:"little"` Pad2octetsA uint16 `struc:"little"` GeneralCompressionTypes uint16 `struc:"little"` ExtraFlags uint16 `struc:"little"` UpdateCapabilityFlag uint16 `struc:"little"` GeneralCompressionLevel uint16 `struc:"little"` RefreshRectSupport uint8 `struc:"little"` SuppressOutputSupport uint8 `struc:"little"` }
func (*GeneralCapability) Type ¶
func (*GeneralCapability) Type() CapsType
type GlyphCapability ¶
type GlyphCapability struct { // 10003400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 GlyphCache [10]cacheEntry `struc:"little"` FragCache uint32 `struc:"little"` SupportLevel GlyphSupport `struc:"little"` Pad2octets uint16 `struc:"little"` }
func (*GlyphCapability) Type ¶
func (*GlyphCapability) Type() CapsType
type InputCapability ¶
type InputCapability struct { // 0d005c001500000009040000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000 Flags uint16 `struc:"little"` Pad2octetsA uint16 `struc:"little"` // same value as gcc.ClientCoreSettings.kbdLayout KeyboardLayout gcc.KeyboardLayout `struc:"little"` // same value as gcc.ClientCoreSettings.keyboardType KeyboardType uint32 `struc:"little"` // same value as gcc.ClientCoreSettings.keyboardSubType KeyboardSubType uint32 `struc:"little"` // same value as gcc.ClientCoreSettings.keyboardFnKeys KeyboardFunctionKey uint32 `struc:"little"` // same value as gcc.ClientCoreSettingrrs.imeFileName ImeFileName [64]byte }
func (*InputCapability) Type ¶
func (*InputCapability) Type() CapsType
type InputEventsInterface ¶
type InputEventsInterface interface {
Serialize() []byte
}
type LargePointerCapability ¶
type LargePointerCapability struct {
SupportFlags uint16 `struc:"little"`
}
func (*LargePointerCapability) Type ¶
func (*LargePointerCapability) Type() CapsType
type LogonFields ¶
type MultiFragmentUpdate ¶
type MultiFragmentUpdate struct { // 1a00080000000000 MaxRequestSize uint32 `struc:"little"` }
func (*MultiFragmentUpdate) Type ¶
func (*MultiFragmentUpdate) Type() CapsType
type OffscreenBitmapCacheCapability ¶
type OffscreenBitmapCacheCapability struct { // 11000c000000000000000000 SupportLevel OffscreenSupportLevel `struc:"little"` CacheSize uint16 `struc:"little"` CacheEntries uint16 `struc:"little"` }
func (*OffscreenBitmapCacheCapability) Type ¶
func (*OffscreenBitmapCacheCapability) Type() CapsType
type OffscreenSupportLevel ¶
type OffscreenSupportLevel uint32
*
const ( OSL_FALSE OffscreenSupportLevel = 0x00000000 OSL_TRUE = 0x00000001 )
type OrderCapability ¶
type OrderCapability struct { // 030058000000000000000000000000000000000000000000010014000000010000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000008403000000000000000000 TerminalDescriptor [16]byte Pad4octetsA uint32 `struc:"little"` DesktopSaveXGranularity uint16 `struc:"little"` DesktopSaveYGranularity uint16 `struc:"little"` Pad2octetsA uint16 `struc:"little"` MaximumOrderLevel uint16 `struc:"little"` NumberFonts uint16 `struc:"little"` OrderFlags OrderFlag `struc:"little"` OrderSupport [32]byte TextFlags uint16 `struc:"little"` OrderSupportExFlags uint16 `struc:"little"` Pad4octetsB uint32 `struc:"little"` DesktopSaveSize uint32 `struc:"little"` Pad2octetsC uint16 `struc:"little"` Pad2octetsD uint16 `struc:"little"` TextANSICodePage uint16 `struc:"little"` Pad2octetsE uint16 `struc:"little"` }
func (*OrderCapability) Type ¶
func (*OrderCapability) Type() CapsType
type OrderEx ¶
type OrderEx uint16
const ( ORDERFLAGS_EX_CACHE_BITMAP_REV3_SUPPORT OrderEx = 0x0002 ORDERFLAGS_EX_ALTSEC_FRAME_MARKER_SUPPORT = 0x0004 )
type PDU ¶
type PDU struct { Message PDUMessage }
func NewPDU ¶
func NewPDU(userId uint16, message PDUMessage) *PDU
type PDULayer ¶
func NewPDULayer ¶
func (*PDULayer) SetFastPathSender ¶
func (p *PDULayer) SetFastPathSender(f core.FastPathSender)
type PDUMessage ¶
type PersistKeyPDU ¶
type PersistKeyPDU struct { NumEntriesCache0 uint16 `struc:"little"` NumEntriesCache1 uint16 `struc:"little"` NumEntriesCache2 uint16 `struc:"little"` NumEntriesCache3 uint16 `struc:"little"` NumEntriesCache4 uint16 `struc:"little"` TotalEntriesCache0 uint16 `struc:"little"` TotalEntriesCache1 uint16 `struc:"little"` TotalEntriesCache2 uint16 `struc:"little"` TotalEntriesCache3 uint16 `struc:"little"` TotalEntriesCache4 uint16 `struc:"little"` BBitMask uint8 `struc:"little"` Pad1 uint8 `struc:"little"` Ppad3 uint16 `struc:"little"` }
func (*PersistKeyPDU) Type2 ¶
func (*PersistKeyPDU) Type2() uint8
type PointerCapability ¶
type PointerCapability struct { ColorPointerFlag uint16 `struc:"little"` ColorPointerCacheSize uint16 `struc:"little"` }
func (*PointerCapability) Type ¶
func (*PointerCapability) Type() CapsType
type PointerEvent ¶
type PointerEvent struct { PointerFlags uint16 `struc:"little"` XPos uint16 `struc:"little"` YPos uint16 `struc:"little"` }
func (*PointerEvent) Serialize ¶
func (p *PointerEvent) Serialize() []byte
type RailsupportLevel ¶
type RailsupportLevel uint32
type RemoteProgramsCapability ¶
type RemoteProgramsCapability struct {
RailSupportLevel uint32 `struc:"little"`
}
func (*RemoteProgramsCapability) Type ¶
func (*RemoteProgramsCapability) Type() CapsType
type SaveSessionInfo ¶
type SaveSessionInfo struct { InfoType uint32 Length uint16 FieldsPresent uint32 LogonId uint32 Random []byte }
func (*SaveSessionInfo) Type2 ¶
func (*SaveSessionInfo) Type2() uint8
type ScancodeKeyEvent ¶
type ScancodeKeyEvent struct { KeyboardFlags uint16 `struc:"little"` KeyCode uint16 `struc:"little"` Pad2Octets uint16 `struc:"little"` }
func (*ScancodeKeyEvent) Serialize ¶
func (p *ScancodeKeyEvent) Serialize() []byte
type ShareCapability ¶
type ShareCapability struct {}
func (*ShareCapability) Type ¶
func (*ShareCapability) Type() CapsType
type ShareControlHeader ¶
type ShareControlHeader struct {}
type ShareDataHeader ¶
type ShareDataHeader struct {}
func NewShareDataHeader ¶
func NewShareDataHeader(size int, type2 uint8, shareId uint32) *ShareDataHeader
type SlowPathInputEvent ¶
type SoundCapability ¶
type SoundCapability struct { // 0c00080000000000 Flags SoundFlag `struc:"little"` Pad2octets uint16 `struc:"little"` }
func (*SoundCapability) Type ¶
func (*SoundCapability) Type() CapsType
type SoundFlag ¶
type SoundFlag uint16
const ( SOUND_NONE SoundFlag = 0x0000 SOUND_BEEPS_FLAG = 0x0001 )
type SurfaceCommandsCapability ¶
type SurfaceCommandsCapability struct { CmdFlags uint32 `struc:"little"` Reserved uint32 `struc:"little"` }
func (*SurfaceCommandsCapability) Type ¶
func (*SurfaceCommandsCapability) Type() CapsType
type SynchronizeDataPDU ¶
type SynchronizeDataPDU struct { MessageType uint16 `struc:"little"` TargetUser uint16 `struc:"little"` }
func NewSynchronizeDataPDU ¶
func NewSynchronizeDataPDU(targetUser uint16) *SynchronizeDataPDU
func (*SynchronizeDataPDU) Type2 ¶
func (*SynchronizeDataPDU) Type2() uint8
type SynchronizeEvent ¶
type SynchronizeEvent struct { Pad2Octets uint16 `struc:"little"` ToggleFlags uint32 `struc:"little"` }
func (*SynchronizeEvent) Serialize ¶
func (p *SynchronizeEvent) Serialize() []byte
type UnicodeKeyEvent ¶
type UnicodeKeyEvent struct { KeyboardFlags uint16 `struc:"little"` Unicode uint16 `struc:"little"` Pad2Octets uint16 `struc:"little"` }
func (*UnicodeKeyEvent) Serialize ¶
func (p *UnicodeKeyEvent) Serialize() []byte
type VirtualChannelCapability ¶
type VirtualChannelCapability struct { // 14000c000000000000000000 Flags VirtualChannelCompressionFlag `struc:"little"` VCChunkSize uint32 `struc:"little"` // optional }
func (*VirtualChannelCapability) Type ¶
func (*VirtualChannelCapability) Type() CapsType
type WindowActivationCapability ¶
type WindowActivationCapability struct { HelpKeyFlag uint16 `struc:"little"` HelpKeyIndexFlag uint16 `struc:"little"` HelpExtendedKeyFlag uint16 `struc:"little"` WindowManagerKeyFlag uint16 `struc:"little"` }
func (*WindowActivationCapability) Type ¶
func (*WindowActivationCapability) Type() CapsType
type WindowListCapability ¶
type WindowListCapability struct { WndSupportLevel uint32 `struc:"little"` NumIconCaches uint8 NumIconCacheEntries uint16 `struc:"little"` }
func (*WindowListCapability) Type ¶
func (*WindowListCapability) Type() CapsType
Click to show internal directories.
Click to hide internal directories.