texts
stringlengths
0
715k
names
stringlengths
8
91
MODULE TextRulers; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) (* re-check alien attributes: consider projection semantics *) IMPORT Kernel, Strings, Services, Fonts, Ports, Stores, Models, Views, Controllers, Properties, Dialog, TextModels; CONST (** Attributes.valid, Prop.known/valid **) (* Mark.kind *) first* = 0; left* = 1; right* = 2; lead* = 3; asc* = 4; dsc* = 5; grid* = 6; opts* = 7; tabs* = 8; (* additional values for icons held by Mark.kind *) invalid = -1; firstIcon = 10; lastIcon = 25; rightToggle = 10; gridDec = 12; gridVal = 13; gridInc = 14; leftFlush = 16; centered = 17; rightFlush = 18; justified = 19; leadDec = 21; leadVal = 22; leadInc = 23; pageBrk = 25; modeIcons = {leftFlush .. justified}; validIcons = {rightToggle, gridDec .. gridInc, leftFlush .. justified, leadDec .. leadInc, pageBrk}; fieldIcons = {gridVal, leadVal}; (** Attributes.opts **) leftAdjust* = 0; rightAdjust* = 1; (** both: fully justified; none: centered **) noBreakInside* = 2; pageBreak* = 3; parJoin* = 4; (** pageBreak of this ruler overrides parJoin request of previous ruler **) rightFixed* = 5; (** has fixed right border **) options = {leftAdjust .. rightFixed}; (* options mask *) adjMask = {leftAdjust, rightAdjust}; (** Attributes.tabType[i] **) maxTabs* = 32; centerTab* = 0; rightTab* = 1; (** both: (reserved); none: leftTab **) barTab* = 2; tabOptions = {centerTab .. barTab}; (* mask for presently valid options *) mm = Ports.mm; inch16 = Ports.inch DIV 16; point = Ports.point; tabBarHeight = 11 * point; scaleHeight = 10 * point; iconBarHeight = 14 * point; rulerHeight = tabBarHeight + scaleHeight + iconBarHeight; iconHeight = 10 * point; iconWidth = 12 * point; iconGap = 2 * point; iconPin = rulerHeight - (iconBarHeight - iconHeight) DIV 2; rulerChangeKey = "#Text:RulerChange"; minVersion = 0; maxAttrVersion = 2; maxStyleVersion = 0; maxStdStyleVersion = 0; maxRulerVersion = 0; maxStdRulerVersion = 0; TYPE Tab* = RECORD stop*: INTEGER; type*: SET END; TabArray* = RECORD (* should be POINTER TO ARRAY OF Tab -- but cannot protect *) len*: INTEGER; tab*: ARRAY maxTabs OF Tab END; Attributes* = POINTER TO EXTENSIBLE RECORD (Stores.Store) init-: BOOLEAN; (* immutable once init holds *) first-, left-, right-, lead-, asc-, dsc-, grid-: INTEGER; opts-: SET; tabs-: TabArray END; AlienAttributes* = POINTER TO RECORD (Attributes) store-: Stores.Alien END; Style* = POINTER TO ABSTRACT RECORD (Models.Model) attr-: Attributes END; Ruler* = POINTER TO ABSTRACT RECORD (Views.View) style-: Style END; Prop* = POINTER TO RECORD (Properties.Property) first*, left*, right*, lead*, asc*, dsc*, grid*: INTEGER; opts*: RECORD val*, mask*: SET END; tabs*: TabArray END; UpdateMsg* = RECORD (Models.UpdateMsg) (** domaincast upon style update **) style*: Style; oldAttr*: Attributes END; Directory* = POINTER TO ABSTRACT RECORD attr-: Attributes END; StdStyle = POINTER TO RECORD (Style) END; StdRuler = POINTER TO RECORD (Ruler) sel: INTEGER; (* sel # invalid => sel = kind of selected mark *) px, py: INTEGER (* sel # invalid => px, py of selected mark *) END; StdDirectory = POINTER TO RECORD (Directory) END; Mark = RECORD ruler: StdRuler; l, r, t, b: INTEGER; px, py, px0, py0, x, y: INTEGER; kind, index: INTEGER; type: SET; (* valid if kind = tabs *) tabs: TabArray; (* if valid: tabs[index].type = type *) dirty: BOOLEAN END; SetAttrOp = POINTER TO RECORD (Stores.Operation) style: Style; attr: Attributes END; NeutralizeMsg = RECORD (Views.Message) END; VAR dir-, stdDir-: Directory; def: Attributes; prop: Prop; (* recycled *) globRd: TextModels.Reader; (* cache for temp reader; beware of reentrance *) font: Fonts.Font; marginGrid, minTabWidth, tabGrid: INTEGER; PROCEDURE ^ DoSetAttrOp (s: Style; attr: Attributes); PROCEDURE CopyTabs (IN src: TabArray; OUT dst: TabArray); (* a TabArray is a 256 byte structure - copying of used parts is much faster than ":= all" *) VAR i, n: INTEGER; BEGIN n := src.len; dst.len := n; i := 0; WHILE i < n DO dst.tab[i] := src.tab[i]; INC(i) END END CopyTabs; (** Attributes **) PROCEDURE (a: Attributes) CopyFrom- (source: Stores.Store), EXTENSIBLE; BEGIN WITH source: Attributes DO ASSERT(~a.init, 20); ASSERT(source.init, 21); a.init := TRUE; a.first := source.first; a.left := source.left; a.right := source.right; a.lead := source.lead; a.asc := source.asc; a.dsc := source.dsc; a.grid := source.grid; a.opts := source.opts; CopyTabs(source.tabs, a.tabs) END END CopyFrom; PROCEDURE (a: Attributes) Externalize- (VAR wr: Stores.Writer), EXTENSIBLE; (** pre: a.init **) VAR i: INTEGER; typedTabs: BOOLEAN; BEGIN ASSERT(a.init, 20); a.Externalize^(wr); i := 0; WHILE (i < a.tabs.len) & (a.tabs.tab[i].type = {}) DO INC(i) END; typedTabs := i < a.tabs.len; IF typedTabs THEN wr.WriteVersion(maxAttrVersion) ELSE wr.WriteVersion(1) (* versions before 2 had only leftTabs *) END; wr.WriteInt(a.first); wr.WriteInt(a.left); wr.WriteInt(a.right); wr.WriteInt(a.lead); wr.WriteInt(a.asc); wr.WriteInt(a.dsc); wr.WriteInt(a.grid); wr.WriteSet(a.opts); wr.WriteXInt(a.tabs.len); i := 0; WHILE i < a.tabs.len DO wr.WriteInt(a.tabs.tab[i].stop); INC(i) END; IF typedTabs THEN i := 0; WHILE i < a.tabs.len DO wr.WriteSet(a.tabs.tab[i].type); INC(i) END END END Externalize; PROCEDURE (a: Attributes) Internalize- (VAR rd: Stores.Reader), EXTENSIBLE; (** pre: ~a.init **) (** post: a.init **) VAR thisVersion, i, n, trash: INTEGER; trashSet: SET; BEGIN ASSERT(~a.init, 20); a.init := TRUE; a.Internalize^(rd); IF rd.cancelled THEN RETURN END; rd.ReadVersion(minVersion, maxAttrVersion, thisVersion); IF rd.cancelled THEN RETURN END; rd.ReadInt(a.first); rd.ReadInt(a.left); rd.ReadInt(a.right); rd.ReadInt(a.lead); rd.ReadInt(a.asc); rd.ReadInt(a.dsc); rd.ReadInt(a.grid); rd.ReadSet(a.opts); rd.ReadXInt(n); a.tabs.len := MIN(n, maxTabs); i := 0; WHILE i < a.tabs.len DO rd.ReadInt(a.tabs.tab[i].stop); INC(i) END; WHILE i < n DO rd.ReadInt(trash); INC(i) END; IF thisVersion = 0 THEN (* convert from v0 rightFixed to v1 ~rightFixed default *) INCL(a.opts, rightFixed) END; IF thisVersion >= 2 THEN i := 0; WHILE i < a.tabs.len DO rd.ReadSet(a.tabs.tab[i].type); INC(i) END; WHILE i < n DO rd.ReadSet(trashSet); INC(i) END ELSE i := 0; WHILE i < a.tabs.len DO a.tabs.tab[i].type := {}; INC(i) END END END Internalize; PROCEDURE Set (p: Prop; opt: INTEGER; VAR x: INTEGER; min, max, new: INTEGER); BEGIN IF opt IN p.valid THEN x := MAX(min, MIN(max, new)) END END Set; PROCEDURE ModifyFromProp (a: Attributes; p: Properties.Property); CONST maxW = 10000*mm; maxH = 32767 * point; VAR i: INTEGER; type, mask: SET; BEGIN WHILE p # NIL DO WITH p: Prop DO Set(p, first, a.first, 0, maxW, p.first); Set(p, left, a.left, 0, maxW, p.left); Set(p, right, a.right, MAX(a.left, a.first), maxW, p.right); Set(p, lead, a.lead, 0, maxH, p.lead); Set(p, asc, a.asc, 0, maxH, p.asc); Set(p, dsc, a.dsc, 0, maxH - a.asc, p.dsc); Set(p, grid, a.grid, 1, maxH, p.grid); IF opts IN p.valid THEN a.opts := a.opts * (-p.opts.mask) + p.opts.val * p.opts.mask END; IF (tabs IN p.valid) & (p.tabs.len >= 0) THEN IF (p.tabs.len > 0) & (p.tabs.tab[0].stop >= 0) THEN i := 0; a.tabs.len := MIN(p.tabs.len, maxTabs); REPEAT a.tabs.tab[i].stop := p.tabs.tab[i].stop; type := p.tabs.tab[i].type; mask := tabOptions; IF type * {centerTab, rightTab} = {centerTab, rightTab} THEN mask := mask - {centerTab, rightTab} END; a.tabs.tab[i].type := a.tabs.tab[i].type * (-mask) + type * mask; INC(i) UNTIL (i = a.tabs.len) OR (p.tabs.tab[i].stop < p.tabs.tab[i - 1].stop); a.tabs.len := i ELSE a.tabs.len := 0 END END ELSE END; p := p.next END END ModifyFromProp; PROCEDURE (a: Attributes) ModifyFromProp- (p: Properties.Property), NEW, EXTENSIBLE; BEGIN ModifyFromProp(a, p) END ModifyFromProp; PROCEDURE (a: Attributes) InitFromProp* (p: Properties.Property), NEW, EXTENSIBLE; (** pre: ~a.init **) (** post: (a.init, p # NIL & x IN p.valid) => x set in a, else x defaults in a **) BEGIN ASSERT(~a.init, 20); a.init := TRUE; a.first := def.first; a.left := def.left; a.right := def.right; a.lead := def.lead; a.asc := def.asc; a.dsc := def.dsc; a.grid := def.grid; a.opts := def.opts; CopyTabs(def.tabs, a.tabs); ModifyFromProp(a, p) END InitFromProp; PROCEDURE (a: Attributes) Equals* (b: Attributes): BOOLEAN, NEW, EXTENSIBLE; (** pre: a.init, b.init **) VAR i: INTEGER; BEGIN ASSERT(a.init, 20); ASSERT(b.init, 21); IF a # b THEN i := 0; WHILE (i < a.tabs.len) & (a.tabs.tab[i].stop = b.tabs.tab[i].stop) & (a.tabs.tab[i].type = b.tabs.tab[i].type) DO INC(i) END; RETURN (Services.SameType(a, b)) & (a.first = b.first) & (a.left = b.left) & (a.right = b.right) & (a.lead = b.lead) & (a.asc = b.asc) & (a.dsc = b.dsc) & (a.grid = b.grid) & (a.opts = b.opts) & (a.tabs.len = b.tabs.len) & (i = a.tabs.len) ELSE RETURN TRUE END END Equals; PROCEDURE (a: Attributes) Prop* (): Properties.Property, NEW, EXTENSIBLE; (** pre: a.init **) (** post: x attr in a => x IN p.valid, m set to value of attr in a **) VAR p: Prop; BEGIN ASSERT(a.init, 20); NEW(p); p.known := {first .. tabs}; p.valid := p.known; p.first := a.first; p.left := a.left; p.right := a.right; p.lead := a.lead; p.asc := a.asc; p.dsc := a.dsc; p.grid := a.grid; p.opts.val := a.opts; p.opts.mask := options; CopyTabs(a.tabs, p.tabs); RETURN p END Prop; PROCEDURE ReadAttr* (VAR rd: Stores.Reader; OUT a: Attributes); VAR st: Stores.Store; alien: AlienAttributes; BEGIN rd.ReadStore(st); ASSERT(st # NIL, 100); IF st IS Stores.Alien THEN NEW(alien); alien.store := st(Stores.Alien); Stores.Join(alien, alien.store); alien.InitFromProp(NIL); a := alien ELSE a := st(Attributes) END END ReadAttr; PROCEDURE WriteAttr* (VAR wr: Stores.Writer; a: Attributes); BEGIN ASSERT(a # NIL, 20); ASSERT(a.init, 21); WITH a: AlienAttributes DO wr.WriteStore(a.store) ELSE wr.WriteStore(a) END END WriteAttr; PROCEDURE ModifiedAttr* (a: Attributes; p: Properties.Property): Attributes; (** pre: a.init **) (** post: x IN p.valid => x in new attr set to value in p, else set to value in a **) VAR h: Attributes; BEGIN ASSERT(a.init, 20); h := Stores.CopyOf(a)(Attributes); h.ModifyFromProp(p); RETURN h END ModifiedAttr; (** AlienAttributes **) PROCEDURE (a: AlienAttributes) Externalize- (VAR wr: Stores.Writer); BEGIN HALT(100) END Externalize; PROCEDURE (a: AlienAttributes) Internalize- (VAR rd: Stores.Reader); BEGIN HALT(100) END Internalize; PROCEDURE (a: AlienAttributes) InitFromProp* (p: Properties.Property); BEGIN a.InitFromProp^(NIL) END InitFromProp; PROCEDURE (a: AlienAttributes) ModifyFromProp- (p: Properties.Property); BEGIN (* a.InitFromProp^(NIL) *) a.InitFromProp(NIL) END ModifyFromProp; (** Style **) (* PROCEDURE (s: Style) PropagateDomain-, EXTENSIBLE; VAR dom: Stores.Domain; BEGIN ASSERT(s.attr # NIL, 20); dom := s.attr.Domain(); IF (dom # NIL) & (dom # s.Domain()) THEN s.attr := Stores.CopyOf(s.attr)(Attributes) END; Stores.InitDomain(s.attr, s.Domain()) END PropagateDomain; *) PROCEDURE (s: Style) Externalize- (VAR wr: Stores.Writer), EXTENSIBLE; BEGIN s.Externalize^(wr); wr.WriteVersion(maxStyleVersion); WriteAttr(wr, s.attr) END Externalize; PROCEDURE (s: Style) Internalize- (VAR rd: Stores.Reader), EXTENSIBLE; VAR thisVersion: INTEGER; BEGIN s.Internalize^(rd); IF rd.cancelled THEN RETURN END; rd.ReadVersion(minVersion, maxStyleVersion, thisVersion); IF rd.cancelled THEN RETURN END; ReadAttr(rd, s.attr); Stores.Join(s, s.attr) END Internalize; PROCEDURE (s: Style) SetAttr* (attr: Attributes), NEW, EXTENSIBLE; (** pre: attr.init **) (** post: s.attr = attr OR s.attr.Equals(attr) **) BEGIN ASSERT(attr.init, 20); DoSetAttrOp(s, attr) END SetAttr; PROCEDURE (s: Style) CopyFrom- (source: Stores.Store), EXTENSIBLE; BEGIN WITH source: Style DO ASSERT(source.attr # NIL, 21); s.SetAttr(Stores.CopyOf(source.attr)(Attributes)) (* bkwd-comp hack to avoid link *) (* copy would not be necessary if Attributes were immutable (and assigned to an Immutable Domain) *) END END CopyFrom; (* PROCEDURE (s: Style) InitFrom- (source: Models.Model), EXTENSIBLE; BEGIN WITH source: Style DO ASSERT(source.attr # NIL, 21); s.SetAttr(Stores.CopyOf(source.attr)(Attributes)) (* bkwd-comp hack to avoid link *) END END InitFrom; *) (** Directory **) PROCEDURE (d: Directory) SetAttr* (attr: Attributes), NEW, EXTENSIBLE; (** pre: attr.init **) (** post: d.attr = ModifiedAttr(attr, p) [ p.valid = {opts, tabs}, p.tabs.len = 0, p.opts.mask = {noBreakInside.. parJoin}, p.opts.val = {} ] **) VAR p: Prop; BEGIN ASSERT(attr.init, 20); IF attr.tabs.len > 0 THEN NEW(p); p.valid := {opts, tabs}; p.opts.mask := {noBreakInside, pageBreak, parJoin}; p.opts.val := {}; p.tabs.len := 0; attr := ModifiedAttr(attr, p) END; d.attr := attr END SetAttr; PROCEDURE (d: Directory) NewStyle* (attr: Attributes): Style, NEW, ABSTRACT; PROCEDURE (d: Directory) New* (style: Style): Ruler, NEW, ABSTRACT; PROCEDURE (d: Directory) NewFromProp* (p: Prop): Ruler, NEW, EXTENSIBLE; BEGIN RETURN d.New(d.NewStyle(ModifiedAttr(d.attr, p))) END NewFromProp; PROCEDURE Deposit*; BEGIN Views.Deposit(dir.New(NIL)) END Deposit; (** Ruler **) PROCEDURE (r: Ruler) Externalize- (VAR wr: Stores.Writer), EXTENSIBLE; BEGIN ASSERT(r.style # NIL, 20); r.Externalize^(wr); wr.WriteVersion(maxRulerVersion); wr.WriteStore(r.style) END Externalize; PROCEDURE (r: Ruler) InitStyle* (s: Style), NEW; (** pre: r.style = NIL, s # NIL, style.attr # NIL **) (** post: r.style = s **) BEGIN ASSERT((r.style = NIL) OR (r.style = s), 20); ASSERT(s # NIL, 21); ASSERT(s.attr # NIL, 22); r.style := s; Stores.Join(r, s) END InitStyle; PROCEDURE (r: Ruler) Internalize- (VAR rd: Stores.Reader), EXTENSIBLE; VAR st: Stores.Store; thisVersion: INTEGER; BEGIN r.Internalize^(rd); IF rd.cancelled THEN RETURN END; rd.ReadVersion(minVersion, maxRulerVersion, thisVersion); IF rd.cancelled THEN RETURN END; rd.ReadStore(st); IF st IS Stores.Alien THEN rd.TurnIntoAlien(Stores.alienComponent); RETURN END; r.InitStyle(st(Style)) END Internalize; (* PROCEDURE (r: Ruler) InitModel* (m: Models.Model), EXTENSIBLE; (** pre: r.style = NIL, m # NIL, style.attr # NIL, m IS Style **) (** post: r.style = m **) BEGIN WITH m: Style DO ASSERT((r.style = NIL) OR (r.style = m), 20); ASSERT(m # NIL, 21); ASSERT(m.attr # NIL, 22); r.style := m ELSE HALT(23) END END InitModel; *) (* PROCEDURE (r: Ruler) PropagateDomain-, EXTENSIBLE; BEGIN ASSERT(r.style # NIL, 20); Stores.InitDomain(r.style, r.Domain()) END PropagateDomain; *) PROCEDURE CopyOf* (r: Ruler; shallow: BOOLEAN): Ruler; VAR v: Views.View; BEGIN ASSERT(r # NIL, 20); v := Views.CopyOf(r, shallow); RETURN v(Ruler) END CopyOf; (** Prop **) PROCEDURE (p: Prop) IntersectWith* (q: Properties.Property; OUT equal: BOOLEAN); VAR valid: SET; i: INTEGER; c, m: SET; eq: BOOLEAN; BEGIN WITH q: Prop DO valid := p.valid * q.valid; equal := TRUE; i := 0; WHILE (i < p.tabs.len) & (p.tabs.tab[i].stop = q.tabs.tab[i].stop) & (p.tabs.tab[i].type = q.tabs.tab[i].type) DO INC(i) END; IF p.first # q.first THEN EXCL(valid, first) END; IF p.left # q.left THEN EXCL(valid, left) END; IF p.right # q.right THEN EXCL(valid, right) END; IF p.lead # q.lead THEN EXCL(valid, lead) END; IF p.asc # q.asc THEN EXCL(valid, asc) END; IF p.dsc # q.dsc THEN EXCL(valid, dsc) END; IF p.grid # q.grid THEN EXCL(valid, grid) END; Properties.IntersectSelections(p.opts.val, p.opts.mask, q.opts.val, q.opts.mask, c, m, eq); IF m = {} THEN EXCL(valid, opts) ELSIF (opts IN valid) & ~eq THEN p.opts.mask := m; equal := FALSE END; IF (p.tabs.len # q.tabs.len) OR (q.tabs.len # i) THEN EXCL(valid, tabs) END; IF p.valid # valid THEN p.valid := valid; equal := FALSE END END END IntersectWith; (** ruler construction **) (* PROCEDURE SetFirst* (p: Prop; x: INTEGER); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, first); p.first := x END SetFirst; PROCEDURE SetLeft* (p: Prop; x: INTEGER); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, left); p.left := x END SetLeft; PROCEDURE SetRight* (p: Prop; x: INTEGER); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, right); p.right := x END SetRight; PROCEDURE SetFixedRight* (p: Prop; x: INTEGER); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, right); p.right := x; INCL(p.valid, opts); INCL(p.opts.mask, rightFixed); INCL(p.opts.val, rightFixed) END SetFixedRight; PROCEDURE SetLead* (p: Prop; h: INTEGER); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, lead); p.lead := h END SetLead; PROCEDURE SetAsc* (p: Prop; h: INTEGER); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, asc); p.asc := h END SetAsc; PROCEDURE SetDsc* (p: Prop; h: INTEGER); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, dsc); p.dsc := h END SetDsc; PROCEDURE SetGrid* (p: Prop; h: INTEGER); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, grid); p.grid := h END SetGrid; PROCEDURE SetLeftFlush* (p: Prop); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, opts); p.opts.mask := p.opts.mask + {leftAdjust, rightAdjust}; p.opts.val := p.opts.val + {leftAdjust} - {rightAdjust} END SetLeftFlush; PROCEDURE SetRightFlush* (p: Prop); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, opts); p.opts.mask := p.opts.mask + {leftAdjust, rightAdjust}; p.opts.val := p.opts.val - {leftAdjust} + {rightAdjust} END SetRightFlush; PROCEDURE SetCentered* (p: Prop); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, opts); p.opts.mask := p.opts.mask + {leftAdjust, rightAdjust}; p.opts.val := p.opts.val - {leftAdjust, rightAdjust} END SetCentered; PROCEDURE SetJustified* (p: Prop); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, opts); p.opts.mask := p.opts.mask + {leftAdjust, rightAdjust}; p.opts.val := p.opts.val + {leftAdjust, rightAdjust} END SetJustified; PROCEDURE SetNoBreakInside* (p: Prop); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, opts); INCL(p.opts.mask, noBreakInside); INCL(p.opts.val, noBreakInside) END SetNoBreakInside; PROCEDURE SetPageBreak* (p: Prop); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, opts); INCL(p.opts.mask, pageBreak); INCL(p.opts.val, pageBreak) END SetPageBreak; PROCEDURE SetParJoin* (p: Prop); BEGIN ASSERT(p # NIL, 20); INCL(p.valid, opts); INCL(p.opts.mask, parJoin); INCL(p.opts.val, parJoin) END SetParJoin; PROCEDURE AddTab* (p: Prop; x: INTEGER); VAR i: INTEGER; BEGIN ASSERT(p # NIL, 20); i := p.tabs.len; ASSERT(i > 0, 21); ASSERT((i = 0) OR (p.tabs.tab[i - 1].stop < x), 22); INCL(p.valid, tabs); p.tabs.tab[i].stop := x; p.tabs.tab[i].type := {}; p.tabs.len := i + 1 END AddTab; PROCEDURE MakeCenterTab* (p: Prop); VAR i: INTEGER; BEGIN ASSERT(p # NIL, 20); i := p.tabs.len; ASSERT(i > 0, 21); p.tabs.tab[i - 1].type := p.tabs.tab[i - 1].type + {centerTab} - {rightTab} END MakeCenterTab; PROCEDURE MakeRightTab* (p: Prop); VAR i: INTEGER; BEGIN ASSERT(p # NIL, 20); i := p.tabs.len; ASSERT(i > 0, 21); p.tabs.tab[i - 1].type := p.tabs.tab[i - 1].type - {centerTab} + {rightTab} END MakeRightTab; PROCEDURE MakeBarTab* (p: Prop); VAR i: INTEGER; BEGIN ASSERT(p # NIL, 20); i := p.tabs.len; ASSERT(i > 0, 21); p.tabs.tab[i - 1].type := p.tabs.tab[i - 1].type + {barTab} END MakeBarTab; *) (*property-based facade procedures *) PROCEDURE SetFirst* (r: Ruler; x: INTEGER); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {first}; prop.first := x; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetFirst; PROCEDURE SetLeft* (r: Ruler; x: INTEGER); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {left}; prop.left := x; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetLeft; PROCEDURE SetRight* (r: Ruler; x: INTEGER); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {right}; prop.right := x; prop.opts.mask := {rightFixed}; prop.opts.val := {}; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetRight; PROCEDURE SetFixedRight* (r: Ruler; x: INTEGER); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {right, opts}; prop.right := x; prop.opts.mask := {rightFixed}; prop.opts.val := {rightFixed}; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetFixedRight; PROCEDURE SetLead* (r: Ruler; h: INTEGER); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {lead}; prop.lead := h; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetLead; PROCEDURE SetAsc* (r: Ruler; h: INTEGER); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {asc}; prop.asc := h; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetAsc; PROCEDURE SetDsc* (r: Ruler; h: INTEGER); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {dsc}; prop.dsc := h; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetDsc; PROCEDURE SetGrid* (r: Ruler; h: INTEGER); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {grid}; prop.grid := h; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetGrid; PROCEDURE SetLeftFlush* (r: Ruler); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {opts}; prop.opts.mask := {leftAdjust, rightAdjust}; prop.opts.val := {leftAdjust}; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetLeftFlush; PROCEDURE SetRightFlush* (r: Ruler); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {opts}; prop.opts.mask := {leftAdjust, rightAdjust}; prop.opts.val := {rightAdjust}; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetRightFlush; PROCEDURE SetCentered* (r: Ruler); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {opts}; prop.opts.mask := {leftAdjust, rightAdjust}; prop.opts.val := {}; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetCentered; PROCEDURE SetJustified* (r: Ruler); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {opts}; prop.opts.mask := {leftAdjust, rightAdjust}; prop.opts.val := {leftAdjust, rightAdjust}; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetJustified; PROCEDURE SetNoBreakInside* (r: Ruler); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {opts}; prop.opts.mask := {noBreakInside}; prop.opts.val := {noBreakInside}; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetNoBreakInside; PROCEDURE SetPageBreak* (r: Ruler); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {opts}; prop.opts.mask := {pageBreak}; prop.opts.val := {pageBreak}; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetPageBreak; PROCEDURE SetParJoin* (r: Ruler); BEGIN ASSERT(r.style # NIL, 20); prop.valid := {opts}; prop.opts.mask := {parJoin}; prop.opts.val := {parJoin}; r.style.SetAttr(ModifiedAttr(r.style.attr, prop)) END SetParJoin; PROCEDURE AddTab* (r: Ruler; x: INTEGER); VAR ra: Attributes; i: INTEGER; BEGIN ASSERT(r.style # NIL, 20); ra := r.style.attr; i := ra.tabs.len; ASSERT(i < maxTabs, 21); ASSERT((i = 0) OR (ra.tabs.tab[i - 1].stop < x), 22); prop.valid := {tabs}; CopyTabs(ra.tabs, prop.tabs); prop.tabs.tab[i].stop := x; prop.tabs.tab[i].type := {}; INC(prop.tabs.len); r.style.SetAttr(ModifiedAttr(ra, prop)) END AddTab; PROCEDURE MakeCenterTab* (r: Ruler); VAR ra: Attributes; i: INTEGER; BEGIN ASSERT(r.style # NIL, 20); ra := r.style.attr; i := ra.tabs.len; ASSERT(i > 0, 21); prop.valid := {tabs}; CopyTabs(ra.tabs, prop.tabs); prop.tabs.tab[i - 1].type := prop.tabs.tab[i - 1].type + {centerTab} - {rightTab}; r.style.SetAttr(ModifiedAttr(ra, prop)) END MakeCenterTab; PROCEDURE MakeRightTab* (r: Ruler); VAR ra: Attributes; i: INTEGER; BEGIN ASSERT(r.style # NIL, 20); ra := r.style.attr; i := ra.tabs.len; ASSERT(i > 0, 21); prop.valid := {tabs}; CopyTabs(ra.tabs, prop.tabs); prop.tabs.tab[i - 1].type := prop.tabs.tab[i - 1].type - {centerTab} + {rightTab}; r.style.SetAttr(ModifiedAttr(ra, prop)) END MakeRightTab; PROCEDURE MakeBarTab* (r: Ruler); VAR ra: Attributes; i: INTEGER; BEGIN ASSERT(r.style # NIL, 20); ra := r.style.attr; i := ra.tabs.len; ASSERT(i > 0, 21); prop.valid := {tabs}; CopyTabs(ra.tabs, prop.tabs); prop.tabs.tab[i - 1].type := prop.tabs.tab[i - 1].type + {barTab}; r.style.SetAttr(ModifiedAttr(ra, prop)) END MakeBarTab; (* SetAttrOp *) PROCEDURE (op: SetAttrOp) Do; VAR s: Style; attr: Attributes; upd: UpdateMsg; BEGIN s := op.style; attr := s.attr; s.attr := op.attr; op.attr := attr; (*Stores.InitDomain(s.attr, s.Domain());*) (* Stores.Join(s, s.attr); *) ASSERT((s.attr=NIL) OR Stores.Joined(s, s.attr), 100); upd.style := s; upd.oldAttr := attr; Models.Domaincast(s.Domain(), upd) END Do; PROCEDURE DoSetAttrOp (s: Style; attr: Attributes); VAR op: SetAttrOp; BEGIN IF (s.attr # attr) OR ~s.attr.Equals(attr) THEN (* IF attr.Domain() # s.Domain() THEN attr := Stores.CopyOf(attr)(Attributes) END; *) IF ~Stores.Joined(s, attr) THEN IF ~Stores.Unattached(attr) THEN attr := Stores.CopyOf(attr)(Attributes) END; Stores.Join(s, attr) END; NEW(op); op.style := s; op.attr := attr; Models.Do(s, rulerChangeKey, op) END END DoSetAttrOp; (* grid definitions *) PROCEDURE MarginGrid (x: INTEGER): INTEGER; BEGIN RETURN (x + marginGrid DIV 2) DIV marginGrid * marginGrid END MarginGrid; PROCEDURE TabGrid (x: INTEGER): INTEGER; BEGIN RETURN (x + tabGrid DIV 2) DIV tabGrid * tabGrid END TabGrid; (* nice graphical primitives *) PROCEDURE DrawCenteredInt (f: Views.Frame; x, y, n: INTEGER); VAR sw: INTEGER; s: ARRAY 32 OF CHAR; BEGIN Strings.IntToString(n, s); sw := font.StringWidth(s); f.DrawString(x - sw DIV 2, y, Ports.defaultColor, s, font) END DrawCenteredInt; PROCEDURE DrawNiceRect (f: Views.Frame; l, t, r, b: INTEGER); VAR u: INTEGER; BEGIN u := f.dot; f.DrawRect(l, t, r - u, b - u, 0, Ports.defaultColor); f.DrawLine(l + u, b - u, r - u, b - u, u, Ports.grey25); f.DrawLine(r - u, t + u, r - u, b - u, u, Ports.grey25) END DrawNiceRect; PROCEDURE DrawScale (f: Views.Frame; l, t, r, b, clipL, clipR: INTEGER); VAR u, h, x, px, sw: INTEGER; i, n, d1, d2: INTEGER; s: ARRAY 32 OF CHAR; BEGIN f.DrawRect(l, t, r, b, Ports.fill, Ports.grey12); u := f.dot; IF Dialog.metricSystem THEN d1 := 2; d2 := 10 ELSE d1 := 2; d2 := 16 END; DEC(b, point); sw := 2*u + font.StringWidth("8888888888"); x := l + tabGrid; i := 0; n := 0; WHILE x <= r DO INC(i); px := TabGrid(x); IF i = d2 THEN h := 6*point; i := 0; INC(n); IF (px >= clipL - sw) & (px < clipR) THEN Strings.IntToString(n, s); f.DrawString(px - 2*u - font.StringWidth(s), b - 3*point, Ports.defaultColor, s, font) END ELSIF i MOD d1 = 0 THEN h := 2*point ELSE h := 0 END; IF (px >= clipL) & (px < clipR) & (h > 0) THEN f.DrawLine(px, b, px, b - h, 0, Ports.defaultColor) END; INC(x, tabGrid) END END DrawScale; PROCEDURE InvertTabMark (f: Views.Frame; l, t, r, b: INTEGER; type: SET; show: BOOLEAN); VAR u, u2, u3, yc, i, ih: INTEGER; BEGIN u := f.dot; u2 := 2*u; u3 := 3*u; IF ~ODD((r - l) DIV u) THEN DEC(r, u) END; yc := l + (r - l) DIV u DIV 2 * u; IF barTab IN type THEN f.MarkRect(yc, b - u3, yc + u, b - u2, Ports.fill, Ports.invert, show); f.MarkRect(yc, b - u, yc + u, b, Ports.fill, Ports.invert, show) END; IF centerTab IN type THEN f.MarkRect(l + u, b - u2, r - u, b - u, Ports.fill, Ports.invert, show) ELSIF rightTab IN type THEN f.MarkRect(l, b - u2, yc + u, b - u, Ports.fill, Ports.invert, show) ELSE f.MarkRect(yc, b - u2, r, b - u, Ports.fill, Ports.invert, show) END; DEC(b, u3); INC(l, u2); DEC(r, u2); ih := (r - l) DIV 2; i := b - t; t := b - u; WHILE (i > 0) & (r > l) DO DEC(i, u); f.MarkRect(l, t, r, b, Ports.fill, Ports.invert, show); IF i <= ih THEN INC(l, u); DEC(r, u) END; DEC(t, u); DEC(b, u) END END InvertTabMark; PROCEDURE InvertFirstMark (f: Views.Frame; l, t, r, b: INTEGER; show: BOOLEAN); VAR u, i, ih: INTEGER; BEGIN u := f.dot; i := b - t; t := b - u; ih := r - l; WHILE (i > 0) & (r > l) DO DEC(i, u); f.MarkRect(l, t, r, b, Ports.fill, Ports.invert, show); IF i <= ih THEN DEC(r, u) END; DEC(t, u); DEC(b, u) END END InvertFirstMark; PROCEDURE InvertLeftMark (f: Views.Frame; l, t, r, b: INTEGER; show: BOOLEAN); VAR u, i, ih: INTEGER; BEGIN u := f.dot; i := b - t; b := t + u; ih := r - l; WHILE (i > 0) & (r > l) DO DEC(i, u); f.MarkRect(l, t, r, b, Ports.fill, Ports.invert, show); IF i <= ih THEN DEC(r, u) END; INC(t, u); INC(b, u) END END InvertLeftMark; PROCEDURE InvertRightMark (f: Views.Frame; l, t, r, b: INTEGER; show: BOOLEAN); VAR u, i, ih: INTEGER; BEGIN u := f.dot; IF ~ODD((b - t) DIV u) THEN INC(t, u) END; ih := r - l; l := r - u; i := b - t; b := t + u; WHILE (i > 0) & (i > ih) DO DEC(i, u); f.MarkRect(l, t, r, b, Ports.fill, Ports.invert, show); DEC(l, u); INC(t, u); INC(b, u) END; WHILE (i > 0) & (r > l) DO DEC(i, u); f.MarkRect(l, t, r, b, Ports.fill, Ports.invert, show); INC(l, u); INC(t, u); INC(b, u) END END InvertRightMark; (* marks *) PROCEDURE SetMark (VAR m: Mark; r: StdRuler; px, py: INTEGER; kind, index: INTEGER); BEGIN m.ruler := r; m.kind := kind; m.px := px; m.py := py; CASE kind OF first: m.l := px; m.r := m.l + 4*point; m.b := py - 7*point; m.t := m.b - 4*point | left: m.l := px; m.r := m.l + 4*point; m.b := py - 2*point; m.t := m.b - 4*point | right: m.r := px; m.l := m.r - 4*point; m.b := py - 3*point; m.t := m.b - 7*point | tabs: m.l := px - 4*point; m.r := m.l + 9*point; m.b := py - 5*point; m.t := m.b - 6*point; m.type := r.style.attr.tabs.tab[index].type | firstIcon .. lastIcon: m.l := px; m.r := px + iconWidth; m.t := py; m.b := py + iconHeight ELSE HALT(100) END END SetMark; PROCEDURE Try (VAR m: Mark; r: StdRuler; px, py, x, y: INTEGER; kind, index: INTEGER); BEGIN IF m.kind = invalid THEN SetMark(m, r, px, py, kind, index); IF (m.l - point <= x) & (x < m.r + point) & (m.t - point <= y) & (y < m.b + point) THEN m.px0 := m.px; m.py0 := m.py; m.x := x; m.y := y; IF kind = tabs THEN m.index := index; CopyTabs(r.style.attr.tabs, m.tabs) END ELSE m.kind := invalid END END END Try; PROCEDURE InvertMark (VAR m: Mark; f: Views.Frame; show: BOOLEAN); (* pre: kind # invalid *) BEGIN CASE m.kind OF first: InvertFirstMark(f, m.l, m.t, m.r, m.b, show) | left: InvertLeftMark(f, m.l, m.t, m.r, m.b, show) | right: InvertRightMark(f, m.l, m.t, m.r, m.b, show) | tabs: InvertTabMark(f, m.l, m.t, m.r, m.b, m.type, show) END END InvertMark; PROCEDURE HiliteMark (VAR m: Mark; f: Views.Frame; show: BOOLEAN); BEGIN f.MarkRect(m.l, m.t, m.r - point, m.b - point, Ports.fill, Ports.hilite, show) END HiliteMark; PROCEDURE HiliteThisMark (r: StdRuler; f: Views.Frame; kind: INTEGER; show: BOOLEAN); VAR m: Mark; px, w, h: INTEGER; BEGIN IF (kind # invalid) & (kind IN validIcons) THEN px := iconGap + (kind - firstIcon) * (iconWidth + iconGap); r.context.GetSize(w, h); SetMark(m, r, px, h - iconPin, kind, -1); HiliteMark(m, f, show) END END HiliteThisMark; PROCEDURE DrawMark (VAR m: Mark; f: Views.Frame); (* pre: kind # invalid *) VAR a: Attributes; l, t, r, b, y, d, e, asc, dsc, fw: INTEGER; i: INTEGER; w: ARRAY 4 OF INTEGER; BEGIN a := m.ruler.style.attr; l := m.l + 2 * point; t := m.t + 2 * point; r := m.r - 4 * point; b := m.b - 3 * point; font.GetBounds(asc, dsc, fw); y := (m.t + m.b + asc) DIV 2; w[0] := (r - l) DIV 2; w[1] := r - l; w[2] := (r - l) DIV 3; w[3] := (r - l) * 2 DIV 3; CASE m.kind OF rightToggle: IF rightFixed IN a.opts THEN d := 0; y := (t + b) DIV 2 - point; e := (l + r) DIV 2 + point; WHILE t < y DO f.DrawLine(e - d, t, e, t, point, Ports.defaultColor); INC(d, point); INC(t, point) END; WHILE t < b DO f.DrawLine(e - d, t, e, t, point, Ports.defaultColor); DEC(d, point); INC(t, point) END ELSE DEC(b, point); f.DrawLine(l, t, r, t, point, Ports.defaultColor); f.DrawLine(l, b, r, b, point, Ports.defaultColor); f.DrawLine(l, t, l, b, point, Ports.defaultColor); f.DrawLine(r, t, r, b, point, Ports.defaultColor) END | gridDec: WHILE t < b DO f.DrawLine(l, t, r, t, point, Ports.defaultColor); INC(t, 2 * point) END | gridVal: DrawCenteredInt(f, (l + r) DIV 2, y, a.grid DIV point) | gridInc: WHILE t < b DO f.DrawLine(l, t, r, t, point, Ports.defaultColor); INC(t, 3 * point) END | leftFlush: i := 0; WHILE t < b DO d := w[i]; i := (i + 1) MOD LEN(w); f.DrawLine(l, t, l + d, t, point, Ports.defaultColor); INC(t, 2 * point) END | centered: i := 0; WHILE t < b DO d := (r - l - w[i]) DIV 2; i := (i + 1) MOD LEN(w); f.DrawLine(l + d, t, r - d, t, point, Ports.defaultColor); INC(t, 2 * point) END | rightFlush: i := 0; WHILE t < b DO d := w[i]; i := (i + 1) MOD LEN(w); f.DrawLine(r - d, t, r, t, point, Ports.defaultColor); INC(t, 2 * point) END | justified: WHILE t < b DO f.DrawLine(l, t, r, t, point, Ports.defaultColor); INC(t, 2 * point) END | leadDec: f.DrawLine(l, t, l, t + point, point, Ports.defaultColor); INC(t, 2 * point); WHILE t < b DO f.DrawLine(l, t, r, t, point, Ports.defaultColor); INC(t, 2 * point) END | leadVal: DrawCenteredInt(f, (l + r) DIV 2, y, m.ruler.style.attr.lead DIV point) | leadInc: f.DrawLine(l, t, l, t + 3 * point, point, Ports.defaultColor); INC(t, 4 * point); WHILE t < b DO f.DrawLine(l, t, r, t, point, Ports.defaultColor); INC(t, 2 * point) END | pageBrk: DEC(b, point); IF pageBreak IN a.opts THEN y := (t + b) DIV 2 - point; f.DrawLine(l, t, l, y, point, Ports.defaultColor); f.DrawLine(r, t, r, y, point, Ports.defaultColor); f.DrawLine(l, y, r, y, point, Ports.defaultColor); INC(y, 2 * point); f.DrawLine(l, y, r, y, point, Ports.defaultColor); f.DrawLine(l, y, l, b, point, Ports.defaultColor); f.DrawLine(r, y, r, b, point, Ports.defaultColor) ELSE f.DrawLine(l, t, l, b, point, Ports.defaultColor); f.DrawLine(r, t, r, b, point, Ports.defaultColor) END ELSE HALT(100) END; IF ~(m.kind IN {gridVal, leadVal}) THEN DrawNiceRect(f, m.l, m.t, m.r, m.b) END END DrawMark; PROCEDURE GetMark (VAR m: Mark; r: StdRuler; f: Views.Frame; x, y: INTEGER; canCreate: BOOLEAN ); (* pre: ~canCreate OR (f # NIL) *) VAR a: Attributes; px, w, h: INTEGER; i: INTEGER; BEGIN m.kind := invalid; m.dirty := FALSE; a := r.style.attr; r.context.GetSize(w, h); (* first try scale *) Try(m, r, a.first, h, x, y, first, 0); Try(m, r, a.left, h, x, y, left, 0); IF rightFixed IN a.opts THEN Try(m, r, a.right, h, x, y, right, 0) END; i := 0; WHILE (m.kind = invalid) & (i < a.tabs.len) DO Try(m, r, a.tabs.tab[i].stop, h, x, y, tabs, i); INC(i) END; IF (m.kind = invalid) & (y >= h - tabBarHeight) & (a.tabs.len < maxTabs) THEN i := 0; px := TabGrid(x); WHILE (i < a.tabs.len) & (a.tabs.tab[i].stop < px) DO INC(i) END; IF (i = 0) OR (px - a.tabs.tab[i - 1].stop >= minTabWidth) THEN IF (i = a.tabs.len) OR (a.tabs.tab[i].stop - px >= minTabWidth) THEN IF canCreate THEN (* set new tab stop, initially at end of list *) m.kind := tabs; m.index := a.tabs.len; m.dirty := TRUE; CopyTabs(a.tabs, m.tabs); m.tabs.len := a.tabs.len + 1; m.tabs.tab[a.tabs.len].stop := px; m.tabs.tab[a.tabs.len].type := {}; a.tabs.tab[a.tabs.len].stop := px; a.tabs.tab[a.tabs.len].type := {}; SetMark(m, r, px, h, tabs, m.index); InvertMark(m, f, Ports.show); m.px0 := m.px; m.py0 := m.py; m.x := x; m.y := y END END END END; (* next try icon bar *) px := iconGap; i := firstIcon; WHILE i <= lastIcon DO IF i IN validIcons THEN Try(m, r, px, h - iconPin, x, y, i, 0) END; INC(px, iconWidth + iconGap); INC(i) END END GetMark; PROCEDURE SelectMark (r: StdRuler; f: Views.Frame; IN m: Mark); BEGIN r.sel := m.kind; r.px := m.px; r.py := m.py END SelectMark; PROCEDURE DeselectMark (r: StdRuler; f: Views.Frame); BEGIN HiliteThisMark(r, f, r.sel, Ports.hide); r.sel := invalid END DeselectMark; (* mark interaction *) PROCEDURE Mode (r: StdRuler): INTEGER; VAR a: Attributes; i: INTEGER; BEGIN a := r.style.attr; IF a.opts * adjMask = {leftAdjust} THEN i := leftFlush ELSIF a.opts * adjMask = {} THEN i := centered ELSIF a.opts * adjMask = {rightAdjust} THEN i := rightFlush ELSE (* a.opts * adjMask = adjMask *) i := justified END; RETURN i END Mode; PROCEDURE GrabMark (VAR m: Mark; r: StdRuler; f: Views.Frame; x, y: INTEGER); BEGIN GetMark(m, r, f, x, y, TRUE); DeselectMark(r, f); IF m.kind = Mode(r) THEN m.kind := invalid END END GrabMark; PROCEDURE TrackMark (VAR m: Mark; f: Views.Frame; x, y: INTEGER; modifiers: SET); VAR px, py, w, h: INTEGER; BEGIN IF m.kind # invalid THEN px := m.px + x - m.x; py := m.py + y - m.y; IF m.kind = tabs THEN px := TabGrid(px) ELSIF m.kind IN validIcons THEN IF (m.l <= x) & (x < m.r) THEN px := 1 ELSE px := 0 END ELSE px := MarginGrid(px) END; IF m.kind IN {right, tabs} THEN m.ruler.context.GetSize(w, h); IF (0 <= y) & (y < h + scaleHeight) OR (Controllers.extend IN modifiers) THEN py := h ELSE py := -1 (* moved mark out of ruler: delete tab stop or fixed right margin *) END ELSIF m.kind IN validIcons THEN IF (m.t <= y) & (y < m.b) THEN py := 1 ELSE py := 0 END ELSE py := MarginGrid(py) END; IF (m.kind IN {right, tabs}) & ((m.px # px) OR (m.py # py)) THEN INC(m.x, px - m.px); INC(m.y, py - m.py); InvertMark(m, f, Ports.hide); SetMark(m, m.ruler, px, py, m.kind, m.index); InvertMark(m, f, Ports.show); m.dirty := TRUE ELSIF (m.kind IN {first, left}) & (m.px # px) THEN INC(m.x, px - m.px); InvertMark(m, f, Ports.hide); SetMark(m, m.ruler, px, m.py, m.kind, m.index); InvertMark(m, f, Ports.show) ELSIF (m.kind IN validIcons) & (m.px * m.py # px * py) THEN HiliteMark(m, f, Ports.show); IF m.kind IN modeIcons THEN HiliteThisMark(m.ruler, f, Mode(m.ruler), Ports.hide) END; m.px := px; m.py := py END END END TrackMark; PROCEDURE ShiftMarks (a: Attributes; p: Prop; mask: SET; x0, dx: INTEGER); VAR new: SET; i, j, t0, t1: INTEGER; tab0, tab1: TabArray; BEGIN new := mask - p.valid; IF first IN new THEN p.first := a.first END; IF tabs IN new THEN CopyTabs(a.tabs, p.tabs) END; p.valid := p.valid + mask; IF first IN mask THEN INC(p.first, dx) END; IF tabs IN mask THEN i := 0; WHILE (i < p.tabs.len) & (p.tabs.tab[i].stop < x0) DO tab0.tab[i] := p.tabs.tab[i]; INC(i) END; t0 := i; t1 := 0; WHILE i < p.tabs.len DO tab1.tab[t1].stop := p.tabs.tab[i].stop + dx; tab1.tab[t1].type := p.tabs.tab[i].type; INC(t1); INC(i) END; i := 0; j := 0; p.tabs.len := 0; WHILE i < t0 DO (* merge sort *) WHILE (j < t1) & (tab1.tab[j].stop < tab0.tab[i].stop) DO p.tabs.tab[p.tabs.len] := tab1.tab[j]; INC(p.tabs.len); INC(j) END; IF (j < t1) & (tab1.tab[j].stop = tab0.tab[i].stop) THEN INC(j) END; p.tabs.tab[p.tabs.len] := tab0.tab[i]; INC(p.tabs.len); INC(i) END; WHILE j < t1 DO p.tabs.tab[p.tabs.len] := tab1.tab[j]; INC(p.tabs.len); INC(j) END END END ShiftMarks; PROCEDURE ShiftDependingMarks (VAR m: Mark; p: Prop); VAR a: Attributes; dx: INTEGER; BEGIN a := m.ruler.style.attr; dx := m.px - m.px0; CASE m.kind OF first: ShiftMarks(a, p, {tabs}, 0, dx) | left: ShiftMarks(a, p, {first, tabs}, 0, dx) | tabs: ShiftMarks(a, p, {tabs}, m.px0, dx) ELSE END END ShiftDependingMarks; PROCEDURE AdjustMarks (VAR m: Mark; f: Views.Frame; modifiers: SET); VAR r: StdRuler; a: Attributes; p: Prop; g: INTEGER; i, j: INTEGER; shift: BOOLEAN; type: SET; BEGIN r := m.ruler; IF (m.kind # invalid) & (m.kind IN validIcons) & (m.px = 1) & (m.py = 1) OR (m.kind # invalid) & ~(m.kind IN validIcons) & ((m.px # m.px0) OR (m.py # m.py0) OR (m.kind = tabs) (*(m.tabs.len # r.style.attr.tabs.len)*) ) THEN a := r.style.attr; NEW(p); p.valid := {}; shift := (Controllers.modify IN modifiers) & (m.tabs.len = r.style.attr.tabs.len); CASE m.kind OF first: p.valid := {first}; p.first := m.px | left: p.valid := {left}; p.left := m.px | right: IF m.py >= 0 THEN p.valid := {right}; p.right := m.px ELSE p.valid := {opts}; p.opts.val := {}; p.opts.mask := {rightFixed} END | tabs: IF ~m.dirty THEN p.valid := {tabs}; CopyTabs(m.tabs, p.tabs); i := m.index; type := m.tabs.tab[i].type; IF shift THEN type := type * {barTab}; IF type = {} THEN type := {barTab} ELSE type := {} END; p.tabs.tab[i].type := p.tabs.tab[i].type - {barTab} + type ELSE type := type * {centerTab, rightTab}; IF type = {} THEN type := {centerTab} ELSIF type = {centerTab} THEN type := {rightTab} ELSE type := {} END; p.tabs.tab[i].type := p.tabs.tab[i].type - {centerTab, rightTab} + type END ELSIF ~shift THEN p.valid := {tabs}; p.tabs.len := m.tabs.len - 1; i := 0; WHILE i < m.index DO p.tabs.tab[i] := m.tabs.tab[i]; INC(i) END; INC(i); WHILE i < m.tabs.len DO p.tabs.tab[i - 1] := m.tabs.tab[i]; INC(i) END; i := 0; WHILE (i < p.tabs.len) & (p.tabs.tab[i].stop < m.px) DO INC(i) END; IF (m.px >= MIN(a.first, a.left)) & (m.px <= f.r) & (m.py >= 0) & ((i = 0) OR (m.px - p.tabs.tab[i - 1].stop >= minTabWidth)) & ((i = p.tabs.len) OR (p.tabs.tab[i].stop - m.px >= minTabWidth)) THEN j := p.tabs.len; WHILE j > i DO p.tabs.tab[j] := p.tabs.tab[j - 1]; DEC(j) END; p.tabs.tab[i].stop := m.px; p.tabs.tab[i].type := m.tabs.tab[m.index].type; INC(p.tabs.len) END; i := 0; WHILE (i < p.tabs.len) & (p.tabs.tab[i].stop = a.tabs.tab[i].stop) & (p.tabs.tab[i].type = a.tabs.tab[i].type) DO INC(i) END; IF (i = p.tabs.len) & (p.tabs.len = a.tabs.len) THEN RETURN END (* did not change *) END | rightToggle: p.valid := {right, opts}; IF ~(rightFixed IN a.opts) THEN p.right := f.r DIV marginGrid * marginGrid END; p.opts.val := a.opts / {rightFixed}; p.opts.mask := {rightFixed} | gridDec: p.valid := {asc, grid}; g := a.grid - point; IF g = 0 THEN p.grid := 1; p.asc := 0 ELSE p.grid := g; p.asc := g - a.dsc END | gridVal: SelectMark(r, f, m); RETURN | gridInc: p.valid := {asc, grid}; g := a.grid + point; DEC(g, g MOD point); p.grid := g; p.asc := g - a.dsc | leftFlush: p.valid := {opts}; p.opts.val := {leftAdjust}; p.opts.mask := adjMask | centered: p.valid := {opts}; p.opts.val := {}; p.opts.mask := adjMask | rightFlush: p.valid := {opts}; p.opts.val := {rightAdjust}; p.opts.mask := adjMask | justified: p.valid := {opts}; p.opts.val := adjMask; p.opts.mask := adjMask | leadDec: p.valid := {lead}; p.lead := a.lead - point | leadVal: SelectMark(r, f, m); RETURN | leadInc: p.valid := {lead}; p.lead := a.lead + point | pageBrk: p.valid := {opts}; p.opts.val := a.opts / {pageBreak}; p.opts.mask := {pageBreak} ELSE HALT(100) END; IF shift THEN ShiftDependingMarks(m, p) END; IF m.kind IN validIcons - modeIcons THEN HiliteMark(m, f, Ports.hide) END; r.style.SetAttr(ModifiedAttr(a, p)) END END AdjustMarks; (* primitivies for standard ruler *) PROCEDURE Track (r: StdRuler; f: Views.Frame; IN msg: Controllers.TrackMsg); VAR m: Mark; x, y, res: INTEGER; modifiers: SET; isDown: BOOLEAN; cmd: ARRAY 128 OF CHAR; BEGIN GrabMark(m, r, f, msg.x, msg.y); REPEAT f.Input(x, y, modifiers, isDown); TrackMark(m, f, x, y, modifiers) UNTIL ~isDown; AdjustMarks(m, f, modifiers); IF Controllers.doubleClick IN msg.modifiers THEN CASE m.kind OF | invalid: Dialog.MapString("#Text:OpenRulerDialog", cmd); Dialog.Call(cmd, "", res) | gridVal, leadVal: Dialog.MapString("#Text:OpenSizeDialog", cmd); Dialog.Call(cmd, "", res) ELSE END END END Track; PROCEDURE Edit (r: StdRuler; f: Views.Frame; VAR msg: Controllers.EditMsg); VAR v: Views.View; BEGIN CASE msg.op OF Controllers.copy: msg.view := Views.CopyOf(r, Views.deep); msg.isSingle := TRUE | Controllers.paste: v := msg.view; WITH v: Ruler DO r.style.SetAttr(v.style.attr) ELSE END ELSE END END Edit; PROCEDURE PollOps (r: StdRuler; f: Views.Frame; VAR msg: Controllers.PollOpsMsg); BEGIN msg.type := "TextRulers.Ruler"; msg.pasteType := "TextRulers.Ruler"; msg.selectable := FALSE; msg.valid := {Controllers.copy, Controllers.paste} END PollOps; PROCEDURE SetProp (r: StdRuler; VAR msg: Properties.SetMsg; VAR requestFocus: BOOLEAN); VAR a1: Attributes; px, py, g: INTEGER; sel: INTEGER; p: Properties.Property; sp: Properties.StdProp; rp: Prop; BEGIN p := msg.prop; sel := r.sel; px := r.px; py := r.py; IF sel # invalid THEN WHILE (p # NIL) & ~(p IS Properties.StdProp) DO p := p.next END; IF p # NIL THEN sp := p(Properties.StdProp); IF (r.sel = leadVal) & (Properties.size IN sp.valid) THEN NEW(rp); rp.valid := {lead}; rp.lead := sp.size ELSIF (r.sel = gridVal) & (Properties.size IN sp.valid) THEN g := sp.size; DEC(g, g MOD point); NEW(rp); rp.valid := {asc, grid}; IF g = 0 THEN rp.asc := 0; rp.grid := 1 ELSE rp.asc := g - r.style.attr.dsc; rp.grid := g END ELSE rp := NIL END END; p := rp END; a1 := ModifiedAttr(r.style.attr, p); IF ~a1.Equals(r.style.attr) THEN r.style.SetAttr(a1); IF requestFocus & (r.sel = invalid) THEN (* restore mark selection *) r.sel := sel; r.px := px; r.py := py END ELSE requestFocus := FALSE END END SetProp; PROCEDURE PollProp (r: StdRuler; VAR msg: Properties.PollMsg); VAR p: Properties.StdProp; BEGIN CASE r.sel OF invalid: msg.prop := r.style.attr.Prop() | leadVal: NEW(p); p.known := {Properties.size}; p.valid := p.known; p.size := r.style.attr.lead; msg.prop := p | gridVal: NEW(p); p.known := {Properties.size}; p.valid := p.known; p.size := r.style.attr.grid; msg.prop := p ELSE HALT(100) END END PollProp; (* StdStyle *) PROCEDURE (r: StdStyle) Internalize (VAR rd: Stores.Reader); VAR thisVersion: INTEGER; BEGIN r.Internalize^(rd); IF rd.cancelled THEN RETURN END; rd.ReadVersion(minVersion, maxStdStyleVersion, thisVersion) END Internalize; PROCEDURE (r: StdStyle) Externalize (VAR wr: Stores.Writer); BEGIN r.Externalize^(wr); wr.WriteVersion(maxStdStyleVersion) END Externalize; (* PROCEDURE (r: StdStyle) CopyFrom (source: Stores.Store); BEGIN r.SetAttr(source(StdStyle).attr) END CopyFrom; *) (* StdRuler *) PROCEDURE (r: StdRuler) Internalize (VAR rd: Stores.Reader); VAR thisVersion: INTEGER; BEGIN r.Internalize^(rd); IF rd.cancelled THEN RETURN END; rd.ReadVersion(minVersion, maxStdRulerVersion, thisVersion); IF rd.cancelled THEN RETURN END; r.sel := invalid END Internalize; PROCEDURE (r: StdRuler) Externalize (VAR wr: Stores.Writer); BEGIN r.Externalize^(wr); wr.WriteVersion(maxStdRulerVersion) END Externalize; PROCEDURE (r: StdRuler) ThisModel (): Models.Model; BEGIN RETURN r.style END ThisModel; PROCEDURE (r: StdRuler) CopyFromModelView (source: Views.View; model: Models.Model); BEGIN r.sel := invalid; r.InitStyle(model(Style)) END CopyFromModelView; PROCEDURE (ruler: StdRuler) Restore (f: Views.Frame; l, t, r, b: INTEGER); VAR a: Attributes; m: Mark; u, scale, tabBar, px, w, h: INTEGER; i: INTEGER; BEGIN u := f.dot; a := ruler.style.attr; ruler.context.GetSize(w, h); tabBar := h - tabBarHeight; scale := tabBar - scaleHeight; w := MIN(f.r + 10 * mm, 10000 * mm); (* high-level clipping *) f.DrawLine(0, scale - u, w - u, scale - u, u, Ports.grey25); f.DrawLine(0, tabBar - u, w - u, tabBar - u, u, Ports.grey50); DrawScale(f, 0, scale, w, tabBar, l, r); DrawNiceRect(f, 0, h - rulerHeight, w, h); SetMark(m, ruler, a.first, h, first, -1); InvertMark(m, f, Ports.show); SetMark(m, ruler, a.left, h, left, -1); InvertMark(m, f, Ports.show); IF rightFixed IN a.opts THEN SetMark(m, ruler, a.right, h, right, -1); InvertMark(m, f, Ports.show) END; i := 0; WHILE i < a.tabs.len DO SetMark(m, ruler, a.tabs.tab[i].stop, h, tabs, i); InvertMark(m, f, Ports.show); INC(i) END; px := iconGap; i := firstIcon; WHILE i <= lastIcon DO IF i IN validIcons THEN SetMark(m, ruler, px, h - iconPin, i, -1); DrawMark(m, f) END; INC(px, iconWidth + iconGap); INC(i) END; HiliteThisMark(ruler, f, Mode(ruler), Ports.show) END Restore; PROCEDURE (ruler: StdRuler) RestoreMarks (f: Views.Frame; l, t, r, b: INTEGER); BEGIN HiliteThisMark(ruler, f, ruler.sel, Ports.show) END RestoreMarks; PROCEDURE (r: StdRuler) GetBackground (VAR color: Ports.Color); BEGIN color := Ports.background END GetBackground; PROCEDURE (r: StdRuler) Neutralize; VAR msg: NeutralizeMsg; BEGIN Views.Broadcast(r, msg) END Neutralize; PROCEDURE (r: StdRuler) HandleModelMsg (VAR msg: Models.Message); BEGIN WITH msg: UpdateMsg DO Views.Update(r, Views.keepFrames) ELSE END END HandleModelMsg; PROCEDURE (r: StdRuler) HandleViewMsg (f: Views.Frame; VAR msg: Views.Message); BEGIN WITH msg: NeutralizeMsg DO DeselectMark(r, f) ELSE END END HandleViewMsg; PROCEDURE (r: StdRuler) HandleCtrlMsg (f: Views.Frame; VAR msg: Controllers.Message; VAR focus: Views.View ); VAR requestFocus: BOOLEAN; BEGIN WITH msg: Controllers.TrackMsg DO Track(r, f, msg) | msg: Controllers.EditMsg DO Edit(r, f, msg) | msg: Controllers.MarkMsg DO r.RestoreMarks(f, f.l, f.t, f.r, f.b) | msg: Controllers.SelectMsg DO IF ~msg.set THEN DeselectMark(r, f) END | msg: Controllers.PollOpsMsg DO PollOps(r, f, msg) | msg: Properties.CollectMsg DO PollProp(r, msg.poll) | msg: Properties.EmitMsg DO requestFocus := f.front; SetProp(r, msg.set, requestFocus); msg.requestFocus := requestFocus ELSE END END HandleCtrlMsg; PROCEDURE (r: StdRuler) HandlePropMsg (VAR msg: Properties.Message); VAR m: Mark; requestFocus: BOOLEAN; w, h: INTEGER; BEGIN WITH msg: Properties.SizePref DO msg.w := 10000 * Ports.mm; msg.h := rulerHeight | msg: Properties.ResizePref DO msg.fixed := TRUE | msg: Properties.FocusPref DO IF msg.atLocation THEN r.context.GetSize(w, h); GetMark(m, r, NIL, msg.x, msg.y, FALSE); msg.hotFocus := (m.kind # invalid) & ~(m.kind IN fieldIcons) OR (msg.y >= h - tabBarHeight); msg.setFocus := ~msg.hotFocus END | msg: TextModels.Pref DO msg.opts := {TextModels.maskChar, TextModels.hideable}; msg.mask := TextModels.para | msg: Properties.SetMsg DO requestFocus := FALSE; SetProp(r, msg, requestFocus) | msg: Properties.PollMsg DO PollProp(r, msg) ELSE END END HandlePropMsg; (* StdDirectory *) PROCEDURE (d: StdDirectory) NewStyle (attr: Attributes): Style; VAR s: StdStyle; BEGIN IF attr = NIL THEN attr := d.attr END; NEW(s); s.SetAttr(attr); RETURN s END NewStyle; PROCEDURE (d: StdDirectory) New (style: Style): Ruler; VAR r: StdRuler; BEGIN IF style = NIL THEN style := d.NewStyle(NIL) END; NEW(r); r.InitStyle(style); r.sel := invalid; RETURN r END New; (** miscellaneous **) PROCEDURE GetValidRuler* (text: TextModels.Model; pos, hint: INTEGER; VAR ruler: Ruler; VAR rpos: INTEGER ); (** pre: (hint < 0 OR (ruler, rpos) is first ruler before hint & 0 <= pos <= t.Length() **) (** post: hint < rpos <= pos & rpos = Pos(ruler) & (no ruler in (rpos, pos]) OR ((ruler, rpos) unmodified) **) VAR view: Views.View; BEGIN IF pos < text.Length() THEN INC(pos) END; (* let a ruler dominate its own position *) IF pos < hint THEN hint := -1 END; globRd := text.NewReader(globRd); globRd.SetPos(pos); REPEAT globRd.ReadPrevView(view) UNTIL globRd.eot OR (view IS Ruler) OR (globRd.Pos() < hint); IF (view # NIL) & (view IS Ruler) THEN ruler := view(Ruler); rpos := globRd.Pos() END END GetValidRuler; PROCEDURE SetDir* (d: Directory); (** pre: d # NIL, d.attr # NIL **) (** post: dir = d **) BEGIN ASSERT(d # NIL, 20); ASSERT(d.attr # NIL, 21); dir := d END SetDir; PROCEDURE Init; VAR d: StdDirectory; fnt: Fonts.Font; asc, dsc, w: INTEGER; BEGIN IF Dialog.metricSystem THEN marginGrid := 1*mm; minTabWidth := 1*mm; tabGrid := 1*mm ELSE marginGrid := inch16; minTabWidth := inch16; tabGrid := inch16 END; fnt := Fonts.dir.Default(); font := Fonts.dir.This(fnt.typeface, 7*point, {}, Fonts.normal); (* font for ruler scales *) NEW(prop); prop.valid := {first .. tabs}; prop.first := 0; prop.left := 0; IF Dialog.metricSystem THEN prop.right := 165*mm ELSE prop.right := 104*inch16 END; fnt.GetBounds(asc, dsc, w); prop.lead := 0; prop.asc := asc; prop.dsc := dsc; prop.grid := 1; prop.opts.val := {leftAdjust}; prop.opts.mask := options; prop.tabs.len := 0; NEW(def); def.InitFromProp(prop); NEW(d); d.attr := def; dir := d; stdDir := d END Init; PROCEDURE Cleaner; BEGIN globRd := NIL END Cleaner; BEGIN Init; Kernel.InstallCleaner(Cleaner) CLOSE Kernel.RemoveCleaner(Cleaner) END TextRulers.
Text/Mod/Rulers.odc
MODULE TextSetters; (* SP410 *) (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - 20111211, Fyodor Tkachov, switched from National to i21sysCharacters - 20080215, Fyodor Tkachov, reviewed - 20050626, Fyodor Tkachov, russification edited - 20050430, Ivan Goryachev, russification - YYYYMMDD, nn, ... " issues = " - ... " **) (* correct NextPage postcond in docu *) (* make s.r, s.rd reducible? *) (* paraShutoff needs to be controlled by an approx flag to certain ops (later ...?) *) IMPORT Fonts, Ports, Printers, Stores, Models, Views, Properties, TextModels, TextRulers, i21sysCharacters; CONST (** Pref.opts, options of setter-aware views; 0 overrides 1 **) lineBreak* = 0; wordJoin* = 1; wordPart* = 2; flexWidth* = 3; tab = TextModels.tab; line = TextModels.line; para = TextModels.para; zwspace = TextModels.zwspace; nbspace = TextModels.nbspace; hyphen = TextModels.hyphen; nbhyphen = TextModels.nbhyphen; digitspace = TextModels.digitspace; softhyphen = TextModels.softhyphen; mm = Ports.mm; minTabWidth = 2 * Ports.point; stdTabWidth = 4 * mm; leftLineGap = 2 * Ports.point; rightLineGap = 3 * Ports.point; adjustMask = {TextRulers.leftAdjust, TextRulers.rightAdjust}; centered = {}; leftFlush = {TextRulers.leftAdjust}; rightFlush = {TextRulers.rightAdjust}; blocked = adjustMask; boxCacheLen = 64; seqCacheLen = 16; paraShutoff = MAX(INTEGER); (* longest stretch read backwards to find start of paragraph *) (* unsafe: disabled *) cachedRulers = FALSE; (* caching ruler objects trades speed against GC effectiveness *) periodInWords = FALSE; colonInWords = FALSE; minVersion = 0; maxVersion = 0; maxStdVersion = 0; TYPE Pref* = RECORD (Properties.Preference) opts*: SET; endW*: INTEGER; (** preset (to width of view) **) dsc*: INTEGER (** preset (to dominating line descender) **) END; Reader* = POINTER TO ABSTRACT RECORD r-: TextModels.Reader; (** look-ahead state **) (** unit **) sString*: ARRAY 64 OF SHORTCHAR; (** single chars in sString[0] **) string*: ARRAY 64 OF CHAR; (** single lchars in string[0] **) view*: Views.View; (** unit props **) textOpts*: SET; mask*: CHAR; setterOpts*: SET; w*, endW*, h*, dsc*: INTEGER; attr*: TextModels.Attributes; (** reading state **) eot*: BOOLEAN; pos*: INTEGER; x*: INTEGER; (** to be advanced by client! **) adjStart*: INTEGER; spaces*: INTEGER; tabIndex*: INTEGER; (** tabs being processed; initially -1 **) tabType*: SET; (** type of tab being processed; initially {} **) (** line props **) vw*: INTEGER; hideMarks*: BOOLEAN; ruler*: TextRulers.Ruler; rpos*: INTEGER END; Setter* = POINTER TO ABSTRACT RECORD (Stores.Store) text-: TextModels.Model; (** connected iff text # NIL **) defRuler-: TextRulers.Ruler; vw-: INTEGER; hideMarks-: BOOLEAN END; LineBox* = RECORD len*: INTEGER; ruler*: TextRulers.Ruler; rpos*: INTEGER; left*, right*, asc*, dsc*: INTEGER; rbox*, bop*, adj*, eot*: BOOLEAN; (** adj => adjW > 0; adj & blocked => spaces > 0 **) views*: BOOLEAN; skipOff*: INTEGER; (** chars in [skipOff, len) take endW **) adjOff*: INTEGER; (** offset of last block in box - adjust only this block **) spaces*: INTEGER; (** valid, > 0 if adj & blocked **) adjW*: INTEGER; (** valid if adj - to be distributed over spaces **) tabW*: ARRAY TextRulers.maxTabs OF INTEGER (** delta width of tabs (<= 0) **) END; Directory* = POINTER TO ABSTRACT RECORD END; Worder = RECORD box: LineBox; next: INTEGER; i: INTEGER END; StdReader = POINTER TO RECORD (Reader) END; StdSetter = POINTER TO RECORD (Setter) rd: Reader; (* subject to reduction? *) r: TextModels.Reader; (* subject to reduction? *) ruler: TextRulers.Ruler; rpos: INTEGER; key: INTEGER END; StdDirectory = POINTER TO RECORD (Directory) END; VAR dir-, stdDir-: Directory; nextKey: INTEGER; boxIndex, seqIndex: INTEGER; boxCache: ARRAY boxCacheLen OF RECORD key: INTEGER; (* valid iff key > 0 *) start: INTEGER; line: LineBox (* inv ruler = NIL *) END; seqCache: ARRAY seqCacheLen OF RECORD key: INTEGER; (* valid iff key > 0 *) start, pos: INTEGER (* sequence [start, end), end >= pos *) END; (** Reader **) PROCEDURE (rd: Reader) Set* ( old: TextModels.Reader; text: TextModels.Model; x, pos: INTEGER; ruler: TextRulers.Ruler; rpos: INTEGER; vw: INTEGER; hideMarks: BOOLEAN ), NEW, EXTENSIBLE; BEGIN ASSERT(text # NIL, 20); ASSERT(ruler # NIL, 22); rd.r := text.NewReader(old); rd.r.SetPos(pos); rd.r.Read; rd.sString[0] := 0X; rd.string[0] := 0X; rd.view := NIL; rd.textOpts := {}; rd.setterOpts := {}; rd.w := 0; rd.endW := 0; rd.h := 0; rd.dsc := 0; rd.attr := NIL; rd.eot := FALSE; rd.pos := pos; rd.x := x; rd.tabIndex := -1; rd.tabType := {}; rd.adjStart := pos; rd.spaces := 0; rd.ruler := ruler; rd.rpos := rpos; rd.vw := vw; rd.hideMarks := hideMarks END Set; PROCEDURE (rd: Reader) Read*, NEW, EXTENSIBLE; (** pre: rd set **) (** post: rd.pos = rd.pos' + Length(rd.sString) + Length(rd.string) **) BEGIN IF rd.r.char < 100X THEN rd.sString[0] := SHORT(rd.r.char); rd.sString[1] := 0X; rd.string[0] := 0X ELSE rd.sString[0] := 0X; rd.string[0] := rd.r.char; rd.string[1] := 0X END; rd.view := rd.r.view; rd.textOpts := {}; rd.setterOpts := {}; rd.w := rd.r.w; rd.endW := rd.w; rd.h := rd.r.h; rd.dsc := 0; rd.attr := rd.r.attr; rd.eot := rd.r.eot; INC(rd.pos); rd.r.Read END Read; PROCEDURE (rd: Reader) AdjustWidth* (start, pos: INTEGER; IN box: LineBox; VAR w: INTEGER ), NEW, ABSTRACT; PROCEDURE (rd: Reader) SplitWidth* (w: INTEGER): INTEGER, NEW, ABSTRACT; (** Setter **) PROCEDURE (s: Setter) CopyFrom- (source: Stores.Store), EXTENSIBLE; BEGIN WITH source: Setter DO s.text := source.text; s.defRuler := source.defRuler; s.vw := source.vw; s.hideMarks := source.hideMarks END END CopyFrom; PROCEDURE (s: Setter) Internalize- (VAR rd: Stores.Reader), EXTENSIBLE; VAR thisVersion: INTEGER; BEGIN s.Internalize^(rd); IF rd.cancelled THEN RETURN END; rd.ReadVersion(minVersion, maxVersion, thisVersion) END Internalize; PROCEDURE (s: Setter) Externalize- (VAR wr: Stores.Writer), EXTENSIBLE; BEGIN s.Externalize^(wr); wr.WriteVersion(maxVersion) END Externalize; PROCEDURE (s: Setter) ConnectTo* (text: TextModels.Model; defRuler: TextRulers.Ruler; vw: INTEGER; hideMarks: BOOLEAN ), NEW, EXTENSIBLE; BEGIN IF text # NIL THEN s.text := text; s.defRuler := defRuler; s.vw := vw; s.hideMarks := hideMarks ELSE s.text := NIL; s.defRuler := NIL END END ConnectTo; PROCEDURE (s: Setter) ThisPage* (pageH: INTEGER; pageNo: INTEGER): INTEGER, NEW, ABSTRACT; (** pre: connected, 0 <= pageNo **) (** post: (result = -1) & (pageNo >= maxPageNo) OR (result = pageStart(pageNo)) **) PROCEDURE (s: Setter) NextPage* (pageH: INTEGER; start: INTEGER): INTEGER, NEW, ABSTRACT; (** pre: connected, ThisPage(pageH, pageNo) = start [with pageNo = NumberOfPageAt(start)] **) (** post: (result = start) & last-page(start) OR result = next-pageStart(start) **) PROCEDURE (s: Setter) ThisSequence* (pos: INTEGER): INTEGER, NEW, ABSTRACT; (** pre: connected, 0 <= pos <= s.text.Length() **) (** post: (result = 0) OR (char(result - 1) IN {line, para}) **) PROCEDURE (s: Setter) NextSequence* (start: INTEGER): INTEGER, NEW, ABSTRACT; (** pre: connected, ThisSequence(start) = start **) (** post: (result = start) & last-line(start) OR (ThisSequence(t, result - 1) = start) **) PROCEDURE (s: Setter) PreviousSequence* (start: INTEGER): INTEGER, NEW, ABSTRACT; (** pre: connected, ThisSequence(t, start) = start **) (** post: (result = 0) & (start = 0) OR (result = ThisSequence(t, start - 1)) **) PROCEDURE (s: Setter) ThisLine* (pos: INTEGER): INTEGER, NEW, ABSTRACT; (** pre: connected, 0 <= pos <= s.text.Length() **) (** post: result <= pos, (pos < NextLine(result)) OR last-line(result) **) PROCEDURE (s: Setter) NextLine* (start: INTEGER): INTEGER, NEW, ABSTRACT; (** pre: connected, ThisLine(start) = start **) (** post: (result = 0) & (start = 0) OR (result = start) & last-line(start) OR (ThisLine(result - 1) = start) **) PROCEDURE (s: Setter) PreviousLine* (start: INTEGER): INTEGER, NEW, ABSTRACT; (** pre: connected, ThisLine(start) = start **) (** post: (result = 0) & (start = 0) OR (result = ThisLine(start - 1)) **) PROCEDURE (s: Setter) GetWord* (pos: INTEGER; OUT beg, end: INTEGER), NEW, ABSTRACT; (** pre: connected, 0 <= pos <= s.text.Length() **) (** post: c set, beg <= pos <= end **) PROCEDURE (s: Setter) GetLine* (start: INTEGER; OUT box: LineBox), NEW, ABSTRACT; (** pre: connected, ThisLine(start) = start, 0 <= start <= s.text.Length() **) (** post: (c, box) set (=> box.ruler # NIL), (box.len > 0) OR box.eot, 0 <= box.left <= box.right <= ruler.right **) PROCEDURE (s: Setter) GetBox* (start, end, maxW, maxH: INTEGER; OUT w, h: INTEGER ), NEW, ABSTRACT; (** pre: connected, ThisLine(start) = start, 0 <= start <= end <= s.text.Length() **) (** post: c set, maxW > undefined => w <= maxW, maxH > undefined => h <= maxH **) PROCEDURE (s: Setter) NewReader* (old: Reader): Reader, NEW, ABSTRACT; (** pre: connected **) PROCEDURE (s: Setter) GridOffset* (dsc: INTEGER; IN box: LineBox): INTEGER, NEW, ABSTRACT; (** pre: connected, dsc >= 0: dsc is descender of previous line; dsc = -1 for first line **) (** post: dsc + GridOffset(dsc, box) + box.asc = k*ruler.grid (k >= 0) >= ruler.asc + ruler.grid **) (** Directory **) PROCEDURE (d: Directory) New* (): Setter, NEW, ABSTRACT; (* line box cache *) PROCEDURE InitCache; VAR i: INTEGER; BEGIN nextKey := 1; boxIndex := 0; seqIndex := 0; i := 0; WHILE i < boxCacheLen DO boxCache[i].key := -1; INC(i) END; i := 0; WHILE i < seqCacheLen DO seqCache[i].key := -1; INC(i) END END InitCache; PROCEDURE ClearCache (key: INTEGER); VAR i, j: INTEGER; BEGIN i := 0; j := boxIndex; WHILE i < boxCacheLen DO IF boxCache[i].key = key THEN boxCache[i].key := -1; j := i END; INC(i) END; boxIndex := j; i := 0; j := seqIndex; WHILE i < seqCacheLen DO IF seqCache[i].key = key THEN seqCache[i].key := -1; j := i END; INC(i) END; seqIndex := j END ClearCache; PROCEDURE CacheIndex (key, start: INTEGER): INTEGER; VAR i: INTEGER; BEGIN RETURN -1; i := 0; WHILE (i < boxCacheLen) & ~((boxCache[i].key = key) & (boxCache[i].start = start)) DO INC(i) END; IF i = boxCacheLen THEN i := -1 END; RETURN i END CacheIndex; PROCEDURE GetFromCache (s: StdSetter; i: INTEGER; VAR l: LineBox); BEGIN l := boxCache[i].line; IF ~cachedRulers THEN IF l.rpos >= 0 THEN s.r := s.text.NewReader(s.r); s.r.SetPos(l.rpos); s.r.Read; l.ruler := s.r.view(TextRulers.Ruler) ELSE l.ruler := s.defRuler END END END GetFromCache; PROCEDURE AddToCache (key, start: INTEGER; VAR l: LineBox); VAR i: INTEGER; BEGIN i := boxIndex; boxIndex := (i + 1) MOD boxCacheLen; boxCache[i].key := key; boxCache[i].start := start; boxCache[i].line := l; IF ~cachedRulers THEN boxCache[i].line.ruler := NIL END END AddToCache; PROCEDURE CachedSeqStart (key, pos: INTEGER): INTEGER; VAR start: INTEGER; i: INTEGER; BEGIN i := 0; WHILE (i < seqCacheLen) & ~((seqCache[i].key = key) & (seqCache[i].start <= pos) & (pos <= seqCache[i].pos)) DO INC(i) END; IF i < seqCacheLen THEN start := seqCache[i].start ELSE start := -1 END; RETURN start END CachedSeqStart; PROCEDURE AddSeqStartToCache (key, pos, start: INTEGER); VAR i: INTEGER; BEGIN i := 0; WHILE (i < seqCacheLen) & ~((seqCache[i].key = key) & (seqCache[i].start = start)) DO INC(i) END; IF i < seqCacheLen THEN IF seqCache[i].pos < pos THEN seqCache[i].pos := pos END ELSE i := seqIndex; seqIndex := (i + 1) MOD seqCacheLen; seqCache[i].key := key; seqCache[i].pos := pos; seqCache[i].start := start END END AddSeqStartToCache; (* StdReader *) PROCEDURE WordPart (ch, ch1: CHAR): BOOLEAN; (* needs more work ... put elsewhere? *) BEGIN CASE ORD(ch) OF ORD(digitspace), ORD(nbspace), ORD(nbhyphen): (* , ORD("_"), ORD("0") .. ORD("9"), ORD("A") .. ORD("Z"), ORD("a") .. ORD("z"), 0C0H .. 0C6H, 0E0H .. 0E6H, (* ~ A *) 0C7H, 0E7H, (* ~ C *) 0C8H .. 0CBH, 0E8H .. 0EBH, (* ~ E *) 0CCH .. 0CFH, 0ECH .. 0EFH, (* ~ I *) 0D1H, 0F1H, (* ~ N *) 0D2H .. 0D6H, 0D8H, 0F2H .. 0F6H, 0F8H, (* ~ O *) 0D9H .. 0DCH, 0F9H .. 0FCH, (* ~ U *) 0DDH, 0FDH, 0FFH, (* ~ Y *) 0DFH: (* ~ ss *) *) RETURN TRUE | ORD("."), ORD(":"): IF (ch = ".") & periodInWords OR (ch = ":") & colonInWords THEN CASE ch1 OF 0X, TextModels.viewcode, tab, line, para, " ": RETURN FALSE ELSE RETURN TRUE END ELSE RETURN FALSE END (* ELSE RETURN FALSE *) ELSE RETURN i21sysCharacters.IsIdentChar(ch) END END WordPart; (* PROCEDURE ExtendToEOL (x, right: INTEGER): INTEGER; BEGIN IF right - x > 5 * mm THEN RETURN right - x ELSE RETURN 5 * mm END END ExtendToEOL; *) PROCEDURE Right (ra: TextRulers.Attributes; vw: INTEGER): INTEGER; BEGIN IF TextRulers.rightFixed IN ra.opts THEN RETURN ra.right ELSE RETURN vw END END Right; PROCEDURE GetViewPref (rd: StdReader); CONST maxH = 1600 * Ports.point; VAR ra: TextRulers.Attributes; tp: TextModels.Pref; sp: Pref; BEGIN ra := rd.ruler.style.attr; tp.opts := {}; Views.HandlePropMsg(rd.view, tp); rd.textOpts := tp.opts; rd.mask := tp.mask; sp.opts := {}; sp.dsc := ra.dsc; sp.endW := rd.w; Views.HandlePropMsg(rd.view, sp); rd.setterOpts := sp.opts; rd.dsc := sp.dsc; rd.endW := sp.endW; IF rd.w >= 10000 * mm THEN rd.w := 10000 * mm END; IF (TextModels.hideable IN tp.opts) & rd.hideMarks THEN rd.h := 0; sp.dsc := 0; (* rd.w := 0; *) IF ~( (rd.view IS TextRulers.Ruler) OR (TextModels.maskChar IN rd.textOpts) & (rd.mask = para) ) THEN rd.w := 0 END (**) ELSIF rd.h > maxH THEN rd.h := maxH END; IF TextModels.maskChar IN rd.textOpts THEN IF rd.mask < 100X THEN rd.sString[0] := SHORT(rd.mask) ELSE rd.sString[0] := 0X; rd.string[0] := rd.mask; rd.string[1] := 0X END ELSE rd.sString[0] := TextModels.viewcode END END GetViewPref; PROCEDURE GatherString (rd: StdReader); VAR i, len: INTEGER; ch: CHAR; BEGIN i := 1; len := LEN(rd.sString) - 1; ch := rd.r.char; WHILE (i < len) & (rd.r.view = NIL) & (rd.r.attr = rd.attr) & ( (" " < ch) & (ch <= "~") & (ch # "-") OR (ch = digitspace) OR (ch >= nbspace) & (ch < 100X) & (ch # softhyphen) ) DO (* rd.r.char > " " => ~rd.eot *) rd.sString[i] := SHORT(ch); INC(i); rd.eot := rd.r.eot; rd.r.Read; ch := rd.r.char; INC(rd.pos) END; rd.sString[i] := 0X; rd.setterOpts := {wordJoin}; IF i = 1 THEN IF WordPart(rd.sString[0], 0X) THEN INCL(rd.setterOpts, wordPart) END END; rd.w := rd.attr.font.SStringWidth(rd.sString); rd.endW := rd.w END GatherString; PROCEDURE SpecialChar (rd: StdReader); VAR ra: TextRulers.Attributes; i, tabs, spaceW, dW: INTEGER; type: SET; BEGIN ra := rd.ruler.style.attr; CASE ORD(rd.sString[0]) OF ORD(tab): rd.textOpts := {TextModels.hideable}; rd.endW := minTabWidth; rd.adjStart := rd.pos; rd.spaces := 0; (* i := 0; WHILE (i < ra.tabs.len) & (ra.tabs.tab[i].stop < rd.x + minTabWidth) DO INC(i) END; *) i := rd.tabIndex + 1; IF i < ra.tabs.len THEN type := ra.tabs.tab[i].type; rd.w := MAX(minTabWidth, ra.tabs.tab[i].stop - rd.x); IF TextRulers.barTab IN type THEN IF TextRulers.rightTab IN type THEN rd.w := MAX(minTabWidth, rd.w - leftLineGap) ELSIF ~(TextRulers.centerTab IN type) THEN INC(rd.w, rightLineGap) END END; rd.tabIndex := i; rd.tabType := type ELSE (* for "reasonable" fonts: round to closest multiple of spaces of this font *) spaceW := rd.attr.font.SStringWidth(" "); IF (1 <= spaceW) & (spaceW <= stdTabWidth) THEN rd.w := (stdTabWidth + spaceW DIV 2) DIV spaceW * spaceW ELSE rd.w := stdTabWidth END; rd.tabIndex := TextRulers.maxTabs; rd.tabType := {} END | ORD(line): rd.setterOpts := {lineBreak}; rd.w := 0; rd.endW := 0 | ORD(para): (* IF rd.hideMarks THEN rd.w := 0; rd.h := 0; rd.dsc := 0 ELSE rd.w := ExtendToEOL(rd.x, Right(ra, rd.vw)) + 1 END; INC(rd.h, ra.lead); rd.textOpts := {TextModels.hideable}; rd.endW := rd.w *) (* rd.setterOpts := {lineBreak}; *) IF rd.hideMarks THEN rd.h := 0; rd.dsc := 0 END; INC(rd.h, ra.lead); rd.textOpts := {TextModels.hideable}; IF (rd.view = NIL) OR ~(rd.view IS TextRulers.Ruler) THEN rd.w := 10000 * Ports.mm (* ExtendToEOL(rd.x, Right(ra, rd.vw)) + 1 *) END; rd.endW := rd.w (**) | ORD(" "): rd.setterOpts := {flexWidth}; rd.w := rd.attr.font.SStringWidth(rd.sString); rd.endW := 0; INC(rd.spaces) | ORD(zwspace): rd.w := 0; rd.endW := 0 | ORD(digitspace): rd.setterOpts := {wordPart}; rd.w := rd.attr.font.StringWidth("0"); rd.endW := rd.w | ORD("-"): rd.setterOpts := {}; rd.w := rd.attr.font.StringWidth("-"); rd.endW := rd.w | ORD(hyphen): rd.setterOpts := {}; rd.sString[0] := "-" (*softhyphen*); rd.w := rd.attr.font.StringWidth("-" (*softhyphen*)); rd.endW := rd.w | ORD(nbhyphen): rd.setterOpts := {wordJoin, wordPart}; rd.sString[0] := "-" (*softhyphen*); rd.w := rd.attr.font.StringWidth("-" (*softhyphen*)); rd.endW := rd.w | ORD(softhyphen): rd.setterOpts := {wordPart}; rd.textOpts := {TextModels.hideable}; rd.sString[0] := "-"; rd.endW := rd.attr.font.StringWidth("-" (*softhyphen*)); IF rd.hideMarks THEN rd.w := 0 ELSE rd.w := rd.endW END ELSE rd.setterOpts := {wordJoin}; IF WordPart(rd.sString[0], rd.r.char) THEN INCL(rd.setterOpts, wordPart) END; rd.w := rd.attr.font.SStringWidth(rd.sString); rd.endW := rd.w END END SpecialChar; PROCEDURE LongChar (rd: StdReader); VAR ra: TextRulers.Attributes; BEGIN ra := rd.ruler.style.attr; rd.setterOpts := {wordJoin, wordPart}; rd.w := rd.attr.font.StringWidth(rd.string); rd.endW := rd.w END LongChar; PROCEDURE (rd: StdReader) Read; (* pre: connected *) VAR ra: TextRulers.Attributes; asc, dsc, w: INTEGER; ch: CHAR; BEGIN rd.Read^; IF ~rd.eot THEN IF rd.view = NIL THEN rd.attr.font.GetBounds(asc, dsc, w); rd.h := asc + dsc; rd.dsc := dsc ELSE GetViewPref(rd) END; IF (rd.view = NIL) OR (TextModels.maskChar IN rd.textOpts) THEN IF rd.string[0] # 0X THEN LongChar(rd) ELSE ch := rd.sString[0]; IF (rd.view = NIL) & ( (" " < ch) & (ch < "~") & (ch # "-") OR (ch = digitspace) OR (ch >= nbspace) & (ch # softhyphen) ) THEN GatherString(rd) ELSE SpecialChar(rd) END END END ELSE ra := rd.ruler.style.attr; rd.w := 0; rd.endW := 0; rd.h := ra.asc + ra.dsc; rd.dsc := ra.dsc END END Read; PROCEDURE (rd: StdReader) AdjustWidth (start, pos: INTEGER; IN box: LineBox; VAR w: INTEGER); VAR i: INTEGER; form: SET; BEGIN IF box.adj & (pos >= start + box.adjOff) THEN form := box.ruler.style.attr.opts * adjustMask; IF (form = blocked) & (rd.sString[0] = " ") THEN INC(w, box.adjW DIV box.spaces) ELSIF (form # blocked) & (rd.sString[0] = tab) THEN INC(w, box.adjW) (* is this correct ??? *) END END; i := rd.tabIndex; (* rd.sString[0] = tab => i >= 0 *) IF (rd.sString[0] = tab) & (i < box.ruler.style.attr.tabs.len) THEN w := box.tabW[i] END END AdjustWidth; PROCEDURE (rd: StdReader) SplitWidth (w: INTEGER): INTEGER; BEGIN IF (rd.sString[1] = 0X) & (rd.view = NIL) THEN RETURN (w + 1) DIV 2 ELSE RETURN w END END SplitWidth; (* Worder *) PROCEDURE SetWorder (VAR w: Worder; s: StdSetter; pos: INTEGER; OUT start: INTEGER); CONST wordCutoff = LEN(s.rd.sString); BEGIN start := s.ThisSequence(pos); IF pos - start >= wordCutoff THEN start := pos; WHILE pos - start < wordCutoff DO start := s.PreviousLine(start) END END; s.GetLine(start, w.box); w.next := start + w.box.len; s.rd.Set(s.r, s.text, w.box.left, start, w.box.ruler, w.box.rpos, s.vw, s.hideMarks); w.i := 0; s.rd.sString[0] := 0X END SetWorder; PROCEDURE StepWorder (VAR w: Worder; s: StdSetter; VAR part: BOOLEAN); VAR rd: Reader; BEGIN rd := s.rd; IF rd.sString[w.i] = 0X THEN IF rd.pos < w.next THEN rd.Read; w.i := 0 ELSE IF ~w.box.eot THEN s.GetLine(w.next, w.box); s.rd.Set(s.r, s.text, w.box.left, w.next, w.box.ruler, w.box.rpos, s.vw, s.hideMarks); rd.Read; w.i := 0; INC(w.next, w.box.len) ELSE rd.sString[0] := 0X END END END; IF rd.sString[0] = 0X THEN (* end of text *) part := TRUE ELSIF rd.sString[1] = 0X THEN (* special character *) part := wordPart IN rd.setterOpts; INC(w.i) ELSE (* gathered sString *) part := WordPart(rd.sString[w.i], rd.sString[w.i + 1]); INC(w.i) END END StepWorder; (* StdSetter *) PROCEDURE (s: StdSetter) CopyFrom (source: Stores.Store); BEGIN s.CopyFrom^(source); WITH source: StdSetter DO s.ruler := source.ruler; s.rpos := source.rpos; s.key := source.key; s.rd := NIL; s.r := NIL END END CopyFrom; PROCEDURE (s: StdSetter) Externalize (VAR wr: Stores.Writer); BEGIN s.Externalize^(wr); wr.WriteVersion(maxStdVersion) END Externalize; PROCEDURE (s: StdSetter) Internalize (VAR rd: Stores.Reader); VAR thisVersion: INTEGER; BEGIN s.Internalize^(rd); IF rd.cancelled THEN RETURN END; rd.ReadVersion(minVersion, maxStdVersion, thisVersion); IF rd.cancelled THEN RETURN END; s.text := NIL; s.defRuler := NIL; s.ruler := NIL; s.rd := NIL; s.r := NIL END Internalize; PROCEDURE (s: StdSetter) ConnectTo (text: TextModels.Model; defRuler: TextRulers.Ruler; vw: INTEGER; hideMarks: BOOLEAN ); BEGIN s.ConnectTo^(text, defRuler, vw, hideMarks); ClearCache(s.key); IF text # NIL THEN s.ruler := defRuler; s.rpos := -1; s.key := nextKey; INC(nextKey) ELSE s.ruler := NIL END END ConnectTo; PROCEDURE (s: StdSetter) ThisPage (pageH: INTEGER; pageNo: INTEGER): INTEGER; (* pre: connected, 0 <= pageNo *) (* post: (result = -1) & (pageNo >= maxPageNo) OR (result = pageStart(pageNo)) *) VAR start, prev: INTEGER; BEGIN ASSERT(s.text # NIL, 20); ASSERT(pageNo >= 0, 21); start := 0; WHILE pageNo > 0 DO prev := start; DEC(pageNo); start := s.NextPage(pageH, start); IF start = prev THEN start := -1; pageNo := 0 END END; RETURN start END ThisPage; PROCEDURE (s: StdSetter) NextPage (pageH: INTEGER; start: INTEGER): INTEGER; (* pre: connected, ThisPage(pageH, x) = start *) (* post: (result = s.text.Length()) OR result = next-pageStart(start) *) CONST noBreakInside = TextRulers.noBreakInside; pageBreak = TextRulers.pageBreak; parJoin = TextRulers.parJoin; regular = 0; protectInside = 1; joinFirst = 2; joinNext = 3; confirmSpace = 4; (* state *) VAR box: LineBox; ra: TextRulers.Attributes; h, asc, dsc, backup, pos, state: INTEGER; isRuler: BOOLEAN; PROCEDURE FetchNextLine; BEGIN s.GetLine(pos, box); IF box.len > 0 THEN ra := box.ruler.style.attr; isRuler := box.rpos = pos; asc := box.asc + s.GridOffset(dsc, box); dsc := box.dsc; h := asc + dsc END END FetchNextLine; PROCEDURE HandleRuler; CONST norm = 0; nbi = 1; pj = 2; VAR strength: INTEGER; BEGIN IF isRuler & (pos > start) & ~(pageBreak IN ra.opts) THEN IF parJoin IN ra.opts THEN strength := pj ELSIF noBreakInside IN ra.opts THEN strength := nbi ELSE strength := norm END; CASE state OF | regular: CASE strength OF | norm: | nbi: state := protectInside; backup := pos | pj: state := joinFirst; backup := pos END | protectInside: CASE strength OF | norm: state := regular | nbi: backup := pos | pj: state := joinFirst; backup := pos END | joinFirst: CASE strength OF | norm: state := confirmSpace | nbi: state := protectInside | pj: state := joinNext END | joinNext: CASE strength OF | norm: state := confirmSpace | nbi: state := protectInside | pj: END | confirmSpace: CASE strength OF | norm: state := regular | nbi: state := protectInside; backup := pos | pj: state := joinFirst; backup := pos END END END END HandleRuler; PROCEDURE IsEmptyLine (): BOOLEAN; BEGIN RETURN (box.right = box.left) OR s.hideMarks & isRuler & ~(pageBreak IN ra.opts) END IsEmptyLine; BEGIN ASSERT(s.text # NIL, 20); ASSERT(0 <= start, 21); ASSERT(start <= s.text.Length(), 22); pos := start; dsc := -1; FetchNextLine; IF box.len > 0 THEN state := regular; REPEAT (* at least one line per page *) HandleRuler; DEC(pageH, h); INC(pos, box.len); IF (state = confirmSpace) & ~IsEmptyLine() THEN state := regular END; FetchNextLine UNTIL (box.len = 0) OR (pageH - h < 0) OR isRuler & (pageBreak IN ra.opts); IF ~isRuler OR ~(pageBreak IN ra.opts) THEN WHILE (box.len > 0) & IsEmptyLine() DO (* skip empty lines at top of page *) HandleRuler; INC(pos, box.len); FetchNextLine END END; HandleRuler; IF (state # regular) & ~(isRuler & (pageBreak IN ra.opts) OR (box.len = 0)) THEN pos := backup END END; RETURN pos END NextPage; PROCEDURE (s: StdSetter) NextSequence (start: INTEGER): INTEGER; (* pre: connected, ThisSequence(start) = start *) (* post: (result = start) & last-line(start) OR (ThisSequence(t, result - 1) = start) *) VAR rd: TextModels.Reader; ch: CHAR; BEGIN ASSERT(s.text # NIL, 20); s.r := s.text.NewReader(s.r); rd := s.r; rd.SetPos(start); REPEAT rd.ReadChar(ch) UNTIL rd.eot OR (ch = line) OR (ch = para); IF rd.eot THEN RETURN start ELSE RETURN rd.Pos() END END NextSequence; PROCEDURE (s: StdSetter) ThisSequence (pos: INTEGER): INTEGER; (* pre: connected, 0 <= pos <= t.Length() *) (* post: (result = 0) OR (char(result - 1) IN {line, para}) *) VAR rd: TextModels.Reader; start, limit: INTEGER; ch: CHAR; BEGIN ASSERT(s.text # NIL, 20); ASSERT(0 <= pos, 21); ASSERT(pos <= s.text.Length(), 22); IF pos = 0 THEN RETURN 0 ELSE start := CachedSeqStart(s.key, pos); IF start < 0 THEN s.r := s.text.NewReader(s.r); rd := s.r; rd.SetPos(pos); limit := paraShutoff; REPEAT rd.ReadPrevChar(ch); DEC(limit) UNTIL rd.eot OR (ch = line) OR (ch = para) OR (limit = 0); IF rd.eot THEN start := 0 ELSE start := rd.Pos() + 1 END; AddSeqStartToCache(s.key, pos, start) END; RETURN start END END ThisSequence; PROCEDURE (s: StdSetter) PreviousSequence (start: INTEGER): INTEGER; (* pre: connected, ThisSequence(t, start) = start *) (* post: (result = 0) & (start = 0) OR (result = ThisSequence(t, start - 1)) *) BEGIN IF start <= 1 THEN RETURN 0 ELSE RETURN s.ThisSequence(start - 1) END END PreviousSequence; PROCEDURE (s: StdSetter) ThisLine (pos: INTEGER): INTEGER; (* pre: connected *) VAR start, next: INTEGER; BEGIN next := s.ThisSequence(pos); REPEAT start := next; next := s.NextLine(start) UNTIL (next > pos) OR (next = start); RETURN start END ThisLine; PROCEDURE (s: StdSetter) NextLine (start: INTEGER): INTEGER; (* pre: connected, ThisLine(start) = start *) (* post: (result = 0) & (start = 0) OR (result = start) & last-line(start) OR (ThisLine(result - 1) = start) *) VAR box: LineBox; len: INTEGER; i: INTEGER; eot: BOOLEAN; BEGIN i := CacheIndex(s.key, start); IF i >= 0 THEN len := boxCache[i].line.len; eot := boxCache[i].line.eot ELSE s.GetLine(start, box); len := box.len; eot := box.eot END; IF ~eot THEN RETURN start + len ELSE RETURN start END END NextLine; PROCEDURE (s: StdSetter) PreviousLine (start: INTEGER): INTEGER; (* pre: connected, ThisLine(start) = start *) (* post: (result = 0) & (start = 0) OR (result = ThisLine(start - 1)) *) BEGIN IF start <= 1 THEN start := 0 ELSE start := s.ThisLine(start - 1) END; RETURN start END PreviousLine; PROCEDURE (s: StdSetter) GetWord (pos: INTEGER; OUT beg, end: INTEGER); (* pre: connected, 0 <= pos <= s.text.Length() *) (* post: beg <= pos <= end *) CONST wordCutoff = LEN(s.rd.sString); VAR w: Worder; part: BOOLEAN; BEGIN ASSERT(s.text # NIL, 20); ASSERT(0 <= pos, 21); ASSERT(pos <= s.text.Length(), 22); SetWorder(w, s, pos, beg); end := beg; REPEAT StepWorder(w, s, part); INC(end); IF ~part THEN beg := end END UNTIL end >= pos; DEC(end); REPEAT StepWorder(w, s, part); INC(end) UNTIL ~part OR (s.rd.sString[0] = 0X) OR (end - beg > wordCutoff) END GetWord; PROCEDURE (s: StdSetter) GetLine (start: INTEGER; OUT box: LineBox); VAR rd: Reader; ra: TextRulers.Attributes; brk: LineBox; d, off, right, w: INTEGER; i, tabsN: INTEGER; form: SET; adj: BOOLEAN; ch: CHAR; PROCEDURE TrueW (VAR b: LineBox; w: INTEGER): INTEGER; VAR i: INTEGER; type: SET; BEGIN i := rd.tabIndex; IF (0 <= i ) & (i < TextRulers.maxTabs) & (rd.sString[0] # tab) THEN type := rd.tabType * {TextRulers.centerTab, TextRulers.rightTab}; IF type = {TextRulers.centerTab} THEN DEC(w, b.tabW[i] - MAX(minTabWidth, b.tabW[i] - w DIV 2)) ELSIF type = {TextRulers.rightTab} THEN DEC(w, b.tabW[i] - MAX(minTabWidth, b.tabW[i] - w)) END END; RETURN w END TrueW; PROCEDURE Enclose (VAR b: LineBox; w: INTEGER); VAR off, i, d: INTEGER; type: SET; BEGIN b.len := rd.pos - start; INC(b.right, w); off := rd.attr.offset; i := rd.tabIndex; IF rd.h - rd.dsc + off > b.asc THEN b.asc := rd.h - rd.dsc + off END; IF rd.dsc - off > b.dsc THEN b.dsc := rd.dsc - off END; IF rd.view # NIL THEN b.views := TRUE END; IF (0 <= i ) & (i < TextRulers.maxTabs) THEN IF rd.sString[0] = tab THEN b.tabW[i] := w ELSE type := rd.tabType * {TextRulers.centerTab, TextRulers.rightTab}; IF type = {TextRulers.centerTab} THEN d := b.tabW[i] - MAX(minTabWidth, b.tabW[i] - w DIV 2); DEC(b.tabW[i], d); DEC(b.right, d) ELSIF type = {TextRulers.rightTab} THEN d := b.tabW[i] - MAX(minTabWidth, b.tabW[i] - w); DEC(b.tabW[i], d); DEC(b.right, d) END END END END Enclose; BEGIN ASSERT(s.text # NIL, 20); ASSERT(0 <= start, 21); ASSERT(start <= s.text.Length(), 22); i := CacheIndex(s.key, start); IF i >= 0 THEN GetFromCache(s, i, box) ELSE TextRulers.GetValidRuler(s.text, start, s.rpos, s.ruler, s.rpos); IF s.rpos > start THEN s.ruler := s.defRuler; s.rpos := -1 END; box.ruler := s.ruler; box.rpos := s.rpos; ra := s.ruler.style.attr; tabsN := ra.tabs.len; right := Right(ra, s.vw); s.r := s.text.NewReader(s.r); IF start = 0 THEN s.r.SetPos(start); ch := para ELSE s.r.SetPos(start - 1); s.r.ReadChar(ch) END; s.r.Read; (* IF s.r.char = para THEN box.rbox := ~s.hideMarks; box.bop := s.hideMarks; box.left := 0 ELSIF ch = para THEN box.rbox := FALSE; box.bop := TRUE; box.left := ra.first ELSE box.rbox := FALSE; box.bop := FALSE; box.left := ra.left END; *) IF s.r.char = para THEN box.rbox := TRUE; box.bop := FALSE; box.left := 0 ELSIF ch = para THEN box.rbox := FALSE; box.bop := TRUE; box.left := ra.first ELSE box.rbox := FALSE; box.bop := FALSE; box.left := ra.left END; (**) box.views := FALSE; box.asc := 0; box.dsc := 0; box.right := box.left; box.len := 0; box.adjOff := 0; box.spaces := 0; brk.right := 0; s.rd := s.NewReader(s.rd); rd := s.rd; rd.Set(s.r, s.text, box.left, start, box.ruler, box.rpos, s.vw, s.hideMarks); rd.Read; WHILE ~rd.eot & (box.right + (*rd.w*) TrueW(box, rd.w) <= right) & ~(lineBreak IN rd.setterOpts) DO IF ~(wordJoin IN rd.setterOpts) & (box.right + rd.endW <= right) THEN (*brk := box;*) brk.len := box.len; brk.ruler := box.ruler; brk.rpos := box.rpos; brk.left := box.left; brk.right := box.right; brk.asc := box.asc; brk.dsc := box.dsc; brk.rbox := box.rbox; brk.bop := box.bop; brk.adj := box.adj; brk.eot := box.eot; brk.views := box.views; brk.skipOff := box.skipOff; brk.adjOff := box.adjOff; brk.spaces := box.spaces; brk.adjW := box.adjW; i := 0; WHILE i < tabsN DO brk.tabW[i] := box.tabW[i]; INC(i) END; (*---*) Enclose(brk, rd.endW); brk.eot := rd.r.eot (* rd.r.eot one ahead of rd.eot *) END; box.adjOff := rd.adjStart - start; box.spaces := rd.spaces; Enclose(box, rd.w); rd.x := box.right; rd.Read END; IF (lineBreak IN rd.setterOpts) (* & ~box.rbox *) THEN Enclose(box, 0) END; box.eot := rd.eot; adj := FALSE; box.skipOff := box.len; IF box.right + rd.w > right THEN (* rd.w > 0 => ~rd.eot & ~(lineBreak IN setterOpts) *) IF ~(wordJoin IN rd.setterOpts) & (box.right + rd.endW <= right) THEN IF rd.sString[0] = " " THEN DEC(box.spaces) END; Enclose(box, rd.endW); adj := TRUE ELSIF brk.right > 0 THEN (*box := brk;*) box.len := brk.len; box.ruler := brk.ruler; box.rpos := brk.rpos; box.left := brk.left; box.right := brk.right; box.asc := brk.asc; box.dsc := brk.dsc; box.rbox := brk.rbox; box.bop := brk.bop; box.adj := brk.adj; box.eot := brk.eot; box.views := brk.views; box.skipOff := brk.skipOff; box.adjOff := brk.adjOff; box.spaces := brk.spaces; box.adjW := brk.adjW; i := 0; WHILE i < tabsN DO box.tabW[i] := brk.tabW[i]; INC(i) END; (*---*) box.skipOff := box.len - 1; adj := TRUE ELSIF box.right = box.left THEN Enclose(box, rd.w) (* force at least one per line *) END ELSIF (box.right = box.left) & box.eot THEN box.asc := ra.asc; box.dsc := ra.dsc (* force empty line to ruler's default height *) END; box.adj := FALSE; d := right - box.right; IF d > 0 THEN form := ra.opts * adjustMask; IF form = blocked THEN IF adj & (box.spaces > 0) THEN box.right := right; box.adj := TRUE; box.adjW := d END ELSIF form = rightFlush THEN IF box.adjOff > 0 THEN box.adjW := d; box.adj := TRUE ELSE INC(box.left, d) END; box.right := right ELSIF form = centered THEN IF box.adjOff > 0 THEN box.adjW := d DIV 2; box.adj := TRUE ELSE INC(box.left, d DIV 2) END; INC(box.right, d DIV 2) END END; AddToCache(s.key, start, box) END; ASSERT(box.eot OR (box.len > 0), 100) END GetLine; PROCEDURE (s: StdSetter) GetBox (start, end, maxW, maxH: INTEGER; OUT w, h: INTEGER); VAR box: LineBox; asc, dsc: INTEGER; BEGIN ASSERT(s.text # NIL, 20); ASSERT(0 <= start, 21); ASSERT(start <= end, 22); ASSERT(end <= s.text.Length(), 23); w := 0; h := 0; dsc := -1; IF maxW <= Views.undefined THEN maxW := MAX(INTEGER) END; IF maxH <= Views.undefined THEN maxH := MAX(INTEGER) END; WHILE (start < end) & (h < maxH) DO s.GetLine(start, box); IF box.rbox THEN w := MAX(w, Right(box.ruler.style.attr, s.vw)) ELSE w := MAX(w, box.right) END; asc := box.asc + s.GridOffset(dsc, box); dsc := box.dsc; INC(start, box.len); INC(h, asc + dsc) END; w := MIN(w, maxW); h := MIN(h, maxH) END GetBox; PROCEDURE (s: StdSetter) NewReader (old: Reader): Reader; (* pre: connected *) VAR rd: StdReader; BEGIN ASSERT(s.text # NIL, 20); IF (old # NIL) & (old IS StdReader) THEN RETURN old ELSE NEW(rd); RETURN rd END END NewReader; PROCEDURE (s: StdSetter) GridOffset (dsc: INTEGER; IN box: LineBox): INTEGER; VAR ra: TextRulers.Attributes; h, h0: INTEGER; (* minimal possible line spacing h0, minimal legal line spacing h *) BEGIN IF ~box.rbox THEN ra := box.ruler.style.attr; IF dsc < 0 THEN RETURN 0 (* no longer try to correct first line's grid position -- should be done when printing... *) (* h0 := box.asc; h := ra.asc; IF h < h0 THEN (* override legal spacing if to small *) h := h - (h - h0) DIV ra.grid * ra.grid (* adjust to next larger grid line *) END; RETURN h - h0 *) ELSE h0 := box.asc + dsc; h := ra.asc + ra.dsc; IF h < h0 THEN h := h0 END; (* override legal spacing if to small *) RETURN - (-h) DIV ra.grid * ra.grid - h0 (* adjust to next larger grid line *) END ELSE RETURN 0 END END GridOffset; (* StdDirectory *) PROCEDURE (d: StdDirectory) New (): Setter; VAR s: StdSetter; BEGIN NEW(s); s.text := NIL; RETURN s END New; (** miscellaneous **) PROCEDURE Init; VAR d: StdDirectory; BEGIN InitCache; NEW(d); dir := d; stdDir := d END Init; PROCEDURE SetDir* (d: Directory); BEGIN ASSERT(d # NIL, 20); dir := d END SetDir; BEGIN Init END TextSetters.
Text/Mod/Setters.odc
MODULE TextViews; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) (* could use +, $ in DrawLine cache implementation *) IMPORT Services, Fonts, Ports, Stores, Models, Views, Controllers, Properties, Dialog, Printing, Containers, TextModels, TextRulers, TextSetters; CONST (** v.DisplayMarks hide *) show* = FALSE; hide* = TRUE; (** v.ShowRange focusOnly **) any* = FALSE; focusOnly* = TRUE; parasign = 0B6X; (* paragraph sign, to mark non-ruler paragraph breaks *) mm = Ports.mm; inch16 = Ports.inch DIV 16; point = Ports.point; maxScrollHeight = 16 * point; maxScrollSteps = 100; fuseScrollHeight = maxScrollHeight DIV 2; maxHeight = maxScrollHeight * maxScrollSteps; adjustMask = {TextRulers.leftAdjust, TextRulers.rightAdjust}; (* SetOp.mode *) setMarks = 0; setSetter = 1; setDefs = 2; scrollingKey = "#System:Scrolling"; viewSettingKey = "#System:ViewSetting"; minVersion = 0; maxVersion = 0; maxStdVersion = 0; TYPE View* = POINTER TO ABSTRACT RECORD (Containers.View) END; Directory* = POINTER TO ABSTRACT RECORD defAttr-: TextModels.Attributes END; Location* = RECORD (** start of line and position of location **) start*, pos*: INTEGER; (** coordinates of location **) x*, y*: INTEGER; (** line dimensions at location **) asc*, dsc*: INTEGER; (** if view at location: **) view*: Views.View; l*, t*, r*, b*: INTEGER END; PositionMsg* = RECORD (Models.Message) focusOnly*: BOOLEAN; beg*, end*: INTEGER END; PageMsg* = RECORD (Properties.Message) current*: INTEGER END; Line = POINTER TO RECORD next: Line; start, asc, h: INTEGER; attr: TextRulers.Attributes; (* attr = box.ruler.style.attr *) box: TextSetters.LineBox (* caching of box.rpos not consistent *) END; StdView = POINTER TO RECORD (View) (* model *) text: TextModels.Model; org: INTEGER; dy: INTEGER; (* 0 <= dy < Height(first line) *) defRuler: TextRulers.Ruler; defAttr: TextModels.Attributes; hideMarks: BOOLEAN; (* general state *) cachedRd: TextSetters.Reader; (* line grid cache *) trailer: Line; (* trailer # NIL => trailer.eot, trailer.next # trailer *) bot: INTEGER; (* max(f : f seen by Restore : f.b) *) (* setter *) setter, setter0: TextSetters.Setter (* setter # setter0 lazily detects setter change *) END; StdDirectory = POINTER TO RECORD (Directory) END; ScrollOp = POINTER TO RECORD (Stores.Operation) v: StdView; org, dy: INTEGER; bunchOrg, bunchDy: INTEGER; bunch: BOOLEAN; (* bunch => bunchOrg, bunchDy valid *) silent: BOOLEAN (* original caller of Do(op) already handled situation *) END; SetOp = POINTER TO RECORD (Stores.Operation) mode: INTEGER; view: StdView; hideMarks: BOOLEAN; setter: TextSetters.Setter; defRuler: TextRulers.Ruler; defAttr: TextModels.Attributes END; FindAnyFrameMsg = RECORD (Views.Message) (* find frame with smallest height (frame.b - frame.t) that displays view; NIL if none found *) frame: Views.Frame (* OUT, initially NIL *) END; FindFocusFrameMsg = RECORD (Controllers.Message) (* find outermost focus frame displaying view; NIL if none found *) view: Views.View; (* IN *) frame: Views.Frame (* OUT, initially NIL *) END; VAR ctrlDir-: Containers.Directory; dir-, stdDir-: Directory; (* forward used in GetStart, UpdateView, ShowRangeIn *) PROCEDURE ^ DoSetOrigin (v: StdView; org, dy: INTEGER; silent: BOOLEAN); (** View **) PROCEDURE (v: View) Internalize2- (VAR rd: Stores.Reader), EXTENSIBLE; (** pre: ~v.init **) (** post: v.init **) VAR thisVersion: INTEGER; BEGIN (*v.Internalize^(rd);*) IF rd.cancelled THEN RETURN END; rd.ReadVersion(minVersion, maxVersion, thisVersion) END Internalize2; PROCEDURE (v: View) Externalize2- (VAR wr: Stores.Writer), EXTENSIBLE; (** pre: v.init **) BEGIN (*v.Externalize^(wr);*) wr.WriteVersion(maxVersion) END Externalize2; PROCEDURE (v: View) ThisModel* (): TextModels.Model, EXTENSIBLE; VAR m: Containers.Model; BEGIN m := v.ThisModel^(); IF m # NIL THEN RETURN m(TextModels.Model) ELSE RETURN NIL END END ThisModel; PROCEDURE (v: View) DisplayMarks* (hide: BOOLEAN), NEW, ABSTRACT; PROCEDURE (v: View) HidesMarks* (): BOOLEAN, NEW, ABSTRACT; PROCEDURE (v: View) SetSetter* (setter: TextSetters.Setter), NEW, ABSTRACT; PROCEDURE (v: View) ThisSetter* (): TextSetters.Setter, NEW, ABSTRACT; PROCEDURE (v: View) SetOrigin* (org, dy: INTEGER), NEW, ABSTRACT; (** post: org = ThisLine(org) => v.org = org, v.dy = dy; else v.org = ThisLine(org), v.dy = 0 **) PROCEDURE (v: View) PollOrigin* (OUT org, dy: INTEGER), NEW, ABSTRACT; PROCEDURE (v: View) SetDefaults* (r: TextRulers.Ruler; a: TextModels.Attributes), NEW, ABSTRACT; (** pre: r.init, a.init **) PROCEDURE (v: View) PollDefaults* (OUT r: TextRulers.Ruler; OUT a: TextModels.Attributes), NEW, ABSTRACT; PROCEDURE (v: View) GetThisLocation* (f: Views.Frame; pos: INTEGER; OUT loc: Location), NEW, ABSTRACT; PROCEDURE (v: View) GetRect* (f: Views.Frame; view: Views.View; OUT l, t, r, b: INTEGER); VAR con: Models.Context; loc: Location; pos: INTEGER; BEGIN con := view.context; ASSERT(con # NIL, 20); ASSERT(con.ThisModel() = v.ThisModel(), 21); pos := con(TextModels.Context).Pos(); v.GetThisLocation(f, pos, loc); IF loc.view = view THEN l := loc.l; t := loc.t; r := loc.r; b := loc.b ELSE l := MAX(INTEGER); t := MAX(INTEGER); r := l; b := t END END GetRect; PROCEDURE (v: View) GetRange* (f: Views.Frame; OUT beg, end: INTEGER), NEW, ABSTRACT; (** post: beg = beg of first visible line, end = end of last visible line **) PROCEDURE (v: View) ThisPos* (f: Views.Frame; x, y: INTEGER): INTEGER, NEW, ABSTRACT; PROCEDURE (v: View) ShowRangeIn* (f: Views.Frame; beg, end: INTEGER), NEW, ABSTRACT; PROCEDURE (v: View) ShowRange* (beg, end: INTEGER; focusOnly: BOOLEAN), NEW, ABSTRACT; (** post: in all frames (resp. in front or otherwise target frame if focusOnly): if possible, first visible pos <= k <= last visible pos, with k = beg if beg = end and beg <= k < end otherwise **) (** Directory **) PROCEDURE (d: Directory) Set* (defAttr: TextModels.Attributes), NEW, EXTENSIBLE; BEGIN ASSERT(defAttr # NIL, 20); ASSERT(defAttr.init, 21); d.defAttr := defAttr END Set; PROCEDURE (d: Directory) New* (text: TextModels.Model): View, NEW, ABSTRACT; (** miscellaneous **) PROCEDURE SetCtrlDir* (d: Containers.Directory); BEGIN ASSERT(d # NIL, 20); ctrlDir := d END SetCtrlDir; PROCEDURE SetDir* (d: Directory); BEGIN ASSERT(d # NIL, 20); dir := d END SetDir; PROCEDURE Focus* (): View; VAR v: Views.View; BEGIN v := Controllers.FocusView(); IF (v # NIL) & (v IS View) THEN RETURN v(View) ELSE RETURN NIL END END Focus; PROCEDURE FocusText* (): TextModels.Model; VAR v: View; BEGIN v := Focus(); IF v # NIL THEN RETURN v.ThisModel() ELSE RETURN NIL END END FocusText; PROCEDURE Deposit*; BEGIN Views.Deposit(dir.New(NIL)) END Deposit; PROCEDURE ShowRange* (text: TextModels.Model; beg, end: INTEGER; focusOnly: BOOLEAN); (** post: in all front or target frames displaying a view displaying t: if possible, first visible pos <= k <= last visible pos, with k = beg if beg = end and beg <= k < end otherwise **) VAR pm: PositionMsg; BEGIN ASSERT(text # NIL, 20); pm.beg := beg; pm.end := end; pm.focusOnly := focusOnly; Models.Broadcast(text, pm) END ShowRange; PROCEDURE ThisRuler* (v: View; pos: INTEGER): TextRulers.Ruler; VAR r: TextRulers.Ruler; a: TextModels.Attributes; rpos: INTEGER; BEGIN v.PollDefaults(r, a); rpos := -1; TextRulers.GetValidRuler(v.ThisModel(), pos, -1, r, rpos); RETURN r END ThisRuler; (* auxiliary procedures *) PROCEDURE GetReader (v: StdView; start: INTEGER; IN box: TextSetters.LineBox ): TextSetters.Reader; VAR st: TextSetters.Setter; rd: TextSetters.Reader; BEGIN ASSERT(box.ruler # NIL, 100); st := v.ThisSetter(); rd := v.cachedRd; v.cachedRd := NIL; (* reader recycling *) rd := st.NewReader(rd); rd.Set(rd.r, v.text, box.left, start, box.ruler, box.rpos, st.vw, st.hideMarks); RETURN rd END GetReader; PROCEDURE CacheReader (v: StdView; rd: TextSetters.Reader); BEGIN ASSERT(v.cachedRd = NIL, 20); v.cachedRd := rd END CacheReader; (* line descriptors *) PROCEDURE SetLineAsc (st: TextSetters.Setter; t: Line; dsc: INTEGER); (* pre: dsc: descender of previous line (-1 if first line) *) BEGIN t.asc := t.box.asc + st.GridOffset(dsc, t.box); t.h := t.asc + t.box.dsc END SetLineAsc; PROCEDURE NewLine (st: TextSetters.Setter; start, dsc: INTEGER): Line; (* pre: start: start of line to measure; dsc: descender of previous line (-1 if first line) *) VAR t: Line; BEGIN NEW(t); st.GetLine(start, t.box); t.start := start; SetLineAsc(st, t, dsc); t.attr := t.box.ruler.style.attr; RETURN t END NewLine; PROCEDURE AddLine (st: TextSetters.Setter; VAR t: Line; VAR start, y: INTEGER); BEGIN t.next := NewLine(st, start, t.box.dsc); t := t.next; INC(start, t.box.len); INC(y, t.h) END AddLine; PROCEDURE InitLines (v: StdView); VAR asc, dsc, w: INTEGER; t0, t: Line; start, y: INTEGER; BEGIN v.defAttr.font.GetBounds(asc, dsc, w); NEW(t0); start := v.org; y := v.dy; t0.box.dsc := -1; (* dsc = -1: trailer.next is first line *) t := t0; AddLine(v.ThisSetter(), t, start, y); t.next := t0; (* at least one valid line desc *) t0.start := start; t0.asc := asc; t0.h := asc + dsc; (* trailer.(asc, h) for caret display following last line *) t0.attr := NIL; t0.box.eot := TRUE; t0.box.len := 0; t0.box.ruler := NIL; t0.box.left := -1; (* make trailer async to every other line *) v.trailer := t0; v.bot := 0 END InitLines; PROCEDURE ExtendLines (v: StdView; bot: INTEGER); VAR st: TextSetters.Setter; t0, t: Line; start, y: INTEGER; BEGIN IF bot >= v.bot THEN t0 := v.trailer; start := t0.start; y := v.dy; t := t0; WHILE t.next # t0 DO t := t.next; INC(y, t.h) END; IF (y < bot) & ~t.box.eot THEN st := v.ThisSetter(); REPEAT AddLine(st, t, start, y) UNTIL (y >= bot) OR t.box.eot; t.next := t0; t0.start := start END; v.bot := bot END END ExtendLines; PROCEDURE ReduceLines (v: StdView; bot: INTEGER); VAR t0, t: Line; y: INTEGER; BEGIN IF bot <= v.bot THEN t0 := v.trailer; y := v.dy; t := t0; WHILE (t.next # t0) & (y < bot) DO t := t.next; INC(y, t.h) END; t0.start := t.next.start; t.next := t0; v.bot := bot END END ReduceLines; PROCEDURE ValidateLines (v: StdView; bot: INTEGER); VAR st: TextSetters.Setter; w, h, len: INTEGER; BEGIN IF v.setter # NIL THEN v.context.GetSize(w, h); (* possibly adapt to changed width *) IF v.setter.vw # w THEN v.setter0 := NIL; v.trailer := NIL END END; len := v.text.Length(); IF (v.org > len) OR (v.trailer # NIL) & (v.trailer.start > len) THEN v.trailer := NIL END; IF v.trailer = NIL THEN IF v.org > len THEN v.org := len END; st := v.ThisSetter(); v.org := st.ThisLine(v.org); InitLines(v) END; ExtendLines(v, bot) END ValidateLines; PROCEDURE PrependLines (v: StdView); VAR st: TextSetters.Setter; t0, t1, t: Line; start, y: INTEGER; BEGIN t0 := v.trailer; start := v.org; y := v.dy; IF t0.start # start THEN st := v.ThisSetter(); t := t0; t1 := t0.next; WHILE (t1.start # start) & (y < v.bot) DO AddLine(st, t, start, y) END; IF y >= v.bot THEN t.next := t0; t0.start := start ELSE t.next := t1; IF t1 # v.trailer THEN SetLineAsc(st, t1, t.box.dsc) END END END END PrependLines; (* update frame after insert/delete/replace *) PROCEDURE ThisViewLine (v: StdView; y: INTEGER): Line; (* pre: 0 <= y < v.bot *) VAR t: Line; py: INTEGER; BEGIN t := v.trailer.next; py := v.dy; WHILE ~t.box.eot & (py + t.h < y) DO INC(py, t.h); t := t.next END; RETURN t END ThisViewLine; PROCEDURE LocateThisLine (v: StdView; start: INTEGER; OUT t: Line; OUT y: INTEGER); VAR t1: Line; BEGIN t := v.trailer.next; y := v.dy; t1 := v.trailer.next; WHILE t.start # start DO INC(y, t.h); t := t.next; ASSERT(t # t1, 100) END END LocateThisLine; PROCEDURE GetStart (st: TextSetters.Setter; v: StdView; beg: INTEGER; OUT start: INTEGER); (* find start of line containing beg after text change; tuned using valid line descs *) VAR s, t: Line; BEGIN s := v.trailer; t := s.next; WHILE (t # v.trailer) & (t.start + t.box.len < beg) DO s := t; t := s.next END; IF s # v.trailer THEN (* at least first line desc possibly still valid *) start := st.NextLine(s.start); (* NextLine can be much cheaper than ThisLine *) IF start # t.start THEN GetStart(st, v, s.start, start) ELSIF ~t.box.eot & (start + t.box.len = beg) & (st.NextLine(start) = beg) THEN start := beg END ELSE IF v.org <= v.text.Length() THEN start := st.ThisLine(v.org) ELSE start := st.ThisLine(v.text.Length()) END; IF start < v.org THEN DoSetOrigin(v, start, 0, TRUE) ELSIF start > v.org THEN start := v.org END END END GetStart; PROCEDURE GetStringStart (v: StdView; t: Line; pos: INTEGER; OUT p1, x: INTEGER); VAR rd: TextSetters.Reader; BEGIN p1 := t.start; x := t.box.left; IF t.box.views THEN rd := GetReader(v, p1, t.box); rd.Read; WHILE ~rd.eot & (rd.pos <= pos) DO rd.AdjustWidth(t.start, p1, t.box, rd.w); INC(rd.x, rd.w); IF rd.view # NIL THEN p1 := rd.pos; x := rd.x END; rd.Read END; CacheReader(v, rd) END END GetStringStart; PROCEDURE InSynch (t0, t1: Line): BOOLEAN; BEGIN RETURN (t0.start = t1.start) & (t0.asc = t1.asc) & (t0.attr = t1.attr) & (t0.box.left = t1.box.left) & (t0.box.asc = t1.box.asc) & (t0.box.dsc = t1.box.dsc) & (t0.box.rbox = t1.box.rbox) & (t0.box.bop = t1.box.bop) END InSynch; PROCEDURE RebuildView (v: StdView); BEGIN v.setter0 := NIL; IF v.trailer # NIL THEN v.trailer := NIL; v.bot := 0; Views.Update(v, Views.rebuildFrames) END END RebuildView; PROCEDURE UpdateIn (v: StdView; l, t, b: INTEGER); BEGIN Views.UpdateIn(v, l, t, MAX(INTEGER), b, Views.rebuildFrames) END UpdateIn; PROCEDURE UpdateFrames (v: StdView; t0, t1, u: Line; beg, y0, yu: INTEGER); VAR t, te: Line; b, x, b0, b1, top, bot: INTEGER; BEGIN IF ((beg < t0.next.start) OR t0.box.eot) & ~t0.box.adj & ((beg < t1.next.start) OR t1.box.eot) & ~t1.box.adj & InSynch(t0, t1) THEN GetStringStart(v, t1, beg, beg, x) ELSE beg := t1.start END; b := y0; t := t0; WHILE t # u DO INC(b, t.h); t := t.next END; IF b = yu THEN te := u ELSE (* t = u *) te := v.trailer; b0 := b; WHILE t # v.trailer DO INC(b0, t.h); t := t.next END; IF yu < b THEN ExtendLines(v, v.bot) ELSE ReduceLines(v, v.bot) END; b1 := y0; t := t1; WHILE t # v.trailer DO INC(b1, t.h); t := t.next END; IF b1 < b0 THEN UpdateIn(v, 0, b1, b0) END (* erase trailer *) END; IF t1.start < beg THEN (* conserve head of t1 *) UpdateIn(v, x, y0, y0 + t1.h); (* redraw tail of t1 *) top := y0 + t1.h ELSE top := y0 END; bot := y0; REPEAT INC(bot, t1.h); t1 := t1.next UNTIL t1 = te; IF top < bot THEN UpdateIn(v, 0, top, bot) END (* redraw affected lines *) END UpdateFrames; PROCEDURE UpdateView (v: StdView; beg, end, delta: INTEGER); VAR st: TextSetters.Setter; r: TextRulers.Ruler; rpos: INTEGER; s0, t0, t, tn, u: Line; start, y, y0: INTEGER; BEGIN IF v.trailer # NIL THEN v.setter0 := NIL; st := v.ThisSetter(); IF (beg <= v.trailer.start) & ((end >= v.org) OR (end - delta >= v.org)) THEN GetStart(st, v, beg, start); y0 := v.dy; s0 := v.trailer; WHILE s0.next.start < start DO s0 := s0.next; INC(y0, s0.h) END; t := s0.next; WHILE (t # v.trailer) & (t.start < end) DO t := t.next END; IF (t = v.trailer.next) & (t.start >= end) THEN REPEAT INC(t.start, delta); IF t.box.rpos >= end THEN INC(t.box.rpos, delta) END; t := t.next UNTIL t = v.trailer.next ELSE WHILE (t # v.trailer.next) & (t.start >= end) DO INC(t.start, delta); IF t.box.rpos >= end THEN INC(t.box.rpos, delta) END; t := t.next END END; tn := s0; y := y0; t0 := s0.next; u := t0; REPEAT t := tn; AddLine(st, tn, start, y); (* start = end(tn), y = bot(tn) *) WHILE (u # v.trailer) & (u.start < tn.start) DO u := u.next END UNTIL tn.box.eot OR (y > v.bot) OR (tn.start >= end) & (u.start = tn.start) & (u.box.len = tn.box.len) & (u.asc = tn.asc) & (u.attr = tn.attr) & (u.box.dsc = tn.box.dsc) & (u.box.rpos = tn.box.rpos); (* can be expensive ... *) IF tn.box.eot OR (y > v.bot) THEN t := tn; u := v.trailer; v.trailer.start := start ELSE DEC(y, tn.h) END; t.next := u; IF (s0 # v.trailer) & (s0.next # v.trailer) THEN s0.box.eot := FALSE END; ASSERT(v.trailer.start <= v.text.Length(), 100); UpdateFrames(v, t0, s0.next, u, beg, y0, y) ELSIF end <= v.org THEN INC(v.org, delta); (* IF end < v.org - delta - 500 THEN start := v.org ELSE start := st.ThisLine(v.org) END; (* this is not safe; even a change 500 characters away could force the view's origin to a new position in order to maintain the invariant that the origin always falls on a line start; however, ThisLine can be quite expensive -- can we rely on TextSetters cache ? *) *) start := st.ThisLine(v.org); r := v.defRuler; rpos := -1; TextRulers.GetValidRuler(v.text, start, -1, r, rpos); IF (v.org = start) & (v.trailer.next.attr = r.style.attr) THEN t := v.trailer; REPEAT t := t.next; INC(t.start, delta); IF t.box.rpos < start THEN t.box.rpos := rpos ELSE INC(t.box.rpos, delta) END UNTIL t = v.trailer ELSE DoSetOrigin(v, start, 0, TRUE); RebuildView(v) END END END END UpdateView; PROCEDURE StyleUpdate (v: StdView; oldAttr: TextRulers.Attributes); VAR t: Line; beg: INTEGER; first: BOOLEAN; BEGIN IF v.trailer # NIL THEN t := v.trailer.next; first := TRUE; WHILE t # v.trailer DO WHILE (t # v.trailer) & (t.attr # oldAttr) DO t := t.next END; IF t # v.trailer THEN IF first THEN v.Neutralize; first := FALSE END; beg := t.start; t := t.next; WHILE (t # v.trailer) & (t.attr = oldAttr) DO t := t.next END; UpdateView(v, beg, t.start, 0) END END END END StyleUpdate; (* line drawing *) PROCEDURE DrawLine (v: StdView; start: INTEGER; IN box: TextSetters.LineBox; f: Views.Frame; l, r, y, t: INTEGER; pageF: BOOLEAN ); (* pre: area cleared *) (* [l,r) for high-level clipping to tune update after small change *) CONST cacheLen = 128; VAR rd: TextSetters.Reader; ra: TextRulers.Attributes; v1: Views.View; c: Containers.Controller; py, end, skip: INTEGER; cache: RECORD (* initially: long = TRUE, len = 0 *) short: BOOLEAN; (* tuning: only short chars in cache *) x, y: INTEGER; color: Ports.Color; font: Fonts.Font; len: INTEGER; sbuf: ARRAY cacheLen OF SHORTCHAR; buf: ARRAY cacheLen OF CHAR END; PROCEDURE FlushCaches; BEGIN IF cache.len > 0 THEN IF cache.short THEN cache.sbuf[cache.len] := 0X; f.DrawSString(cache.x, cache.y, cache.color, cache.sbuf, cache.font) ELSE cache.buf[cache.len] := 0X; f.DrawString(cache.x, cache.y, cache.color, cache.buf, cache.font) END END; cache.short := TRUE; cache.len := 0 END FlushCaches; PROCEDURE CacheSString (x, y: INTEGER; c: INTEGER; IN s: ARRAY OF SHORTCHAR; f: Fonts.Font ); VAR i, j, len: INTEGER; BEGIN len := 0; WHILE s[len] # 0X DO INC(len) END; IF (cache.len + len >= cacheLen) OR (cache.y # y) OR (cache.color # c) OR (cache.font # f) THEN FlushCaches END; ASSERT(cache.len + len < cacheLen, 100); IF cache.len = 0 THEN cache.x := x; cache.y := y; cache.color := c; cache.font := f END; IF cache.short THEN i := 0; j := cache.len; WHILE i < len DO cache.sbuf[j] := s[i]; INC(i); INC(j) END; cache.len := j ELSE i := 0; j := cache.len; WHILE i < len DO cache.buf[j] := s[i]; INC(i); INC(j) END; cache.len := j END END CacheSString; PROCEDURE CacheString (x, y: INTEGER; c: INTEGER; IN s: ARRAY OF CHAR; f: Fonts.Font ); VAR i, j, len: INTEGER; BEGIN (* flush first, then promote *) len := 0; WHILE s[len] # 0X DO INC(len) END; IF (cache.len + len >= cacheLen) OR (cache.y # y) OR (cache.color # c) OR (cache.font # f) THEN FlushCaches END; IF (cache.len > 0) & cache.short THEN (* promote short chars to chars *) i := 0; WHILE i < cache.len DO cache.buf[i] := cache.sbuf[i]; INC(i) END END; cache.short := FALSE; ASSERT(cache.len + len < cacheLen, 100); IF cache.len = 0 THEN cache.x := x; cache.y := y; cache.color := c; cache.font := f END; i := 0; j := cache.len; WHILE i < len DO cache.buf[j] := s[i]; INC(i); INC(j) END; cache.len := j END CacheString; BEGIN IF box.len > 0 THEN cache.short := TRUE; cache.len := 0; end := start + box.len; skip := start + box.skipOff; rd := GetReader(v, start, box); rd.Read; WHILE ~rd.eot & (rd.pos <= end) & (rd.x < r) DO IF rd.pos > skip THEN rd.w := rd.endW END; rd.AdjustWidth(start, rd.pos, box, rd.w); IF rd.x + rd.w > l THEN v1 := rd.view; IF v1 # NIL THEN FlushCaches; IF ~((TextModels.hideable IN rd.textOpts) & v.hideMarks) THEN c := v.ThisController(); Views.InstallFrame(f, v1, rd.x, y - rd.attr.offset + rd.dsc - rd.h, 0, (c # NIL) & (v1 = c.ThisFocus()) ) END ELSIF (rd.h > 0) & (rd.w > 0) THEN IF box.rbox & ~v.hideMarks THEN rd.sString[0] := parasign END; (* sign *) py := y - rd.attr.offset; IF rd.sString[0] > " " THEN CacheSString(rd.x, py, rd.attr.color, rd.sString, rd.attr.font); IF ~v.hideMarks & (TextModels.hideable IN rd.textOpts) THEN f.DrawRect(rd.x, py - box.asc + f.dot, MIN(rd.x + rd.w, f.r), py + box.dsc - f.dot, 0, Ports.grey25) END ELSIF rd.sString[0] # 0X THEN FlushCaches; IF ~v.hideMarks & (TextModels.hideable IN rd.textOpts) THEN f.DrawRect(rd.x, py - box.asc + f.dot, rd.x + rd.w, py + box.dsc - f.dot, 0, Ports.grey25) END ELSIF rd.string[0] # 0X THEN CacheString(rd.x, py, rd.attr.color, rd.string, rd.attr.font); ELSE FlushCaches END END END; INC(rd.x, rd.w); rd.Read END; FlushCaches; CacheReader(v, rd) END; IF v.hideMarks & ~pageF THEN ra := box.ruler.style.attr; IF TextRulers.pageBreak IN ra.opts THEN IF (box.rpos = start) & (ra.lead >= f.dot) THEN f.DrawLine(l, t, r - f.dot, t, 0, Ports.grey50) ELSIF (box.rpos = start - 1) & (ra.lead < f.dot) THEN f.DrawLine(l, t, r - f.dot, t, 0, Ports.grey50) END END END END DrawLine; PROCEDURE DrawDecorations (v: StdView; u: Line; f: Views.Frame; l, t, r, b: INTEGER); VAR a: TextRulers.Attributes; i, x: INTEGER; col: Ports.Color; st: TextSetters.Setter; srd: TextSetters.Reader; rd: TextModels.Reader; BEGIN IF t < b THEN i := 0; a := u.attr; srd := NIL; WHILE i < a.tabs.len DO IF TextRulers.barTab IN a.tabs.tab[i].type THEN x := a.tabs.tab[i].stop; IF (l <= x) & (x < r) THEN IF u.box.rpos = -1 THEN col := v.defAttr.color ELSIF srd = NIL THEN st := v.ThisSetter(); srd := v.cachedRd; v.cachedRd := NIL; srd := st.NewReader(srd); srd.Set(srd.r, v.text, 0, 0, v.defRuler, 0, st.vw, st.hideMarks); rd := srd.r; rd.SetPos(u.box.rpos); rd.Read; col := rd.attr.color END; f.DrawLine(x, t, x, b - f.dot, 0, col) END END; INC(i) END; IF srd # NIL THEN CacheReader(v, srd) END END END DrawDecorations; (* focus-message handling *) PROCEDURE PollSection (v: StdView; f: Views.Frame; VAR msg: Controllers.PollSectionMsg); CONST ms = maxScrollSteps; mh = maxScrollHeight; VAR t: Line; steps, step: INTEGER; BEGIN IF msg.vertical THEN ValidateLines(v, f.b); t := v.trailer.next; IF t.h > 0 THEN steps := -((-t.h) DIV mh); step := -(v.dy DIV mh) ELSE steps := 1; step := 0 END; msg.wholeSize := v.text.Length() * ms; msg.partPos := v.org * ms + t.box.len * ms * step DIV steps; msg.partSize := 0; msg.valid := (v.org > 0) OR (t.h > mh) OR (t.next # v.trailer); msg.done := TRUE END END PollSection; PROCEDURE Scroll (v: StdView; f: Views.Frame; VAR msg: Controllers.ScrollMsg); VAR st: TextSetters.Setter; box, box0: TextSetters.LineBox; t, t1, trailer: Line; org, len, dy, h, h1, sh, steps, step: INTEGER; poll: Controllers.PollSectionMsg; BEGIN IF msg.vertical THEN poll.vertical := TRUE; PollSection(v, f, poll) END; IF msg.vertical & poll.valid THEN org := v.org; dy := v.dy; st := v.ThisSetter(); trailer := v.trailer; CASE msg.op OF Controllers.decLine: IF dy <= -(maxScrollHeight + fuseScrollHeight) THEN INC(dy, maxScrollHeight) ELSIF dy < 0 THEN dy := 0 ELSIF org > 0 THEN org := st.PreviousLine(org); st.GetLine(org, box); h1 := box.asc + box.dsc + st.GridOffset(-1, box); IF h1 > maxScrollHeight + fuseScrollHeight THEN sh := h1 - h1 MOD maxScrollHeight; IF h1 - sh < fuseScrollHeight THEN DEC(sh, maxScrollHeight) END; dy := -sh ELSE dy := 0 END END | Controllers.incLine: t := trailer.next; IF t.h + dy > maxScrollHeight + fuseScrollHeight THEN DEC(dy, maxScrollHeight) ELSIF ~t.box.eot THEN org := t.next.start; dy := 0 END | Controllers.decPage: sh := f.b; DEC(sh, maxScrollHeight + sh MOD maxScrollHeight); IF dy <= -(sh + fuseScrollHeight) THEN INC(dy, sh) ELSE t := trailer.next; h := maxScrollHeight - dy; IF t.h < h THEN h := t.h END; box0 := t.box; h1:= h - st.GridOffset(-1, box0); WHILE (org > 0) & (h + fuseScrollHeight < f.b) DO org := st.PreviousLine(org); st.GetLine(org, box); h1 := box.asc + box.dsc; INC(h, h1 + st.GridOffset(box.dsc, box0)); box0 := box END; h1 := h1 + st.GridOffset(-1, box0); sh := h1 - (h - f.b); DEC(sh, sh MOD maxScrollHeight); IF h1 - sh >= fuseScrollHeight THEN dy := -sh ELSE dy := 0 END END; IF (org > v.org) OR (org = v.org) & (dy <= v.dy) THEN (* guarantee progress *) org := st.PreviousLine(org); st.GetLine(org, box); h1 := box.asc + box.dsc + st.GridOffset(-1, box); IF h1 > maxScrollHeight + fuseScrollHeight THEN dy := - (h1 DIV maxScrollHeight * maxScrollHeight) ELSE dy := 0 END END | Controllers.incPage: t := trailer.next; sh := f.b; DEC(sh, maxScrollHeight + sh MOD maxScrollHeight); IF t.h + dy > sh + fuseScrollHeight THEN DEC(dy, sh) ELSE t := ThisViewLine(v, f.b); LocateThisLine(v, t.start, t1, h); IF (h + t.h >= f.b) & (t.h <= maxScrollHeight) THEN org := st.PreviousLine(t.start) ELSE org := t.start END; IF h + t.h - f.b > maxScrollHeight THEN sh := f.b - h; DEC(sh, maxScrollHeight + sh MOD maxScrollHeight); IF sh >= fuseScrollHeight THEN dy := -sh ELSE dy := 0 END ELSE dy := 0 END END; IF (org < v.org) OR (org = v.org) & (dy >= v.dy) THEN (* guarantee progress *) IF t.h + dy > maxScrollHeight + fuseScrollHeight THEN DEC(dy, maxScrollHeight) ELSE org := t.next.start; dy := 0 END END | Controllers.gotoPos: org := st.ThisLine(msg.pos DIV maxScrollSteps); st.GetLine(org, box); sh := box.asc + box.dsc + st.GridOffset(-1, box); steps := -((-sh) DIV maxScrollHeight); IF (steps > 0) & (box.len > 0) THEN step := steps * (msg.pos - org * maxScrollSteps) DIV (maxScrollSteps * box.len); (* step := steps * (msg.pos MOD maxScrollSteps) DIV maxScrollSteps; *) dy := -(step * maxScrollHeight) ELSE dy := 0 END ELSE END; len := v.text.Length(); IF org > len THEN org := len; dy := 0 END; v.SetOrigin(org, dy); msg.done := TRUE END END Scroll; PROCEDURE NotifyViewsOnPage (v: StdView; beg, end, pageNo: INTEGER); VAR st: TextSetters.Setter; rd: TextSetters.Reader; r: TextModels.Reader; view: Views.View; current: INTEGER; page: PageMsg; BEGIN IF pageNo >= 0 THEN current := pageNo ELSIF Printing.par # NIL THEN current := Printing.Current() (* Printing.par.page.current *) + 1 ELSE current := -1 END; IF current >= 0 THEN st := v.ThisSetter(); rd := v.cachedRd; v.cachedRd := NIL; (* reader recycling *) rd := st.NewReader(rd); rd.Set(rd.r, v.text, 0, 0, v.defRuler, 0, st.vw, st.hideMarks); r := rd.r; r.SetPos(beg); r.ReadView(view); WHILE (r.Pos() <= end) & ~r.eot DO page.current := current; Views.HandlePropMsg(view, page); r.ReadView(view) END; CacheReader(v, rd) END END NotifyViewsOnPage; PROCEDURE Page (v: StdView; pageH: INTEGER; op, pageY: INTEGER; OUT done, eoy: BOOLEAN); VAR st: TextSetters.Setter; org, prev, page: INTEGER; BEGIN IF ~v.hideMarks & ((v.context = NIL) OR v.context.Normalize()) THEN v.DisplayMarks(hide) END; st := v.ThisSetter(); IF op = Controllers.nextPageY THEN done := TRUE; org := st.NextPage(pageH, v.org); eoy := (org = v.text.Length()); IF ~eoy THEN NotifyViewsOnPage(v, org, st.NextPage(pageH, org), -1) END ELSIF op = Controllers.gotoPageY THEN ASSERT(pageY >= 0, 20); done := TRUE; org := 0; eoy := FALSE; page := 0; WHILE (page < pageY) & ~eoy DO prev := org; org := st.NextPage(pageH, org); eoy := org = prev; IF ~eoy THEN NotifyViewsOnPage(v, prev, org, page) END; INC(page) END; IF ~eoy THEN NotifyViewsOnPage(v, org, st.NextPage(pageH, org), page) END ELSE done := FALSE END; IF done & ~eoy THEN v.org := org; v.dy := 0; v.trailer := NIL; v.bot := 0 END END Page; PROCEDURE ShowAdjusted (v: StdView; shift: INTEGER; rebuild: BOOLEAN); BEGIN IF shift # 0 THEN Views.Scroll(v, 0, shift) ELSIF rebuild THEN UpdateIn(v, 0, 0, MAX(INTEGER)) END; Views.RestoreDomain(v.Domain()) END ShowAdjusted; PROCEDURE AdjustLines (v: StdView; org, dy: INTEGER; OUT shift: INTEGER; OUT rebuild: BOOLEAN ); (* post: shift = 0 OR ~rebuild *) VAR d: Stores.Domain; c: Containers.Controller; t, t0, t1: Line; org0, dy0, y: INTEGER; BEGIN d := v.Domain(); t0 := v.trailer; org0 := v.org; rebuild := FALSE; shift := 0; IF (d # NIL) & ((org # org0) OR (dy # v.dy)) THEN Views.RestoreDomain(d); (* make sure that pixels are up-to-date before scrolling *) c := v.ThisController(); IF c # NIL THEN Containers.FadeMarks(c, Containers.hide) (* fade marks with overhang *) END END; IF (t0 # NIL) & (org = org0) & (dy # v.dy) THEN (* sub-line shift *) shift := dy - v.dy; ELSIF (t0 # NIL) & (org > org0) & (org < t0.start) THEN (* shift up *) LocateThisLine(v, org, t, y); t0.next := t; shift := dy - y ELSIF (t0 # NIL) & (org < org0) THEN (* shift down *) t1 := t0.next; dy0 := v.dy + t1.asc; v.org := org; v.dy := dy; IF t1.start = org0 THEN (* new lines need to be prepended *) PrependLines(v) (* may change t1.asc *) END; ASSERT(t0.next.start = org, 100); IF org0 < t0.start THEN (* former top still visible -> shift down *) LocateThisLine(v, org0, t, y); shift := y - (dy0 - t1.asc) ELSE (* rebuild all *) rebuild := TRUE END ELSIF (t0 = NIL) OR (org # org0) OR (dy # v.dy) THEN (* rebuild all *) rebuild := TRUE END; v.org := org; v.dy := dy; IF rebuild THEN (* rebuild all *) v.trailer := NIL; ValidateLines(v, v.bot) ELSIF shift < 0 THEN (* shift up *) INC(v.bot, shift); ExtendLines(v, v.bot - shift) ELSIF shift > 0 THEN (* shift down *) INC(v.bot, shift); ReduceLines(v, v.bot - shift) END END AdjustLines; PROCEDURE Limit (v: StdView; bot: INTEGER; allLines: BOOLEAN): INTEGER; CONST minH = 12 * point; VAR s, t: Line; pos, y: INTEGER; BEGIN s := v.trailer.next; t := s; y := v.dy; WHILE ~t.box.eot & (y + t.h <= bot) DO INC(y, t.h); s := t; t := t.next END; IF ~allLines & (bot - y < t.h) & (bot - y < minH) THEN t := s END; pos := t.start + t.box.len; (* IF t.box.eot THEN INC(pos) END; *) RETURN pos END Limit; (* ScrollOp *) PROCEDURE (op: ScrollOp) Do; VAR org0, dy0, org, dy, shift: INTEGER; rebuild: BOOLEAN; BEGIN IF op.bunch THEN org := op.bunchOrg; dy := op.bunchDy ELSE org := op.org; dy := op.dy END; org0 := op.v.org; dy0 := op.v.dy; IF op.silent THEN op.v.org := org; op.v.dy := dy; op.silent := FALSE ELSE AdjustLines(op.v, org, dy, shift, rebuild); ShowAdjusted(op.v, shift, rebuild) END; IF op.bunch THEN op.bunch := FALSE ELSE op.org := org0; op.dy := dy0 END END Do; PROCEDURE DoSetOrigin (v: StdView; org, dy: INTEGER; silent: BOOLEAN); (* pre: org = v.ThisSetter().ThisLine(org) *) VAR con: Models.Context; last: Stores.Operation; op: ScrollOp; shift: INTEGER; rebuild: BOOLEAN; BEGIN IF (org # v.org) OR (dy # v.dy) THEN con := v.context; IF con # NIL THEN IF (v.Domain() = NIL) OR con.Normalize() THEN IF silent THEN v.org := org; v.dy := dy ELSE AdjustLines(v, org, dy, shift, rebuild); ShowAdjusted(v, shift, rebuild) END ELSE last := Views.LastOp(v); IF (last # NIL) & (last IS ScrollOp) THEN op := last(ScrollOp); op.bunch := TRUE; op.bunchOrg := org; op.bunchDy := dy; op.silent := silent; Views.Bunch(v) ELSE NEW(op); op.v := v; op.org := org; op.dy := dy; op.bunch := FALSE; op.silent := silent; Views.Do(v, scrollingKey, op) END END ELSE v.org := org; v.dy := dy END END END DoSetOrigin; (* SetOp *) PROCEDURE (op: SetOp) Do; VAR v: StdView; m: BOOLEAN; a: TextModels.Attributes; r: TextRulers.Ruler; s: TextSetters.Setter; BEGIN v := op.view; CASE op.mode OF setMarks: m := v.hideMarks; v.hideMarks := op.hideMarks; op.hideMarks := m | setSetter: s := v.setter; IF s # NIL THEN s.ConnectTo(NIL, NIL, 0, FALSE) END; v.setter := op.setter; op.setter := s | setDefs: r := v.defRuler; a := v.defAttr; v.defRuler := op.defRuler; v.defAttr := op.defAttr; op.defRuler := r; op.defAttr := a; (* IF (v.defAttr.Domain() # NIL) & (v.defAttr.Domain() # v.Domain()) THEN v.defAttr := Stores.CopyOf(v.defAttr)(TextModels.Attributes) END; Stores.Join(v, v.defAttr); *) IF v.defAttr # NIL THEN (* could be for undo operations *) IF ~Stores.Joined(v, v.defAttr) THEN IF ~Stores.Unattached(v.defAttr) THEN v.defAttr := Stores.CopyOf(v.defAttr)(TextModels.Attributes) END; Stores.Join(v, v.defAttr) END; END; IF v.defRuler # NIL THEN Stores.Join(v, v.defRuler) END; END; RebuildView(v) END Do; PROCEDURE DoSet (op: SetOp; mode: INTEGER; v: StdView); BEGIN op.mode := mode; op.view := v; Views.Do(v, viewSettingKey, op) END DoSet; (* StdView *) PROCEDURE (v: StdView) Internalize2 (VAR rd: Stores.Reader); VAR st: Stores.Store; r: TextRulers.Ruler; a: TextModels.Attributes; org, dy: INTEGER; thisVersion: INTEGER; hideMarks: BOOLEAN; BEGIN v.Internalize2^(rd); IF rd.cancelled THEN RETURN END; rd.ReadVersion(minVersion, maxStdVersion, thisVersion); IF rd.cancelled THEN RETURN END; rd.ReadBool(hideMarks); rd.ReadStore(st); ASSERT(st # NIL, 100); IF ~(st IS TextRulers.Ruler) THEN rd.TurnIntoAlien(Stores.alienComponent); Stores.Report("#Text:AlienDefaultRuler", "", "", ""); RETURN END; r := st(TextRulers.Ruler); TextModels.ReadAttr(rd, a); rd.ReadInt(org); rd.ReadInt(dy); v.DisplayMarks(hideMarks); v.setter := TextSetters.dir.New(); v.setter0 := NIL; v.SetDefaults(r, a); v.SetOrigin(org, dy); v.trailer := NIL; v.bot := 0 END Internalize2; PROCEDURE (v: StdView) Externalize2 (VAR wr: Stores.Writer); VAR org, dy: INTEGER; hideMarks: BOOLEAN; a: Stores.Store; BEGIN v.Externalize2^(wr); IF (v.context = NIL) OR v.context.Normalize() THEN org := 0; dy := 0; hideMarks := TRUE ELSE org := v.org; dy := v.dy; hideMarks := v.hideMarks END; wr.WriteVersion(maxStdVersion); wr.WriteBool(hideMarks); a := Stores.CopyOf(v.defAttr); (*Stores.InitDomain(a, v.Domain());*) Stores.Join(v, a); (* bkwd-comp hack: avoid link => so that pre release 1.3 Internalize can still read texts *) wr.WriteStore(v.defRuler); wr.WriteStore(a); wr.WriteInt(org); wr.WriteInt(dy) END Externalize2; PROCEDURE (v: StdView) CopyFromModelView2 (source: Views.View; model: Models.Model); VAR s: TextSetters.Setter; r: TextRulers.Ruler; BEGIN (* v.CopyFromModelView^(source, model); *) WITH source: StdView DO s := Stores.CopyOf(source.setter)(TextSetters.Setter); v.setter := s; v.setter0 := NIL; r := TextRulers.CopyOf(source.defRuler, Views.deep); v.DisplayMarks(source.HidesMarks()); v.SetDefaults(r, source.defAttr); v.trailer := NIL; v.bot := 0; IF v.text = source.text THEN v.org := source.org; v.dy := source.dy END END END CopyFromModelView2; PROCEDURE (v: StdView) Restore (f: Views.Frame; l, t, r, b: INTEGER); VAR st: TextSetters.Setter; u0, u: Line; y0, y, w, h: INTEGER; end: INTEGER; pageF: BOOLEAN; BEGIN ASSERT(v.context # NIL, 20); IF v.setter # NIL THEN v.context.GetSize(w, h) END; IF (v.setter = NIL) OR (v.setter.vw # w) THEN Views.RemoveFrames(f, l, t, r, b) END; ValidateLines(v, b); u := v.trailer.next; y := v.dy; pageF := Views.IsPrinterFrame(f) & v.context.Normalize(); IF pageF THEN (* on page-formatted frames do not display truncated lines at bottom *) st := v.ThisSetter(); end := st.NextPage(f.b - f.t, v.org) END; WHILE (u # v.trailer) & (y + u.h <= t) DO INC(y, u.h); u := u.next END; y0 := y; u0 := u; IF (u = v.trailer.next) & (y < b) THEN (* at least one line per page *) ASSERT((u.box.len > 0) OR u.box.eot OR (u.next = v.trailer), 100); DrawLine(v, u.start, u.box, f, l, r, y + u.asc, y + u.h - u.box.dsc - u.box.asc, pageF); INC(y, u.h); u := u.next END; WHILE (u # v.trailer) & (y < b) & (~pageF OR (u.start < end)) DO ASSERT((u.box.len > 0) OR u.box.eot OR (u.next = v.trailer), 101); IF u.box.ruler # u0.box.ruler THEN DrawDecorations(v, u0, f, l, y0, r, y); u0 := u; y0 := y END; DrawLine(v, u.start, u.box, f, l, r, y + u.asc, y + u.h - u.box.dsc - u.box.asc, pageF); INC(y, u.h); u := u.next END; IF y0 # y THEN DrawDecorations(v, u0, f, l, y0, r, y) END END Restore; PROCEDURE (v: StdView) DisplayMarks (hide: BOOLEAN); VAR op: SetOp; c: Containers.Controller; BEGIN IF v.hideMarks # hide THEN c := v.ThisController(); IF c # NIL THEN Containers.FadeMarks(c, Containers.hide) END; IF (v.context # NIL) & ~v.context.Normalize() THEN NEW(op); op.hideMarks := hide; DoSet(op, setMarks, v) ELSE v.hideMarks := hide; RebuildView(v) END END END DisplayMarks; PROCEDURE (v: StdView) HidesMarks (): BOOLEAN; BEGIN RETURN v.hideMarks END HidesMarks; PROCEDURE (v: StdView) SetSetter (setter: TextSetters.Setter); VAR op: SetOp; BEGIN ASSERT(setter # NIL, 20); IF v.setter # setter THEN IF v.setter # NIL THEN NEW(op); op.setter := setter; DoSet(op, setSetter, v) ELSE v.setter := setter END END END SetSetter; PROCEDURE (v: StdView) ThisSetter (): TextSetters.Setter; VAR st: TextSetters.Setter; w, h: INTEGER; BEGIN st := v.setter; ASSERT(st # NIL, 20); IF st # v.setter0 THEN IF v.context # NIL THEN v.context.GetSize(w, h) ELSE IF Dialog.metricSystem THEN w := 165*mm ELSE w := 104*inch16 END END; st.ConnectTo(v.text, v.defRuler, w, v.hideMarks); v.setter0 := st END; RETURN st END ThisSetter; PROCEDURE (d: StdView) AcceptableModel (m: Containers.Model): BOOLEAN; BEGIN RETURN m IS TextModels.Model END AcceptableModel; PROCEDURE (v: StdView) InitModel2 (m: Containers.Model); BEGIN ASSERT(m IS TextModels.Model, 23); v.text := m(TextModels.Model) END InitModel2; PROCEDURE (v: StdView) SetOrigin (org, dy: INTEGER); VAR st: TextSetters.Setter; start: INTEGER; BEGIN ASSERT(v.text # NIL, 20); st := v.ThisSetter(); start := st.ThisLine(org); IF start # org THEN org := start; dy := 0 END; DoSetOrigin(v, org, dy, FALSE) END SetOrigin; PROCEDURE (v: StdView) PollOrigin (OUT org, dy: INTEGER); BEGIN org := v.org; dy := v.dy END PollOrigin; PROCEDURE (v: StdView) SetDefaults (r: TextRulers.Ruler; a: TextModels.Attributes); VAR op: SetOp; BEGIN ASSERT(r # NIL, 20); ASSERT(r.style.attr.init, 21); ASSERT(a # NIL, 22); ASSERT(a.init, 23); IF (v.defRuler # r) OR (v.defAttr # a) THEN (* (*IF (v.context # NIL) & (r # v.defRuler) THEN*) IF (v.Domain() # NIL) & (r # v.defRuler) THEN Stores.InitDomain(r, v.Domain()) END; *) IF r # v.defRuler THEN Stores.Join(v, r) END; NEW(op); op.defRuler := r; op.defAttr := a; DoSet(op, setDefs, v) END END SetDefaults; PROCEDURE (v: StdView) PollDefaults (OUT r: TextRulers.Ruler; OUT a: TextModels.Attributes); BEGIN r := v.defRuler; a := v.defAttr END PollDefaults; (* PROCEDURE (v: StdView) PropagateDomain; VAR m: Models.Model; BEGIN ASSERT(v.setter # NIL, 20); ASSERT(v.text # NIL, 21); ASSERT(v.defRuler # NIL, 22); ASSERT(v.defAttr # NIL, 23); v.PropagateDomain^; m := v.ThisModel(); IF m # NIL THEN Stores.InitDomain(m, v.Domain()) END; Stores.InitDomain(v.defRuler, v.Domain()) END PropagateDomain; *) (* PROCEDURE (v: StdView) Flush, NEW; BEGIN v.trailer := NIL; v.bot := 0; v.setter0 := NIL END Flush; *) PROCEDURE (v: StdView) HandleModelMsg2 (VAR msg: Models.Message); BEGIN IF msg.model = v.text THEN WITH msg: Models.UpdateMsg DO WITH msg: TextModels.UpdateMsg DO IF msg.op IN {TextModels.insert, TextModels.delete, TextModels.replace} THEN UpdateView(v, msg.beg, msg.end, msg.delta) ELSE (* unknown text op happened *) RebuildView(v) END ELSE (* unknown text update happened *) RebuildView(v) END | msg: PositionMsg DO v.ShowRange(msg.beg, msg.end, msg.focusOnly) ELSE END ELSE (* domaincast received *) WITH msg: TextRulers.UpdateMsg DO StyleUpdate(v, msg.oldAttr) | msg: Models.UpdateMsg DO (* forced rebuild *) RebuildView(v) ELSE END END END HandleModelMsg2; PROCEDURE (v: StdView) HandleViewMsg2 (f: Views.Frame; VAR msg: Views.Message); BEGIN IF msg.view = v THEN WITH msg: FindAnyFrameMsg DO IF (msg.frame = NIL) OR (msg.frame.b - msg.frame.t > f.b - f.t) THEN msg.frame := f END ELSE END ELSE WITH msg: Views.UpdateCachesMsg DO (* display view in new frame *) IF Views.Era(v) # Models.Era(v.text) THEN (* view/setter caches outdated - possible if v previous to this notification had no frame open *) v.setter0 := NIL; v.trailer := NIL; v.bot := 0 END ELSE END END END HandleViewMsg2; PROCEDURE (v: StdView) HandleCtrlMsg2 (f: Views.Frame; VAR msg: Controllers.Message; VAR focus: Views.View ); BEGIN WITH msg: Controllers.PollSectionMsg DO IF (focus = NIL) OR ~msg.focus THEN PollSection(v, f, msg); focus := NIL END | msg: FindFocusFrameMsg DO IF (msg.view = v) & (msg.frame = NIL) THEN msg.frame := f END | msg: Controllers.ScrollMsg DO IF (focus = NIL) OR ~msg.focus THEN Scroll(v, f, msg); focus := NIL END | msg: Controllers.PageMsg DO Page(v, f.b - f.t, msg.op, msg.pageY, msg.done, msg.eoy); focus := NIL ELSE END END HandleCtrlMsg2; PROCEDURE (v: StdView) HandlePropMsg2 (VAR p: Properties.Message); CONST minW = 5 * point; maxW = maxHeight; minH = 5 * point; maxH = maxHeight; VAR st: TextSetters.Setter; BEGIN WITH p: Properties.SizePref DO IF p.w = Views.undefined THEN p.w := v.defRuler.style.attr.right END; IF p.h = Views.undefined THEN p.h := MAX(INTEGER) END | p: Properties.BoundsPref DO st := v.ThisSetter(); st.GetBox(0, v.text.Length(), maxW, maxH, p.w, p.h); IF p.w < minW THEN p.w := minW END; IF p.h < minH THEN p.h := minH END | p: Properties.ResizePref DO p.fixed := FALSE; p.horFitToPage := ~(TextRulers.rightFixed IN v.defRuler.style.attr.opts); p.verFitToWin := TRUE | p: Properties.TypePref DO IF Services.Is(v, p.type) THEN p.view := v END | p: Containers.DropPref DO p.okToDrop := TRUE ELSE END END HandlePropMsg2; PROCEDURE (v: StdView) GetThisLocation (f: Views.Frame; pos: INTEGER; OUT loc: Location); (* pre: f must be displayed *) (* if position lies outside view, the next best location inside will be taken *) VAR rd: TextSetters.Reader; t: Line; p1, y, w, h: INTEGER; BEGIN ValidateLines(v, f.b); y := v.dy; IF pos < v.org THEN t := v.trailer.next; loc.start := t.start; loc.pos := t.start; loc.x := 0; loc.y := y; loc.asc := t.asc; loc.dsc := t.h - t.asc; loc.view := NIL; RETURN ELSIF pos < v.trailer.start THEN t := v.trailer.next; WHILE ~t.box.eot & ~((t.start <= pos) & (pos < t.next.start)) DO INC(y, t.h); t := t.next END ELSE (* pos >= v.trailer.start *) t := v.trailer.next; WHILE ~t.box.eot DO INC(y, t.h); t := t.next END; IF t = v.trailer THEN loc.start := t.start; loc.pos := t.start; loc.x := 0; loc.y := y; loc.asc := t.asc; loc.dsc := t.h - t.asc; loc.view := NIL; RETURN END END; p1 := t.start; rd := GetReader(v, p1, t.box); rd.Read; WHILE rd.pos < pos DO p1 := rd.pos; rd.AdjustWidth(t.start, p1, t.box, rd.w); INC(rd.x, rd.w); rd.Read END; IF LEN(rd.sString$) > 1 THEN (* collated subsequence *) rd.x := f.SCharPos(rd.x, pos - p1, rd.sString, rd.attr.font); IF rd.pos = pos THEN rd.Read END ELSIF rd.pos = pos THEN rd.AdjustWidth(t.start, pos, t.box, rd.w); INC(rd.x, rd.w); rd.Read ELSE ASSERT(p1 = pos, 100) END; loc.view := rd.view; loc.start := t.start; loc.pos := pos; loc.x := rd.x; loc.y := y; loc.asc := t.asc; loc.dsc := t.h - t.asc; IF loc.view # NIL THEN v.context.GetSize(w, h); IF rd.x + rd.w > w THEN rd.w := w - rd.x END; loc.l := rd.x; loc.t := y - rd.attr.offset + t.asc + rd.dsc - rd.h; loc.r := loc.l + rd.w; loc.b := loc.t + rd.h END; CacheReader(v, rd) END GetThisLocation; PROCEDURE (v: StdView) GetRange (f: Views.Frame; OUT beg, end: INTEGER); VAR t: Line; BEGIN ValidateLines(v, f.b); t := ThisViewLine(v, f.t); beg := t.start; end := Limit(v, f.b, TRUE) END GetRange; PROCEDURE (v: StdView) ThisPos (f: Views.Frame; x, y: INTEGER): INTEGER; (* pre: f must be displayed *) (* post: f.org <= result <= v.text.Length() *) VAR rd: TextSetters.Reader; t: Line; p1, end, py: INTEGER; BEGIN ValidateLines(v, f.b); t := v.trailer.next; py := v.dy; WHILE ~t.box.eot & (py + t.h <= y) DO INC(py, t.h); t := t.next END; p1 := t.start; end := p1 + t.box.len; IF py + t.h > y THEN IF (end > p1) & (y >= v.dy) THEN IF t.box.eot THEN INC(end) END; rd := GetReader(v, p1, t.box); rd.Read; rd.AdjustWidth(t.start, rd.pos, t.box, rd.w); WHILE (rd.x + rd.SplitWidth(rd.w) < x) & (rd.pos < end) DO p1 := rd.pos; INC(rd.x, rd.w); rd.Read; rd.AdjustWidth(t.start, rd.pos, t.box, rd.w) END; IF LEN(rd.sString$) > 1 THEN (* collated subsequence *) INC(p1, f.SCharIndex(rd.x, x, rd.sString, rd.attr.font)) END; CacheReader(v, rd) END ELSE p1 := end END; RETURN p1 END ThisPos; PROCEDURE (v: StdView) ShowRangeIn (f: Views.Frame; beg, end: INTEGER); CONST minH = 12 * point; VAR c: Models.Context; st: TextSetters.Setter; t, t1: Line; org0, last, len, org, dy, p, q: INTEGER; y, h, mh: INTEGER; box, box0: TextSetters.LineBox; loc, loc1: Location; focus: BOOLEAN; BEGIN focus := f = Controllers.FocusFrame(); c := v.context; st := v.ThisSetter(); ValidateLines(v, f.b); org0 := v.org; last := Limit(v, f.b, FALSE); len := v.text.Length(); IF last = len THEN p := st.ThisLine(last); LocateThisLine(v, p, t1, y); h := f.b - y END; IF (beg > last) OR (beg = last) & ((last < len) OR (len > 0) & (h < t1.h) & (h < minH)) OR (end < org0) OR (beg < end) & (end = org0) THEN org := -1; dy := 0; IF beg <= org0 THEN (* try to adjust by scrolling up *) p := st.PreviousLine(v.org); IF p <= beg THEN (* reveal one line at top *) org := p; st.GetLine(org, box); h := box.asc + box.dsc + st.GridOffset(-1, box); IF h > maxScrollHeight + fuseScrollHeight THEN dy := -(h - h MOD maxScrollHeight); IF h + dy < fuseScrollHeight THEN INC(dy, maxScrollHeight) END END END END; IF (org = -1) & (beg >= last) THEN (* try to adjust by scrolling down *) p := st.ThisLine(last); q := st.NextLine(p); st.GetLine(q, box); IF (beg < q + box.len) OR (p = q) THEN (* reveal one line at bottom *) LocateThisLine(v, p, t1, y); h := box.asc + box.dsc + st.GridOffset(t1.box.dsc, box); IF h > maxScrollHeight + fuseScrollHeight THEN h := maxScrollHeight END; mh := y + t1.h - f.b + h; t := v.trailer.next; h := v.dy; WHILE (t # v.trailer) & (h < mh) DO INC(h, t.h); t := t.next END; IF t.start > v.org THEN org := t.start END END END; IF org = -1 THEN (* adjust by moving into "nice" position *) mh := f.b DIV 3; org := st.ThisLine(beg); st.GetLine(org, box0); h := box0.asc + box0.dsc + st.GridOffset(-1, box0); p := org; WHILE (p > 0) & (h < mh) DO DEC(h, st.GridOffset(-1, box0)); org := p; p := st.PreviousLine(org); st.GetLine(p, box); INC(h, box.asc + box.dsc + st.GridOffset(box.dsc, box0)); box0 := box END; IF (org = len) & (len > 0) THEN org := st.PreviousLine(org) END END; DoSetOrigin(v, org, dy, FALSE) END; IF focus THEN f := Controllers.FocusFrame(); IF (f # NIL) & (f.view = v) THEN v.GetThisLocation(f, beg, loc); v.GetThisLocation(f, end, loc1); IF (loc.y = loc1.y) & (loc.x <= loc1.x) THEN c.MakeVisible(loc.x, loc.y, loc1.x, loc1.y) END ELSE HALT(100); (* this should not happen *) END END; (* IF c IS Documents.Context THEN v.GetThisLocation(f, beg, loc); v.GetThisLocation(f, end, loc1); IF (loc.y = loc1.y) & (loc.x <= loc1.x) THEN Documents.MakeVisible(c(Documents.Context).ThisDoc(), f, loc.x, loc.y, loc1.x, loc1.y) END END *) END ShowRangeIn; PROCEDURE (v: StdView) ShowRange (beg, end: INTEGER; focusOnly: BOOLEAN); VAR fmsg: FindFocusFrameMsg; amsg: FindAnyFrameMsg; f: Views.Frame; BEGIN IF focusOnly THEN fmsg.view := v; fmsg.frame := NIL; Controllers.Forward(fmsg); f := fmsg.frame ELSE amsg.frame := NIL; Views.Broadcast(v, amsg); f := amsg.frame END; IF f # NIL THEN v.ShowRangeIn(f, beg, end) END END ShowRange; (* StdDirectory *) PROCEDURE (d: StdDirectory) New (text: TextModels.Model): View; VAR v: StdView; c: Controllers.Controller; r: TextRulers.Ruler; BEGIN r := TextRulers.dir.New(NIL); IF text = NIL THEN text := TextModels.dir.New() END; (* IF text.Domain() # NIL THEN Stores.InitDomain(r, text.Domain()) END; *) Stores.Join(text, r); NEW(v); v.hideMarks := FALSE; v.bot := 0; v.org := 0; v.dy := 0; v.InitModel(text); v.SetDefaults(r, d.defAttr); v.SetSetter(TextSetters.dir.New()); v.DisplayMarks(hide); IF ctrlDir # NIL THEN v.SetController(ctrlDir.New()) END; (* Stores.InitDomain(v, text.Domain()); *) Stores.Join(v, text); RETURN v END New; PROCEDURE Init; VAR d: StdDirectory; a: TextModels.Attributes; res: INTEGER; BEGIN Dialog.Call("TextControllers.Install", "#Text:CntrlInstallFailed", res); NEW(a); a.InitFromProp(NIL); (* use defaults *) NEW(d); d.defAttr := a; stdDir := d; dir := d END Init; BEGIN Init END TextViews.
Text/Mod/Views.odc
Text/Rsrc/Cmds.odc
Text/Rsrc/Cmds1.odc
MENU "Текст" ("TextViews.View") "Заглавные и раскрыть" "F5" "i21sysEdit.CapitalizeExpand" "TextCmds.FocusGuard" "Заглавные" "*F5" "i21sysEdit.Capitalize" "TextCmds.FocusGuard" "Перекодировать из KOI-8" "" "i21sysEdit.Translate" "TextCmds.FocusGuard" SEPARATOR "Найти / Заменить..." "F" "TextCmds.InitFindDialog; StdCmds.OpenToolDialog('Text/Rsrc/Cmds', 'Find / Replace')" "" "Найти снова" "F3" "TextCmds.InitFindDialog; TextCmds.FindAgain('~I~B~E~R')" "TextCmds.FindAgainGuard" "Найти предыдущее" "*F3" "TextCmds.InitFindDialog; TextCmds.FindAgain('~I~B~ER')" "TextCmds.FindAgainGuard" "Найти первое" "F4" "TextCmds.InitFindDialog; TextCmds.FindFirst('~I~B~E~R')" "TextCmds.FindAgainGuard" "Найти последнее" "*F4" "TextCmds.InitFindDialog; TextCmds.FindFirst('~I~B~ER')" "TextCmds.FindAgainGuard" SEPARATOR "Сдвиг влево" "F11" "TextCmds.ShiftLeft" "TextCmds.EditGuard" "Сдвиг вправо" "F12" "TextCmds.ShiftRight" "TextCmds.EditGuard" "Верхний индекс" "" "TextCmds.Superscript" "TextCmds.SelectionGuard" "Нижний индекс" "" "TextCmds.Subscript" "TextCmds.SelectionGuard" "Поднять" "*^F8" "i21sysEdit.Raise" "TextCmds.SelectionGuard" "Опустить" "^F8" "i21sysEdit.Lower" "TextCmds.SelectionGuard" "Базовый уровень" "" "i21sysEdit.Offset0" "TextCmds.SelectionGuard" SEPARATOR "Вставить абзац" "M" "TextCmds.InsertParagraph" "StdCmds.PasteCharGuard" "Вставить линейку" "J" "TextCmds.InsertRuler" "StdCmds.PasteViewGuard" "Вставить возможный перенос" "" "TextCmds.InsertSoftHyphen" "StdCmds.PasteCharGuard" "Вставить неразрывный дефис" "" "TextCmds.InsertNBHyphen" "StdCmds.PasteCharGuard" "Вставить неразрывный пробел" "" "TextCmds.InsertNBSpace" "StdCmds.PasteCharGuard" "Вставить цифровой пробел" "" "TextCmds.InsertDigitSpace" "StdCmds.PasteCharGuard" "Показать/Скрыть разметку" "H" "TextCmds.ToggleMarks" "TextCmds.ToggleMarksGuard" SEPARATOR "Сделать атрибутами по умолчанию" "" "TextCmds.MakeDefaultAttributes" "TextCmds.SelectionGuard" "Сделать линейкой по умолчанию" "" "TextCmds.MakeDefaultRuler" "StdCmds.SingletonGuard" SEPARATOR "Открыть поток ввода" "*F1" "i21sysIn.OpenSelection" "TextCmds.SelectionGuard" "Показать коды литер" "" "i21sysUnicodeTools.ExamineSelection" "TextCmds.SelectionGuard" "В EASCII" "" "i21sysUnicodeTools.SelToEASCII" "TextCmds.SelectionGuard" "В Unicode" "" "i21sysUnicodeTools.SelToUnicode" "TextCmds.SelectionGuard" END MENU "*" ("TextViews.View") "Вырезать" "" "HostCmds.Cut" "HostCmds.CutGuard" "Копировать" "" "HostCmds.Copy" "HostCmds.CopyGuard" "Вставить" "" "HostCmds.Paste" "HostCmds.PasteGuard" "Удалить" "" "StdCmds.Clear" "HostCmds.CutGuard" SEPARATOR "Исходный текст" "" "DevReferences.ShowSource" "TextCmds.SelectionGuard" "Интерфейс" "" "DevBrowser.ShowInterface('')" "TextCmds.SelectionGuard" "Документация" "" "DevReferences.ShowDocuLang('ru')" "TextCmds.SelectionGuard" "&Documentation" "" "DevReferences.ShowDocu" "TextCmds.SelectionGuard" SEPARATOR "Свойства..." "" "StdCmds.ShowProp" "StdCmds.ShowPropGuard" "Объект" "" "HostMenus.ObjectMenu" "HostMenus.ObjectMenuGuard" SEPARATOR "Выгрузить" "" "DevDebug.Unload" "TextCmds.FocusGuard" SEPARATOR "Открыть поток ввода" "*F1" "i21sysIn.Open" "TextCmds.SelectionGuard" "Показать коды литер" "" "i21sysUnicodeTools.ExamineSelection" "TextCmds.SelectionGuard" "Выделенное -> EASCII" "" "i21sysUnicodeTools.SelToEASCII" "TextCmds.SelectionGuard" "Выделенное -> Unicode" "" "i21sysUnicodeTools.SelToUnicode" "TextCmds.SelectionGuard" END
Text/Rsrc/Menus.odc
STRINGS OK, Cancel, Close >> System/Rsrc/Strings (Text)Cmds (Text)Cmds F&ind: Найти: F&ind F&ind R&epl: Замена: R&eplace R&eplace Find &First Найти первый Find &Next Найти следующий &Replace Заменить Repl. && Fin&d Заменить и найти Replace &All Заменить всюду Word &Begins With Начало слова Word &Ends With Конец слова Ignore &Case Игнорировать заглавные &Reverse Direction Искать назад (Text)Cmds1 (Text)Cmds1 Page breaks Разбиение на страницы &Avoid inside Избегать внутри &Keep together with next Вместе со следующим AlienAttributes alien attributes CntrlInstallFailed text controller installation failed leftAdjust left adjust rightAdjust right adjust noBreakInside no break inside pageBreak page break parJoin par join rightFixed fixed right border IllegalTabArray illegal tab array OpenSizeDialog StdCmds.InitSizeDialog; StdCmds.OpenToolDialog('Std/Rsrc/Cmds', '#System:OtherSize') OpenRulerDialog TextCmds.InitRulerDialog; StdCmds.OpenToolDialog('Text/Rsrc/Cmds1', '#Text:RulerSettings') RulerSettings Ruler Settings Position position SearchForAlienViews search for alien views AlienDefaultRuler alien default ruler AlienViewType alien view type NoAlienViewsFound no alien views found NoRulerSelected no ruler selected IllegalRulerOptions illegal ruler options SelectionDoesNotMatch selection does not match NoTargetFound no target found NoSelectionFound no selection found PatternNotSpecified pattern not specified PatternNotFound pattern not found Shifting Shifting FindAndReplace Найти и заменить Locate Locate ShowMarks Показать разметку HideMarks Спрятать разметку ReplaceAllInSelection Зам. все в выд. ReplaceAll Заменить всюду FocusShouldBeText в фокусе должен быть текст AttributeChange Attribute Change Appending Appending RulerChange Ruler Change InsertParagraph Paragraph Insertion InsertRuler Ruler Insertion TextViews.StdView standard Text view TextModels.StdModel standard Text model TextControllers.StdCtrl standard Text controller Rulers.Prop TextCmds.InitRulerDialog; StdCmds.OpenToolDialog('Text/Rsrc/Cmds1', '#Text:RulerSettings')
Text/Rsrc/Strings.odc
Windows Programming Interfaces The Win subsystem contains the interface modules for the various Windows programming interfaces. The following table shows the available modules and a short desription of their contents: module contents WinApi basic data types, error codes, basic Win32 functionality WinDlg common dialog box library WinCtl common controls WinOle basic COM and OLE interfaces WinOleDlg OLE dialogs (OleUI...) WinOleAut OLE automation interfaces WinOleCtl OLE controls interfaces WinRpc remote procedure call functions WinNet networking and socket functions WinMM multimedia services WinCmc Messaging Application Programming Interface (MAPI) WinSql Database services (ODBC) Naming Conventions Names are generally the same as in the corresponding C header and help files. An exception applies to pointers which are always named after the structure they point to with a "Ptr" prefix. Example: RECT = RECORD [untagged] left, top, right, bottom: INTEGER END; PtrRECT = POINTER TO RECT; Parameters Parameters of pointer type are represented as variable parameters (VAR/IN/OUT) whenever possible. Pointers to Pointers Pointers to pointers or basic types cannot be declared directly in Component Pascal. A type of the form p: POINTER TO ARRAY [untagged] OF BaseType; is used instead. You can use the form p[0] to dereference such a pointer.
Win/Docu/Api.odc
WinCmc Contains the interfaces for the Windows Messaging Application Programming Interface (MAPI). See WinApi for more information.
Win/Docu/Cmc.odc
WinCtl Contains the interface for the Windows common controls library. See WinApi for more information.
Win/Docu/Ctl.odc
WinDlg Contains the interface for the Windows common dialog box library. See WinApi for more information.
Win/Docu/Dlg.odc
WinGL Contains the interface for the Windows implementation of Open GL. See WinApi for more information.
Win/Docu/GL.odc
WinGLAux Contains an auxiliary interface for the Windows implementation of Open GL. See WinApi for more information.
Win/Docu/GLAux.odc
WinGLUtil Contains an auxiliary interface for the Windows implementation of Open GL. See WinApi for more information.
Win/Docu/GLUtil.odc
WinMM Contains the interface for the Windows multimedia services. See WinApi for more information.
Win/Docu/MM.odc
WinNet Contains the interfaces for Windows networking and socket services. See WinApi for more information.
Win/Docu/Net.odc
WinOle Contains the basic interfaces for COM and OLE. See WinApi for more information.
Win/Docu/Ole.odc
WinOleAut Contains the interfaces for OLE Automation. See WinApi for more information.
Win/Docu/OleAut.odc
WinOleCtl Contains the interfaces for OLE controls. See WinApi for more information.
Win/Docu/OleCtl.odc
WinOleDlg Contains the interface for the OLE dialog library. See WinApi for more information.
Win/Docu/OleDlg.odc
WinRpc Contains the interface for Windows remote procedure calls. See WinApi for more information.
Win/Docu/Rpc.odc
WinSql Contains the interfaces for Windows Database services (ODBC). See WinApi for more information.
Win/Docu/Sql.odc
Map to the Win Subsystem WinApi Win32 API WinCmc MAPI interface WinDlg common dialog boxes WinCtl common controls WinOle COM and OLE WinOleDlg OLE dialogs WinOleAut OLE automation WinOleCtl OLE controls WinRpc remote procedure calls WinNet network and sockets WinMM multimedia WinSql access to ODBC databases
Win/Docu/Sys-Map.odc
Программные интерфейсы Windows Подсистема Win содержит интерфейсные модули для различных программных интерфейсов Windows. Следующая таблица содержит список доступных модулей и краткое описание их содержания: модуль содержание WinApi основные типы данных, коды ошибок, основной набор функций Win32 WinDlg библиотека базовых диалогов WinCtl базовые элементы управления WinOle основные интерфейсы COM и OLE WinOleDlg диалоги OLE (OleUI...) WinOleAut интерфейсы автоматизации OLE WinOleCtl интерфейсы элементов управления OLE WinRpc функции вызова удаленных процедур WinNet функции для работы с сетью и сокетами WinMM службы мультимедиа WinCmc Messaging Application Programming Interface (MAPI) WinSql службы баз данных (ODBC) Соглашения по именованию Практически все имена такие же как в соответствующих заголовочных файла C и справочных файлах. Исключением являются типы-указатели, которые всегда определяются после структур, на которые они указывают, и именуюся с добавлением приставки "Ptr" к имени структуры. Пример: RECT = RECORD [untagged] left, top, right, bottom: INTEGER END; PtrRECT = POINTER TO RECT; Параметры Параметры указательных типов заменяются на параметры-переменные (VAR/IN/OUT) везде, где это возможно. Указатели на указатели Указатели на указатели или указатели базовые типы не могут быть напрямую объявлены в Компонентном Паскале. Вместо таких указателей используются типы вида "p: POINTER TO ARRAY [untagged] OF BaseType". Чтобы разыменовать такой указатель достаточно написать p[0].
Win/Docu/ru/Api.odc
Карта подсистемы Win ENGLISH WinApi Win32 API WinCmc интерфейс MAPI WinDlg базовые диалоги WinCtl базовые элементы управления WinOle COM и OLE WinOleDlg диалоги OLE WinOleAut OLE автоматизация WinOleCtl элементы управления OLE WinRpc удаленный вызов процедур WinNet сеть и сокеты WinMM мультимедиа WinSql доступ к базам данных ODBC
Win/Docu/ru/Sys-Map.odc
MODULE WinApi ["KERNEL32.dll"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - 20100324, Ominc, "WINSPOOL.dll" replaced by "WINSPOOL.drv"; see Win/Docu/Api (...).txt --this entry typed in by fyodor tkachov - 20070130, bh, RtlUnwind added - 20070130, bh, EnumFont callbacks corrected added " issues = " - ... " **) IMPORT SYSTEM, COM; TYPE (* base types *) PtrVoid* = INTEGER; PtrSTR* = POINTER TO ARRAY [untagged] OF SHORTCHAR; PtrWSTR* = POINTER TO ARRAY [untagged] OF CHAR; DATE* = REAL; CY* = LONGINT; ACCESS_MASK* = SET; SECURITY_INFORMATION* = SET; CONST HKEY_CLASSES_ROOT* = 80000000H; HKEY_CURRENT_USER* = 80000001H; HKEY_LOCAL_MACHINE* = 80000002H; HKEY_USERS* = 80000003H; CONST (* macros *) INVALID_HANDLE_VALUE* = -1; MAX_PATH* = 260 (* {2, 8} *); NULL* = 0 (* {} *); FALSE* = 0 (* {} *); TRUE* = 1 (* {0} *); ANYSIZE_ARRAY* = 1 (* {0} *); APPLICATION_ERROR_MASK* = 536870912 (* {29} *); ERROR_SEVERITY_SUCCESS* = 0 (* {} *); ERROR_SEVERITY_INFORMATIONAL* = 1073741824 (* {30} *); ERROR_SEVERITY_WARNING* = 80000000H; ERROR_SEVERITY_ERROR* = -1073741824 (* {30, 31} *); CLASS_E_NOTLICENSED* = -2147221230; CONNECT_E_FIRST* = -2147220992; CONNECT_E_LAST* = -2147220977; CONNECT_S_FIRST* = 262656; CONNECT_S_LAST* = 262671; CONNECT_E_NOCONNECTION* = -2147220992; CONNECT_E_ADVISELIMIT* = -2147220991; CONNECT_E_CANNOTCONNECT* = -2147220990; CONNECT_E_OVERRIDDEN* = -2147220989; SELFREG_E_FIRST* = -2147220992; SELFREG_E_LAST* = -2147220977; SELFREG_S_FIRST* = 262656; SELFREG_S_LAST* = 262671; SELFREG_E_TYPELIB* = -2147220992; SELFREG_E_CLASS* = -2147220991; PERPROP_E_FIRST* = -2147220992; PERPROP_E_LAST* = -2147220977; PERPROP_S_FIRST* = 262656; PERPROP_S_LAST* = 262671; PERPROP_E_NOPAGEAVAILABLE* = -2147220992; UNICODE_NULL* = 0 (* {} *); MINCHAR* = 128 (* {7} *); MAXCHAR* = 127 (* {0..6} *); MINSHORT* = 32768 (* {15} *); MAXSHORT* = 32767 (* {0..14} *); MINLONG* = 80000000H; MAXLONG* = 2147483647 (* {0..30} *); MAXBYTE* = 255 (* {0..7} *); MAXWORD* = 65535 (* {0..15} *); MAXDWORD* = -1 (* {0..31} *); LANG_NEUTRAL* = 0 (* {} *); LANG_BULGARIAN* = 2 (* {1} *); LANG_CHINESE* = 4 (* {2} *); LANG_CROATIAN* = 26 (* {1, 3, 4} *); LANG_CZECH* = 5 (* {0, 2} *); LANG_DANISH* = 6 (* {1, 2} *); LANG_DUTCH* = 19 (* {0, 1, 4} *); LANG_ENGLISH* = 9 (* {0, 3} *); LANG_FINNISH* = 11 (* {0, 1, 3} *); LANG_FRENCH* = 12 (* {2, 3} *); LANG_GERMAN* = 7 (* {0..2} *); LANG_GREEK* = 8 (* {3} *); LANG_HUNGARIAN* = 14 (* {1..3} *); LANG_ICELANDIC* = 15 (* {0..3} *); LANG_ITALIAN* = 16 (* {4} *); LANG_JAPANESE* = 17 (* {0, 4} *); LANG_KOREAN* = 18 (* {1, 4} *); LANG_NORWEGIAN* = 20 (* {2, 4} *); LANG_POLISH* = 21 (* {0, 2, 4} *); LANG_PORTUGUESE* = 22 (* {1, 2, 4} *); LANG_ROMANIAN* = 24 (* {3, 4} *); LANG_RUSSIAN* = 25 (* {0, 3, 4} *); LANG_SLOVAK* = 27 (* {0, 1, 3, 4} *); LANG_SLOVENIAN* = 36 (* {2, 5} *); LANG_SPANISH* = 10 (* {1, 3} *); LANG_SWEDISH* = 29 (* {0, 2..4} *); LANG_TURKISH* = 31 (* {0..4} *); SUBLANG_NEUTRAL* = 0 (* {} *); SUBLANG_DEFAULT* = 1 (* {0} *); SUBLANG_SYS_DEFAULT* = 2 (* {1} *); SUBLANG_CHINESE_TRADITIONAL* = 1 (* {0} *); SUBLANG_CHINESE_SIMPLIFIED* = 2 (* {1} *); SUBLANG_CHINESE_HONGKONG* = 3 (* {0, 1} *); SUBLANG_CHINESE_SINGAPORE* = 4 (* {2} *); SUBLANG_DUTCH* = 1 (* {0} *); SUBLANG_DUTCH_BELGIAN* = 2 (* {1} *); SUBLANG_ENGLISH_US* = 1 (* {0} *); SUBLANG_ENGLISH_UK* = 2 (* {1} *); SUBLANG_ENGLISH_AUS* = 3 (* {0, 1} *); SUBLANG_ENGLISH_CAN* = 4 (* {2} *); SUBLANG_ENGLISH_NZ* = 5 (* {0, 2} *); SUBLANG_ENGLISH_EIRE* = 6 (* {1, 2} *); SUBLANG_FRENCH* = 1 (* {0} *); SUBLANG_FRENCH_BELGIAN* = 2 (* {1} *); SUBLANG_FRENCH_CANADIAN* = 3 (* {0, 1} *); SUBLANG_FRENCH_SWISS* = 4 (* {2} *); SUBLANG_GERMAN* = 1 (* {0} *); SUBLANG_GERMAN_SWISS* = 2 (* {1} *); SUBLANG_GERMAN_AUSTRIAN* = 3 (* {0, 1} *); SUBLANG_ITALIAN* = 1 (* {0} *); SUBLANG_ITALIAN_SWISS* = 2 (* {1} *); SUBLANG_NORWEGIAN_BOKMAL* = 1 (* {0} *); SUBLANG_NORWEGIAN_NYNORSK* = 2 (* {1} *); SUBLANG_PORTUGUESE* = 2 (* {1} *); SUBLANG_PORTUGUESE_BRAZILIAN* = 1 (* {0} *); SUBLANG_SPANISH* = 1 (* {0} *); SUBLANG_SPANISH_MEXICAN* = 2 (* {1} *); SUBLANG_SPANISH_MODERN* = 3 (* {0, 1} *); SORT_DEFAULT* = 0 (* {} *); SORT_JAPANESE_XJIS* = 0 (* {} *); SORT_JAPANESE_UNICODE* = 1 (* {0} *); SORT_CHINESE_BIG5* = 0 (* {} *); SORT_CHINESE_PRCP* = 0 (* {} *); SORT_CHINESE_UNICODE* = 1 (* {0} *); SORT_CHINESE_PRC* = 2 (* {1} *); SORT_KOREAN_KSC* = 0 (* {} *); SORT_KOREAN_UNICODE* = 1 (* {0} *); SORT_GERMAN_PHONE_BOOK* = 1 (* {0} *); NLS_VALID_LOCALE_MASK* = 1048575 (* {0..19} *); LANG_SYSTEM_DEFAULT* = 2048 (* {11} *); LANG_USER_DEFAULT* = 1024 (* {10} *); LOCALE_SYSTEM_DEFAULT* = 2048 (* {11} *); LOCALE_USER_DEFAULT* = 1024 (* {10} *); LOCALE_NEUTRAL* = 0 (* {} *); STATUS_WAIT_0* = 0 (* {} *); STATUS_ABANDONED_WAIT_0* = 128 (* {7} *); STATUS_USER_APC* = 192 (* {6, 7} *); STATUS_TIMEOUT* = 258 (* {1, 8} *); STATUS_PENDING* = 259 (* {0, 1, 8} *); STATUS_SEGMENT_NOTIFICATION* = 1073741829 (* {0, 2, 30} *); STATUS_GUARD_PAGE_VIOLATION* = -2147483647 (* {0, 31} *); STATUS_DATATYPE_MISALIGNMENT* = -2147483646 (* {1, 31} *); STATUS_BREAKPOINT* = -2147483645 (* {0, 1, 31} *); STATUS_SINGLE_STEP* = -2147483644 (* {2, 31} *); STATUS_ACCESS_VIOLATION* = -1073741819 (* {0, 2, 30, 31} *); STATUS_IN_PAGE_ERROR* = -1073741818 (* {1, 2, 30, 31} *); STATUS_NO_MEMORY* = -1073741801 (* {0..2, 4, 30, 31} *); STATUS_ILLEGAL_INSTRUCTION* = -1073741795 (* {0, 2..4, 30, 31} *); STATUS_NONCONTINUABLE_EXCEPTION* = -1073741787 (* {0, 2, 5, 30, 31} *); STATUS_INVALID_DISPOSITION* = -1073741786 (* {1, 2, 5, 30, 31} *); STATUS_ARRAY_BOUNDS_EXCEEDED* = -1073741684 (* {2, 3, 7, 30, 31} *); STATUS_FLOAT_DENORMAL_OPERAND* = -1073741683 (* {0, 2, 3, 7, 30, 31} *); STATUS_FLOAT_DIVIDE_BY_ZERO* = -1073741682 (* {1..3, 7, 30, 31} *); STATUS_FLOAT_INEXACT_RESULT* = -1073741681 (* {0..3, 7, 30, 31} *); STATUS_FLOAT_INVALID_OPERATION* = -1073741680 (* {4, 7, 30, 31} *); STATUS_FLOAT_OVERFLOW* = -1073741679 (* {0, 4, 7, 30, 31} *); STATUS_FLOAT_STACK_CHECK* = -1073741678 (* {1, 4, 7, 30, 31} *); STATUS_FLOAT_UNDERFLOW* = -1073741677 (* {0, 1, 4, 7, 30, 31} *); STATUS_INTEGER_DIVIDE_BY_ZERO* = -1073741676 (* {2, 4, 7, 30, 31} *); STATUS_INTEGER_OVERFLOW* = -1073741675 (* {0, 2, 4, 7, 30, 31} *); STATUS_PRIVILEGED_INSTRUCTION* = -1073741674 (* {1, 2, 4, 7, 30, 31} *); STATUS_STACK_OVERFLOW* = -1073741571 (* {0, 2..7, 30, 31} *); STATUS_CONTROL_C_EXIT* = -1073741510 (* {1, 3..5, 8, 30, 31} *); MAXIMUM_WAIT_OBJECTS* = 64 (* {6} *); MAXIMUM_SUSPEND_COUNT* = 127 (* {0..6} *); SIZE_OF_80387_REGISTERS* = 80 (* {4, 6} *); CONTEXT_i386* = {16}; CONTEXT_i486* = {16}; CONTEXT_CONTROL* = {0, 16}; CONTEXT_INTEGER* = {1, 16}; CONTEXT_SEGMENTS* = {2, 16}; CONTEXT_FLOATING_POINT* = {3, 16}; CONTEXT_DEBUG_REGISTERS* = {4, 16}; CONTEXT_FULL* = {0..2, 16}; EXCEPTION_NONCONTINUABLE* = {0}; EXCEPTION_MAXIMUM_PARAMETERS* = 15 (* {0..3} *); PROCESS_TERMINATE* = {0}; PROCESS_CREATE_THREAD* = {1}; PROCESS_VM_OPERATION* = {3}; PROCESS_VM_READ* = {4}; PROCESS_VM_WRITE* = {5}; PROCESS_DUP_HANDLE* = {6}; PROCESS_CREATE_PROCESS* = {7}; PROCESS_SET_QUOTA* = {8}; PROCESS_SET_INFORMATION* = {9}; PROCESS_QUERY_INFORMATION* = {10}; PROCESS_ALL_ACCESS* = {0..11, 16..20}; MAXIMUM_PROCESSORS* = 32 (* {5} *); THREAD_TERMINATE* = {0}; THREAD_SUSPEND_RESUME* = {1}; THREAD_GET_CONTEXT* = {3}; THREAD_SET_CONTEXT* = {4}; THREAD_SET_INFORMATION* = {5}; THREAD_QUERY_INFORMATION* = {6}; THREAD_SET_THREAD_TOKEN* = {7}; THREAD_IMPERSONATE* = {8}; THREAD_DIRECT_IMPERSONATION* = {9}; THREAD_ALL_ACCESS* = 2032639 (* {0..9, 16..20} *); TLS_MINIMUM_AVAILABLE* = 64 (* {6} *); THREAD_BASE_PRIORITY_LOWRT* = 15 (* {0..3} *); THREAD_BASE_PRIORITY_MAX* = 2 (* {1} *); THREAD_BASE_PRIORITY_MIN* = -2 (* {1..31} *); THREAD_BASE_PRIORITY_IDLE* = -15 (* {0, 4..31} *); EVENT_MODIFY_STATE* = 2 (* {1} *); EVENT_ALL_ACCESS* = 2031619 (* {0, 1, 16..20} *); MUTANT_QUERY_STATE* = 1 (* {0} *); MUTANT_ALL_ACCESS* = 2031617 (* {0, 16..20} *); SEMAPHORE_MODIFY_STATE* = 2 (* {1} *); SEMAPHORE_ALL_ACCESS* = 2031619 (* {0, 1, 16..20} *); TIME_ZONE_ID_UNKNOWN* = {}; TIME_ZONE_ID_STANDARD* = {0}; TIME_ZONE_ID_DAYLIGHT* = {1}; PROCESSOR_INTEL_386* = 386 (* {1, 7, 8} *); PROCESSOR_INTEL_486* = 486 (* {1, 2, 5..8} *); PROCESSOR_INTEL_PENTIUM* = 586 (* {1, 3, 6, 9} *); PROCESSOR_MIPS_R4000* = 4000 (* {5, 7..11} *); PROCESSOR_ALPHA_21064* = 21064 (* {3, 6, 9, 12, 14} *); PROCESSOR_ARCHITECTURE_INTEL* = 0 (* {} *); PROCESSOR_ARCHITECTURE_MIPS* = 1 (* {0} *); PROCESSOR_ARCHITECTURE_ALPHA* = 2 (* {1} *); PROCESSOR_ARCHITECTURE_PPC* = 3 (* {0, 1} *); PROCESSOR_ARCHITECTURE_UNKNOWN* = 65535 (* {0..15} *); SECTION_QUERY* = {0}; SECTION_MAP_WRITE* = {1}; SECTION_MAP_READ* = {2}; SECTION_MAP_EXECUTE* = {3}; SECTION_EXTEND_SIZE* = {4}; SECTION_ALL_ACCESS* = {0..4, 16..19}; PAGE_NOACCESS* = {0}; PAGE_READONLY* = {1}; PAGE_READWRITE* = {2}; PAGE_WRITECOPY* = {3}; PAGE_EXECUTE* = {4}; PAGE_EXECUTE_READ* = {5}; PAGE_EXECUTE_READWRITE* = {6}; PAGE_EXECUTE_WRITECOPY* = {7}; PAGE_GUARD* = {8}; PAGE_NOCACHE* = {9}; MEM_COMMIT* = {12}; MEM_RESERVE* = {13}; MEM_DECOMMIT* = {14}; MEM_RELEASE* = {15}; MEM_FREE* = {16}; MEM_PRIVATE* = {17}; MEM_MAPPED* = {18}; MEM_RESET* = {19}; MEM_TOP_DOWN* = {20}; SEC_FILE* = {23}; SEC_IMAGE* = {24}; SEC_RESERVE* = {26}; SEC_COMMIT* = {27}; SEC_NOCACHE* = {28}; MEM_IMAGE* = {24}; FILE_READ_DATA* = {0}; FILE_LIST_DIRECTORY* = {0}; FILE_WRITE_DATA* = {1}; FILE_ADD_FILE* = {1}; FILE_APPEND_DATA* = {2}; FILE_ADD_SUBDIRECTORY* = {2}; FILE_CREATE_PIPE_INSTANCE* = {2}; FILE_READ_EA* = {3}; FILE_WRITE_EA* = {4}; FILE_EXECUTE* = {5}; FILE_TRAVERSE* = {5}; FILE_DELETE_CHILD* = {6}; FILE_READ_ATTRIBUTES* = {7}; FILE_WRITE_ATTRIBUTES* = {8}; FILE_ALL_ACCESS* = {0..8, 16..20}; FILE_GENERIC_READ* = {0, 3, 7, 17, 20}; FILE_GENERIC_WRITE* = {1, 2, 4, 8, 17, 20}; FILE_GENERIC_EXECUTE* = {5, 7, 17, 20}; FILE_SHARE_READ* = {0}; FILE_SHARE_WRITE* = {1}; FILE_SHARE_DELETE* = {2}; FILE_ATTRIBUTE_READONLY* = {0}; FILE_ATTRIBUTE_HIDDEN* = {1}; FILE_ATTRIBUTE_SYSTEM* = {2}; FILE_ATTRIBUTE_DIRECTORY* = {4}; FILE_ATTRIBUTE_ARCHIVE* = {5}; FILE_ATTRIBUTE_NORMAL* = {7}; FILE_ATTRIBUTE_TEMPORARY* = {8}; FILE_ATTRIBUTE_COMPRESSED* = {11}; FILE_NOTIFY_CHANGE_FILE_NAME* = {0}; FILE_NOTIFY_CHANGE_DIR_NAME* = {1}; FILE_NOTIFY_CHANGE_ATTRIBUTES* = {2}; FILE_NOTIFY_CHANGE_SIZE* = {3}; FILE_NOTIFY_CHANGE_LAST_WRITE* = {4}; FILE_NOTIFY_CHANGE_LAST_ACCESS* = {5}; FILE_NOTIFY_CHANGE_CREATION* = {6}; FILE_NOTIFY_CHANGE_SECURITY* = {8}; FILE_ACTION_ADDED* = {0}; FILE_ACTION_REMOVED* = {1}; FILE_ACTION_MODIFIED* = {0, 1}; FILE_ACTION_RENAMED_OLD_NAME* = {2}; FILE_ACTION_RENAMED_NEW_NAME* = {0, 2}; MAILSLOT_NO_MESSAGE* = -1 (* {0..31} *); MAILSLOT_WAIT_FOREVER* = -1 (* {0..31} *); FILE_CASE_SENSITIVE_SEARCH* = {0}; FILE_CASE_PRESERVED_NAMES* = {1}; FILE_UNICODE_ON_DISK* = {2}; FILE_PERSISTENT_ACLS* = {3}; FILE_FILE_COMPRESSION* = {4}; FILE_VOLUME_IS_COMPRESSED* = {15}; IO_COMPLETION_MODIFY_STATE* = 2 (* {1} *); IO_COMPLETION_ALL_ACCESS* = 2031619 (* {0, 1, 16..20} *); DUPLICATE_CLOSE_SOURCE* = 1 (* {0} *); DUPLICATE_SAME_ACCESS* = 2 (* {1} *); DELETE* = 65536 (* {16} *); READ_CONTROL* = 131072 (* {17} *); WRITE_DAC* = 262144 (* {18} *); WRITE_OWNER* = 524288 (* {19} *); SYNCHRONIZE* = {20}; STANDARD_RIGHTS_REQUIRED* = 983040 (* {16..19} *); STANDARD_RIGHTS_READ* = 131072 (* {17} *); STANDARD_RIGHTS_WRITE* = 131072 (* {17} *); STANDARD_RIGHTS_EXECUTE* = 131072 (* {17} *); STANDARD_RIGHTS_ALL* = 2031616 (* {16..20} *); SPECIFIC_RIGHTS_ALL* = 65535 (* {0..15} *); ACCESS_SYSTEM_SECURITY* = 16777216 (* {24} *); MAXIMUM_ALLOWED* = 33554432 (* {25} *); GENERIC_READ* = {31}; GENERIC_WRITE* = {30}; GENERIC_EXECUTE* = {29}; GENERIC_ALL* = {28}; SID_REVISION* = 1 (* {0} *); SID_MAX_SUB_AUTHORITIES* = 15 (* {0..3} *); SID_RECOMMENDED_SUB_AUTHORITIES* = 1 (* {0} *); SECURITY_NULL_RID* = 0 (* {} *); SECURITY_WORLD_RID* = 0 (* {} *); SECURITY_LOCAL_RID* = 0 (* {} *); SECURITY_CREATOR_OWNER_RID* = 0 (* {} *); SECURITY_CREATOR_GROUP_RID* = 1 (* {0} *); SECURITY_CREATOR_OWNER_SERVER_RID* = 2 (* {1} *); SECURITY_CREATOR_GROUP_SERVER_RID* = 3 (* {0, 1} *); SECURITY_DIALUP_RID* = 1 (* {0} *); SECURITY_NETWORK_RID* = 2 (* {1} *); SECURITY_BATCH_RID* = 3 (* {0, 1} *); SECURITY_INTERACTIVE_RID* = 4 (* {2} *); SECURITY_SERVICE_RID* = 6 (* {1, 2} *); SECURITY_ANONYMOUS_LOGON_RID* = 7 (* {0..2} *); SECURITY_PROXY_RID* = 8 (* {3} *); SECURITY_LOGON_IDS_RID* = 5 (* {0, 2} *); SECURITY_LOGON_IDS_RID_COUNT* = 3 (* {0, 1} *); SECURITY_LOCAL_SYSTEM_RID* = 18 (* {1, 4} *); SECURITY_NT_NON_UNIQUE* = 21 (* {0, 2, 4} *); SECURITY_BUILTIN_DOMAIN_RID* = 32 (* {5} *); DOMAIN_USER_RID_ADMIN* = 500 (* {2, 4..8} *); DOMAIN_USER_RID_GUEST* = 501 (* {0, 2, 4..8} *); DOMAIN_GROUP_RID_ADMINS* = 512 (* {9} *); DOMAIN_GROUP_RID_USERS* = 513 (* {0, 9} *); DOMAIN_GROUP_RID_GUESTS* = 514 (* {1, 9} *); DOMAIN_ALIAS_RID_ADMINS* = 544 (* {5, 9} *); DOMAIN_ALIAS_RID_USERS* = 545 (* {0, 5, 9} *); DOMAIN_ALIAS_RID_GUESTS* = 546 (* {1, 5, 9} *); DOMAIN_ALIAS_RID_POWER_USERS* = 547 (* {0, 1, 5, 9} *); DOMAIN_ALIAS_RID_ACCOUNT_OPS* = 548 (* {2, 5, 9} *); DOMAIN_ALIAS_RID_SYSTEM_OPS* = 549 (* {0, 2, 5, 9} *); DOMAIN_ALIAS_RID_PRINT_OPS* = 550 (* {1, 2, 5, 9} *); DOMAIN_ALIAS_RID_BACKUP_OPS* = 551 (* {0..2, 5, 9} *); DOMAIN_ALIAS_RID_REPLICATOR* = 552 (* {3, 5, 9} *); SE_GROUP_MANDATORY* = {0}; SE_GROUP_ENABLED_BY_DEFAULT* = {1}; SE_GROUP_ENABLED* = {2}; SE_GROUP_OWNER* = {3}; SE_GROUP_LOGON_ID* = {30, 31}; ACL_REVISION* = 2 (* {1} *); ACL_REVISION1* = 1 (* {0} *); ACL_REVISION2* = 2 (* {1} *); ACL_REVISION3* = 3 (* {0, 1} *); ACCESS_ALLOWED_ACE_TYPE* = 0 (* {} *); ACCESS_DENIED_ACE_TYPE* = 1 (* {0} *); SYSTEM_AUDIT_ACE_TYPE* = 2 (* {1} *); SYSTEM_ALARM_ACE_TYPE* = 3 (* {0, 1} *); ACCESS_ALLOWED_COMPOUND_ACE_TYPE* = 4 (* {2} *); OBJECT_INHERIT_ACE* = 1 (* {0} *); CONTAINER_INHERIT_ACE* = 2 (* {1} *); NO_PROPAGATE_INHERIT_ACE* = 4 (* {2} *); INHERIT_ONLY_ACE* = 8 (* {3} *); VALID_INHERIT_FLAGS* = 15 (* {0..3} *); SUCCESSFUL_ACCESS_ACE_FLAG* = 64 (* {6} *); FAILED_ACCESS_ACE_FLAG* = 128 (* {7} *); COMPOUND_ACE_IMPERSONATION* = 1 (* {0} *); SECURITY_DESCRIPTOR_REVISION* = 1 (* {0} *); SECURITY_DESCRIPTOR_REVISION1* = 1 (* {0} *); SECURITY_DESCRIPTOR_MIN_LENGTH* = 20 (* {2, 4} *); SE_OWNER_DEFAULTED* = 1 (* {0} *); SE_GROUP_DEFAULTED* = {1}; SE_DACL_PRESENT* = 4 (* {2} *); SE_DACL_DEFAULTED* = 8 (* {3} *); SE_SACL_PRESENT* = 16 (* {4} *); SE_SACL_DEFAULTED* = 32 (* {5} *); SE_DACL_UNTRUSTED* = 64 (* {6} *); SE_SERVER_SECURITY* = 128 (* {7} *); SE_SELF_RELATIVE* = 32768 (* {15} *); SE_PRIVILEGE_ENABLED_BY_DEFAULT* = 1 (* {0} *); SE_PRIVILEGE_ENABLED* = 2 (* {1} *); SE_PRIVILEGE_USED_FOR_ACCESS* = 80000000H; PRIVILEGE_SET_ALL_NECESSARY* = 1 (* {0} *); SE_CREATE_TOKEN_NAME* = "SeCreateTokenPrivilege"; SE_ASSIGNPRIMARYTOKEN_NAME* = "SeAssignPrimaryTokenPrivilege"; SE_LOCK_MEMORY_NAME* = "SeLockMemoryPrivilege"; SE_INCREASE_QUOTA_NAME* = "SeIncreaseQuotaPrivilege"; SE_UNSOLICITED_INPUT_NAME* = "SeUnsolicitedInputPrivilege"; SE_MACHINE_ACCOUNT_NAME* = "SeMachineAccountPrivilege"; SE_TCB_NAME* = "SeTcbPrivilege"; SE_SECURITY_NAME* = "SeSecurityPrivilege"; SE_TAKE_OWNERSHIP_NAME* = "SeTakeOwnershipPrivilege"; SE_LOAD_DRIVER_NAME* = "SeLoadDriverPrivilege"; SE_SYSTEM_PROFILE_NAME* = "SeSystemProfilePrivilege"; SE_SYSTEMTIME_NAME* = "SeSystemtimePrivilege"; SE_PROF_SINGLE_PROCESS_NAME* = "SeProfileSingleProcessPrivilege"; SE_INC_BASE_PRIORITY_NAME* = "SeIncreaseBasePriorityPrivilege"; SE_CREATE_PAGEFILE_NAME* = "SeCreatePagefilePrivilege"; SE_CREATE_PERMANENT_NAME* = "SeCreatePermanentPrivilege"; SE_BACKUP_NAME* = "SeBackupPrivilege"; SE_RESTORE_NAME* = "SeRestorePrivilege"; SE_SHUTDOWN_NAME* = "SeShutdownPrivilege"; SE_DEBUG_NAME* = "SeDebugPrivilege"; SE_AUDIT_NAME* = "SeAuditPrivilege"; SE_SYSTEM_ENVIRONMENT_NAME* = "SeSystemEnvironmentPrivilege"; SE_CHANGE_NOTIFY_NAME* = "SeChangeNotifyPrivilege"; SE_REMOTE_SHUTDOWN_NAME* = "SeRemoteShutdownPrivilege"; SECURITY_MAX_IMPERSONATION_LEVEL* = 3 (* {0, 1} *); DEFAULT_IMPERSONATION_LEVEL* = 2 (* {1} *); TOKEN_ASSIGN_PRIMARY* = {0}; TOKEN_DUPLICATE* = {1}; TOKEN_IMPERSONATE* = {2}; TOKEN_QUERY* = {3}; TOKEN_QUERY_SOURCE* = {4}; TOKEN_ADJUST_PRIVILEGES* = {5}; TOKEN_ADJUST_GROUPS* = {6}; TOKEN_ADJUST_DEFAULT* = {7}; TOKEN_ALL_ACCESS* = {0..7, 16..19}; TOKEN_READ* = {3, 17}; TOKEN_WRITE* = {5..7, 17}; TOKEN_EXECUTE* = {17}; TOKEN_SOURCE_LENGTH* = {3}; SECURITY_DYNAMIC_TRACKING* = 1 (* {0} *); SECURITY_STATIC_TRACKING* = 0 (* {} *); OWNER_SECURITY_INFORMATION* = {0}; GROUP_SECURITY_INFORMATION* = {1}; DACL_SECURITY_INFORMATION* = {2}; SACL_SECURITY_INFORMATION* = {3}; IMAGE_DOS_SIGNATURE* = 23117 (* {0, 2, 3, 6, 9, 11, 12, 14} *); IMAGE_OS2_SIGNATURE* = 17742 (* {1..3, 6, 8, 10, 14} *); IMAGE_OS2_SIGNATURE_LE* = 17740 (* {2, 3, 6, 8, 10, 14} *); IMAGE_VXD_SIGNATURE* = 17740 (* {2, 3, 6, 8, 10, 14} *); IMAGE_NT_SIGNATURE* = 17744 (* {4, 6, 8, 10, 14} *); IMAGE_SIZEOF_FILE_HEADER* = 20 (* {2, 4} *); IMAGE_FILE_RELOCS_STRIPPED* = {0}; IMAGE_FILE_EXECUTABLE_IMAGE* = {1}; IMAGE_FILE_LINE_NUMS_STRIPPED* = {2}; IMAGE_FILE_LOCAL_SYMS_STRIPPED* = {3}; IMAGE_FILE_BYTES_REVERSED_LO* = {7}; IMAGE_FILE_32BIT_MACHINE* = {8}; IMAGE_FILE_DEBUG_STRIPPED* = {9}; IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP* = {10}; IMAGE_FILE_NET_RUN_FROM_SWAP* = {11}; IMAGE_FILE_SYSTEM* = {12}; IMAGE_FILE_DLL* = {13}; IMAGE_FILE_UP_SYSTEM_ONLY* = {14}; IMAGE_FILE_BYTES_REVERSED_HI* = {15}; IMAGE_FILE_MACHINE_UNKNOWN* = 0 (* {} *); IMAGE_FILE_MACHINE_I386* = 332 (* {2, 3, 6, 8} *); IMAGE_FILE_MACHINE_R3000* = 354 (* {1, 5, 6, 8} *); IMAGE_FILE_MACHINE_R4000* = 358 (* {1, 2, 5, 6, 8} *); IMAGE_FILE_MACHINE_R10000* = 360 (* {3, 5, 6, 8} *); IMAGE_FILE_MACHINE_ALPHA* = 388 (* {2, 7, 8} *); IMAGE_FILE_MACHINE_POWERPC* = 496 (* {4..8} *); IMAGE_NUMBEROF_DIRECTORY_ENTRIES* = 16 (* {4} *); IMAGE_SIZEOF_ROM_OPTIONAL_HEADER* = 56 (* {3..5} *); IMAGE_SIZEOF_STD_OPTIONAL_HEADER* = 28 (* {2..4} *); IMAGE_SIZEOF_NT_OPTIONAL_HEADER* = 224 (* {5..7} *); IMAGE_NT_OPTIONAL_HDR_MAGIC* = 267 (* {0, 1, 3, 8} *); IMAGE_ROM_OPTIONAL_HDR_MAGIC* = 263 (* {0..2, 8} *); IMAGE_SUBSYSTEM_UNKNOWN* = 0 (* {} *); IMAGE_SUBSYSTEM_NATIVE* = 1 (* {0} *); IMAGE_SUBSYSTEM_WINDOWS_GUI* = 2 (* {1} *); IMAGE_SUBSYSTEM_WINDOWS_CUI* = 3 (* {0, 1} *); IMAGE_SUBSYSTEM_OS2_CUI* = 5 (* {0, 2} *); IMAGE_SUBSYSTEM_POSIX_CUI* = 7 (* {0..2} *); IMAGE_SUBSYSTEM_RESERVED8* = 8 (* {3} *); IMAGE_DIRECTORY_ENTRY_EXPORT* = 0 (* {} *); IMAGE_DIRECTORY_ENTRY_IMPORT* = 1 (* {0} *); IMAGE_DIRECTORY_ENTRY_RESOURCE* = 2 (* {1} *); IMAGE_DIRECTORY_ENTRY_EXCEPTION* = 3 (* {0, 1} *); IMAGE_DIRECTORY_ENTRY_SECURITY* = 4 (* {2} *); IMAGE_DIRECTORY_ENTRY_BASERELOC* = 5 (* {0, 2} *); IMAGE_DIRECTORY_ENTRY_DEBUG* = 6 (* {1, 2} *); IMAGE_DIRECTORY_ENTRY_COPYRIGHT* = 7 (* {0..2} *); IMAGE_DIRECTORY_ENTRY_GLOBALPTR* = 8 (* {3} *); IMAGE_DIRECTORY_ENTRY_TLS* = 9 (* {0, 3} *); IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG* = 10 (* {1, 3} *); IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT* = 11 (* {0, 1, 3} *); IMAGE_DIRECTORY_ENTRY_IAT* = 12 (* {2, 3} *); IMAGE_SIZEOF_SHORT_NAME* = 8 (* {3} *); IMAGE_SIZEOF_SECTION_HEADER* = 40 (* {3, 5} *); IMAGE_SCN_TYPE_NO_PAD* = {3}; IMAGE_SCN_CNT_CODE* = {5}; IMAGE_SCN_CNT_INITIALIZED_DATA* = {6}; IMAGE_SCN_CNT_UNINITIALIZED_DATA* = {7}; IMAGE_SCN_LNK_OTHER* = {8}; IMAGE_SCN_LNK_INFO* = {9}; IMAGE_SCN_LNK_REMOVE* = {11}; IMAGE_SCN_LNK_COMDAT* = {12}; IMAGE_SCN_MEM_FARDATA* = {15}; IMAGE_SCN_MEM_PURGEABLE* = {17}; IMAGE_SCN_MEM_16BIT* = {17}; IMAGE_SCN_MEM_LOCKED* = {18}; IMAGE_SCN_MEM_PRELOAD* = {19}; IMAGE_SCN_ALIGN_1BYTES* = {20}; IMAGE_SCN_ALIGN_2BYTES* = {21}; IMAGE_SCN_ALIGN_4BYTES* = {20, 21}; IMAGE_SCN_ALIGN_8BYTES* = {22}; IMAGE_SCN_ALIGN_16BYTES* = {20, 22}; IMAGE_SCN_ALIGN_32BYTES* = {21, 22}; IMAGE_SCN_ALIGN_64BYTES* = {20..22}; IMAGE_SCN_LNK_NRELOC_OVFL* = {24}; IMAGE_SCN_MEM_DISCARDABLE* = {25}; IMAGE_SCN_MEM_NOT_CACHED* = {26}; IMAGE_SCN_MEM_NOT_PAGED* = {27}; IMAGE_SCN_MEM_SHARED* = {28}; IMAGE_SCN_MEM_EXECUTE* = {29}; IMAGE_SCN_MEM_READ* = {30}; IMAGE_SCN_MEM_WRITE* = {31}; IMAGE_SIZEOF_SYMBOL* = 18 (* {1, 4} *); IMAGE_SYM_UNDEFINED* = 0 (* {} *); IMAGE_SYM_ABSOLUTE* = -1 (* {0..31} *); IMAGE_SYM_DEBUG* = -2 (* {1..31} *); IMAGE_SYM_TYPE_NULL* = 0 (* {} *); IMAGE_SYM_TYPE_VOID* = 1 (* {0} *); IMAGE_SYM_TYPE_CHAR* = 2 (* {1} *); IMAGE_SYM_TYPE_SHORT* = 3 (* {0, 1} *); IMAGE_SYM_TYPE_INT* = 4 (* {2} *); IMAGE_SYM_TYPE_LONG* = 5 (* {0, 2} *); IMAGE_SYM_TYPE_FLOAT* = 6 (* {1, 2} *); IMAGE_SYM_TYPE_DOUBLE* = 7 (* {0..2} *); IMAGE_SYM_TYPE_STRUCT* = 8 (* {3} *); IMAGE_SYM_TYPE_UNION* = 9 (* {0, 3} *); IMAGE_SYM_TYPE_ENUM* = 10 (* {1, 3} *); IMAGE_SYM_TYPE_MOE* = 11 (* {0, 1, 3} *); IMAGE_SYM_TYPE_BYTE* = 12 (* {2, 3} *); IMAGE_SYM_TYPE_WORD* = 13 (* {0, 2, 3} *); IMAGE_SYM_TYPE_UINT* = 14 (* {1..3} *); IMAGE_SYM_TYPE_DWORD* = 15 (* {0..3} *); IMAGE_SYM_TYPE_PCODE* = 32768 (* {15} *); IMAGE_SYM_DTYPE_NULL* = 0 (* {} *); IMAGE_SYM_DTYPE_POINTER* = 1 (* {0} *); IMAGE_SYM_DTYPE_FUNCTION* = 2 (* {1} *); IMAGE_SYM_DTYPE_ARRAY* = 3 (* {0, 1} *); IMAGE_SYM_CLASS_END_OF_FUNCTION* = -1 (* {0..31} *); IMAGE_SYM_CLASS_NULL* = 0 (* {} *); IMAGE_SYM_CLASS_AUTOMATIC* = 1 (* {0} *); IMAGE_SYM_CLASS_EXTERNAL* = 2 (* {1} *); IMAGE_SYM_CLASS_STATIC* = 3 (* {0, 1} *); IMAGE_SYM_CLASS_REGISTER* = 4 (* {2} *); IMAGE_SYM_CLASS_EXTERNAL_DEF* = 5 (* {0, 2} *); IMAGE_SYM_CLASS_LABEL* = 6 (* {1, 2} *); IMAGE_SYM_CLASS_UNDEFINED_LABEL* = 7 (* {0..2} *); IMAGE_SYM_CLASS_MEMBER_OF_STRUCT* = 8 (* {3} *); IMAGE_SYM_CLASS_ARGUMENT* = 9 (* {0, 3} *); IMAGE_SYM_CLASS_STRUCT_TAG* = 10 (* {1, 3} *); IMAGE_SYM_CLASS_MEMBER_OF_UNION* = 11 (* {0, 1, 3} *); IMAGE_SYM_CLASS_UNION_TAG* = 12 (* {2, 3} *); IMAGE_SYM_CLASS_TYPE_DEFINITION* = 13 (* {0, 2, 3} *); IMAGE_SYM_CLASS_UNDEFINED_STATIC* = 14 (* {1..3} *); IMAGE_SYM_CLASS_ENUM_TAG* = 15 (* {0..3} *); IMAGE_SYM_CLASS_MEMBER_OF_ENUM* = 16 (* {4} *); IMAGE_SYM_CLASS_REGISTER_PARAM* = 17 (* {0, 4} *); IMAGE_SYM_CLASS_BIT_FIELD* = 18 (* {1, 4} *); IMAGE_SYM_CLASS_FAR_EXTERNAL* = 68 (* {2, 6} *); IMAGE_SYM_CLASS_BLOCK* = 100 (* {2, 5, 6} *); IMAGE_SYM_CLASS_FUNCTION* = 101 (* {0, 2, 5, 6} *); IMAGE_SYM_CLASS_END_OF_STRUCT* = 102 (* {1, 2, 5, 6} *); IMAGE_SYM_CLASS_FILE* = 103 (* {0..2, 5, 6} *); IMAGE_SYM_CLASS_SECTION* = 104 (* {3, 5, 6} *); IMAGE_SYM_CLASS_WEAK_EXTERNAL* = 105 (* {0, 3, 5, 6} *); N_BTMASK* = {0..3}; N_TMASK* = {4, 5}; N_TMASK1* = {6, 7}; N_TMASK2* = {4..7}; N_BTSHFT* = {2}; N_TSHIFT* = {1}; IMAGE_SIZEOF_AUX_SYMBOL* = 18 (* {1, 4} *); IMAGE_COMDAT_SELECT_NODUPLICATES* = 1 (* {0} *); IMAGE_COMDAT_SELECT_ANY* = 2 (* {1} *); IMAGE_COMDAT_SELECT_SAME_SIZE* = 3 (* {0, 1} *); IMAGE_COMDAT_SELECT_EXACT_MATCH* = 4 (* {2} *); IMAGE_COMDAT_SELECT_ASSOCIATIVE* = 5 (* {0, 2} *); IMAGE_COMDAT_SELECT_LARGEST* = 6 (* {1, 2} *); IMAGE_COMDAT_SELECT_NEWEST* = 7 (* {0..2} *); IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY* = 1 (* {0} *); IMAGE_WEAK_EXTERN_SEARCH_LIBRARY* = 2 (* {1} *); IMAGE_WEAK_EXTERN_SEARCH_ALIAS* = 3 (* {0, 1} *); IMAGE_SIZEOF_RELOCATION* = 10 (* {1, 3} *); IMAGE_REL_I386_ABSOLUTE* = 0 (* {} *); IMAGE_REL_I386_DIR16* = 1 (* {0} *); IMAGE_REL_I386_REL16* = 2 (* {1} *); IMAGE_REL_I386_DIR32* = 6 (* {1, 2} *); IMAGE_REL_I386_DIR32NB* = 7 (* {0..2} *); IMAGE_REL_I386_SEG12* = 9 (* {0, 3} *); IMAGE_REL_I386_SECTION* = 10 (* {1, 3} *); IMAGE_REL_I386_SECREL* = 11 (* {0, 1, 3} *); IMAGE_REL_I386_REL32* = 20 (* {2, 4} *); IMAGE_REL_MIPS_ABSOLUTE* = 0 (* {} *); IMAGE_REL_MIPS_REFHALF* = 1 (* {0} *); IMAGE_REL_MIPS_REFWORD* = 2 (* {1} *); IMAGE_REL_MIPS_JMPADDR* = 3 (* {0, 1} *); IMAGE_REL_MIPS_REFHI* = 4 (* {2} *); IMAGE_REL_MIPS_REFLO* = 5 (* {0, 2} *); IMAGE_REL_MIPS_GPREL* = 6 (* {1, 2} *); IMAGE_REL_MIPS_LITERAL* = 7 (* {0..2} *); IMAGE_REL_MIPS_SECTION* = 10 (* {1, 3} *); IMAGE_REL_MIPS_SECREL* = 11 (* {0, 1, 3} *); IMAGE_REL_MIPS_SECRELLO* = 12 (* {2, 3} *); IMAGE_REL_MIPS_SECRELHI* = 13 (* {0, 2, 3} *); IMAGE_REL_MIPS_REFWORDNB* = 34 (* {1, 5} *); IMAGE_REL_MIPS_PAIR* = 37 (* {0, 2, 5} *); IMAGE_REL_ALPHA_ABSOLUTE* = 0 (* {} *); IMAGE_REL_ALPHA_REFLONG* = 1 (* {0} *); IMAGE_REL_ALPHA_REFQUAD* = 2 (* {1} *); IMAGE_REL_ALPHA_GPREL32* = 3 (* {0, 1} *); IMAGE_REL_ALPHA_LITERAL* = 4 (* {2} *); IMAGE_REL_ALPHA_LITUSE* = 5 (* {0, 2} *); IMAGE_REL_ALPHA_GPDISP* = 6 (* {1, 2} *); IMAGE_REL_ALPHA_BRADDR* = 7 (* {0..2} *); IMAGE_REL_ALPHA_HINT* = 8 (* {3} *); IMAGE_REL_ALPHA_INLINE_REFLONG* = 9 (* {0, 3} *); IMAGE_REL_ALPHA_REFHI* = 10 (* {1, 3} *); IMAGE_REL_ALPHA_REFLO* = 11 (* {0, 1, 3} *); IMAGE_REL_ALPHA_PAIR* = 12 (* {2, 3} *); IMAGE_REL_ALPHA_MATCH* = 13 (* {0, 2, 3} *); IMAGE_REL_ALPHA_SECTION* = 14 (* {1..3} *); IMAGE_REL_ALPHA_SECREL* = 15 (* {0..3} *); IMAGE_REL_ALPHA_REFLONGNB* = 16 (* {4} *); IMAGE_REL_ALPHA_SECRELLO* = 17 (* {0, 4} *); IMAGE_REL_ALPHA_SECRELHI* = 18 (* {1, 4} *); IMAGE_REL_PPC_ABSOLUTE* = 0 (* {} *); IMAGE_REL_PPC_ADDR64* = 1 (* {0} *); IMAGE_REL_PPC_ADDR32* = 2 (* {1} *); IMAGE_REL_PPC_ADDR24* = 3 (* {0, 1} *); IMAGE_REL_PPC_ADDR16* = 4 (* {2} *); IMAGE_REL_PPC_ADDR14* = 5 (* {0, 2} *); IMAGE_REL_PPC_REL24* = 6 (* {1, 2} *); IMAGE_REL_PPC_REL14* = 7 (* {0..2} *); IMAGE_REL_PPC_TOCREL16* = 8 (* {3} *); IMAGE_REL_PPC_TOCREL14* = 9 (* {0, 3} *); IMAGE_REL_PPC_ADDR32NB* = 10 (* {1, 3} *); IMAGE_REL_PPC_SECREL* = 11 (* {0, 1, 3} *); IMAGE_REL_PPC_SECTION* = 12 (* {2, 3} *); IMAGE_REL_PPC_IFGLUE* = 13 (* {0, 2, 3} *); IMAGE_REL_PPC_IMGLUE* = 14 (* {1..3} *); IMAGE_REL_PPC_SECREL16* = 15 (* {0..3} *); IMAGE_REL_PPC_REFHI* = 16 (* {4} *); IMAGE_REL_PPC_REFLO* = 17 (* {0, 4} *); IMAGE_REL_PPC_PAIR* = 18 (* {1, 4} *); IMAGE_REL_PPC_TYPEMASK* = 255 (* {0..7} *); IMAGE_REL_PPC_NEG* = 256 (* {8} *); IMAGE_REL_PPC_BRTAKEN* = 512 (* {9} *); IMAGE_REL_PPC_BRNTAKEN* = 1024 (* {10} *); IMAGE_REL_PPC_TOCDEFN* = 2048 (* {11} *); IMAGE_SIZEOF_BASE_RELOCATION* = 8 (* {3} *); IMAGE_REL_BASED_ABSOLUTE* = 0 (* {} *); IMAGE_REL_BASED_HIGH* = 1 (* {0} *); IMAGE_REL_BASED_LOW* = 2 (* {1} *); IMAGE_REL_BASED_HIGHLOW* = 3 (* {0, 1} *); IMAGE_REL_BASED_HIGHADJ* = 4 (* {2} *); IMAGE_REL_BASED_MIPS_JMPADDR* = 5 (* {0, 2} *); IMAGE_SIZEOF_LINENUMBER* = 6 (* {1, 2} *); IMAGE_ARCHIVE_START_SIZE* = 8 (* {3} *); IMAGE_ARCHIVE_START* = "!<arch> 0AX "; IMAGE_ARCHIVE_END* = "` 0AX "; IMAGE_ARCHIVE_PAD* = " 0AX "; IMAGE_ARCHIVE_LINKER_MEMBER* = "/ "; IMAGE_ARCHIVE_LONGNAMES_MEMBER* = "// "; IMAGE_SIZEOF_ARCHIVE_MEMBER_HDR* = 60 (* {2..5} *); IMAGE_ORDINAL_FLAG* = 80000000H; IMAGE_RESOURCE_NAME_IS_STRING* = 80000000H; IMAGE_RESOURCE_DATA_IS_DIRECTORY* = 80000000H; IMAGE_DEBUG_TYPE_UNKNOWN* = 0 (* {} *); IMAGE_DEBUG_TYPE_COFF* = 1 (* {0} *); IMAGE_DEBUG_TYPE_CODEVIEW* = 2 (* {1} *); IMAGE_DEBUG_TYPE_FPO* = 3 (* {0, 1} *); IMAGE_DEBUG_TYPE_MISC* = 4 (* {2} *); IMAGE_DEBUG_TYPE_EXCEPTION* = 5 (* {0, 2} *); IMAGE_DEBUG_TYPE_FIXUP* = 6 (* {1, 2} *); IMAGE_DEBUG_TYPE_OMAP_TO_SRC* = 7 (* {0..2} *); IMAGE_DEBUG_TYPE_OMAP_FROM_SRC* = 8 (* {3} *); IMAGE_DEBUG_TYPE_OMAP_MISC* = 9 (* {0, 3} *); FRAME_FPO* = 0 (* {} *); FRAME_TRAP* = 1 (* {0} *); FRAME_TSS* = 2 (* {1} *); FRAME_NONFPO* = 3 (* {0, 1} *); SIZEOF_RFPO_DATA* = 16 (* {4} *); IMAGE_DEBUG_MISC_EXENAME* = 1 (* {0} *); IMAGE_SEPARATE_DEBUG_SIGNATURE* = 18756 (* {2, 6, 8, 11, 14} *); IMAGE_SEPARATE_DEBUG_FLAGS_MASK* = 32768 (* {15} *); IMAGE_SEPARATE_DEBUG_MISMATCH* = 32768 (* {15} *); HEAP_NO_SERIALIZE* = {0}; HEAP_GROWABLE* = {1}; HEAP_GENERATE_EXCEPTIONS* = {2}; HEAP_ZERO_MEMORY* = {3}; HEAP_REALLOC_IN_PLACE_ONLY* = {4}; HEAP_TAIL_CHECKING_ENABLED* = {5}; HEAP_FREE_CHECKING_ENABLED* = {6}; HEAP_DISABLE_COALESCE_ON_FREE* = {7}; HEAP_CREATE_ALIGN_16* = {16}; HEAP_CREATE_ENABLE_TRACING* = {17}; HEAP_MAXIMUM_TAG* = {0..11}; HEAP_PSEUDO_TAG_FLAG* = {15}; HEAP_TAG_SHIFT* = {4}; IS_TEXT_UNICODE_ASCII16* = {0}; IS_TEXT_UNICODE_REVERSE_ASCII16* = {4}; IS_TEXT_UNICODE_STATISTICS* = {1}; IS_TEXT_UNICODE_REVERSE_STATISTICS* = {5}; IS_TEXT_UNICODE_CONTROLS* = {2}; IS_TEXT_UNICODE_REVERSE_CONTROLS* = {6}; IS_TEXT_UNICODE_SIGNATURE* = {3}; IS_TEXT_UNICODE_REVERSE_SIGNATURE* = {7}; IS_TEXT_UNICODE_ILLEGAL_CHARS* = {8}; IS_TEXT_UNICODE_ODD_LENGTH* = {9}; IS_TEXT_UNICODE_DBCS_LEADBYTE* = {10}; IS_TEXT_UNICODE_NULL_BYTES* = {12}; IS_TEXT_UNICODE_UNICODE_MASK* = {0..3}; IS_TEXT_UNICODE_REVERSE_MASK* = {4..7}; IS_TEXT_UNICODE_NOT_UNICODE_MASK* = {8..11}; IS_TEXT_UNICODE_NOT_ASCII_MASK* = {12..15}; COMPRESSION_FORMAT_NONE* = 0 (* {} *); COMPRESSION_FORMAT_DEFAULT* = 1 (* {0} *); COMPRESSION_FORMAT_LZNT1* = 2 (* {1} *); COMPRESSION_ENGINE_STANDARD* = 0 (* {} *); COMPRESSION_ENGINE_MAXIMUM* = 256 (* {8} *); MESSAGE_RESOURCE_UNICODE* = 1 (* {0} *); RTL_CRITSECT_TYPE* = 0 (* {} *); RTL_RESOURCE_TYPE* = 1 (* {0} *); DLL_PROCESS_ATTACH* = {0}; DLL_THREAD_ATTACH* = {1}; DLL_THREAD_DETACH* = {0, 1}; DLL_PROCESS_DETACH* = {}; EVENTLOG_SEQUENTIAL_READ* = {0}; EVENTLOG_SEEK_READ* = {1}; EVENTLOG_FORWARDS_READ* = {2}; EVENTLOG_BACKWARDS_READ* = {3}; EVENTLOG_SUCCESS* = {}; EVENTLOG_ERROR_TYPE* = {0}; EVENTLOG_WARNING_TYPE* = {1}; EVENTLOG_INFORMATION_TYPE* = {2}; EVENTLOG_AUDIT_SUCCESS* = {3}; EVENTLOG_AUDIT_FAILURE* = {4}; EVENTLOG_START_PAIRED_EVENT* = {0}; EVENTLOG_END_PAIRED_EVENT* = {1}; EVENTLOG_END_ALL_PAIRED_EVENTS* = {2}; EVENTLOG_PAIRED_EVENT_ACTIVE* = {3}; EVENTLOG_PAIRED_EVENT_INACTIVE* = {4}; DBG_CONTINUE* = {1, 16}; DBG_TERMINATE_THREAD* = {0, 1, 16, 30}; DBG_TERMINATE_PROCESS* = {2, 16, 30}; DBG_CONTROL_C* = {0, 2, 16, 30}; DBG_CONTROL_BREAK* = {3, 16, 30}; DBG_EXCEPTION_NOT_HANDLED* = {0, 16, 31}; KEY_QUERY_VALUE* = {0}; KEY_SET_VALUE* = {1}; KEY_CREATE_SUB_KEY* = {2}; KEY_ENUMERATE_SUB_KEYS* = {3}; KEY_NOTIFY* = {4}; KEY_CREATE_LINK* = {5}; KEY_READ* = {0, 3, 4, 17}; KEY_WRITE* = {1, 2, 17}; KEY_EXECUTE* = {0, 3, 4, 17}; KEY_ALL_ACCESS* = {0..5, 16..19}; REG_OPTION_RESERVED* = {}; REG_OPTION_NON_VOLATILE* = {}; REG_OPTION_VOLATILE* = {0}; REG_OPTION_CREATE_LINK* = {1}; REG_OPTION_BACKUP_RESTORE* = {2}; REG_LEGAL_OPTION* = 7 (* {0..2} *); REG_CREATED_NEW_KEY* = 1 (* {0} *); REG_OPENED_EXISTING_KEY* = 2 (* {1} *); REG_WHOLE_HIVE_VOLATILE* = 1 (* {0} *); REG_REFRESH_HIVE* = 2 (* {1} *); REG_NOTIFY_CHANGE_NAME* = {0}; REG_NOTIFY_CHANGE_ATTRIBUTES* = {1}; REG_NOTIFY_CHANGE_LAST_SET* = {2}; REG_NOTIFY_CHANGE_SECURITY* = {3}; REG_LEGAL_CHANGE_FILTER* = {0..3}; REG_NONE* = 0 (* {} *); REG_SZ* = 1 (* {0} *); REG_EXPAND_SZ* = 2 (* {1} *); REG_BINARY* = 3 (* {0, 1} *); REG_DWORD* = 4 (* {2} *); REG_DWORD_LITTLE_ENDIAN* = 4 (* {2} *); REG_DWORD_BIG_ENDIAN* = 5 (* {0, 2} *); REG_LINK* = 6 (* {1, 2} *); REG_MULTI_SZ* = 7 (* {0..2} *); REG_RESOURCE_LIST* = 8 (* {3} *); REG_FULL_RESOURCE_DESCRIPTOR* = 9 (* {0, 3} *); REG_RESOURCE_REQUIREMENTS_LIST* = 10 (* {1, 3} *); SERVICE_KERNEL_DRIVER* = {0}; SERVICE_FILE_SYSTEM_DRIVER* = {1}; SERVICE_ADAPTER* = {2}; SERVICE_RECOGNIZER_DRIVER* = {3}; SERVICE_DRIVER* = {0, 1, 3}; SERVICE_WIN32_OWN_PROCESS* = {4}; SERVICE_WIN32_SHARE_PROCESS* = {5}; SERVICE_WIN32* = {4, 5}; SERVICE_INTERACTIVE_PROCESS* = {8}; SERVICE_TYPE_ALL* = {0..5, 8}; SERVICE_BOOT_START* = 0 (* {} *); SERVICE_SYSTEM_START* = 1 (* {0} *); SERVICE_AUTO_START* = 2 (* {1} *); SERVICE_DEMAND_START* = 3 (* {0, 1} *); SERVICE_DISABLED* = 4 (* {2} *); SERVICE_ERROR_IGNORE* = 0 (* {} *); SERVICE_ERROR_NORMAL* = 1 (* {0} *); SERVICE_ERROR_SEVERE* = 2 (* {1} *); SERVICE_ERROR_CRITICAL* = 3 (* {0, 1} *); TAPE_ERASE_SHORT* = 0 (* {} *); TAPE_ERASE_LONG* = 1 (* {0} *); TAPE_LOAD* = 0 (* {} *); TAPE_UNLOAD* = 1 (* {0} *); TAPE_TENSION* = 2 (* {1} *); TAPE_LOCK* = 3 (* {0, 1} *); TAPE_UNLOCK* = 4 (* {2} *); TAPE_FORMAT* = 5 (* {0, 2} *); TAPE_SETMARKS* = 0 (* {} *); TAPE_FILEMARKS* = 1 (* {0} *); TAPE_SHORT_FILEMARKS* = 2 (* {1} *); TAPE_LONG_FILEMARKS* = 3 (* {0, 1} *); TAPE_ABSOLUTE_POSITION* = 0 (* {} *); TAPE_LOGICAL_POSITION* = 1 (* {0} *); TAPE_PSEUDO_LOGICAL_POSITION* = 2 (* {1} *); TAPE_REWIND* = 0 (* {} *); TAPE_ABSOLUTE_BLOCK* = 1 (* {0} *); TAPE_LOGICAL_BLOCK* = 2 (* {1} *); TAPE_PSEUDO_LOGICAL_BLOCK* = 3 (* {0, 1} *); TAPE_SPACE_END_OF_DATA* = 4 (* {2} *); TAPE_SPACE_RELATIVE_BLOCKS* = 5 (* {0, 2} *); TAPE_SPACE_FILEMARKS* = 6 (* {1, 2} *); TAPE_SPACE_SEQUENTIAL_FMKS* = 7 (* {0..2} *); TAPE_SPACE_SETMARKS* = 8 (* {3} *); TAPE_SPACE_SEQUENTIAL_SMKS* = 9 (* {0, 3} *); TAPE_DRIVE_FIXED* = {0}; TAPE_DRIVE_SELECT* = {1}; TAPE_DRIVE_INITIATOR* = {2}; TAPE_DRIVE_ERASE_SHORT* = {4}; TAPE_DRIVE_ERASE_LONG* = {5}; TAPE_DRIVE_ERASE_BOP_ONLY* = {6}; TAPE_DRIVE_ERASE_IMMEDIATE* = {7}; TAPE_DRIVE_TAPE_CAPACITY* = {8}; TAPE_DRIVE_TAPE_REMAINING* = {9}; TAPE_DRIVE_FIXED_BLOCK* = {10}; TAPE_DRIVE_VARIABLE_BLOCK* = {11}; TAPE_DRIVE_WRITE_PROTECT* = {12}; TAPE_DRIVE_EOT_WZ_SIZE* = {13}; TAPE_DRIVE_ECC* = {16}; TAPE_DRIVE_COMPRESSION* = {17}; TAPE_DRIVE_PADDING* = {18}; TAPE_DRIVE_REPORT_SMKS* = {19}; TAPE_DRIVE_GET_ABSOLUTE_BLK* = {20}; TAPE_DRIVE_GET_LOGICAL_BLK* = {21}; TAPE_DRIVE_SET_EOT_WZ_SIZE* = {22}; TAPE_DRIVE_RESERVED_BIT* = {31}; TAPE_DRIVE_LOAD_UNLOAD* = {0, 31}; TAPE_DRIVE_TENSION* = {1, 31}; TAPE_DRIVE_LOCK_UNLOCK* = {2, 31}; TAPE_DRIVE_REWIND_IMMEDIATE* = {3, 31}; TAPE_DRIVE_SET_BLOCK_SIZE* = {4, 31}; TAPE_DRIVE_LOAD_UNLD_IMMED* = {5, 31}; TAPE_DRIVE_TENSION_IMMED* = {6, 31}; TAPE_DRIVE_LOCK_UNLK_IMMED* = {7, 31}; TAPE_DRIVE_SET_ECC* = {8, 31}; TAPE_DRIVE_SET_COMPRESSION* = {9, 31}; TAPE_DRIVE_SET_PADDING* = {10, 31}; TAPE_DRIVE_SET_REPORT_SMKS* = {11, 31}; TAPE_DRIVE_ABSOLUTE_BLK* = {12, 31}; TAPE_DRIVE_ABS_BLK_IMMED* = {13, 31}; TAPE_DRIVE_LOGICAL_BLK* = {14, 31}; TAPE_DRIVE_LOG_BLK_IMMED* = {15, 31}; TAPE_DRIVE_END_OF_DATA* = {16, 31}; TAPE_DRIVE_RELATIVE_BLKS* = {17, 31}; TAPE_DRIVE_FILEMARKS* = {18, 31}; TAPE_DRIVE_SEQUENTIAL_FMKS* = {19, 31}; TAPE_DRIVE_SETMARKS* = {20, 31}; TAPE_DRIVE_SEQUENTIAL_SMKS* = {21, 31}; TAPE_DRIVE_REVERSE_POSITION* = {22, 31}; TAPE_DRIVE_SPACE_IMMEDIATE* = {23, 31}; TAPE_DRIVE_WRITE_SETMARKS* = {24, 31}; TAPE_DRIVE_WRITE_FILEMARKS* = {25, 31}; TAPE_DRIVE_WRITE_SHORT_FMKS* = {26, 31}; TAPE_DRIVE_WRITE_LONG_FMKS* = {27, 31}; TAPE_DRIVE_WRITE_MARK_IMMED* = {28, 31}; TAPE_DRIVE_FORMAT* = {29, 31}; TAPE_DRIVE_FORMAT_IMMEDIATE* = {30, 31}; TAPE_DRIVE_HIGH_FEATURES* = {31}; TAPE_FIXED_PARTITIONS* = 0 (* {} *); TAPE_SELECT_PARTITIONS* = 1 (* {0} *); TAPE_INITIATOR_PARTITIONS* = 2 (* {1} *); DM_UPDATE* = {0}; DM_COPY* = {1}; DM_PROMPT* = {2}; DM_MODIFY* = {3}; DM_IN_BUFFER* = {3}; DM_IN_PROMPT* = {2}; DM_OUT_BUFFER* = {1}; DM_OUT_DEFAULT* = {0}; DC_FIELDS* = 1 (* {0} *); DC_PAPERS* = 2 (* {1} *); DC_PAPERSIZE* = 3 (* {0, 1} *); DC_MINEXTENT* = 4 (* {2} *); DC_MAXEXTENT* = 5 (* {0, 2} *); DC_BINS* = 6 (* {1, 2} *); DC_DUPLEX* = 7 (* {0..2} *); DC_SIZE* = 8 (* {3} *); DC_EXTRA* = 9 (* {0, 3} *); DC_VERSION* = 10 (* {1, 3} *); DC_DRIVER* = 11 (* {0, 1, 3} *); DC_BINNAMES* = 12 (* {2, 3} *); DC_ENUMRESOLUTIONS* = 13 (* {0, 2, 3} *); DC_FILEDEPENDENCIES* = 14 (* {1..3} *); DC_TRUETYPE* = 15 (* {0..3} *); DC_PAPERNAMES* = 16 (* {4} *); DC_ORIENTATION* = 17 (* {0, 4} *); DC_COPIES* = 18 (* {1, 4} *); INVALID_FILE_SIZE* = -1 (* {0..31} *); FILE_BEGIN* = 0 (* {} *); FILE_CURRENT* = 1 (* {0} *); FILE_END* = 2 (* {1} *); TIME_ZONE_ID_INVALID* = {0..31}; WAIT_FAILED* = -1 (* {0..31} *); WAIT_OBJECT_0* = 0 (* {} *); WAIT_ABANDONED* = 128 (* {7} *); WAIT_ABANDONED_0* = 128 (* {7} *); WAIT_TIMEOUT* = 258 (* {1, 8} *); WAIT_IO_COMPLETION* = 192 (* {6, 7} *); STILL_ACTIVE* = 259 (* {0, 1, 8} *); EXCEPTION_ACCESS_VIOLATION* = -1073741819 (* {0, 2, 30, 31} *); EXCEPTION_DATATYPE_MISALIGNMENT* = -2147483646 (* {1, 31} *); EXCEPTION_BREAKPOINT* = -2147483645 (* {0, 1, 31} *); EXCEPTION_SINGLE_STEP* = -2147483644 (* {2, 31} *); EXCEPTION_ARRAY_BOUNDS_EXCEEDED* = -1073741684 (* {2, 3, 7, 30, 31} *); EXCEPTION_FLT_DENORMAL_OPERAND* = -1073741683 (* {0, 2, 3, 7, 30, 31} *); EXCEPTION_FLT_DIVIDE_BY_ZERO* = -1073741682 (* {1..3, 7, 30, 31} *); EXCEPTION_FLT_INEXACT_RESULT* = -1073741681 (* {0..3, 7, 30, 31} *); EXCEPTION_FLT_INVALID_OPERATION* = -1073741680 (* {4, 7, 30, 31} *); EXCEPTION_FLT_OVERFLOW* = -1073741679 (* {0, 4, 7, 30, 31} *); EXCEPTION_FLT_STACK_CHECK* = -1073741678 (* {1, 4, 7, 30, 31} *); EXCEPTION_FLT_UNDERFLOW* = -1073741677 (* {0, 1, 4, 7, 30, 31} *); EXCEPTION_INT_DIVIDE_BY_ZERO* = -1073741676 (* {2, 4, 7, 30, 31} *); EXCEPTION_INT_OVERFLOW* = -1073741675 (* {0, 2, 4, 7, 30, 31} *); EXCEPTION_PRIV_INSTRUCTION* = -1073741674 (* {1, 2, 4, 7, 30, 31} *); EXCEPTION_IN_PAGE_ERROR* = -1073741818 (* {1, 2, 30, 31} *); EXCEPTION_ILLEGAL_INSTRUCTION* = -1073741795 (* {0, 2..4, 30, 31} *); EXCEPTION_NONCONTINUABLE_EXCEPTION* = {0, 2, 5, 30, 31}; EXCEPTION_STACK_OVERFLOW* = -1073741571 (* {0, 2..7, 30, 31} *); EXCEPTION_INVALID_DISPOSITION* = -1073741786 (* {1, 2, 5, 30, 31} *); EXCEPTION_GUARD_PAGE* = -2147483647 (* {0, 31} *); CONTROL_C_EXIT* = -1073741510 (* {1, 3..5, 8, 30, 31} *); FILE_FLAG_WRITE_THROUGH* = {31}; FILE_FLAG_OVERLAPPED* = {30}; FILE_FLAG_NO_BUFFERING* = {29}; FILE_FLAG_RANDOM_ACCESS* = {28}; FILE_FLAG_SEQUENTIAL_SCAN* = {27}; FILE_FLAG_DELETE_ON_CLOSE* = {26}; FILE_FLAG_BACKUP_SEMANTICS* = {25}; FILE_FLAG_POSIX_SEMANTICS* = {24}; CREATE_NEW* = 1 (* {0} *); CREATE_ALWAYS* = 2 (* {1} *); OPEN_EXISTING* = 3 (* {0, 1} *); OPEN_ALWAYS* = 4 (* {2} *); TRUNCATE_EXISTING* = 5 (* {0, 2} *); PROGRESS_CONTINUE* = 0 (* {} *); PROGRESS_CANCEL* = 1 (* {0} *); PROGRESS_STOP* = 2 (* {1} *); PROGRESS_QUIET* = 3 (* {0, 1} *); CALLBACK_CHUNK_FINISHED* = 0 (* {} *); CALLBACK_STREAM_SWITCH* = 1 (* {0} *); COPY_FILE_FAIL_IF_EXISTS* = 1 (* {0} *); COPY_FILE_RESTARTABLE* = 2 (* {1} *); PIPE_ACCESS_INBOUND* = 1 (* {0} *); PIPE_ACCESS_OUTBOUND* = 2 (* {1} *); PIPE_ACCESS_DUPLEX* = 3 (* {0, 1} *); PIPE_CLIENT_END* = 0 (* {} *); PIPE_SERVER_END* = 1 (* {0} *); PIPE_WAIT* = 0 (* {} *); PIPE_NOWAIT* = 1 (* {0} *); PIPE_READMODE_BYTE* = 0 (* {} *); PIPE_READMODE_MESSAGE* = 2 (* {1} *); PIPE_TYPE_BYTE* = 0 (* {} *); PIPE_TYPE_MESSAGE* = 4 (* {2} *); PIPE_UNLIMITED_INSTANCES* = 255 (* {0..7} *); SECURITY_ANONYMOUS* = {}; SECURITY_IDENTIFICATION* = {16}; SECURITY_IMPERSONATION* = {17}; SECURITY_DELEGATION* = {16, 17}; SECURITY_CONTEXT_TRACKING* = {18}; SECURITY_EFFECTIVE_ONLY* = {19}; SECURITY_SQOS_PRESENT* = {20}; SECURITY_VALID_SQOS_FLAGS* = {16..20}; MUTEX_MODIFY_STATE* = {0}; MUTEX_ALL_ACCESS* = {0, 16..20}; SP_SERIALCOMM* = {0}; PST_UNSPECIFIED* = 0 (* {} *); PST_RS232* = 1 (* {0} *); PST_PARALLELPORT* = 2 (* {1} *); PST_RS422* = 3 (* {0, 1} *); PST_RS423* = 4 (* {2} *); PST_RS449* = 5 (* {0, 2} *); PST_MODEM* = 6 (* {1, 2} *); PST_FAX* = 33 (* {0, 5} *); PST_SCANNER* = 34 (* {1, 5} *); PST_NETWORK_BRIDGE* = 256 (* {8} *); PST_LAT* = 257 (* {0, 8} *); PST_TCPIP_TELNET* = 258 (* {1, 8} *); PST_X25* = 259 (* {0, 1, 8} *); PCF_DTRDSR* = {0}; PCF_RTSCTS* = {1}; PCF_RLSD* = {2}; PCF_PARITY_CHECK* = {3}; PCF_XONXOFF* = {4}; PCF_SETXCHAR* = {5}; PCF_TOTALTIMEOUTS* = {6}; PCF_INTTIMEOUTS* = {7}; PCF_SPECIALCHARS* = {8}; PCF_16BITMODE* = {9}; SP_PARITY* = {0}; SP_BAUD* = {1}; SP_DATABITS* = {2}; SP_STOPBITS* = {3}; SP_HANDSHAKING* = {4}; SP_PARITY_CHECK* = {5}; SP_RLSD* = {6}; BAUD_075* = {0}; BAUD_110* = {1}; BAUD_134_5* = {2}; BAUD_150* = {3}; BAUD_300* = {4}; BAUD_600* = {5}; BAUD_1200* = {6}; BAUD_1800* = {7}; BAUD_2400* = {8}; BAUD_4800* = {9}; BAUD_7200* = {10}; BAUD_9600* = {11}; BAUD_14400* = {12}; BAUD_19200* = {13}; BAUD_38400* = {14}; BAUD_56K* = {15}; BAUD_128K* = {16}; BAUD_115200* = {17}; BAUD_57600* = {18}; BAUD_USER* = {28}; DATABITS_5* = 1 (* {0} *); DATABITS_6* = 2 (* {1} *); DATABITS_7* = 4 (* {2} *); DATABITS_8* = 8 (* {3} *); DATABITS_16* = 16 (* {4} *); DATABITS_16X* = 32 (* {5} *); STOPBITS_10* = 1 (* {0} *); STOPBITS_15* = 2 (* {1} *); STOPBITS_20* = 4 (* {2} *); PARITY_NONE* = 256 (* {8} *); PARITY_ODD* = 512 (* {9} *); PARITY_EVEN* = 1024 (* {10} *); PARITY_MARK* = 2048 (* {11} *); PARITY_SPACE* = 4096 (* {12} *); COMMPROP_INITIALIZED* = -415435474 (* {1..3, 5, 8, 10, 12..15, 18..21, 24..26, 29..31} *); DTR_CONTROL_DISABLE* = 0 (* {} *); DTR_CONTROL_ENABLE* = 1 (* {0} *); DTR_CONTROL_HANDSHAKE* = 2 (* {1} *); RTS_CONTROL_DISABLE* = 0 (* {} *); RTS_CONTROL_ENABLE* = 1 (* {0} *); RTS_CONTROL_HANDSHAKE* = 2 (* {1} *); RTS_CONTROL_TOGGLE* = 3 (* {0, 1} *); GMEM_FIXED* = {}; GMEM_MOVEABLE* = {1}; GMEM_NOCOMPACT* = {4}; GMEM_NODISCARD* = {5}; GMEM_ZEROINIT* = {6}; GMEM_MODIFY* = {7}; GMEM_DISCARDABLE* = {8}; GMEM_NOT_BANKED* = {12}; GMEM_SHARE* = {13}; GMEM_DDESHARE* = {13}; GMEM_NOTIFY* = {14}; GMEM_LOWER* = {12}; GMEM_VALID_FLAGS* = {1, 4..6, 8..14}; GMEM_INVALID_HANDLE* = {15}; GHND* = {1, 6}; GPTR* = {6}; GMEM_DISCARDED* = {14}; GMEM_LOCKCOUNT* = {0..7}; LMEM_FIXED* = {}; LMEM_MOVEABLE* = {1}; LMEM_NOCOMPACT* = {4}; LMEM_NODISCARD* = {5}; LMEM_ZEROINIT* = {6}; LMEM_MODIFY* = {7}; LMEM_DISCARDABLE* = {8..11}; LMEM_VALID_FLAGS* = {1, 4..6, 8..11}; LMEM_INVALID_HANDLE* = {15}; LHND* = {1, 6}; LPTR* = {6}; NONZEROLHND* = {1}; NONZEROLPTR* = {}; LMEM_DISCARDED* = {14}; LMEM_LOCKCOUNT* = {0..7}; DEBUG_PROCESS* = {0}; DEBUG_ONLY_THIS_PROCESS* = {1}; CREATE_SUSPENDED* = {2}; DETACHED_PROCESS* = {3}; CREATE_NEW_CONSOLE* = {4}; NORMAL_PRIORITY_CLASS* = {5}; IDLE_PRIORITY_CLASS* = {6}; HIGH_PRIORITY_CLASS* = {7}; REALTIME_PRIORITY_CLASS* = {8}; CREATE_NEW_PROCESS_GROUP* = {9}; CREATE_UNICODE_ENVIRONMENT* = {10}; CREATE_SEPARATE_WOW_VDM* = {11}; CREATE_SHARED_WOW_VDM* = {12}; CREATE_DEFAULT_ERROR_MODE* = {26}; CREATE_NO_WINDOW* = {27}; PROFILE_USER* = {28}; PROFILE_KERNEL* = {29}; PROFILE_SERVER* = {30}; THREAD_PRIORITY_LOWEST* = -2 (* {1..31} *); THREAD_PRIORITY_BELOW_NORMAL* = -1 (* {0..31} *); THREAD_PRIORITY_NORMAL* = 0 (* {} *); THREAD_PRIORITY_HIGHEST* = 2 (* {1} *); THREAD_PRIORITY_ABOVE_NORMAL* = 1 (* {0} *); THREAD_PRIORITY_ERROR_RETURN* = 2147483647 (* {0..30} *); THREAD_PRIORITY_TIME_CRITICAL* = 15 (* {0..3} *); THREAD_PRIORITY_IDLE* = -15 (* {0, 4..31} *); EXCEPTION_DEBUG_EVENT* = 1 (* {0} *); CREATE_THREAD_DEBUG_EVENT* = 2 (* {1} *); CREATE_PROCESS_DEBUG_EVENT* = 3 (* {0, 1} *); EXIT_THREAD_DEBUG_EVENT* = 4 (* {2} *); EXIT_PROCESS_DEBUG_EVENT* = 5 (* {0, 2} *); LOAD_DLL_DEBUG_EVENT* = 6 (* {1, 2} *); UNLOAD_DLL_DEBUG_EVENT* = 7 (* {0..2} *); OUTPUT_DEBUG_STRING_EVENT* = 8 (* {3} *); RIP_EVENT* = 9 (* {0, 3} *); DRIVE_UNKNOWN* = 0 (* {} *); DRIVE_NO_ROOT_DIR* = 1 (* {0} *); DRIVE_REMOVABLE* = 2 (* {1} *); DRIVE_FIXED* = 3 (* {0, 1} *); DRIVE_REMOTE* = 4 (* {2} *); DRIVE_CDROM* = 5 (* {0, 2} *); DRIVE_RAMDISK* = 6 (* {1, 2} *); FILE_TYPE_UNKNOWN* = 0 (* {} *); FILE_TYPE_DISK* = 1 (* {0} *); FILE_TYPE_CHAR* = 2 (* {1} *); FILE_TYPE_PIPE* = 3 (* {0, 1} *); FILE_TYPE_REMOTE* = 32768 (* {15} *); STD_INPUT_HANDLE* = -10 (* {1, 2, 4..31} *); STD_OUTPUT_HANDLE* = -11 (* {0, 2, 4..31} *); STD_ERROR_HANDLE* = -12 (* {2, 4..31} *); NOPARITY* = 0 (* {} *); ODDPARITY* = 1 (* {0} *); EVENPARITY* = 2 (* {1} *); MARKPARITY* = 3 (* {0, 1} *); SPACEPARITY* = 4 (* {2} *); ONESTOPBIT* = 0 (* {} *); ONE5STOPBITS* = 1 (* {0} *); TWOSTOPBITS* = 2 (* {1} *); IGNORE* = 0 (* {} *); INFINITE* = -1 (* {0..31} *); CBR_110* = 110 (* {1..3, 5, 6} *); CBR_300* = 300 (* {2, 3, 5, 8} *); CBR_600* = 600 (* {3, 4, 6, 9} *); CBR_1200* = 1200 (* {4, 5, 7, 10} *); CBR_2400* = 2400 (* {5, 6, 8, 11} *); CBR_4800* = 4800 (* {6, 7, 9, 12} *); CBR_9600* = 9600 (* {7, 8, 10, 13} *); CBR_14400* = 14400 (* {6, 11..13} *); CBR_19200* = 19200 (* {8, 9, 11, 14} *); CBR_38400* = 38400 (* {9, 10, 12, 15} *); CBR_56000* = 56000 (* {6, 7, 9, 11, 12, 14, 15} *); CBR_57600* = 57600 (* {8, 13..15} *); CBR_115200* = 115200 (* {9, 14..16} *); CBR_128000* = 128000 (* {10, 12..16} *); CBR_256000* = 256000 (* {11, 13..17} *); CE_RXOVER* = {0}; CE_OVERRUN* = {1}; CE_RXPARITY* = {2}; CE_FRAME* = {3}; CE_BREAK* = {4}; CE_TXFULL* = {8}; CE_PTO* = {9}; CE_IOE* = {10}; CE_DNS* = {11}; CE_OOP* = {12}; CE_MODE* = {15}; IE_BADID* = -1 (* {0..31} *); IE_OPEN* = -2 (* {1..31} *); IE_NOPEN* = -3 (* {0, 2..31} *); IE_MEMORY* = -4 (* {2..31} *); IE_DEFAULT* = -5 (* {0, 1, 3..31} *); IE_HARDWARE* = -10 (* {1, 2, 4..31} *); IE_BYTESIZE* = -11 (* {0, 2, 4..31} *); IE_BAUDRATE* = -12 (* {2, 4..31} *); EV_RXCHAR* = {0}; EV_RXFLAG* = {1}; EV_TXEMPTY* = {2}; EV_CTS* = {3}; EV_DSR* = {4}; EV_RLSD* = {5}; EV_BREAK* = {6}; EV_ERR* = {7}; EV_RING* = {8}; EV_PERR* = {9}; EV_RX80FULL* = {10}; EV_EVENT1* = {11}; EV_EVENT2* = {12}; SETXOFF* = 1 (* {0} *); SETXON* = 2 (* {1} *); SETRTS* = 3 (* {0, 1} *); CLRRTS* = 4 (* {2} *); SETDTR* = 5 (* {0, 2} *); CLRDTR* = 6 (* {1, 2} *); RESETDEV* = 7 (* {0..2} *); SETBREAK* = 8 (* {3} *); CLRBREAK* = 9 (* {0, 3} *); PURGE_TXABORT* = {0}; PURGE_RXABORT* = {1}; PURGE_TXCLEAR* = {2}; PURGE_RXCLEAR* = {3}; LPTx* = {7}; MS_CTS_ON* = {4}; MS_DSR_ON* = {5}; MS_RING_ON* = {6}; MS_RLSD_ON* = {7}; S_QUEUEEMPTY* = 0 (* {} *); S_THRESHOLD* = 1 (* {0} *); S_ALLTHRESHOLD* = 2 (* {1} *); S_NORMAL* = 0 (* {} *); S_LEGATO* = 1 (* {0} *); S_STACCATO* = 2 (* {1} *); S_PERIOD512* = 0 (* {} *); S_PERIOD1024* = 1 (* {0} *); S_PERIOD2048* = 2 (* {1} *); S_PERIODVOICE* = 3 (* {0, 1} *); S_WHITE512* = 4 (* {2} *); S_WHITE1024* = 5 (* {0, 2} *); S_WHITE2048* = 6 (* {1, 2} *); S_WHITEVOICE* = 7 (* {0..2} *); S_SERDVNA* = -1 (* {0..31} *); S_SEROFM* = -2 (* {1..31} *); S_SERMACT* = -3 (* {0, 2..31} *); S_SERQFUL* = -4 (* {2..31} *); S_SERBDNT* = -5 (* {0, 1, 3..31} *); S_SERDLN* = -6 (* {1, 3..31} *); S_SERDCC* = -7 (* {0, 3..31} *); S_SERDTP* = -8 (* {3..31} *); S_SERDVL* = -9 (* {0..2, 4..31} *); S_SERDMD* = -10 (* {1, 2, 4..31} *); S_SERDSH* = -11 (* {0, 2, 4..31} *); S_SERDPT* = -12 (* {2, 4..31} *); S_SERDFQ* = -13 (* {0, 1, 4..31} *); S_SERDDR* = -14 (* {1, 4..31} *); S_SERDSR* = -15 (* {0, 4..31} *); S_SERDST* = -16 (* {4..31} *); NMPWAIT_WAIT_FOREVER* = -1 (* {0..31} *); NMPWAIT_NOWAIT* = 1 (* {0} *); NMPWAIT_USE_DEFAULT_WAIT* = 0 (* {} *); FS_CASE_IS_PRESERVED* = {1}; FS_CASE_SENSITIVE* = {0}; FS_UNICODE_STORED_ON_DISK* = {2}; FS_PERSISTENT_ACLS* = {3}; FS_VOL_IS_COMPRESSED* = {15}; FS_FILE_COMPRESSION* = {4}; FILE_MAP_COPY* = {0}; FILE_MAP_WRITE* = {1}; FILE_MAP_READ* = {2}; FILE_MAP_ALL_ACCESS* = {0..4, 16..19}; OF_READ* = {}; OF_WRITE* = {0}; OF_READWRITE* = {1}; OF_SHARE_COMPAT* = {}; OF_SHARE_EXCLUSIVE* = {4}; OF_SHARE_DENY_WRITE* = {5}; OF_SHARE_DENY_READ* = {4, 5}; OF_SHARE_DENY_NONE* = {6}; OF_PARSE* = {8}; OF_DELETE* = {9}; OF_VERIFY* = {10}; OF_CANCEL* = {11}; OF_CREATE* = {12}; OF_PROMPT* = {13}; OF_EXIST* = {14}; OF_REOPEN* = {15}; OFS_MAXPATHNAME* = 128 (* {7} *); MAXINTATOM* = 49152 (* {14, 15} *); PROCESS_HEAP_REGION* = {0}; PROCESS_HEAP_UNCOMMITTED_RANGE* = {1}; PROCESS_HEAP_ENTRY_BUSY* = {2}; PROCESS_HEAP_ENTRY_MOVEABLE* = {4}; PROCESS_HEAP_ENTRY_DDESHARE* = {5}; SCS_32BIT_BINARY* = 0 (* {} *); SCS_DOS_BINARY* = 1 (* {0} *); SCS_WOW_BINARY* = 2 (* {1} *); SCS_PIF_BINARY* = 3 (* {0, 1} *); SCS_POSIX_BINARY* = 4 (* {2} *); SCS_OS216_BINARY* = 5 (* {0, 2} *); SEM_FAILCRITICALERRORS* = {0}; SEM_NOGPFAULTERRORBOX* = {1}; SEM_NOALIGNMENTFAULTEXCEPT* = {2}; SEM_NOOPENFILEERRORBOX* = {15}; LOCKFILE_FAIL_IMMEDIATELY* = {0}; LOCKFILE_EXCLUSIVE_LOCK* = {1}; HANDLE_FLAG_INHERIT* = {0}; HANDLE_FLAG_PROTECT_FROM_CLOSE* = {1}; HINSTANCE_ERROR* = 32 (* {5} *); GET_TAPE_MEDIA_INFORMATION* = 0 (* {} *); GET_TAPE_DRIVE_INFORMATION* = 1 (* {0} *); SET_TAPE_MEDIA_INFORMATION* = 0 (* {} *); SET_TAPE_DRIVE_INFORMATION* = 1 (* {0} *); FORMAT_MESSAGE_ALLOCATE_BUFFER* = {8}; FORMAT_MESSAGE_IGNORE_INSERTS* = {9}; FORMAT_MESSAGE_FROM_STRING* = {10}; FORMAT_MESSAGE_FROM_HMODULE* = {11}; FORMAT_MESSAGE_FROM_SYSTEM* = {12}; FORMAT_MESSAGE_ARGUMENT_ARRAY* = {13}; FORMAT_MESSAGE_MAX_WIDTH_MASK* = {0..7}; TLS_OUT_OF_INDEXES* = -1 (* {0..31} *); BACKUP_INVALID* = 0 (* {} *); BACKUP_DATA* = 1 (* {0} *); BACKUP_EA_DATA* = 2 (* {1} *); BACKUP_SECURITY_DATA* = 3 (* {0, 1} *); BACKUP_ALTERNATE_DATA* = 4 (* {2} *); BACKUP_LINK* = 5 (* {0, 2} *); BACKUP_PROPERTY_DATA* = 6 (* {1, 2} *); STREAM_NORMAL_ATTRIBUTE* = 0 (* {} *); STREAM_MODIFIED_WHEN_READ* = 1 (* {0} *); STREAM_CONTAINS_SECURITY* = 2 (* {1} *); STREAM_CONTAINS_PROPERTIES* = 4 (* {2} *); STARTF_USESHOWWINDOW* = {0}; STARTF_USESIZE* = {1}; STARTF_USEPOSITION* = {2}; STARTF_USECOUNTCHARS* = {3}; STARTF_USEFILLATTRIBUTE* = {4}; STARTF_RUNFULLSCREEN* = {5}; STARTF_FORCEONFEEDBACK* = {6}; STARTF_FORCEOFFFEEDBACK* = {7}; STARTF_USESTDHANDLES* = {8}; STARTF_USEHOTKEY* = {9}; SHUTDOWN_NORETRY* = 1 (* {0} *); DONT_RESOLVE_DLL_REFERENCES* = {0}; LOAD_LIBRARY_AS_DATAFILE* = {1}; LOAD_WITH_ALTERED_SEARCH_PATH* = {3}; DDD_RAW_TARGET_PATH* = {0}; DDD_REMOVE_DEFINITION* = {1}; DDD_EXACT_MATCH_ON_REMOVE* = {2}; DDD_NO_BROADCAST_SYSTEM* = {3}; FIND_FIRST_EX_CASE_SENSITIVE* = {0}; MOVEFILE_REPLACE_EXISTING* = {0}; MOVEFILE_COPY_ALLOWED* = {1}; MOVEFILE_DELAY_UNTIL_REBOOT* = {2}; MOVEFILE_WRITE_THROUGH* = {3}; MAX_COMPUTERNAME_LENGTH* = 15 (* {0..3} *); LOGON32_LOGON_INTERACTIVE* = 2 (* {1} *); LOGON32_LOGON_BATCH* = 4 (* {2} *); LOGON32_LOGON_SERVICE* = 5 (* {0, 2} *); LOGON32_PROVIDER_DEFAULT* = 0 (* {} *); LOGON32_PROVIDER_WINNT35* = 1 (* {0} *); LOGON32_PROVIDER_WINNT40* = 2 (* {1} *); HW_PROFILE_GUIDLEN* = 39 (* {0..2, 5} *); MAX_PROFILE_LEN* = 80 (* {4, 6} *); DOCKINFO_UNDOCKED* = 1 (* {0} *); DOCKINFO_DOCKED* = 2 (* {1} *); DOCKINFO_USER_SUPPLIED* = 4 (* {2} *); DOCKINFO_USER_UNDOCKED* = 5 (* {0, 2} *); DOCKINFO_USER_DOCKED* = 6 (* {1, 2} *); VER_PLATFORM_WIN32s* = 0 (* {} *); VER_PLATFORM_WIN32_WINDOWS* = 1 (* {0} *); VER_PLATFORM_WIN32_NT* = 2 (* {1} *); FACILITY_WINDOWS* = 8 (* {3} *); FACILITY_STORAGE* = 3 (* {0, 1} *); FACILITY_RPC* = 1 (* {0} *); FACILITY_WIN32* = 7 (* {0..2} *); FACILITY_CONTROL* = 10 (* {1, 3} *); FACILITY_NULL* = 0 (* {} *); FACILITY_ITF* = 4 (* {2} *); FACILITY_DISPATCH* = 2 (* {1} *); ERROR_SUCCESS* = 0 (* {} *); NO_ERROR* = 0 (* {} *); ERROR_INVALID_FUNCTION* = 1 (* {0} *); ERROR_FILE_NOT_FOUND* = 2 (* {1} *); ERROR_PATH_NOT_FOUND* = 3 (* {0, 1} *); ERROR_TOO_MANY_OPEN_FILES* = 4 (* {2} *); ERROR_ACCESS_DENIED* = 5 (* {0, 2} *); ERROR_INVALID_HANDLE* = 6 (* {1, 2} *); ERROR_ARENA_TRASHED* = 7 (* {0..2} *); ERROR_NOT_ENOUGH_MEMORY* = 8 (* {3} *); ERROR_INVALID_BLOCK* = 9 (* {0, 3} *); ERROR_BAD_ENVIRONMENT* = 10 (* {1, 3} *); ERROR_BAD_FORMAT* = 11 (* {0, 1, 3} *); ERROR_INVALID_ACCESS* = 12 (* {2, 3} *); ERROR_INVALID_DATA* = 13 (* {0, 2, 3} *); ERROR_OUTOFMEMORY* = 14 (* {1..3} *); ERROR_INVALID_DRIVE* = 15 (* {0..3} *); ERROR_CURRENT_DIRECTORY* = 16 (* {4} *); ERROR_NOT_SAME_DEVICE* = 17 (* {0, 4} *); ERROR_NO_MORE_FILES* = 18 (* {1, 4} *); ERROR_WRITE_PROTECT* = 19 (* {0, 1, 4} *); ERROR_BAD_UNIT* = 20 (* {2, 4} *); ERROR_NOT_READY* = 21 (* {0, 2, 4} *); ERROR_BAD_COMMAND* = 22 (* {1, 2, 4} *); ERROR_CRC* = 23 (* {0..2, 4} *); ERROR_BAD_LENGTH* = 24 (* {3, 4} *); ERROR_SEEK* = 25 (* {0, 3, 4} *); ERROR_NOT_DOS_DISK* = 26 (* {1, 3, 4} *); ERROR_SECTOR_NOT_FOUND* = 27 (* {0, 1, 3, 4} *); ERROR_OUT_OF_PAPER* = 28 (* {2..4} *); ERROR_WRITE_FAULT* = 29 (* {0, 2..4} *); ERROR_READ_FAULT* = 30 (* {1..4} *); ERROR_GEN_FAILURE* = 31 (* {0..4} *); ERROR_SHARING_VIOLATION* = 32 (* {5} *); ERROR_LOCK_VIOLATION* = 33 (* {0, 5} *); ERROR_WRONG_DISK* = 34 (* {1, 5} *); ERROR_SHARING_BUFFER_EXCEEDED* = 36 (* {2, 5} *); ERROR_HANDLE_EOF* = 38 (* {1, 2, 5} *); ERROR_HANDLE_DISK_FULL* = 39 (* {0..2, 5} *); ERROR_NOT_SUPPORTED* = 50 (* {1, 4, 5} *); ERROR_REM_NOT_LIST* = 51 (* {0, 1, 4, 5} *); ERROR_DUP_NAME* = 52 (* {2, 4, 5} *); ERROR_BAD_NETPATH* = 53 (* {0, 2, 4, 5} *); ERROR_NETWORK_BUSY* = 54 (* {1, 2, 4, 5} *); ERROR_DEV_NOT_EXIST* = 55 (* {0..2, 4, 5} *); ERROR_TOO_MANY_CMDS* = 56 (* {3..5} *); ERROR_ADAP_HDW_ERR* = 57 (* {0, 3..5} *); ERROR_BAD_NET_RESP* = 58 (* {1, 3..5} *); ERROR_UNEXP_NET_ERR* = 59 (* {0, 1, 3..5} *); ERROR_BAD_REM_ADAP* = 60 (* {2..5} *); ERROR_PRINTQ_FULL* = 61 (* {0, 2..5} *); ERROR_NO_SPOOL_SPACE* = 62 (* {1..5} *); ERROR_PRINT_CANCELLED* = 63 (* {0..5} *); ERROR_NETNAME_DELETED* = 64 (* {6} *); ERROR_NETWORK_ACCESS_DENIED* = 65 (* {0, 6} *); ERROR_BAD_DEV_TYPE* = 66 (* {1, 6} *); ERROR_BAD_NET_NAME* = 67 (* {0, 1, 6} *); ERROR_TOO_MANY_NAMES* = 68 (* {2, 6} *); ERROR_TOO_MANY_SESS* = 69 (* {0, 2, 6} *); ERROR_SHARING_PAUSED* = 70 (* {1, 2, 6} *); ERROR_REQ_NOT_ACCEP* = 71 (* {0..2, 6} *); ERROR_REDIR_PAUSED* = 72 (* {3, 6} *); ERROR_FILE_EXISTS* = 80 (* {4, 6} *); ERROR_CANNOT_MAKE* = 82 (* {1, 4, 6} *); ERROR_FAIL_I24* = 83 (* {0, 1, 4, 6} *); ERROR_OUT_OF_STRUCTURES* = 84 (* {2, 4, 6} *); ERROR_ALREADY_ASSIGNED* = 85 (* {0, 2, 4, 6} *); ERROR_INVALID_PASSWORD* = 86 (* {1, 2, 4, 6} *); ERROR_INVALID_PARAMETER* = 87 (* {0..2, 4, 6} *); ERROR_NET_WRITE_FAULT* = 88 (* {3, 4, 6} *); ERROR_NO_PROC_SLOTS* = 89 (* {0, 3, 4, 6} *); ERROR_TOO_MANY_SEMAPHORES* = 100 (* {2, 5, 6} *); ERROR_EXCL_SEM_ALREADY_OWNED* = 101 (* {0, 2, 5, 6} *); ERROR_SEM_IS_SET* = 102 (* {1, 2, 5, 6} *); ERROR_TOO_MANY_SEM_REQUESTS* = 103 (* {0..2, 5, 6} *); ERROR_INVALID_AT_INTERRUPT_TIME* = 104 (* {3, 5, 6} *); ERROR_SEM_OWNER_DIED* = 105 (* {0, 3, 5, 6} *); ERROR_SEM_USER_LIMIT* = 106 (* {1, 3, 5, 6} *); ERROR_DISK_CHANGE* = 107 (* {0, 1, 3, 5, 6} *); ERROR_DRIVE_LOCKED* = 108 (* {2, 3, 5, 6} *); ERROR_BROKEN_PIPE* = 109 (* {0, 2, 3, 5, 6} *); ERROR_OPEN_FAILED* = 110 (* {1..3, 5, 6} *); ERROR_BUFFER_OVERFLOW* = 111 (* {0..3, 5, 6} *); ERROR_DISK_FULL* = 112 (* {4..6} *); ERROR_NO_MORE_SEARCH_HANDLES* = 113 (* {0, 4..6} *); ERROR_INVALID_TARGET_HANDLE* = 114 (* {1, 4..6} *); ERROR_INVALID_CATEGORY* = 117 (* {0, 2, 4..6} *); ERROR_INVALID_VERIFY_SWITCH* = 118 (* {1, 2, 4..6} *); ERROR_BAD_DRIVER_LEVEL* = 119 (* {0..2, 4..6} *); ERROR_CALL_NOT_IMPLEMENTED* = 120 (* {3..6} *); ERROR_SEM_TIMEOUT* = 121 (* {0, 3..6} *); ERROR_INSUFFICIENT_BUFFER* = 122 (* {1, 3..6} *); ERROR_INVALID_NAME* = 123 (* {0, 1, 3..6} *); ERROR_INVALID_LEVEL* = 124 (* {2..6} *); ERROR_NO_VOLUME_LABEL* = 125 (* {0, 2..6} *); ERROR_MOD_NOT_FOUND* = 126 (* {1..6} *); ERROR_PROC_NOT_FOUND* = 127 (* {0..6} *); ERROR_WAIT_NO_CHILDREN* = 128 (* {7} *); ERROR_CHILD_NOT_COMPLETE* = 129 (* {0, 7} *); ERROR_DIRECT_ACCESS_HANDLE* = 130 (* {1, 7} *); ERROR_NEGATIVE_SEEK* = 131 (* {0, 1, 7} *); ERROR_SEEK_ON_DEVICE* = 132 (* {2, 7} *); ERROR_IS_JOIN_TARGET* = 133 (* {0, 2, 7} *); ERROR_IS_JOINED* = 134 (* {1, 2, 7} *); ERROR_IS_SUBSTED* = 135 (* {0..2, 7} *); ERROR_NOT_JOINED* = 136 (* {3, 7} *); ERROR_NOT_SUBSTED* = 137 (* {0, 3, 7} *); ERROR_JOIN_TO_JOIN* = 138 (* {1, 3, 7} *); ERROR_SUBST_TO_SUBST* = 139 (* {0, 1, 3, 7} *); ERROR_JOIN_TO_SUBST* = 140 (* {2, 3, 7} *); ERROR_SUBST_TO_JOIN* = 141 (* {0, 2, 3, 7} *); ERROR_BUSY_DRIVE* = 142 (* {1..3, 7} *); ERROR_SAME_DRIVE* = 143 (* {0..3, 7} *); ERROR_DIR_NOT_ROOT* = 144 (* {4, 7} *); ERROR_DIR_NOT_EMPTY* = 145 (* {0, 4, 7} *); ERROR_IS_SUBST_PATH* = 146 (* {1, 4, 7} *); ERROR_IS_JOIN_PATH* = 147 (* {0, 1, 4, 7} *); ERROR_PATH_BUSY* = 148 (* {2, 4, 7} *); ERROR_IS_SUBST_TARGET* = 149 (* {0, 2, 4, 7} *); ERROR_SYSTEM_TRACE* = 150 (* {1, 2, 4, 7} *); ERROR_INVALID_EVENT_COUNT* = 151 (* {0..2, 4, 7} *); ERROR_TOO_MANY_MUXWAITERS* = 152 (* {3, 4, 7} *); ERROR_INVALID_LIST_FORMAT* = 153 (* {0, 3, 4, 7} *); ERROR_LABEL_TOO_LONG* = 154 (* {1, 3, 4, 7} *); ERROR_TOO_MANY_TCBS* = 155 (* {0, 1, 3, 4, 7} *); ERROR_SIGNAL_REFUSED* = 156 (* {2..4, 7} *); ERROR_DISCARDED* = 157 (* {0, 2..4, 7} *); ERROR_NOT_LOCKED* = 158 (* {1..4, 7} *); ERROR_BAD_THREADID_ADDR* = 159 (* {0..4, 7} *); ERROR_BAD_ARGUMENTS* = 160 (* {5, 7} *); ERROR_BAD_PATHNAME* = 161 (* {0, 5, 7} *); ERROR_SIGNAL_PENDING* = 162 (* {1, 5, 7} *); ERROR_MAX_THRDS_REACHED* = 164 (* {2, 5, 7} *); ERROR_LOCK_FAILED* = 167 (* {0..2, 5, 7} *); ERROR_BUSY* = 170 (* {1, 3, 5, 7} *); ERROR_CANCEL_VIOLATION* = 173 (* {0, 2, 3, 5, 7} *); ERROR_ATOMIC_LOCKS_NOT_SUPPORTED* = 174 (* {1..3, 5, 7} *); ERROR_INVALID_SEGMENT_NUMBER* = 180 (* {2, 4, 5, 7} *); ERROR_INVALID_ORDINAL* = 182 (* {1, 2, 4, 5, 7} *); ERROR_ALREADY_EXISTS* = 183 (* {0..2, 4, 5, 7} *); ERROR_INVALID_FLAG_NUMBER* = 186 (* {1, 3..5, 7} *); ERROR_SEM_NOT_FOUND* = 187 (* {0, 1, 3..5, 7} *); ERROR_INVALID_STARTING_CODESEG* = 188 (* {2..5, 7} *); ERROR_INVALID_STACKSEG* = 189 (* {0, 2..5, 7} *); ERROR_INVALID_MODULETYPE* = 190 (* {1..5, 7} *); ERROR_INVALID_EXE_SIGNATURE* = 191 (* {0..5, 7} *); ERROR_EXE_MARKED_INVALID* = 192 (* {6, 7} *); ERROR_BAD_EXE_FORMAT* = 193 (* {0, 6, 7} *); ERROR_ITERATED_DATA_EXCEEDS_64k* = 194 (* {1, 6, 7} *); ERROR_INVALID_MINALLOCSIZE* = 195 (* {0, 1, 6, 7} *); ERROR_DYNLINK_FROM_INVALID_RING* = 196 (* {2, 6, 7} *); ERROR_IOPL_NOT_ENABLED* = 197 (* {0, 2, 6, 7} *); ERROR_INVALID_SEGDPL* = 198 (* {1, 2, 6, 7} *); ERROR_AUTODATASEG_EXCEEDS_64k* = 199 (* {0..2, 6, 7} *); ERROR_RING2SEG_MUST_BE_MOVABLE* = 200 (* {3, 6, 7} *); ERROR_RELOC_CHAIN_XEEDS_SEGLIM* = 201 (* {0, 3, 6, 7} *); ERROR_INFLOOP_IN_RELOC_CHAIN* = 202 (* {1, 3, 6, 7} *); ERROR_ENVVAR_NOT_FOUND* = 203 (* {0, 1, 3, 6, 7} *); ERROR_NO_SIGNAL_SENT* = 205 (* {0, 2, 3, 6, 7} *); ERROR_FILENAME_EXCED_RANGE* = 206 (* {1..3, 6, 7} *); ERROR_RING2_STACK_IN_USE* = 207 (* {0..3, 6, 7} *); ERROR_META_EXPANSION_TOO_LONG* = 208 (* {4, 6, 7} *); ERROR_INVALID_SIGNAL_NUMBER* = 209 (* {0, 4, 6, 7} *); ERROR_THREAD_1_INACTIVE* = 210 (* {1, 4, 6, 7} *); ERROR_LOCKED* = 212 (* {2, 4, 6, 7} *); ERROR_TOO_MANY_MODULES* = 214 (* {1, 2, 4, 6, 7} *); ERROR_NESTING_NOT_ALLOWED* = 215 (* {0..2, 4, 6, 7} *); ERROR_BAD_PIPE* = 230 (* {1, 2, 5..7} *); ERROR_PIPE_BUSY* = 231 (* {0..2, 5..7} *); ERROR_NO_DATA* = 232 (* {3, 5..7} *); ERROR_PIPE_NOT_CONNECTED* = 233 (* {0, 3, 5..7} *); ERROR_MORE_DATA* = 234 (* {1, 3, 5..7} *); ERROR_VC_DISCONNECTED* = 240 (* {4..7} *); ERROR_INVALID_EA_NAME* = 254 (* {1..7} *); ERROR_EA_LIST_INCONSISTENT* = 255 (* {0..7} *); ERROR_NO_MORE_ITEMS* = 259 (* {0, 1, 8} *); ERROR_CANNOT_COPY* = 266 (* {1, 3, 8} *); ERROR_DIRECTORY* = 267 (* {0, 1, 3, 8} *); ERROR_EAS_DIDNT_FIT* = 275 (* {0, 1, 4, 8} *); ERROR_EA_FILE_CORRUPT* = 276 (* {2, 4, 8} *); ERROR_EA_TABLE_FULL* = 277 (* {0, 2, 4, 8} *); ERROR_INVALID_EA_HANDLE* = 278 (* {1, 2, 4, 8} *); ERROR_EAS_NOT_SUPPORTED* = 282 (* {1, 3, 4, 8} *); ERROR_NOT_OWNER* = 288 (* {5, 8} *); ERROR_TOO_MANY_POSTS* = 298 (* {1, 3, 5, 8} *); ERROR_PARTIAL_COPY* = 299 (* {0, 1, 3, 5, 8} *); ERROR_MR_MID_NOT_FOUND* = 317 (* {0, 2..5, 8} *); ERROR_INVALID_ADDRESS* = 487 (* {0..2, 5..8} *); ERROR_ARITHMETIC_OVERFLOW* = 534 (* {1, 2, 4, 9} *); ERROR_PIPE_CONNECTED* = 535 (* {0..2, 4, 9} *); ERROR_PIPE_LISTENING* = 536 (* {3, 4, 9} *); ERROR_EA_ACCESS_DENIED* = 994 (* {1, 5..9} *); ERROR_OPERATION_ABORTED* = 995 (* {0, 1, 5..9} *); ERROR_IO_INCOMPLETE* = 996 (* {2, 5..9} *); ERROR_IO_PENDING* = 997 (* {0, 2, 5..9} *); ERROR_NOACCESS* = 998 (* {1, 2, 5..9} *); ERROR_SWAPERROR* = 999 (* {0..2, 5..9} *); ERROR_STACK_OVERFLOW* = 1001 (* {0, 3, 5..9} *); ERROR_INVALID_MESSAGE* = 1002 (* {1, 3, 5..9} *); ERROR_CAN_NOT_COMPLETE* = 1003 (* {0, 1, 3, 5..9} *); ERROR_INVALID_FLAGS* = 1004 (* {2, 3, 5..9} *); ERROR_UNRECOGNIZED_VOLUME* = 1005 (* {0, 2, 3, 5..9} *); ERROR_FILE_INVALID* = 1006 (* {1..3, 5..9} *); ERROR_FULLSCREEN_MODE* = 1007 (* {0..3, 5..9} *); ERROR_NO_TOKEN* = 1008 (* {4..9} *); ERROR_BADDB* = 1009 (* {0, 4..9} *); ERROR_BADKEY* = 1010 (* {1, 4..9} *); ERROR_CANTOPEN* = 1011 (* {0, 1, 4..9} *); ERROR_CANTREAD* = 1012 (* {2, 4..9} *); ERROR_CANTWRITE* = 1013 (* {0, 2, 4..9} *); ERROR_REGISTRY_RECOVERED* = 1014 (* {1, 2, 4..9} *); ERROR_REGISTRY_CORRUPT* = 1015 (* {0..2, 4..9} *); ERROR_REGISTRY_IO_FAILED* = 1016 (* {3..9} *); ERROR_NOT_REGISTRY_FILE* = 1017 (* {0, 3..9} *); ERROR_KEY_DELETED* = 1018 (* {1, 3..9} *); ERROR_NO_LOG_SPACE* = 1019 (* {0, 1, 3..9} *); ERROR_KEY_HAS_CHILDREN* = 1020 (* {2..9} *); ERROR_CHILD_MUST_BE_VOLATILE* = 1021 (* {0, 2..9} *); ERROR_NOTIFY_ENUM_DIR* = 1022 (* {1..9} *); ERROR_DEPENDENT_SERVICES_RUNNING* = 1051 (* {0, 1, 3, 4, 10} *); ERROR_INVALID_SERVICE_CONTROL* = 1052 (* {2..4, 10} *); ERROR_SERVICE_REQUEST_TIMEOUT* = 1053 (* {0, 2..4, 10} *); ERROR_SERVICE_NO_THREAD* = 1054 (* {1..4, 10} *); ERROR_SERVICE_DATABASE_LOCKED* = 1055 (* {0..4, 10} *); ERROR_SERVICE_ALREADY_RUNNING* = 1056 (* {5, 10} *); ERROR_INVALID_SERVICE_ACCOUNT* = 1057 (* {0, 5, 10} *); ERROR_SERVICE_DISABLED* = 1058 (* {1, 5, 10} *); ERROR_CIRCULAR_DEPENDENCY* = 1059 (* {0, 1, 5, 10} *); ERROR_SERVICE_DOES_NOT_EXIST* = 1060 (* {2, 5, 10} *); ERROR_SERVICE_CANNOT_ACCEPT_CTRL* = 1061 (* {0, 2, 5, 10} *); ERROR_SERVICE_NOT_ACTIVE* = 1062 (* {1, 2, 5, 10} *); ERROR_FAILED_SERVICE_CONTROLLER_CONNECT* = 1063 (* {0..2, 5, 10} *); ERROR_EXCEPTION_IN_SERVICE* = 1064 (* {3, 5, 10} *); ERROR_DATABASE_DOES_NOT_EXIST* = 1065 (* {0, 3, 5, 10} *); ERROR_SERVICE_SPECIFIC_ERROR* = 1066 (* {1, 3, 5, 10} *); ERROR_PROCESS_ABORTED* = 1067 (* {0, 1, 3, 5, 10} *); ERROR_SERVICE_DEPENDENCY_FAIL* = 1068 (* {2, 3, 5, 10} *); ERROR_SERVICE_LOGON_FAILED* = 1069 (* {0, 2, 3, 5, 10} *); ERROR_SERVICE_START_HANG* = 1070 (* {1..3, 5, 10} *); ERROR_INVALID_SERVICE_LOCK* = 1071 (* {0..3, 5, 10} *); ERROR_SERVICE_MARKED_FOR_DELETE* = 1072 (* {4, 5, 10} *); ERROR_SERVICE_EXISTS* = 1073 (* {0, 4, 5, 10} *); ERROR_ALREADY_RUNNING_LKG* = 1074 (* {1, 4, 5, 10} *); ERROR_SERVICE_DEPENDENCY_DELETED* = 1075 (* {0, 1, 4, 5, 10} *); ERROR_BOOT_ALREADY_ACCEPTED* = 1076 (* {2, 4, 5, 10} *); ERROR_SERVICE_NEVER_STARTED* = 1077 (* {0, 2, 4, 5, 10} *); ERROR_DUPLICATE_SERVICE_NAME* = 1078 (* {1, 2, 4, 5, 10} *); ERROR_END_OF_MEDIA* = 1100 (* {2, 3, 6, 10} *); ERROR_FILEMARK_DETECTED* = 1101 (* {0, 2, 3, 6, 10} *); ERROR_BEGINNING_OF_MEDIA* = 1102 (* {1..3, 6, 10} *); ERROR_SETMARK_DETECTED* = 1103 (* {0..3, 6, 10} *); ERROR_NO_DATA_DETECTED* = 1104 (* {4, 6, 10} *); ERROR_PARTITION_FAILURE* = 1105 (* {0, 4, 6, 10} *); ERROR_INVALID_BLOCK_LENGTH* = 1106 (* {1, 4, 6, 10} *); ERROR_DEVICE_NOT_PARTITIONED* = 1107 (* {0, 1, 4, 6, 10} *); ERROR_UNABLE_TO_LOCK_MEDIA* = 1108 (* {2, 4, 6, 10} *); ERROR_UNABLE_TO_UNLOAD_MEDIA* = 1109 (* {0, 2, 4, 6, 10} *); ERROR_MEDIA_CHANGED* = 1110 (* {1, 2, 4, 6, 10} *); ERROR_BUS_RESET* = 1111 (* {0..2, 4, 6, 10} *); ERROR_NO_MEDIA_IN_DRIVE* = 1112 (* {3, 4, 6, 10} *); ERROR_NO_UNICODE_TRANSLATION* = 1113 (* {0, 3, 4, 6, 10} *); ERROR_DLL_INIT_FAILED* = 1114 (* {1, 3, 4, 6, 10} *); ERROR_SHUTDOWN_IN_PROGRESS* = 1115 (* {0, 1, 3, 4, 6, 10} *); ERROR_NO_SHUTDOWN_IN_PROGRESS* = 1116 (* {2..4, 6, 10} *); ERROR_IO_DEVICE* = 1117 (* {0, 2..4, 6, 10} *); ERROR_SERIAL_NO_DEVICE* = 1118 (* {1..4, 6, 10} *); ERROR_IRQ_BUSY* = 1119 (* {0..4, 6, 10} *); ERROR_MORE_WRITES* = 1120 (* {5, 6, 10} *); ERROR_COUNTER_TIMEOUT* = 1121 (* {0, 5, 6, 10} *); ERROR_FLOPPY_ID_MARK_NOT_FOUND* = 1122 (* {1, 5, 6, 10} *); ERROR_FLOPPY_WRONG_CYLINDER* = 1123 (* {0, 1, 5, 6, 10} *); ERROR_FLOPPY_UNKNOWN_ERROR* = 1124 (* {2, 5, 6, 10} *); ERROR_FLOPPY_BAD_REGISTERS* = 1125 (* {0, 2, 5, 6, 10} *); ERROR_DISK_RECALIBRATE_FAILED* = 1126 (* {1, 2, 5, 6, 10} *); ERROR_DISK_OPERATION_FAILED* = 1127 (* {0..2, 5, 6, 10} *); ERROR_DISK_RESET_FAILED* = 1128 (* {3, 5, 6, 10} *); ERROR_EOM_OVERFLOW* = 1129 (* {0, 3, 5, 6, 10} *); ERROR_NOT_ENOUGH_SERVER_MEMORY* = 1130 (* {1, 3, 5, 6, 10} *); ERROR_POSSIBLE_DEADLOCK* = 1131 (* {0, 1, 3, 5, 6, 10} *); ERROR_MAPPED_ALIGNMENT* = 1132 (* {2, 3, 5, 6, 10} *); ERROR_SET_POWER_STATE_VETOED* = 1140 (* {2, 4..6, 10} *); ERROR_SET_POWER_STATE_FAILED* = 1141 (* {0, 2, 4..6, 10} *); ERROR_OLD_WIN_VERSION* = 1150 (* {1..6, 10} *); ERROR_APP_WRONG_OS* = 1151 (* {0..6, 10} *); ERROR_SINGLE_INSTANCE_APP* = 1152 (* {7, 10} *); ERROR_RMODE_APP* = 1153 (* {0, 7, 10} *); ERROR_INVALID_DLL* = 1154 (* {1, 7, 10} *); ERROR_NO_ASSOCIATION* = 1155 (* {0, 1, 7, 10} *); ERROR_DDE_FAIL* = 1156 (* {2, 7, 10} *); ERROR_DLL_NOT_FOUND* = 1157 (* {0, 2, 7, 10} *); ERROR_BAD_USERNAME* = 2202 (* {1, 3, 4, 7, 11} *); ERROR_NOT_CONNECTED* = 2250 (* {1, 3, 6, 7, 11} *); ERROR_OPEN_FILES* = 2401 (* {0, 5, 6, 8, 11} *); ERROR_ACTIVE_CONNECTIONS* = 2402 (* {1, 5, 6, 8, 11} *); ERROR_DEVICE_IN_USE* = 2404 (* {2, 5, 6, 8, 11} *); ERROR_BAD_DEVICE* = 1200 (* {4, 5, 7, 10} *); ERROR_CONNECTION_UNAVAIL* = 1201 (* {0, 4, 5, 7, 10} *); ERROR_DEVICE_ALREADY_REMEMBERED* = 1202 (* {1, 4, 5, 7, 10} *); ERROR_NO_NET_OR_BAD_PATH* = 1203 (* {0, 1, 4, 5, 7, 10} *); ERROR_BAD_PROVIDER* = 1204 (* {2, 4, 5, 7, 10} *); ERROR_CANNOT_OPEN_PROFILE* = 1205 (* {0, 2, 4, 5, 7, 10} *); ERROR_BAD_PROFILE* = 1206 (* {1, 2, 4, 5, 7, 10} *); ERROR_NOT_CONTAINER* = 1207 (* {0..2, 4, 5, 7, 10} *); ERROR_EXTENDED_ERROR* = 1208 (* {3..5, 7, 10} *); ERROR_INVALID_GROUPNAME* = 1209 (* {0, 3..5, 7, 10} *); ERROR_INVALID_COMPUTERNAME* = 1210 (* {1, 3..5, 7, 10} *); ERROR_INVALID_EVENTNAME* = 1211 (* {0, 1, 3..5, 7, 10} *); ERROR_INVALID_DOMAINNAME* = 1212 (* {2..5, 7, 10} *); ERROR_INVALID_SERVICENAME* = 1213 (* {0, 2..5, 7, 10} *); ERROR_INVALID_NETNAME* = 1214 (* {1..5, 7, 10} *); ERROR_INVALID_SHARENAME* = 1215 (* {0..5, 7, 10} *); ERROR_INVALID_PASSWORDNAME* = 1216 (* {6, 7, 10} *); ERROR_INVALID_MESSAGENAME* = 1217 (* {0, 6, 7, 10} *); ERROR_INVALID_MESSAGEDEST* = 1218 (* {1, 6, 7, 10} *); ERROR_SESSION_CREDENTIAL_CONFLICT* = 1219 (* {0, 1, 6, 7, 10} *); ERROR_REMOTE_SESSION_LIMIT_EXCEEDED* = 1220 (* {2, 6, 7, 10} *); ERROR_DUP_DOMAINNAME* = 1221 (* {0, 2, 6, 7, 10} *); ERROR_NO_NETWORK* = 1222 (* {1, 2, 6, 7, 10} *); ERROR_CANCELLED* = 1223 (* {0..2, 6, 7, 10} *); ERROR_USER_MAPPED_FILE* = 1224 (* {3, 6, 7, 10} *); ERROR_CONNECTION_REFUSED* = 1225 (* {0, 3, 6, 7, 10} *); ERROR_GRACEFUL_DISCONNECT* = 1226 (* {1, 3, 6, 7, 10} *); ERROR_ADDRESS_ALREADY_ASSOCIATED* = 1227 (* {0, 1, 3, 6, 7, 10} *); ERROR_ADDRESS_NOT_ASSOCIATED* = 1228 (* {2, 3, 6, 7, 10} *); ERROR_CONNECTION_INVALID* = 1229 (* {0, 2, 3, 6, 7, 10} *); ERROR_CONNECTION_ACTIVE* = 1230 (* {1..3, 6, 7, 10} *); ERROR_NETWORK_UNREACHABLE* = 1231 (* {0..3, 6, 7, 10} *); ERROR_HOST_UNREACHABLE* = 1232 (* {4, 6, 7, 10} *); ERROR_PROTOCOL_UNREACHABLE* = 1233 (* {0, 4, 6, 7, 10} *); ERROR_PORT_UNREACHABLE* = 1234 (* {1, 4, 6, 7, 10} *); ERROR_REQUEST_ABORTED* = 1235 (* {0, 1, 4, 6, 7, 10} *); ERROR_CONNECTION_ABORTED* = 1236 (* {2, 4, 6, 7, 10} *); ERROR_RETRY* = 1237 (* {0, 2, 4, 6, 7, 10} *); ERROR_CONNECTION_COUNT_LIMIT* = 1238 (* {1, 2, 4, 6, 7, 10} *); ERROR_LOGIN_TIME_RESTRICTION* = 1239 (* {0..2, 4, 6, 7, 10} *); ERROR_LOGIN_WKSTA_RESTRICTION* = 1240 (* {3, 4, 6, 7, 10} *); ERROR_INCORRECT_ADDRESS* = 1241 (* {0, 3, 4, 6, 7, 10} *); ERROR_ALREADY_REGISTERED* = 1242 (* {1, 3, 4, 6, 7, 10} *); ERROR_SERVICE_NOT_FOUND* = 1243 (* {0, 1, 3, 4, 6, 7, 10} *); ERROR_NOT_AUTHENTICATED* = 1244 (* {2..4, 6, 7, 10} *); ERROR_NOT_LOGGED_ON* = 1245 (* {0, 2..4, 6, 7, 10} *); ERROR_CONTINUE* = 1246 (* {1..4, 6, 7, 10} *); ERROR_ALREADY_INITIALIZED* = 1247 (* {0..4, 6, 7, 10} *); ERROR_NO_MORE_DEVICES* = 1248 (* {5..7, 10} *); ERROR_NOT_ALL_ASSIGNED* = 1300 (* {2, 4, 8, 10} *); ERROR_SOME_NOT_MAPPED* = 1301 (* {0, 2, 4, 8, 10} *); ERROR_NO_QUOTAS_FOR_ACCOUNT* = 1302 (* {1, 2, 4, 8, 10} *); ERROR_LOCAL_USER_SESSION_KEY* = 1303 (* {0..2, 4, 8, 10} *); ERROR_NULL_LM_PASSWORD* = 1304 (* {3, 4, 8, 10} *); ERROR_UNKNOWN_REVISION* = 1305 (* {0, 3, 4, 8, 10} *); ERROR_REVISION_MISMATCH* = 1306 (* {1, 3, 4, 8, 10} *); ERROR_INVALID_OWNER* = 1307 (* {0, 1, 3, 4, 8, 10} *); ERROR_INVALID_PRIMARY_GROUP* = 1308 (* {2..4, 8, 10} *); ERROR_NO_IMPERSONATION_TOKEN* = 1309 (* {0, 2..4, 8, 10} *); ERROR_CANT_DISABLE_MANDATORY* = 1310 (* {1..4, 8, 10} *); ERROR_NO_LOGON_SERVERS* = 1311 (* {0..4, 8, 10} *); ERROR_NO_SUCH_LOGON_SESSION* = 1312 (* {5, 8, 10} *); ERROR_NO_SUCH_PRIVILEGE* = 1313 (* {0, 5, 8, 10} *); ERROR_PRIVILEGE_NOT_HELD* = 1314 (* {1, 5, 8, 10} *); ERROR_INVALID_ACCOUNT_NAME* = 1315 (* {0, 1, 5, 8, 10} *); ERROR_USER_EXISTS* = 1316 (* {2, 5, 8, 10} *); ERROR_NO_SUCH_USER* = 1317 (* {0, 2, 5, 8, 10} *); ERROR_GROUP_EXISTS* = 1318 (* {1, 2, 5, 8, 10} *); ERROR_NO_SUCH_GROUP* = 1319 (* {0..2, 5, 8, 10} *); ERROR_MEMBER_IN_GROUP* = 1320 (* {3, 5, 8, 10} *); ERROR_MEMBER_NOT_IN_GROUP* = 1321 (* {0, 3, 5, 8, 10} *); ERROR_LAST_ADMIN* = 1322 (* {1, 3, 5, 8, 10} *); ERROR_WRONG_PASSWORD* = 1323 (* {0, 1, 3, 5, 8, 10} *); ERROR_ILL_FORMED_PASSWORD* = 1324 (* {2, 3, 5, 8, 10} *); ERROR_PASSWORD_RESTRICTION* = 1325 (* {0, 2, 3, 5, 8, 10} *); ERROR_LOGON_FAILURE* = 1326 (* {1..3, 5, 8, 10} *); ERROR_ACCOUNT_RESTRICTION* = 1327 (* {0..3, 5, 8, 10} *); ERROR_INVALID_LOGON_HOURS* = 1328 (* {4, 5, 8, 10} *); ERROR_INVALID_WORKSTATION* = 1329 (* {0, 4, 5, 8, 10} *); ERROR_PASSWORD_EXPIRED* = 1330 (* {1, 4, 5, 8, 10} *); ERROR_ACCOUNT_DISABLED* = 1331 (* {0, 1, 4, 5, 8, 10} *); ERROR_NONE_MAPPED* = 1332 (* {2, 4, 5, 8, 10} *); ERROR_TOO_MANY_LUIDS_REQUESTED* = 1333 (* {0, 2, 4, 5, 8, 10} *); ERROR_LUIDS_EXHAUSTED* = 1334 (* {1, 2, 4, 5, 8, 10} *); ERROR_INVALID_SUB_AUTHORITY* = 1335 (* {0..2, 4, 5, 8, 10} *); ERROR_INVALID_ACL* = 1336 (* {3..5, 8, 10} *); ERROR_INVALID_SID* = 1337 (* {0, 3..5, 8, 10} *); ERROR_INVALID_SECURITY_DESCR* = 1338 (* {1, 3..5, 8, 10} *); ERROR_BAD_INHERITANCE_ACL* = 1340 (* {2..5, 8, 10} *); ERROR_SERVER_DISABLED* = 1341 (* {0, 2..5, 8, 10} *); ERROR_SERVER_NOT_DISABLED* = 1342 (* {1..5, 8, 10} *); ERROR_INVALID_ID_AUTHORITY* = 1343 (* {0..5, 8, 10} *); ERROR_ALLOTTED_SPACE_EXCEEDED* = 1344 (* {6, 8, 10} *); ERROR_INVALID_GROUP_ATTRIBUTES* = 1345 (* {0, 6, 8, 10} *); ERROR_BAD_IMPERSONATION_LEVEL* = 1346 (* {1, 6, 8, 10} *); ERROR_CANT_OPEN_ANONYMOUS* = 1347 (* {0, 1, 6, 8, 10} *); ERROR_BAD_VALIDATION_CLASS* = 1348 (* {2, 6, 8, 10} *); ERROR_BAD_TOKEN_TYPE* = 1349 (* {0, 2, 6, 8, 10} *); ERROR_NO_SECURITY_ON_OBJECT* = 1350 (* {1, 2, 6, 8, 10} *); ERROR_CANT_ACCESS_DOMAIN_INFO* = 1351 (* {0..2, 6, 8, 10} *); ERROR_INVALID_SERVER_STATE* = 1352 (* {3, 6, 8, 10} *); ERROR_INVALID_DOMAIN_STATE* = 1353 (* {0, 3, 6, 8, 10} *); ERROR_INVALID_DOMAIN_ROLE* = 1354 (* {1, 3, 6, 8, 10} *); ERROR_NO_SUCH_DOMAIN* = 1355 (* {0, 1, 3, 6, 8, 10} *); ERROR_DOMAIN_EXISTS* = 1356 (* {2, 3, 6, 8, 10} *); ERROR_DOMAIN_LIMIT_EXCEEDED* = 1357 (* {0, 2, 3, 6, 8, 10} *); ERROR_INTERNAL_DB_CORRUPTION* = 1358 (* {1..3, 6, 8, 10} *); ERROR_INTERNAL_ERROR* = 1359 (* {0..3, 6, 8, 10} *); ERROR_GENERIC_NOT_MAPPED* = 1360 (* {4, 6, 8, 10} *); ERROR_BAD_DESCRIPTOR_FORMAT* = 1361 (* {0, 4, 6, 8, 10} *); ERROR_NOT_LOGON_PROCESS* = 1362 (* {1, 4, 6, 8, 10} *); ERROR_LOGON_SESSION_EXISTS* = 1363 (* {0, 1, 4, 6, 8, 10} *); ERROR_NO_SUCH_PACKAGE* = 1364 (* {2, 4, 6, 8, 10} *); ERROR_BAD_LOGON_SESSION_STATE* = 1365 (* {0, 2, 4, 6, 8, 10} *); ERROR_LOGON_SESSION_COLLISION* = 1366 (* {1, 2, 4, 6, 8, 10} *); ERROR_INVALID_LOGON_TYPE* = 1367 (* {0..2, 4, 6, 8, 10} *); ERROR_CANNOT_IMPERSONATE* = 1368 (* {3, 4, 6, 8, 10} *); ERROR_RXACT_INVALID_STATE* = 1369 (* {0, 3, 4, 6, 8, 10} *); ERROR_RXACT_COMMIT_FAILURE* = 1370 (* {1, 3, 4, 6, 8, 10} *); ERROR_SPECIAL_ACCOUNT* = 1371 (* {0, 1, 3, 4, 6, 8, 10} *); ERROR_SPECIAL_GROUP* = 1372 (* {2..4, 6, 8, 10} *); ERROR_SPECIAL_USER* = 1373 (* {0, 2..4, 6, 8, 10} *); ERROR_MEMBERS_PRIMARY_GROUP* = 1374 (* {1..4, 6, 8, 10} *); ERROR_TOKEN_ALREADY_IN_USE* = 1375 (* {0..4, 6, 8, 10} *); ERROR_NO_SUCH_ALIAS* = 1376 (* {5, 6, 8, 10} *); ERROR_MEMBER_NOT_IN_ALIAS* = 1377 (* {0, 5, 6, 8, 10} *); ERROR_MEMBER_IN_ALIAS* = 1378 (* {1, 5, 6, 8, 10} *); ERROR_ALIAS_EXISTS* = 1379 (* {0, 1, 5, 6, 8, 10} *); ERROR_LOGON_NOT_GRANTED* = 1380 (* {2, 5, 6, 8, 10} *); ERROR_TOO_MANY_SECRETS* = 1381 (* {0, 2, 5, 6, 8, 10} *); ERROR_SECRET_TOO_LONG* = 1382 (* {1, 2, 5, 6, 8, 10} *); ERROR_INTERNAL_DB_ERROR* = 1383 (* {0..2, 5, 6, 8, 10} *); ERROR_TOO_MANY_CONTEXT_IDS* = 1384 (* {3, 5, 6, 8, 10} *); ERROR_LOGON_TYPE_NOT_GRANTED* = 1385 (* {0, 3, 5, 6, 8, 10} *); ERROR_NT_CROSS_ENCRYPTION_REQUIRED* = 1386 (* {1, 3, 5, 6, 8, 10} *); ERROR_NO_SUCH_MEMBER* = 1387 (* {0, 1, 3, 5, 6, 8, 10} *); ERROR_INVALID_MEMBER* = 1388 (* {2, 3, 5, 6, 8, 10} *); ERROR_TOO_MANY_SIDS* = 1389 (* {0, 2, 3, 5, 6, 8, 10} *); ERROR_LM_CROSS_ENCRYPTION_REQUIRED* = 1390 (* {1..3, 5, 6, 8, 10} *); ERROR_NO_INHERITANCE* = 1391 (* {0..3, 5, 6, 8, 10} *); ERROR_FILE_CORRUPT* = 1392 (* {4..6, 8, 10} *); ERROR_DISK_CORRUPT* = 1393 (* {0, 4..6, 8, 10} *); ERROR_NO_USER_SESSION_KEY* = 1394 (* {1, 4..6, 8, 10} *); ERROR_LICENSE_QUOTA_EXCEEDED* = 1395 (* {0, 1, 4..6, 8, 10} *); ERROR_INVALID_WINDOW_HANDLE* = 1400 (* {3..6, 8, 10} *); ERROR_INVALID_MENU_HANDLE* = 1401 (* {0, 3..6, 8, 10} *); ERROR_INVALID_CURSOR_HANDLE* = 1402 (* {1, 3..6, 8, 10} *); ERROR_INVALID_ACCEL_HANDLE* = 1403 (* {0, 1, 3..6, 8, 10} *); ERROR_INVALID_HOOK_HANDLE* = 1404 (* {2..6, 8, 10} *); ERROR_INVALID_DWP_HANDLE* = 1405 (* {0, 2..6, 8, 10} *); ERROR_TLW_WITH_WSCHILD* = 1406 (* {1..6, 8, 10} *); ERROR_CANNOT_FIND_WND_CLASS* = 1407 (* {0..6, 8, 10} *); ERROR_WINDOW_OF_OTHER_THREAD* = 1408 (* {7, 8, 10} *); ERROR_HOTKEY_ALREADY_REGISTERED* = 1409 (* {0, 7, 8, 10} *); ERROR_CLASS_ALREADY_EXISTS* = 1410 (* {1, 7, 8, 10} *); ERROR_CLASS_DOES_NOT_EXIST* = 1411 (* {0, 1, 7, 8, 10} *); ERROR_CLASS_HAS_WINDOWS* = 1412 (* {2, 7, 8, 10} *); ERROR_INVALID_INDEX* = 1413 (* {0, 2, 7, 8, 10} *); ERROR_INVALID_ICON_HANDLE* = 1414 (* {1, 2, 7, 8, 10} *); ERROR_PRIVATE_DIALOG_INDEX* = 1415 (* {0..2, 7, 8, 10} *); ERROR_LISTBOX_ID_NOT_FOUND* = 1416 (* {3, 7, 8, 10} *); ERROR_NO_WILDCARD_CHARACTERS* = 1417 (* {0, 3, 7, 8, 10} *); ERROR_CLIPBOARD_NOT_OPEN* = 1418 (* {1, 3, 7, 8, 10} *); ERROR_HOTKEY_NOT_REGISTERED* = 1419 (* {0, 1, 3, 7, 8, 10} *); ERROR_WINDOW_NOT_DIALOG* = 1420 (* {2, 3, 7, 8, 10} *); ERROR_CONTROL_ID_NOT_FOUND* = 1421 (* {0, 2, 3, 7, 8, 10} *); ERROR_INVALID_COMBOBOX_MESSAGE* = 1422 (* {1..3, 7, 8, 10} *); ERROR_WINDOW_NOT_COMBOBOX* = 1423 (* {0..3, 7, 8, 10} *); ERROR_INVALID_EDIT_HEIGHT* = 1424 (* {4, 7, 8, 10} *); ERROR_DC_NOT_FOUND* = 1425 (* {0, 4, 7, 8, 10} *); ERROR_INVALID_HOOK_FILTER* = 1426 (* {1, 4, 7, 8, 10} *); ERROR_INVALID_FILTER_PROC* = 1427 (* {0, 1, 4, 7, 8, 10} *); ERROR_HOOK_NEEDS_HMOD* = 1428 (* {2, 4, 7, 8, 10} *); ERROR_GLOBAL_ONLY_HOOK* = 1429 (* {0, 2, 4, 7, 8, 10} *); ERROR_JOURNAL_HOOK_SET* = 1430 (* {1, 2, 4, 7, 8, 10} *); ERROR_HOOK_NOT_INSTALLED* = 1431 (* {0..2, 4, 7, 8, 10} *); ERROR_INVALID_LB_MESSAGE* = 1432 (* {3, 4, 7, 8, 10} *); ERROR_SETCOUNT_ON_BAD_LB* = 1433 (* {0, 3, 4, 7, 8, 10} *); ERROR_LB_WITHOUT_TABSTOPS* = 1434 (* {1, 3, 4, 7, 8, 10} *); ERROR_DESTROY_OBJECT_OF_OTHER_THREAD* = 1435 (* {0, 1, 3, 4, 7, 8, 10} *); ERROR_CHILD_WINDOW_MENU* = 1436 (* {2..4, 7, 8, 10} *); ERROR_NO_SYSTEM_MENU* = 1437 (* {0, 2..4, 7, 8, 10} *); ERROR_INVALID_MSGBOX_STYLE* = 1438 (* {1..4, 7, 8, 10} *); ERROR_INVALID_SPI_VALUE* = 1439 (* {0..4, 7, 8, 10} *); ERROR_SCREEN_ALREADY_LOCKED* = 1440 (* {5, 7, 8, 10} *); ERROR_HWNDS_HAVE_DIFF_PARENT* = 1441 (* {0, 5, 7, 8, 10} *); ERROR_NOT_CHILD_WINDOW* = 1442 (* {1, 5, 7, 8, 10} *); ERROR_INVALID_GW_COMMAND* = 1443 (* {0, 1, 5, 7, 8, 10} *); ERROR_INVALID_THREAD_ID* = 1444 (* {2, 5, 7, 8, 10} *); ERROR_NON_MDICHILD_WINDOW* = 1445 (* {0, 2, 5, 7, 8, 10} *); ERROR_POPUP_ALREADY_ACTIVE* = 1446 (* {1, 2, 5, 7, 8, 10} *); ERROR_NO_SCROLLBARS* = 1447 (* {0..2, 5, 7, 8, 10} *); ERROR_INVALID_SCROLLBAR_RANGE* = 1448 (* {3, 5, 7, 8, 10} *); ERROR_INVALID_SHOWWIN_COMMAND* = 1449 (* {0, 3, 5, 7, 8, 10} *); ERROR_NO_SYSTEM_RESOURCES* = 1450 (* {1, 3, 5, 7, 8, 10} *); ERROR_NONPAGED_SYSTEM_RESOURCES* = 1451 (* {0, 1, 3, 5, 7, 8, 10} *); ERROR_PAGED_SYSTEM_RESOURCES* = 1452 (* {2, 3, 5, 7, 8, 10} *); ERROR_WORKING_SET_QUOTA* = 1453 (* {0, 2, 3, 5, 7, 8, 10} *); ERROR_PAGEFILE_QUOTA* = 1454 (* {1..3, 5, 7, 8, 10} *); ERROR_COMMITMENT_LIMIT* = 1455 (* {0..3, 5, 7, 8, 10} *); ERROR_MENU_ITEM_NOT_FOUND* = 1456 (* {4, 5, 7, 8, 10} *); ERROR_EVENTLOG_FILE_CORRUPT* = 1500 (* {2..4, 6..8, 10} *); ERROR_EVENTLOG_CANT_START* = 1501 (* {0, 2..4, 6..8, 10} *); ERROR_LOG_FILE_FULL* = 1502 (* {1..4, 6..8, 10} *); ERROR_EVENTLOG_FILE_CHANGED* = 1503 (* {0..4, 6..8, 10} *); RPC_S_INVALID_STRING_BINDING* = 1700 (* {2, 5, 7, 9, 10} *); RPC_S_WRONG_KIND_OF_BINDING* = 1701 (* {0, 2, 5, 7, 9, 10} *); RPC_S_INVALID_BINDING* = 1702 (* {1, 2, 5, 7, 9, 10} *); RPC_S_PROTSEQ_NOT_SUPPORTED* = 1703 (* {0..2, 5, 7, 9, 10} *); RPC_S_INVALID_RPC_PROTSEQ* = 1704 (* {3, 5, 7, 9, 10} *); RPC_S_INVALID_STRING_UUID* = 1705 (* {0, 3, 5, 7, 9, 10} *); RPC_S_INVALID_ENDPOINT_FORMAT* = 1706 (* {1, 3, 5, 7, 9, 10} *); RPC_S_INVALID_NET_ADDR* = 1707 (* {0, 1, 3, 5, 7, 9, 10} *); RPC_S_NO_ENDPOINT_FOUND* = 1708 (* {2, 3, 5, 7, 9, 10} *); RPC_S_INVALID_TIMEOUT* = 1709 (* {0, 2, 3, 5, 7, 9, 10} *); RPC_S_OBJECT_NOT_FOUND* = 1710 (* {1..3, 5, 7, 9, 10} *); RPC_S_ALREADY_REGISTERED* = 1711 (* {0..3, 5, 7, 9, 10} *); RPC_S_TYPE_ALREADY_REGISTERED* = 1712 (* {4, 5, 7, 9, 10} *); RPC_S_ALREADY_LISTENING* = 1713 (* {0, 4, 5, 7, 9, 10} *); RPC_S_NO_PROTSEQS_REGISTERED* = 1714 (* {1, 4, 5, 7, 9, 10} *); RPC_S_NOT_LISTENING* = 1715 (* {0, 1, 4, 5, 7, 9, 10} *); RPC_S_UNKNOWN_MGR_TYPE* = 1716 (* {2, 4, 5, 7, 9, 10} *); RPC_S_UNKNOWN_IF* = 1717 (* {0, 2, 4, 5, 7, 9, 10} *); RPC_S_NO_BINDINGS* = 1718 (* {1, 2, 4, 5, 7, 9, 10} *); RPC_S_NO_PROTSEQS* = 1719 (* {0..2, 4, 5, 7, 9, 10} *); RPC_S_CANT_CREATE_ENDPOINT* = 1720 (* {3..5, 7, 9, 10} *); RPC_S_OUT_OF_RESOURCES* = 1721 (* {0, 3..5, 7, 9, 10} *); RPC_S_SERVER_UNAVAILABLE* = 1722 (* {1, 3..5, 7, 9, 10} *); RPC_S_SERVER_TOO_BUSY* = 1723 (* {0, 1, 3..5, 7, 9, 10} *); RPC_S_INVALID_NETWORK_OPTIONS* = 1724 (* {2..5, 7, 9, 10} *); RPC_S_NO_CALL_ACTIVE* = 1725 (* {0, 2..5, 7, 9, 10} *); RPC_S_CALL_FAILED* = 1726 (* {1..5, 7, 9, 10} *); RPC_S_CALL_FAILED_DNE* = 1727 (* {0..5, 7, 9, 10} *); RPC_S_PROTOCOL_ERROR* = 1728 (* {6, 7, 9, 10} *); RPC_S_UNSUPPORTED_TRANS_SYN* = 1730 (* {1, 6, 7, 9, 10} *); RPC_S_UNSUPPORTED_TYPE* = 1732 (* {2, 6, 7, 9, 10} *); RPC_S_INVALID_TAG* = 1733 (* {0, 2, 6, 7, 9, 10} *); RPC_S_INVALID_BOUND* = 1734 (* {1, 2, 6, 7, 9, 10} *); RPC_S_NO_ENTRY_NAME* = 1735 (* {0..2, 6, 7, 9, 10} *); RPC_S_INVALID_NAME_SYNTAX* = 1736 (* {3, 6, 7, 9, 10} *); RPC_S_UNSUPPORTED_NAME_SYNTAX* = 1737 (* {0, 3, 6, 7, 9, 10} *); RPC_S_UUID_NO_ADDRESS* = 1739 (* {0, 1, 3, 6, 7, 9, 10} *); RPC_S_DUPLICATE_ENDPOINT* = 1740 (* {2, 3, 6, 7, 9, 10} *); RPC_S_UNKNOWN_AUTHN_TYPE* = 1741 (* {0, 2, 3, 6, 7, 9, 10} *); RPC_S_MAX_CALLS_TOO_SMALL* = 1742 (* {1..3, 6, 7, 9, 10} *); RPC_S_STRING_TOO_LONG* = 1743 (* {0..3, 6, 7, 9, 10} *); RPC_S_PROTSEQ_NOT_FOUND* = 1744 (* {4, 6, 7, 9, 10} *); RPC_S_PROCNUM_OUT_OF_RANGE* = 1745 (* {0, 4, 6, 7, 9, 10} *); RPC_S_BINDING_HAS_NO_AUTH* = 1746 (* {1, 4, 6, 7, 9, 10} *); RPC_S_UNKNOWN_AUTHN_SERVICE* = 1747 (* {0, 1, 4, 6, 7, 9, 10} *); RPC_S_UNKNOWN_AUTHN_LEVEL* = 1748 (* {2, 4, 6, 7, 9, 10} *); RPC_S_INVALID_AUTH_IDENTITY* = 1749 (* {0, 2, 4, 6, 7, 9, 10} *); RPC_S_UNKNOWN_AUTHZ_SERVICE* = 1750 (* {1, 2, 4, 6, 7, 9, 10} *); EPT_S_INVALID_ENTRY* = 1751 (* {0..2, 4, 6, 7, 9, 10} *); EPT_S_CANT_PERFORM_OP* = 1752 (* {3, 4, 6, 7, 9, 10} *); EPT_S_NOT_REGISTERED* = 1753 (* {0, 3, 4, 6, 7, 9, 10} *); RPC_S_NOTHING_TO_EXPORT* = 1754 (* {1, 3, 4, 6, 7, 9, 10} *); RPC_S_INCOMPLETE_NAME* = 1755 (* {0, 1, 3, 4, 6, 7, 9, 10} *); RPC_S_INVALID_VERS_OPTION* = 1756 (* {2..4, 6, 7, 9, 10} *); RPC_S_NO_MORE_MEMBERS* = 1757 (* {0, 2..4, 6, 7, 9, 10} *); RPC_S_NOT_ALL_OBJS_UNEXPORTED* = 1758 (* {1..4, 6, 7, 9, 10} *); RPC_S_INTERFACE_NOT_FOUND* = 1759 (* {0..4, 6, 7, 9, 10} *); RPC_S_ENTRY_ALREADY_EXISTS* = 1760 (* {5..7, 9, 10} *); RPC_S_ENTRY_NOT_FOUND* = 1761 (* {0, 5..7, 9, 10} *); RPC_S_NAME_SERVICE_UNAVAILABLE* = 1762 (* {1, 5..7, 9, 10} *); RPC_S_INVALID_NAF_ID* = 1763 (* {0, 1, 5..7, 9, 10} *); RPC_S_CANNOT_SUPPORT* = 1764 (* {2, 5..7, 9, 10} *); RPC_S_NO_CONTEXT_AVAILABLE* = 1765 (* {0, 2, 5..7, 9, 10} *); RPC_S_INTERNAL_ERROR* = 1766 (* {1, 2, 5..7, 9, 10} *); RPC_S_ZERO_DIVIDE* = 1767 (* {0..2, 5..7, 9, 10} *); RPC_S_ADDRESS_ERROR* = 1768 (* {3, 5..7, 9, 10} *); RPC_S_FP_DIV_ZERO* = 1769 (* {0, 3, 5..7, 9, 10} *); RPC_S_FP_UNDERFLOW* = 1770 (* {1, 3, 5..7, 9, 10} *); RPC_S_FP_OVERFLOW* = 1771 (* {0, 1, 3, 5..7, 9, 10} *); RPC_X_NO_MORE_ENTRIES* = 1772 (* {2, 3, 5..7, 9, 10} *); RPC_X_SS_CHAR_TRANS_OPEN_FAIL* = 1773 (* {0, 2, 3, 5..7, 9, 10} *); RPC_X_SS_CHAR_TRANS_SHORT_FILE* = 1774 (* {1..3, 5..7, 9, 10} *); RPC_X_SS_IN_NULL_CONTEXT* = 1775 (* {0..3, 5..7, 9, 10} *); RPC_X_SS_CONTEXT_DAMAGED* = 1777 (* {0, 4..7, 9, 10} *); RPC_X_SS_HANDLES_MISMATCH* = 1778 (* {1, 4..7, 9, 10} *); RPC_X_SS_CANNOT_GET_CALL_HANDLE* = 1779 (* {0, 1, 4..7, 9, 10} *); RPC_X_NULL_REF_POINTER* = 1780 (* {2, 4..7, 9, 10} *); RPC_X_ENUM_VALUE_OUT_OF_RANGE* = 1781 (* {0, 2, 4..7, 9, 10} *); RPC_X_BYTE_COUNT_TOO_SMALL* = 1782 (* {1, 2, 4..7, 9, 10} *); RPC_X_BAD_STUB_DATA* = 1783 (* {0..2, 4..7, 9, 10} *); ERROR_INVALID_USER_BUFFER* = 1784 (* {3..7, 9, 10} *); ERROR_UNRECOGNIZED_MEDIA* = 1785 (* {0, 3..7, 9, 10} *); ERROR_NO_TRUST_LSA_SECRET* = 1786 (* {1, 3..7, 9, 10} *); ERROR_NO_TRUST_SAM_ACCOUNT* = 1787 (* {0, 1, 3..7, 9, 10} *); ERROR_TRUSTED_DOMAIN_FAILURE* = 1788 (* {2..7, 9, 10} *); ERROR_TRUSTED_RELATIONSHIP_FAILURE* = 1789 (* {0, 2..7, 9, 10} *); ERROR_TRUST_FAILURE* = 1790 (* {1..7, 9, 10} *); RPC_S_CALL_IN_PROGRESS* = 1791 (* {0..7, 9, 10} *); ERROR_NETLOGON_NOT_STARTED* = 1792 (* {8..10} *); ERROR_ACCOUNT_EXPIRED* = 1793 (* {0, 8..10} *); ERROR_REDIRECTOR_HAS_OPEN_HANDLES* = 1794 (* {1, 8..10} *); ERROR_PRINTER_DRIVER_ALREADY_INSTALLED* = 1795 (* {0, 1, 8..10} *); ERROR_UNKNOWN_PORT* = 1796 (* {2, 8..10} *); ERROR_UNKNOWN_PRINTER_DRIVER* = 1797 (* {0, 2, 8..10} *); ERROR_UNKNOWN_PRINTPROCESSOR* = 1798 (* {1, 2, 8..10} *); ERROR_INVALID_SEPARATOR_FILE* = 1799 (* {0..2, 8..10} *); ERROR_INVALID_PRIORITY* = 1800 (* {3, 8..10} *); ERROR_INVALID_PRINTER_NAME* = 1801 (* {0, 3, 8..10} *); ERROR_PRINTER_ALREADY_EXISTS* = 1802 (* {1, 3, 8..10} *); ERROR_INVALID_PRINTER_COMMAND* = 1803 (* {0, 1, 3, 8..10} *); ERROR_INVALID_DATATYPE* = 1804 (* {2, 3, 8..10} *); ERROR_INVALID_ENVIRONMENT* = 1805 (* {0, 2, 3, 8..10} *); RPC_S_NO_MORE_BINDINGS* = 1806 (* {1..3, 8..10} *); ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT* = 1807 (* {0..3, 8..10} *); ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT* = 1808 (* {4, 8..10} *); ERROR_NOLOGON_SERVER_TRUST_ACCOUNT* = 1809 (* {0, 4, 8..10} *); ERROR_DOMAIN_TRUST_INCONSISTENT* = 1810 (* {1, 4, 8..10} *); ERROR_SERVER_HAS_OPEN_HANDLES* = 1811 (* {0, 1, 4, 8..10} *); ERROR_RESOURCE_DATA_NOT_FOUND* = 1812 (* {2, 4, 8..10} *); ERROR_RESOURCE_TYPE_NOT_FOUND* = 1813 (* {0, 2, 4, 8..10} *); ERROR_RESOURCE_NAME_NOT_FOUND* = 1814 (* {1, 2, 4, 8..10} *); ERROR_RESOURCE_LANG_NOT_FOUND* = 1815 (* {0..2, 4, 8..10} *); ERROR_NOT_ENOUGH_QUOTA* = 1816 (* {3, 4, 8..10} *); RPC_S_NO_INTERFACES* = 1817 (* {0, 3, 4, 8..10} *); RPC_S_CALL_CANCELLED* = 1818 (* {1, 3, 4, 8..10} *); RPC_S_BINDING_INCOMPLETE* = 1819 (* {0, 1, 3, 4, 8..10} *); RPC_S_COMM_FAILURE* = 1820 (* {2..4, 8..10} *); RPC_S_UNSUPPORTED_AUTHN_LEVEL* = 1821 (* {0, 2..4, 8..10} *); RPC_S_NO_PRINC_NAME* = 1822 (* {1..4, 8..10} *); RPC_S_NOT_RPC_ERROR* = 1823 (* {0..4, 8..10} *); RPC_S_UUID_LOCAL_ONLY* = 1824 (* {5, 8..10} *); RPC_S_SEC_PKG_ERROR* = 1825 (* {0, 5, 8..10} *); RPC_S_NOT_CANCELLED* = 1826 (* {1, 5, 8..10} *); RPC_X_INVALID_ES_ACTION* = 1827 (* {0, 1, 5, 8..10} *); RPC_X_WRONG_ES_VERSION* = 1828 (* {2, 5, 8..10} *); RPC_X_WRONG_STUB_VERSION* = 1829 (* {0, 2, 5, 8..10} *); RPC_S_GROUP_MEMBER_NOT_FOUND* = 1898 (* {1, 3, 5, 6, 8..10} *); EPT_S_CANT_CREATE* = 1899 (* {0, 1, 3, 5, 6, 8..10} *); RPC_S_INVALID_OBJECT* = 1900 (* {2, 3, 5, 6, 8..10} *); ERROR_INVALID_TIME* = 1901 (* {0, 2, 3, 5, 6, 8..10} *); ERROR_INVALID_FORM_NAME* = 1902 (* {1..3, 5, 6, 8..10} *); ERROR_INVALID_FORM_SIZE* = 1903 (* {0..3, 5, 6, 8..10} *); ERROR_ALREADY_WAITING* = 1904 (* {4..6, 8..10} *); ERROR_PRINTER_DELETED* = 1905 (* {0, 4..6, 8..10} *); ERROR_INVALID_PRINTER_STATE* = 1906 (* {1, 4..6, 8..10} *); ERROR_PASSWORD_MUST_CHANGE* = 1907 (* {0, 1, 4..6, 8..10} *); ERROR_DOMAIN_CONTROLLER_NOT_FOUND* = 1908 (* {2, 4..6, 8..10} *); ERROR_ACCOUNT_LOCKED_OUT* = 1909 (* {0, 2, 4..6, 8..10} *); ERROR_NO_BROWSER_SERVERS_FOUND* = 6118 (* {1, 2, 5..10, 12} *); ERROR_INVALID_PIXEL_FORMAT* = 2000 (* {4, 6..10} *); ERROR_BAD_DRIVER* = 2001 (* {0, 4, 6..10} *); ERROR_INVALID_WINDOW_STYLE* = 2002 (* {1, 4, 6..10} *); ERROR_METAFILE_NOT_SUPPORTED* = 2003 (* {0, 1, 4, 6..10} *); ERROR_TRANSFORM_NOT_SUPPORTED* = 2004 (* {2, 4, 6..10} *); ERROR_CLIPPING_NOT_SUPPORTED* = 2005 (* {0, 2, 4, 6..10} *); ERROR_UNKNOWN_PRINT_MONITOR* = 3000 (* {3..5, 7..9, 11} *); ERROR_PRINTER_DRIVER_IN_USE* = 3001 (* {0, 3..5, 7..9, 11} *); ERROR_SPOOL_FILE_NOT_FOUND* = 3002 (* {1, 3..5, 7..9, 11} *); ERROR_SPL_NO_STARTDOC* = 3003 (* {0, 1, 3..5, 7..9, 11} *); ERROR_SPL_NO_ADDJOB* = 3004 (* {2..5, 7..9, 11} *); ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED* = 3005 (* {0, 2..5, 7..9, 11} *); ERROR_PRINT_MONITOR_ALREADY_INSTALLED* = 3006 (* {1..5, 7..9, 11} *); ERROR_WINS_INTERNAL* = 4000 (* {5, 7..11} *); ERROR_CAN_NOT_DEL_LOCAL_WINS* = 4001 (* {0, 5, 7..11} *); ERROR_STATIC_INIT* = 4002 (* {1, 5, 7..11} *); ERROR_INC_BACKUP* = 4003 (* {0, 1, 5, 7..11} *); ERROR_FULL_BACKUP* = 4004 (* {2, 5, 7..11} *); ERROR_REC_NON_EXISTENT* = 4005 (* {0, 2, 5, 7..11} *); ERROR_RPL_NOT_ALLOWED* = 4006 (* {1, 2, 5, 7..11} *); SEVERITY_SUCCESS* = 0 (* {} *); SEVERITY_ERROR* = 1 (* {0} *); FACILITY_NT_BIT* = 268435456 (* {28} *); NOERROR* = 0 (* {} *); E_UNEXPECTED* = -2147418113 (* {0..15, 31} *); E_NOTIMPL* = -2147467263 (* {0, 14, 31} *); E_OUTOFMEMORY* = -2147024882 (* {1..3, 16..18, 31} *); E_INVALIDARG* = -2147024809 (* {0..2, 4, 6, 16..18, 31} *); E_NOINTERFACE* = -2147467262 (* {1, 14, 31} *); E_POINTER* = -2147467261 (* {0, 1, 14, 31} *); E_HANDLE* = -2147024890 (* {1, 2, 16..18, 31} *); E_ABORT* = -2147467260 (* {2, 14, 31} *); E_FAIL* = -2147467259 (* {0, 2, 14, 31} *); E_ACCESSDENIED* = -2147024891 (* {0, 2, 16..18, 31} *); E_PENDING* = -2147024889 (* {0..2, 16..18, 31} *); CO_E_INIT_TLS* = -2147467258 (* {1, 2, 14, 31} *); CO_E_INIT_SHARED_ALLOCATOR* = -2147467257 (* {0..2, 14, 31} *); CO_E_INIT_MEMORY_ALLOCATOR* = -2147467256 (* {3, 14, 31} *); CO_E_INIT_CLASS_CACHE* = -2147467255 (* {0, 3, 14, 31} *); CO_E_INIT_RPC_CHANNEL* = -2147467254 (* {1, 3, 14, 31} *); CO_E_INIT_TLS_SET_CHANNEL_CONTROL* = -2147467253 (* {0, 1, 3, 14, 31} *); CO_E_INIT_TLS_CHANNEL_CONTROL* = -2147467252 (* {2, 3, 14, 31} *); CO_E_INIT_UNACCEPTED_USER_ALLOCATOR* = -2147467251 (* {0, 2, 3, 14, 31} *); CO_E_INIT_SCM_MUTEX_EXISTS* = -2147467250 (* {1..3, 14, 31} *); CO_E_INIT_SCM_FILE_MAPPING_EXISTS* = -2147467249 (* {0..3, 14, 31} *); CO_E_INIT_SCM_MAP_VIEW_OF_FILE* = -2147467248 (* {4, 14, 31} *); CO_E_INIT_SCM_EXEC_FAILURE* = -2147467247 (* {0, 4, 14, 31} *); CO_E_INIT_ONLY_SINGLE_THREADED* = -2147467246 (* {1, 4, 14, 31} *); S_OK* = 0 (* {} *); S_FALSE* = 1 (* {0} *); OLE_E_FIRST* = -2147221504 (* {18, 31} *); OLE_E_LAST* = -2147221249 (* {0..7, 18, 31} *); OLE_S_FIRST* = 262144 (* {18} *); OLE_S_LAST* = 262399 (* {0..7, 18} *); OLE_E_OLEVERB* = -2147221504 (* {18, 31} *); OLE_E_ADVF* = -2147221503 (* {0, 18, 31} *); OLE_E_ENUM_NOMORE* = -2147221502 (* {1, 18, 31} *); OLE_E_ADVISENOTSUPPORTED* = -2147221501 (* {0, 1, 18, 31} *); OLE_E_NOCONNECTION* = -2147221500 (* {2, 18, 31} *); OLE_E_NOTRUNNING* = -2147221499 (* {0, 2, 18, 31} *); OLE_E_NOCACHE* = -2147221498 (* {1, 2, 18, 31} *); OLE_E_BLANK* = -2147221497 (* {0..2, 18, 31} *); OLE_E_CLASSDIFF* = -2147221496 (* {3, 18, 31} *); OLE_E_CANT_GETMONIKER* = -2147221495 (* {0, 3, 18, 31} *); OLE_E_CANT_BINDTOSOURCE* = -2147221494 (* {1, 3, 18, 31} *); OLE_E_STATIC* = -2147221493 (* {0, 1, 3, 18, 31} *); OLE_E_PROMPTSAVECANCELLED* = -2147221492 (* {2, 3, 18, 31} *); OLE_E_INVALIDRECT* = -2147221491 (* {0, 2, 3, 18, 31} *); OLE_E_WRONGCOMPOBJ* = -2147221490 (* {1..3, 18, 31} *); OLE_E_INVALIDHWND* = -2147221489 (* {0..3, 18, 31} *); OLE_E_NOT_INPLACEACTIVE* = -2147221488 (* {4, 18, 31} *); OLE_E_CANTCONVERT* = -2147221487 (* {0, 4, 18, 31} *); OLE_E_NOSTORAGE* = -2147221486 (* {1, 4, 18, 31} *); DV_E_FORMATETC* = -2147221404 (* {2, 5, 6, 18, 31} *); DV_E_DVTARGETDEVICE* = -2147221403 (* {0, 2, 5, 6, 18, 31} *); DV_E_STGMEDIUM* = -2147221402 (* {1, 2, 5, 6, 18, 31} *); DV_E_STATDATA* = -2147221401 (* {0..2, 5, 6, 18, 31} *); DV_E_LINDEX* = -2147221400 (* {3, 5, 6, 18, 31} *); DV_E_TYMED* = -2147221399 (* {0, 3, 5, 6, 18, 31} *); DV_E_CLIPFORMAT* = -2147221398 (* {1, 3, 5, 6, 18, 31} *); DV_E_DVASPECT* = -2147221397 (* {0, 1, 3, 5, 6, 18, 31} *); DV_E_DVTARGETDEVICE_SIZE* = -2147221396 (* {2, 3, 5, 6, 18, 31} *); DV_E_NOIVIEWOBJECT* = -2147221395 (* {0, 2, 3, 5, 6, 18, 31} *); DRAGDROP_E_FIRST* = -2147221248 (* {8, 18, 31} *); DRAGDROP_E_LAST* = -2147221233 (* {0..3, 8, 18, 31} *); DRAGDROP_S_FIRST* = 262400 (* {8, 18} *); DRAGDROP_S_LAST* = 262415 (* {0..3, 8, 18} *); DRAGDROP_E_NOTREGISTERED* = -2147221248 (* {8, 18, 31} *); DRAGDROP_E_ALREADYREGISTERED* = -2147221247 (* {0, 8, 18, 31} *); DRAGDROP_E_INVALIDHWND* = -2147221246 (* {1, 8, 18, 31} *); CLASSFACTORY_E_FIRST* = -2147221232 (* {4, 8, 18, 31} *); CLASSFACTORY_E_LAST* = -2147221217 (* {0..4, 8, 18, 31} *); CLASSFACTORY_S_FIRST* = 262416 (* {4, 8, 18} *); CLASSFACTORY_S_LAST* = 262431 (* {0..4, 8, 18} *); CLASS_E_NOAGGREGATION* = -2147221232 (* {4, 8, 18, 31} *); CLASS_E_CLASSNOTAVAILABLE* = -2147221231 (* {0, 4, 8, 18, 31} *); MARSHAL_E_FIRST* = -2147221216 (* {5, 8, 18, 31} *); MARSHAL_E_LAST* = -2147221201 (* {0..3, 5, 8, 18, 31} *); MARSHAL_S_FIRST* = 262432 (* {5, 8, 18} *); MARSHAL_S_LAST* = 262447 (* {0..3, 5, 8, 18} *); DATA_E_FIRST* = -2147221200 (* {4, 5, 8, 18, 31} *); DATA_E_LAST* = -2147221185 (* {0..5, 8, 18, 31} *); DATA_S_FIRST* = 262448 (* {4, 5, 8, 18} *); DATA_S_LAST* = 262463 (* {0..5, 8, 18} *); VIEW_E_FIRST* = -2147221184 (* {6, 8, 18, 31} *); VIEW_E_LAST* = -2147221169 (* {0..3, 6, 8, 18, 31} *); VIEW_S_FIRST* = 262464 (* {6, 8, 18} *); VIEW_S_LAST* = 262479 (* {0..3, 6, 8, 18} *); VIEW_E_DRAW* = -2147221184 (* {6, 8, 18, 31} *); REGDB_E_FIRST* = -2147221168 (* {4, 6, 8, 18, 31} *); REGDB_E_LAST* = -2147221153 (* {0..4, 6, 8, 18, 31} *); REGDB_S_FIRST* = 262480 (* {4, 6, 8, 18} *); REGDB_S_LAST* = 262495 (* {0..4, 6, 8, 18} *); REGDB_E_READREGDB* = -2147221168 (* {4, 6, 8, 18, 31} *); REGDB_E_WRITEREGDB* = -2147221167 (* {0, 4, 6, 8, 18, 31} *); REGDB_E_KEYMISSING* = -2147221166 (* {1, 4, 6, 8, 18, 31} *); REGDB_E_INVALIDVALUE* = -2147221165 (* {0, 1, 4, 6, 8, 18, 31} *); REGDB_E_CLASSNOTREG* = -2147221164 (* {2, 4, 6, 8, 18, 31} *); REGDB_E_IIDNOTREG* = -2147221163 (* {0, 2, 4, 6, 8, 18, 31} *); CACHE_E_FIRST* = -2147221136 (* {4..6, 8, 18, 31} *); CACHE_E_LAST* = -2147221121 (* {0..6, 8, 18, 31} *); CACHE_S_FIRST* = 262512 (* {4..6, 8, 18} *); CACHE_S_LAST* = 262527 (* {0..6, 8, 18} *); CACHE_E_NOCACHE_UPDATED* = -2147221136 (* {4..6, 8, 18, 31} *); OLEOBJ_E_FIRST* = -2147221120 (* {7, 8, 18, 31} *); OLEOBJ_E_LAST* = -2147221105 (* {0..3, 7, 8, 18, 31} *); OLEOBJ_S_FIRST* = 262528 (* {7, 8, 18} *); OLEOBJ_S_LAST* = 262543 (* {0..3, 7, 8, 18} *); OLEOBJ_E_NOVERBS* = -2147221120 (* {7, 8, 18, 31} *); OLEOBJ_E_INVALIDVERB* = -2147221119 (* {0, 7, 8, 18, 31} *); CLIENTSITE_E_FIRST* = -2147221104 (* {4, 7, 8, 18, 31} *); CLIENTSITE_E_LAST* = -2147221089 (* {0..4, 7, 8, 18, 31} *); CLIENTSITE_S_FIRST* = 262544 (* {4, 7, 8, 18} *); CLIENTSITE_S_LAST* = 262559 (* {0..4, 7, 8, 18} *); INPLACE_E_NOTUNDOABLE* = -2147221088 (* {5, 7, 8, 18, 31} *); INPLACE_E_NOTOOLSPACE* = -2147221087 (* {0, 5, 7, 8, 18, 31} *); INPLACE_E_FIRST* = -2147221088 (* {5, 7, 8, 18, 31} *); INPLACE_E_LAST* = -2147221073 (* {0..3, 5, 7, 8, 18, 31} *); INPLACE_S_FIRST* = 262560 (* {5, 7, 8, 18} *); INPLACE_S_LAST* = 262575 (* {0..3, 5, 7, 8, 18} *); ENUM_E_FIRST* = -2147221072 (* {4, 5, 7, 8, 18, 31} *); ENUM_E_LAST* = -2147221057 (* {0..5, 7, 8, 18, 31} *); ENUM_S_FIRST* = 262576 (* {4, 5, 7, 8, 18} *); ENUM_S_LAST* = 262591 (* {0..5, 7, 8, 18} *); CONVERT10_E_FIRST* = -2147221056 (* {6..8, 18, 31} *); CONVERT10_E_LAST* = -2147221041 (* {0..3, 6..8, 18, 31} *); CONVERT10_S_FIRST* = 262592 (* {6..8, 18} *); CONVERT10_S_LAST* = 262607 (* {0..3, 6..8, 18} *); CONVERT10_E_OLESTREAM_GET* = -2147221056 (* {6..8, 18, 31} *); CONVERT10_E_OLESTREAM_PUT* = -2147221055 (* {0, 6..8, 18, 31} *); CONVERT10_E_OLESTREAM_FMT* = -2147221054 (* {1, 6..8, 18, 31} *); CONVERT10_E_OLESTREAM_BITMAP_TO_DIB* = -2147221053 (* {0, 1, 6..8, 18, 31} *); CONVERT10_E_STG_FMT* = -2147221052 (* {2, 6..8, 18, 31} *); CONVERT10_E_STG_NO_STD_STREAM* = -2147221051 (* {0, 2, 6..8, 18, 31} *); CONVERT10_E_STG_DIB_TO_BITMAP* = -2147221050 (* {1, 2, 6..8, 18, 31} *); CLIPBRD_E_FIRST* = -2147221040 (* {4, 6..8, 18, 31} *); CLIPBRD_E_LAST* = -2147221025 (* {0..4, 6..8, 18, 31} *); CLIPBRD_S_FIRST* = 262608 (* {4, 6..8, 18} *); CLIPBRD_S_LAST* = 262623 (* {0..4, 6..8, 18} *); CLIPBRD_E_CANT_OPEN* = -2147221040 (* {4, 6..8, 18, 31} *); CLIPBRD_E_CANT_EMPTY* = -2147221039 (* {0, 4, 6..8, 18, 31} *); CLIPBRD_E_CANT_SET* = -2147221038 (* {1, 4, 6..8, 18, 31} *); CLIPBRD_E_BAD_DATA* = -2147221037 (* {0, 1, 4, 6..8, 18, 31} *); CLIPBRD_E_CANT_CLOSE* = -2147221036 (* {2, 4, 6..8, 18, 31} *); MK_E_FIRST* = -2147221024 (* {5..8, 18, 31} *); MK_E_LAST* = -2147221009 (* {0..3, 5..8, 18, 31} *); MK_S_FIRST* = 262624 (* {5..8, 18} *); MK_S_LAST* = 262639 (* {0..3, 5..8, 18} *); MK_E_CONNECTMANUALLY* = -2147221024 (* {5..8, 18, 31} *); MK_E_EXCEEDEDDEADLINE* = -2147221023 (* {0, 5..8, 18, 31} *); MK_E_NEEDGENERIC* = -2147221022 (* {1, 5..8, 18, 31} *); MK_E_UNAVAILABLE* = -2147221021 (* {0, 1, 5..8, 18, 31} *); MK_E_SYNTAX* = -2147221020 (* {2, 5..8, 18, 31} *); MK_E_NOOBJECT* = -2147221019 (* {0, 2, 5..8, 18, 31} *); MK_E_INVALIDEXTENSION* = -2147221018 (* {1, 2, 5..8, 18, 31} *); MK_E_INTERMEDIATEINTERFACENOTSUPPORTED* = -2147221017 (* {0..2, 5..8, 18, 31} *); MK_E_NOTBINDABLE* = -2147221016 (* {3, 5..8, 18, 31} *); MK_E_NOTBOUND* = -2147221015 (* {0, 3, 5..8, 18, 31} *); MK_E_CANTOPENFILE* = -2147221014 (* {1, 3, 5..8, 18, 31} *); MK_E_MUSTBOTHERUSER* = -2147221013 (* {0, 1, 3, 5..8, 18, 31} *); MK_E_NOINVERSE* = -2147221012 (* {2, 3, 5..8, 18, 31} *); MK_E_NOSTORAGE* = -2147221011 (* {0, 2, 3, 5..8, 18, 31} *); MK_E_NOPREFIX* = -2147221010 (* {1..3, 5..8, 18, 31} *); MK_E_ENUMERATION_FAILED* = -2147221009 (* {0..3, 5..8, 18, 31} *); CO_E_FIRST* = -2147221008 (* {4..8, 18, 31} *); CO_E_LAST* = -2147220993 (* {0..8, 18, 31} *); CO_S_FIRST* = 262640 (* {4..8, 18} *); CO_S_LAST* = 262655 (* {0..8, 18} *); CO_E_NOTINITIALIZED* = -2147221008 (* {4..8, 18, 31} *); CO_E_ALREADYINITIALIZED* = -2147221007 (* {0, 4..8, 18, 31} *); CO_E_CANTDETERMINECLASS* = -2147221006 (* {1, 4..8, 18, 31} *); CO_E_CLASSSTRING* = -2147221005 (* {0, 1, 4..8, 18, 31} *); CO_E_IIDSTRING* = -2147221004 (* {2, 4..8, 18, 31} *); CO_E_APPNOTFOUND* = -2147221003 (* {0, 2, 4..8, 18, 31} *); CO_E_APPSINGLEUSE* = -2147221002 (* {1, 2, 4..8, 18, 31} *); CO_E_ERRORINAPP* = -2147221001 (* {0..2, 4..8, 18, 31} *); CO_E_DLLNOTFOUND* = -2147221000 (* {3..8, 18, 31} *); CO_E_ERRORINDLL* = -2147220999 (* {0, 3..8, 18, 31} *); CO_E_WRONGOSFORAPP* = -2147220998 (* {1, 3..8, 18, 31} *); CO_E_OBJNOTREG* = -2147220997 (* {0, 1, 3..8, 18, 31} *); CO_E_OBJISREG* = -2147220996 (* {2..8, 18, 31} *); CO_E_OBJNOTCONNECTED* = -2147220995 (* {0, 2..8, 18, 31} *); CO_E_APPDIDNTREG* = -2147220994 (* {1..8, 18, 31} *); CO_E_RELEASED* = -2147220993 (* {0..8, 18, 31} *); OLE_S_USEREG* = 262144 (* {18} *); OLE_S_STATIC* = 262145 (* {0, 18} *); OLE_S_MAC_CLIPFORMAT* = 262146 (* {1, 18} *); DRAGDROP_S_DROP* = 262400 (* {8, 18} *); DRAGDROP_S_CANCEL* = 262401 (* {0, 8, 18} *); DRAGDROP_S_USEDEFAULTCURSORS* = 262402 (* {1, 8, 18} *); DATA_S_SAMEFORMATETC* = 262448 (* {4, 5, 8, 18} *); VIEW_S_ALREADY_FROZEN* = 262464 (* {6, 8, 18} *); CACHE_S_FORMATETC_NOTSUPPORTED* = 262512 (* {4..6, 8, 18} *); CACHE_S_SAMECACHE* = 262513 (* {0, 4..6, 8, 18} *); CACHE_S_SOMECACHES_NOTUPDATED* = 262514 (* {1, 4..6, 8, 18} *); OLEOBJ_S_INVALIDVERB* = 262528 (* {7, 8, 18} *); OLEOBJ_S_CANNOT_DOVERB_NOW* = 262529 (* {0, 7, 8, 18} *); OLEOBJ_S_INVALIDHWND* = 262530 (* {1, 7, 8, 18} *); INPLACE_S_TRUNCATED* = 262560 (* {5, 7, 8, 18} *); CONVERT10_S_NO_PRESENTATION* = 262592 (* {6..8, 18} *); MK_S_REDUCED_TO_SELF* = 262626 (* {1, 5..8, 18} *); MK_S_ME* = 262628 (* {2, 5..8, 18} *); MK_S_HIM* = 262629 (* {0, 2, 5..8, 18} *); MK_S_US* = 262630 (* {1, 2, 5..8, 18} *); MK_S_MONIKERALREADYREGISTERED* = 262631 (* {0..2, 5..8, 18} *); CO_E_CLASS_CREATE_FAILED* = -2146959359 (* {0, 19, 31} *); CO_E_SCM_ERROR* = -2146959358 (* {1, 19, 31} *); CO_E_SCM_RPC_FAILURE* = -2146959357 (* {0, 1, 19, 31} *); CO_E_BAD_PATH* = -2146959356 (* {2, 19, 31} *); CO_E_SERVER_EXEC_FAILURE* = -2146959355 (* {0, 2, 19, 31} *); CO_E_OBJSRV_RPC_FAILURE* = -2146959354 (* {1, 2, 19, 31} *); MK_E_NO_NORMALIZED* = -2146959353 (* {0..2, 19, 31} *); CO_E_SERVER_STOPPING* = -2146959352 (* {3, 19, 31} *); MEM_E_INVALID_ROOT* = -2146959351 (* {0, 3, 19, 31} *); MEM_E_INVALID_LINK* = -2146959344 (* {4, 19, 31} *); MEM_E_INVALID_SIZE* = -2146959343 (* {0, 4, 19, 31} *); DISP_E_UNKNOWNINTERFACE* = -2147352575 (* {0, 17, 31} *); DISP_E_MEMBERNOTFOUND* = -2147352573 (* {0, 1, 17, 31} *); DISP_E_PARAMNOTFOUND* = -2147352572 (* {2, 17, 31} *); DISP_E_TYPEMISMATCH* = -2147352571 (* {0, 2, 17, 31} *); DISP_E_UNKNOWNNAME* = -2147352570 (* {1, 2, 17, 31} *); DISP_E_NONAMEDARGS* = -2147352569 (* {0..2, 17, 31} *); DISP_E_BADVARTYPE* = -2147352568 (* {3, 17, 31} *); DISP_E_EXCEPTION* = -2147352567 (* {0, 3, 17, 31} *); DISP_E_OVERFLOW* = -2147352566 (* {1, 3, 17, 31} *); DISP_E_BADINDEX* = -2147352565 (* {0, 1, 3, 17, 31} *); DISP_E_UNKNOWNLCID* = -2147352564 (* {2, 3, 17, 31} *); DISP_E_ARRAYISLOCKED* = -2147352563 (* {0, 2, 3, 17, 31} *); DISP_E_BADPARAMCOUNT* = -2147352562 (* {1..3, 17, 31} *); DISP_E_PARAMNOTOPTIONAL* = -2147352561 (* {0..3, 17, 31} *); DISP_E_BADCALLEE* = -2147352560 (* {4, 17, 31} *); DISP_E_NOTACOLLECTION* = -2147352559 (* {0, 4, 17, 31} *); TYPE_E_BUFFERTOOSMALL* = -2147319786 (* {1, 2, 4, 15, 17, 31} *); TYPE_E_INVDATAREAD* = -2147319784 (* {3, 4, 15, 17, 31} *); TYPE_E_UNSUPFORMAT* = -2147319783 (* {0, 3, 4, 15, 17, 31} *); TYPE_E_REGISTRYACCESS* = -2147319780 (* {2..4, 15, 17, 31} *); TYPE_E_LIBNOTREGISTERED* = -2147319779 (* {0, 2..4, 15, 17, 31} *); TYPE_E_UNDEFINEDTYPE* = -2147319769 (* {0..2, 5, 15, 17, 31} *); TYPE_E_QUALIFIEDNAMEDISALLOWED* = -2147319768 (* {3, 5, 15, 17, 31} *); TYPE_E_INVALIDSTATE* = -2147319767 (* {0, 3, 5, 15, 17, 31} *); TYPE_E_WRONGTYPEKIND* = -2147319766 (* {1, 3, 5, 15, 17, 31} *); TYPE_E_ELEMENTNOTFOUND* = -2147319765 (* {0, 1, 3, 5, 15, 17, 31} *); TYPE_E_AMBIGUOUSNAME* = -2147319764 (* {2, 3, 5, 15, 17, 31} *); TYPE_E_NAMECONFLICT* = -2147319763 (* {0, 2, 3, 5, 15, 17, 31} *); TYPE_E_UNKNOWNLCID* = -2147319762 (* {1..3, 5, 15, 17, 31} *); TYPE_E_DLLFUNCTIONNOTFOUND* = -2147319761 (* {0..3, 5, 15, 17, 31} *); TYPE_E_BADMODULEKIND* = -2147317571 (* {0, 2..5, 7, 11, 15, 17, 31} *); TYPE_E_SIZETOOBIG* = -2147317563 (* {0, 2, 6, 7, 11, 15, 17, 31} *); TYPE_E_DUPLICATEID* = -2147317562 (* {1, 2, 6, 7, 11, 15, 17, 31} *); TYPE_E_INVALIDID* = -2147317553 (* {0..3, 6, 7, 11, 15, 17, 31} *); TYPE_E_TYPEMISMATCH* = -2147316576 (* {5, 7, 10, 11, 15, 17, 31} *); TYPE_E_OUTOFBOUNDS* = -2147316575 (* {0, 5, 7, 10, 11, 15, 17, 31} *); TYPE_E_IOERROR* = -2147316574 (* {1, 5, 7, 10, 11, 15, 17, 31} *); TYPE_E_CANTCREATETMPFILE* = -2147316573 (* {0, 1, 5, 7, 10, 11, 15, 17, 31} *); TYPE_E_CANTLOADLIBRARY* = -2147312566 (* {1, 3, 6, 10..12, 15, 17, 31} *); TYPE_E_INCONSISTENTPROPFUNCS* = -2147312509 (* {0, 1, 7, 10..12, 15, 17, 31} *); TYPE_E_CIRCULARTYPE* = -2147312508 (* {2, 7, 10..12, 15, 17, 31} *); STG_E_INVALIDFUNCTION* = -2147287039 (* {0, 16, 17, 31} *); STG_E_FILENOTFOUND* = -2147287038 (* {1, 16, 17, 31} *); STG_E_PATHNOTFOUND* = -2147287037 (* {0, 1, 16, 17, 31} *); STG_E_TOOMANYOPENFILES* = -2147287036 (* {2, 16, 17, 31} *); STG_E_ACCESSDENIED* = -2147287035 (* {0, 2, 16, 17, 31} *); STG_E_INVALIDHANDLE* = -2147287034 (* {1, 2, 16, 17, 31} *); STG_E_INSUFFICIENTMEMORY* = -2147287032 (* {3, 16, 17, 31} *); STG_E_INVALIDPOINTER* = -2147287031 (* {0, 3, 16, 17, 31} *); STG_E_NOMOREFILES* = -2147287022 (* {1, 4, 16, 17, 31} *); STG_E_DISKISWRITEPROTECTED* = -2147287021 (* {0, 1, 4, 16, 17, 31} *); STG_E_SEEKERROR* = -2147287015 (* {0, 3, 4, 16, 17, 31} *); STG_E_WRITEFAULT* = -2147287011 (* {0, 2..4, 16, 17, 31} *); STG_E_READFAULT* = -2147287010 (* {1..4, 16, 17, 31} *); STG_E_SHAREVIOLATION* = -2147287008 (* {5, 16, 17, 31} *); STG_E_LOCKVIOLATION* = -2147287007 (* {0, 5, 16, 17, 31} *); STG_E_FILEALREADYEXISTS* = -2147286960 (* {4, 6, 16, 17, 31} *); STG_E_INVALIDPARAMETER* = -2147286953 (* {0..2, 4, 6, 16, 17, 31} *); STG_E_MEDIUMFULL* = -2147286928 (* {4..6, 16, 17, 31} *); STG_E_ABNORMALAPIEXIT* = -2147286790 (* {1, 3..7, 16, 17, 31} *); STG_E_INVALIDHEADER* = -2147286789 (* {0, 1, 3..7, 16, 17, 31} *); STG_E_INVALIDNAME* = -2147286788 (* {2..7, 16, 17, 31} *); STG_E_UNKNOWN* = -2147286787 (* {0, 2..7, 16, 17, 31} *); STG_E_UNIMPLEMENTEDFUNCTION* = -2147286786 (* {1..7, 16, 17, 31} *); STG_E_INVALIDFLAG* = -2147286785 (* {0..7, 16, 17, 31} *); STG_E_INUSE* = -2147286784 (* {8, 16, 17, 31} *); STG_E_NOTCURRENT* = -2147286783 (* {0, 8, 16, 17, 31} *); STG_E_REVERTED* = -2147286782 (* {1, 8, 16, 17, 31} *); STG_E_CANTSAVE* = -2147286781 (* {0, 1, 8, 16, 17, 31} *); STG_E_OLDFORMAT* = -2147286780 (* {2, 8, 16, 17, 31} *); STG_E_OLDDLL* = -2147286779 (* {0, 2, 8, 16, 17, 31} *); STG_E_SHAREREQUIRED* = -2147286778 (* {1, 2, 8, 16, 17, 31} *); STG_E_NOTFILEBASEDSTORAGE* = -2147286777 (* {0..2, 8, 16, 17, 31} *); STG_E_EXTANTMARSHALLINGS* = -2147286776 (* {3, 8, 16, 17, 31} *); STG_S_CONVERTED* = 197120 (* {9, 16, 17} *); RPC_E_CALL_REJECTED* = -2147418111 (* {0, 16, 31} *); RPC_E_CALL_CANCELED* = -2147418110 (* {1, 16, 31} *); RPC_E_CANTPOST_INSENDCALL* = -2147418109 (* {0, 1, 16, 31} *); RPC_E_CANTCALLOUT_INASYNCCALL* = -2147418108 (* {2, 16, 31} *); RPC_E_CANTCALLOUT_INEXTERNALCALL* = -2147418107 (* {0, 2, 16, 31} *); RPC_E_CONNECTION_TERMINATED* = -2147418106 (* {1, 2, 16, 31} *); RPC_E_SERVER_DIED* = -2147418105 (* {0..2, 16, 31} *); RPC_E_CLIENT_DIED* = -2147418104 (* {3, 16, 31} *); RPC_E_INVALID_DATAPACKET* = -2147418103 (* {0, 3, 16, 31} *); RPC_E_CANTTRANSMIT_CALL* = -2147418102 (* {1, 3, 16, 31} *); RPC_E_CLIENT_CANTMARSHAL_DATA* = -2147418101 (* {0, 1, 3, 16, 31} *); RPC_E_CLIENT_CANTUNMARSHAL_DATA* = -2147418100 (* {2, 3, 16, 31} *); RPC_E_SERVER_CANTMARSHAL_DATA* = -2147418099 (* {0, 2, 3, 16, 31} *); RPC_E_SERVER_CANTUNMARSHAL_DATA* = -2147418098 (* {1..3, 16, 31} *); RPC_E_INVALID_DATA* = -2147418097 (* {0..3, 16, 31} *); RPC_E_INVALID_PARAMETER* = -2147418096 (* {4, 16, 31} *); RPC_E_CANTCALLOUT_AGAIN* = -2147418095 (* {0, 4, 16, 31} *); RPC_E_SERVER_DIED_DNE* = -2147418094 (* {1, 4, 16, 31} *); RPC_E_SYS_CALL_FAILED* = -2147417856 (* {8, 16, 31} *); RPC_E_OUT_OF_RESOURCES* = -2147417855 (* {0, 8, 16, 31} *); RPC_E_ATTEMPTED_MULTITHREAD* = -2147417854 (* {1, 8, 16, 31} *); RPC_E_NOT_REGISTERED* = -2147417853 (* {0, 1, 8, 16, 31} *); RPC_E_FAULT* = -2147417852 (* {2, 8, 16, 31} *); RPC_E_SERVERFAULT* = -2147417851 (* {0, 2, 8, 16, 31} *); RPC_E_CHANGED_MODE* = -2147417850 (* {1, 2, 8, 16, 31} *); RPC_E_INVALIDMETHOD* = -2147417849 (* {0..2, 8, 16, 31} *); RPC_E_DISCONNECTED* = -2147417848 (* {3, 8, 16, 31} *); RPC_E_RETRY* = -2147417847 (* {0, 3, 8, 16, 31} *); RPC_E_SERVERCALL_RETRYLATER* = -2147417846 (* {1, 3, 8, 16, 31} *); RPC_E_SERVERCALL_REJECTED* = -2147417845 (* {0, 1, 3, 8, 16, 31} *); RPC_E_INVALID_CALLDATA* = -2147417844 (* {2, 3, 8, 16, 31} *); RPC_E_CANTCALLOUT_ININPUTSYNCCALL* = -2147417843 (* {0, 2, 3, 8, 16, 31} *); RPC_E_WRONG_THREAD* = -2147417842 (* {1..3, 8, 16, 31} *); RPC_E_THREAD_NOT_INIT* = -2147417841 (* {0..3, 8, 16, 31} *); RPC_E_UNEXPECTED* = -2147352577 (* {0..16, 31} *); TC_NORMAL* = 0 (* {} *); TC_HARDERR* = 1 (* {0} *); TC_GP_TRAP* = 2 (* {1} *); TC_SIGNAL* = 3 (* {0, 1} *); AC_LINE_OFFLINE* = 0 (* {} *); AC_LINE_ONLINE* = 1 (* {0} *); AC_LINE_BACKUP_POWER* = 2 (* {1} *); AC_LINE_UNKNOWN* = 255 (* {0..7} *); BATTERY_FLAG_HIGH* = 1 (* {0} *); BATTERY_FLAG_LOW* = 2 (* {1} *); BATTERY_FLAG_CRITICAL* = 4 (* {2} *); BATTERY_FLAG_CHARGING* = 8 (* {3} *); BATTERY_FLAG_NO_BATTERY* = 128 (* {7} *); BATTERY_FLAG_UNKNOWN* = 255 (* {0..7} *); BATTERY_PERCENTAGE_UNKNOWN* = 255 (* {0..7} *); BATTERY_LIFE_UNKNOWN* = -1 (* {0..31} *); WIN_CERT_REVISION_1_0* = 256 (* {8} *); WIN_CERT_TYPE_X509* = 1 (* {0} *); WIN_CERT_TYPE_PKCS_SIGNED_DATA* = 2 (* {1} *); WIN_CERT_TYPE_RESERVED_1* = 3 (* {0, 1} *); WIN_TRUST_PROVIDER_UNKNOWN* = 0 (* {} *); WIN_TRUST_SOFTWARE_PUBLISHER* = 1 (* {0} *); WIN_TRUST_WINDOWS_COMPATIBLE* = 2 (* {1} *); WIN_TRUST_CAPI_PROVIDER* = 3 (* {0, 1} *); WIN_TRUST_SUBJTYPE_RAW_FILE* = 0 (* {} *); WIN_TRUST_SUBJTYPE_PE_IMAGE* = 1 (* {0} *); WIN_TRUST_SUBJTYPE_OLE_STORAGE* = 2 (* {1} *); WIN_TRUST_SUBJTYPE_JAVA_CLASS* = 3 (* {0, 1} *); CAPI_TRUST_ACTION_VALID_CSP* = 1 (* {0} *); WIN_SPUB_ACTION_TRUSTED_PUBLISHER* = 2 (* {1} *); WIN_SPUB_ACTION_NT_ACTIVATE_IMAGE* = 3 (* {0, 1} *); WIN_SPUB_ACTION_PUBLISHED_SOFTWARE* = 4 (* {2} *); R2_BLACK* = 1 (* {0} *); R2_NOTMERGEPEN* = 2 (* {1} *); R2_MASKNOTPEN* = 3 (* {0, 1} *); R2_NOTCOPYPEN* = 4 (* {2} *); R2_MASKPENNOT* = 5 (* {0, 2} *); R2_NOT* = 6 (* {1, 2} *); R2_XORPEN* = 7 (* {0..2} *); R2_NOTMASKPEN* = 8 (* {3} *); R2_MASKPEN* = 9 (* {0, 3} *); R2_NOTXORPEN* = 10 (* {1, 3} *); R2_NOP* = 11 (* {0, 1, 3} *); R2_MERGENOTPEN* = 12 (* {2, 3} *); R2_COPYPEN* = 13 (* {0, 2, 3} *); R2_MERGEPENNOT* = 14 (* {1..3} *); R2_MERGEPEN* = 15 (* {0..3} *); R2_WHITE* = 16 (* {4} *); R2_LAST* = 16 (* {4} *); SRCCOPY* = 13369376 (* {5, 18, 19, 22, 23} *); SRCPAINT* = 15597702 (* {1, 2, 7, 17..19, 21..23} *); SRCAND* = 8913094 (* {1, 2, 6, 7, 19, 23} *); SRCINVERT* = 6684742 (* {1, 2, 6, 17, 18, 21, 22} *); SRCERASE* = 4457256 (* {3, 5, 8, 9, 18, 22} *); NOTSRCCOPY* = 3342344 (* {3, 16, 17, 20, 21} *); NOTSRCERASE* = 1114278 (* {1, 2, 5, 7, 16, 20} *); MERGECOPY* = 12583114 (* {1, 3, 6, 7, 22, 23} *); MERGEPAINT* = 12255782 (* {1, 2, 5, 9, 16, 17, 19..21, 23} *); PATCOPY* = 15728673 (* {0, 5, 20..23} *); PATPAINT* = 16452105 (* {0, 3, 9, 11, 16, 17, 19..23} *); PATINVERT* = 5898313 (* {0, 3, 6, 17, 19, 20, 22} *); DSTINVERT* = 5570569 (* {0, 3, 16, 18, 20, 22} *); BLACKNESS* = 66 (* {1, 6} *); WHITENESS* = 16711778 (* {1, 5, 6, 16..23} *); GDI_ERROR* = -1 (* {0..31} *); ERROR* = 0 (* {} *); NULLREGION* = 1 (* {0} *); SIMPLEREGION* = 2 (* {1} *); COMPLEXREGION* = 3 (* {0, 1} *); RGN_ERROR* = 0 (* {} *); RGN_AND* = 1 (* {0} *); RGN_OR* = 2 (* {1} *); RGN_XOR* = 3 (* {0, 1} *); RGN_DIFF* = 4 (* {2} *); RGN_COPY* = 5 (* {0, 2} *); RGN_MIN* = 1 (* {0} *); RGN_MAX* = 5 (* {0, 2} *); BLACKONWHITE* = 1 (* {0} *); WHITEONBLACK* = 2 (* {1} *); COLORONCOLOR* = 3 (* {0, 1} *); HALFTONE* = 4 (* {2} *); MAXSTRETCHBLTMODE* = 4 (* {2} *); STRETCH_ANDSCANS* = 1 (* {0} *); STRETCH_ORSCANS* = 2 (* {1} *); STRETCH_DELETESCANS* = 3 (* {0, 1} *); STRETCH_HALFTONE* = 4 (* {2} *); ALTERNATE* = 1 (* {0} *); WINDING* = 2 (* {1} *); POLYFILL_LAST* = 2 (* {1} *); TA_NOUPDATECP* = {}; TA_UPDATECP* = {0}; TA_LEFT* = {}; TA_RIGHT* = {1}; TA_CENTER* = {1, 2}; TA_TOP* = {}; TA_BOTTOM* = {3}; TA_BASELINE* = {3, 4}; TA_RTLREADING* = {8}; TA_MASK* = {0..4, 8}; VTA_BASELINE* = {3, 4}; VTA_LEFT* = {3}; VTA_RIGHT* = {}; VTA_CENTER* = {1, 2}; VTA_BOTTOM* = {1}; VTA_TOP* = {}; ETO_OPAQUE* = {1}; ETO_CLIPPED* = {2}; ETO_GLYPH_INDEX* = {4}; ETO_RTLREADING* = {7}; ASPECT_FILTERING* = 1 (* {0} *); DCB_RESET* = {0}; DCB_ACCUMULATE* = {1}; DCB_DIRTY* = {1}; DCB_SET* = {0, 1}; DCB_ENABLE* = {2}; DCB_DISABLE* = {3}; META_SETBKCOLOR* = 513 (* {0, 9} *); META_SETBKMODE* = 258 (* {1, 8} *); META_SETMAPMODE* = 259 (* {0, 1, 8} *); META_SETROP2* = 260 (* {2, 8} *); META_SETRELABS* = 261 (* {0, 2, 8} *); META_SETPOLYFILLMODE* = 262 (* {1, 2, 8} *); META_SETSTRETCHBLTMODE* = 263 (* {0..2, 8} *); META_SETTEXTCHAREXTRA* = 264 (* {3, 8} *); META_SETTEXTCOLOR* = 521 (* {0, 3, 9} *); META_SETTEXTJUSTIFICATION* = 522 (* {1, 3, 9} *); META_SETWINDOWORG* = 523 (* {0, 1, 3, 9} *); META_SETWINDOWEXT* = 524 (* {2, 3, 9} *); META_SETVIEWPORTORG* = 525 (* {0, 2, 3, 9} *); META_SETVIEWPORTEXT* = 526 (* {1..3, 9} *); META_OFFSETWINDOWORG* = 527 (* {0..3, 9} *); META_SCALEWINDOWEXT* = 1040 (* {4, 10} *); META_OFFSETVIEWPORTORG* = 529 (* {0, 4, 9} *); META_SCALEVIEWPORTEXT* = 1042 (* {1, 4, 10} *); META_LINETO* = 531 (* {0, 1, 4, 9} *); META_MOVETO* = 532 (* {2, 4, 9} *); META_EXCLUDECLIPRECT* = 1045 (* {0, 2, 4, 10} *); META_INTERSECTCLIPRECT* = 1046 (* {1, 2, 4, 10} *); META_ARC* = 2071 (* {0..2, 4, 11} *); META_ELLIPSE* = 1048 (* {3, 4, 10} *); META_FLOODFILL* = 1049 (* {0, 3, 4, 10} *); META_PIE* = 2074 (* {1, 3, 4, 11} *); META_RECTANGLE* = 1051 (* {0, 1, 3, 4, 10} *); META_ROUNDRECT* = 1564 (* {2..4, 9, 10} *); META_PATBLT* = 1565 (* {0, 2..4, 9, 10} *); META_SAVEDC* = 30 (* {1..4} *); META_SETPIXEL* = 1055 (* {0..4, 10} *); META_OFFSETCLIPRGN* = 544 (* {5, 9} *); META_TEXTOUT* = 1313 (* {0, 5, 8, 10} *); META_BITBLT* = 2338 (* {1, 5, 8, 11} *); META_STRETCHBLT* = 2851 (* {0, 1, 5, 8, 9, 11} *); META_POLYGON* = 804 (* {2, 5, 8, 9} *); META_POLYLINE* = 805 (* {0, 2, 5, 8, 9} *); META_ESCAPE* = 1574 (* {1, 2, 5, 9, 10} *); META_RESTOREDC* = 295 (* {0..2, 5, 8} *); META_FILLREGION* = 552 (* {3, 5, 9} *); META_FRAMEREGION* = 1065 (* {0, 3, 5, 10} *); META_INVERTREGION* = 298 (* {1, 3, 5, 8} *); META_PAINTREGION* = 299 (* {0, 1, 3, 5, 8} *); META_SELECTCLIPREGION* = 300 (* {2, 3, 5, 8} *); META_SELECTOBJECT* = 301 (* {0, 2, 3, 5, 8} *); META_SETTEXTALIGN* = 302 (* {1..3, 5, 8} *); META_CHORD* = 2096 (* {4, 5, 11} *); META_SETMAPPERFLAGS* = 561 (* {0, 4, 5, 9} *); META_EXTTEXTOUT* = 2610 (* {1, 4, 5, 9, 11} *); META_SETDIBTODEV* = 3379 (* {0, 1, 4, 5, 8, 10, 11} *); META_SELECTPALETTE* = 564 (* {2, 4, 5, 9} *); META_REALIZEPALETTE* = 53 (* {0, 2, 4, 5} *); META_ANIMATEPALETTE* = 1078 (* {1, 2, 4, 5, 10} *); META_SETPALENTRIES* = 55 (* {0..2, 4, 5} *); META_POLYPOLYGON* = 1336 (* {3..5, 8, 10} *); META_RESIZEPALETTE* = 313 (* {0, 3..5, 8} *); META_DIBBITBLT* = 2368 (* {6, 8, 11} *); META_DIBSTRETCHBLT* = 2881 (* {0, 6, 8, 9, 11} *); META_DIBCREATEPATTERNBRUSH* = 322 (* {1, 6, 8} *); META_STRETCHDIB* = 3907 (* {0, 1, 6, 8..11} *); META_EXTFLOODFILL* = 1352 (* {3, 6, 8, 10} *); META_DELETEOBJECT* = 496 (* {4..8} *); META_CREATEPALETTE* = 247 (* {0..2, 4..7} *); META_CREATEPATTERNBRUSH* = 505 (* {0, 3..8} *); META_CREATEPENINDIRECT* = 762 (* {1, 3..7, 9} *); META_CREATEFONTINDIRECT* = 763 (* {0, 1, 3..7, 9} *); META_CREATEBRUSHINDIRECT* = 764 (* {2..7, 9} *); META_CREATEREGION* = 1791 (* {0..7, 9, 10} *); NEWFRAME* = 1 (* {0} *); ABORTDOC* = 2 (* {1} *); NEXTBAND* = 3 (* {0, 1} *); SETCOLORTABLE* = 4 (* {2} *); GETCOLORTABLE* = 5 (* {0, 2} *); FLUSHOUTPUT* = 6 (* {1, 2} *); DRAFTMODE* = 7 (* {0..2} *); QUERYESCSUPPORT* = 8 (* {3} *); SETABORTPROC* = 9 (* {0, 3} *); STARTDOC* = 10 (* {1, 3} *); ENDDOC* = 11 (* {0, 1, 3} *); GETPHYSPAGESIZE* = 12 (* {2, 3} *); GETPRINTINGOFFSET* = 13 (* {0, 2, 3} *); GETSCALINGFACTOR* = 14 (* {1..3} *); MFCOMMENT* = 15 (* {0..3} *); GETPENWIDTH* = 16 (* {4} *); SETCOPYCOUNT* = 17 (* {0, 4} *); SELECTPAPERSOURCE* = 18 (* {1, 4} *); DEVICEDATA* = 19 (* {0, 1, 4} *); PASSTHROUGH* = 19 (* {0, 1, 4} *); GETTECHNOLGY* = 20 (* {2, 4} *); GETTECHNOLOGY* = 20 (* {2, 4} *); SETLINECAP* = 21 (* {0, 2, 4} *); SETLINEJOIN* = 22 (* {1, 2, 4} *); SETMITERLIMIT* = 23 (* {0..2, 4} *); BANDINFO* = 24 (* {3, 4} *); DRAWPATTERNRECT* = 25 (* {0, 3, 4} *); GETVECTORPENSIZE* = 26 (* {1, 3, 4} *); GETVECTORBRUSHSIZE* = 27 (* {0, 1, 3, 4} *); ENABLEDUPLEX* = 28 (* {2..4} *); GETSETPAPERBINS* = 29 (* {0, 2..4} *); GETSETPRINTORIENT* = 30 (* {1..4} *); ENUMPAPERBINS* = 31 (* {0..4} *); SETDIBSCALING* = 32 (* {5} *); EPSPRINTING* = 33 (* {0, 5} *); ENUMPAPERMETRICS* = 34 (* {1, 5} *); GETSETPAPERMETRICS* = 35 (* {0, 1, 5} *); POSTSCRIPT_DATA* = 37 (* {0, 2, 5} *); POSTSCRIPT_IGNORE* = 38 (* {1, 2, 5} *); MOUSETRAILS* = 39 (* {0..2, 5} *); GETDEVICEUNITS* = 42 (* {1, 3, 5} *); GETEXTENDEDTEXTMETRICS* = 256 (* {8} *); GETEXTENTTABLE* = 257 (* {0, 8} *); GETPAIRKERNTABLE* = 258 (* {1, 8} *); GETTRACKKERNTABLE* = 259 (* {0, 1, 8} *); EXTTEXTOUT* = 512 (* {9} *); GETFACENAME* = 513 (* {0, 9} *); DOWNLOADFACE* = 514 (* {1, 9} *); ENABLERELATIVEWIDTHS* = 768 (* {8, 9} *); ENABLEPAIRKERNING* = 769 (* {0, 8, 9} *); SETKERNTRACK* = 770 (* {1, 8, 9} *); SETALLJUSTVALUES* = 771 (* {0, 1, 8, 9} *); SETCHARSET* = 772 (* {2, 8, 9} *); STRETCHBLT* = 2048 (* {11} *); GETSETSCREENPARAMS* = 3072 (* {10, 11} *); QUERYDIBSUPPORT* = 3073 (* {0, 10, 11} *); BEGIN_PATH* = 4096 (* {12} *); CLIP_TO_PATH* = 4097 (* {0, 12} *); END_PATH* = 4098 (* {1, 12} *); EXT_DEVICE_CAPS* = 4099 (* {0, 1, 12} *); RESTORE_CTM* = 4100 (* {2, 12} *); SAVE_CTM* = 4101 (* {0, 2, 12} *); SET_ARC_DIRECTION* = 4102 (* {1, 2, 12} *); SET_BACKGROUND_COLOR* = 4103 (* {0..2, 12} *); SET_POLY_MODE* = 4104 (* {3, 12} *); SET_SCREEN_ANGLE* = 4105 (* {0, 3, 12} *); SET_SPREAD* = 4106 (* {1, 3, 12} *); TRANSFORM_CTM* = 4107 (* {0, 1, 3, 12} *); SET_CLIP_BOX* = 4108 (* {2, 3, 12} *); SET_BOUNDS* = 4109 (* {0, 2, 3, 12} *); SET_MIRROR_MODE* = 4110 (* {1..3, 12} *); OPENCHANNEL* = 4110 (* {1..3, 12} *); DOWNLOADHEADER* = 4111 (* {0..3, 12} *); CLOSECHANNEL* = 4112 (* {4, 12} *); POSTSCRIPT_PASSTHROUGH* = 4115 (* {0, 1, 4, 12} *); ENCAPSULATED_POSTSCRIPT* = 4116 (* {2, 4, 12} *); QDI_SETDIBITS* = {0}; QDI_GETDIBITS* = {1}; QDI_DIBTOSCREEN* = {2}; QDI_STRETCHDIB* = {3}; SP_NOTREPORTED* = {14}; SP_ERROR* = {0..31}; SP_APPABORT* = {1..31}; SP_USERABORT* = {0, 2..31}; SP_OUTOFDISK* = {2..31}; SP_OUTOFMEMORY* = {0, 1, 3..31}; PR_JOBSTATUS* = 0 (* {} *); OBJ_PEN* = 1 (* {0} *); OBJ_BRUSH* = 2 (* {1} *); OBJ_DC* = 3 (* {0, 1} *); OBJ_METADC* = 4 (* {2} *); OBJ_PAL* = 5 (* {0, 2} *); OBJ_FONT* = 6 (* {1, 2} *); OBJ_BITMAP* = 7 (* {0..2} *); OBJ_REGION* = 8 (* {3} *); OBJ_METAFILE* = 9 (* {0, 3} *); OBJ_MEMDC* = 10 (* {1, 3} *); OBJ_EXTPEN* = 11 (* {0, 1, 3} *); OBJ_ENHMETADC* = 12 (* {2, 3} *); OBJ_ENHMETAFILE* = 13 (* {0, 2, 3} *); MWT_IDENTITY* = 1 (* {0} *); MWT_LEFTMULTIPLY* = 2 (* {1} *); MWT_RIGHTMULTIPLY* = 3 (* {0, 1} *); MWT_MIN* = 1 (* {0} *); MWT_MAX* = 3 (* {0, 1} *); LCS_CALIBRATED_RGB* = 0 (* {} *); LCS_DEVICE_RGB* = 1 (* {0} *); LCS_DEVICE_CMYK* = 2 (* {1} *); LCS_GM_BUSINESS* = 1 (* {0} *); LCS_GM_GRAPHICS* = 2 (* {1} *); LCS_GM_IMAGES* = 4 (* {2} *); CM_OUT_OF_GAMUT* = 255 (* {0..7} *); CM_IN_GAMUT* = 0 (* {} *); BI_RGB* = 0 (* {} *); BI_RLE8* = 1 (* {0} *); BI_RLE4* = 2 (* {1} *); BI_BITFIELDS* = 3 (* {0, 1} *); TCI_SRCCHARSET* = 1 (* {0} *); TCI_SRCCODEPAGE* = 2 (* {1} *); TCI_SRCFONTSIG* = 3 (* {0, 1} *); TMPF_FIXED_PITCH* = 1 (* {0} *); TMPF_VECTOR* = 2 (* {1} *); TMPF_DEVICE* = 8 (* {3} *); TMPF_TRUETYPE* = 4 (* {2} *); NTM_REGULAR* = 64 (* {6} *); NTM_BOLD* = 32 (* {5} *); NTM_ITALIC* = 1 (* {0} *); LF_FACESIZE* = 32 (* {5} *); LF_FULLFACESIZE* = 64 (* {6} *); OUT_DEFAULT_PRECIS* = 0 (* {} *); OUT_STRING_PRECIS* = 1 (* {0} *); OUT_CHARACTER_PRECIS* = 2 (* {1} *); OUT_STROKE_PRECIS* = 3 (* {0, 1} *); OUT_TT_PRECIS* = 4 (* {2} *); OUT_DEVICE_PRECIS* = 5 (* {0, 2} *); OUT_RASTER_PRECIS* = 6 (* {1, 2} *); OUT_TT_ONLY_PRECIS* = 7 (* {0..2} *); OUT_OUTLINE_PRECIS* = 8 (* {3} *); CLIP_DEFAULT_PRECIS* = 0 (* {} *); CLIP_CHARACTER_PRECIS* = 1 (* {0} *); CLIP_STROKE_PRECIS* = 2 (* {1} *); CLIP_MASK* = 15 (* {0..3} *); CLIP_LH_ANGLES* = 16 (* {4} *); CLIP_TT_ALWAYS* = 32 (* {5} *); CLIP_EMBEDDED* = 128 (* {7} *); DEFAULT_QUALITY* = 0 (* {} *); DRAFT_QUALITY* = 1 (* {0} *); PROOF_QUALITY* = 2 (* {1} *); NONANTIALIASED_QUALITY* = 3 (* {0, 1} *); ANTIALIASED_QUALITY* = 4 (* {2} *); DEFAULT_PITCH* = 0 (* {} *); FIXED_PITCH* = 1 (* {0} *); VARIABLE_PITCH* = 2 (* {1} *); MONO_FONT* = 8 (* {3} *); ANSI_CHARSET* = 0 (* {} *); DEFAULT_CHARSET* = 1 (* {0} *); SYMBOL_CHARSET* = 2 (* {1} *); SHIFTJIS_CHARSET* = 128 (* {7} *); HANGEUL_CHARSET* = 129 (* {0, 7} *); GB2312_CHARSET* = 134 (* {1, 2, 7} *); CHINESEBIG5_CHARSET* = 136 (* {3, 7} *); OEM_CHARSET* = 255 (* {0..7} *); JOHAB_CHARSET* = 130 (* {1, 7} *); HEBREW_CHARSET* = 177 (* {0, 4, 5, 7} *); ARABIC_CHARSET* = 178 (* {1, 4, 5, 7} *); GREEK_CHARSET* = 161 (* {0, 5, 7} *); TURKISH_CHARSET* = 162 (* {1, 5, 7} *); THAI_CHARSET* = 222 (* {1..4, 6, 7} *); EASTEUROPE_CHARSET* = 238 (* {1..3, 5..7} *); RUSSIAN_CHARSET* = 204 (* {2, 3, 6, 7} *); MAC_CHARSET* = 77 (* {0, 2, 3, 6} *); BALTIC_CHARSET* = 186 (* {1, 3..5, 7} *); FS_LATIN1* = {0}; FS_LATIN2* = {1}; FS_CYRILLIC* = {2}; FS_GREEK* = {3}; FS_TURKISH* = {4}; FS_HEBREW* = {5}; FS_ARABIC* = {6}; FS_BALTIC* = {7}; FS_THAI* = {16}; FS_JISJAPAN* = {17}; FS_CHINESESIMP* = {18}; FS_WANSUNG* = {19}; FS_CHINESETRAD* = {20}; FS_JOHAB* = {21}; FS_SYMBOL* = {31}; FF_DONTCARE* = 0 (* {} *); FF_ROMAN* = 16 (* {4} *); FF_SWISS* = 32 (* {5} *); FF_MODERN* = 48 (* {4, 5} *); FF_SCRIPT* = 64 (* {6} *); FF_DECORATIVE* = 80 (* {4, 6} *); FW_DONTCARE* = 0 (* {} *); FW_THIN* = 100 (* {2, 5, 6} *); FW_EXTRALIGHT* = 200 (* {3, 6, 7} *); FW_LIGHT* = 300 (* {2, 3, 5, 8} *); FW_NORMAL* = 400 (* {4, 7, 8} *); FW_MEDIUM* = 500 (* {2, 4..8} *); FW_SEMIBOLD* = 600 (* {3, 4, 6, 9} *); FW_BOLD* = 700 (* {2..5, 7, 9} *); FW_EXTRABOLD* = 800 (* {5, 8, 9} *); FW_HEAVY* = 900 (* {2, 7..9} *); FW_ULTRALIGHT* = 200 (* {3, 6, 7} *); FW_REGULAR* = 400 (* {4, 7, 8} *); FW_DEMIBOLD* = 600 (* {3, 4, 6, 9} *); FW_ULTRABOLD* = 800 (* {5, 8, 9} *); FW_BLACK* = 900 (* {2, 7..9} *); PANOSE_COUNT* = 10 (* {1, 3} *); PAN_FAMILYTYPE_INDEX* = 0 (* {} *); PAN_SERIFSTYLE_INDEX* = 1 (* {0} *); PAN_WEIGHT_INDEX* = 2 (* {1} *); PAN_PROPORTION_INDEX* = 3 (* {0, 1} *); PAN_CONTRAST_INDEX* = 4 (* {2} *); PAN_STROKEVARIATION_INDEX* = 5 (* {0, 2} *); PAN_ARMSTYLE_INDEX* = 6 (* {1, 2} *); PAN_LETTERFORM_INDEX* = 7 (* {0..2} *); PAN_MIDLINE_INDEX* = 8 (* {3} *); PAN_XHEIGHT_INDEX* = 9 (* {0, 3} *); PAN_CULTURE_LATIN* = 0 (* {} *); PAN_ANY* = 0 (* {} *); PAN_NO_FIT* = 1 (* {0} *); PAN_FAMILY_TEXT_DISPLAY* = 2 (* {1} *); PAN_FAMILY_SCRIPT* = 3 (* {0, 1} *); PAN_FAMILY_DECORATIVE* = 4 (* {2} *); PAN_FAMILY_PICTORIAL* = 5 (* {0, 2} *); PAN_SERIF_COVE* = 2 (* {1} *); PAN_SERIF_OBTUSE_COVE* = 3 (* {0, 1} *); PAN_SERIF_SQUARE_COVE* = 4 (* {2} *); PAN_SERIF_OBTUSE_SQUARE_COVE* = 5 (* {0, 2} *); PAN_SERIF_SQUARE* = 6 (* {1, 2} *); PAN_SERIF_THIN* = 7 (* {0..2} *); PAN_SERIF_BONE* = 8 (* {3} *); PAN_SERIF_EXAGGERATED* = 9 (* {0, 3} *); PAN_SERIF_TRIANGLE* = 10 (* {1, 3} *); PAN_SERIF_NORMAL_SANS* = 11 (* {0, 1, 3} *); PAN_SERIF_OBTUSE_SANS* = 12 (* {2, 3} *); PAN_SERIF_PERP_SANS* = 13 (* {0, 2, 3} *); PAN_SERIF_FLARED* = 14 (* {1..3} *); PAN_SERIF_ROUNDED* = 15 (* {0..3} *); PAN_WEIGHT_VERY_LIGHT* = 2 (* {1} *); PAN_WEIGHT_LIGHT* = 3 (* {0, 1} *); PAN_WEIGHT_THIN* = 4 (* {2} *); PAN_WEIGHT_BOOK* = 5 (* {0, 2} *); PAN_WEIGHT_MEDIUM* = 6 (* {1, 2} *); PAN_WEIGHT_DEMI* = 7 (* {0..2} *); PAN_WEIGHT_BOLD* = 8 (* {3} *); PAN_WEIGHT_HEAVY* = 9 (* {0, 3} *); PAN_WEIGHT_BLACK* = 10 (* {1, 3} *); PAN_WEIGHT_NORD* = 11 (* {0, 1, 3} *); PAN_PROP_OLD_STYLE* = 2 (* {1} *); PAN_PROP_MODERN* = 3 (* {0, 1} *); PAN_PROP_EVEN_WIDTH* = 4 (* {2} *); PAN_PROP_EXPANDED* = 5 (* {0, 2} *); PAN_PROP_CONDENSED* = 6 (* {1, 2} *); PAN_PROP_VERY_EXPANDED* = 7 (* {0..2} *); PAN_PROP_VERY_CONDENSED* = 8 (* {3} *); PAN_PROP_MONOSPACED* = 9 (* {0, 3} *); PAN_CONTRAST_NONE* = 2 (* {1} *); PAN_CONTRAST_VERY_LOW* = 3 (* {0, 1} *); PAN_CONTRAST_LOW* = 4 (* {2} *); PAN_CONTRAST_MEDIUM_LOW* = 5 (* {0, 2} *); PAN_CONTRAST_MEDIUM* = 6 (* {1, 2} *); PAN_CONTRAST_MEDIUM_HIGH* = 7 (* {0..2} *); PAN_CONTRAST_HIGH* = 8 (* {3} *); PAN_CONTRAST_VERY_HIGH* = 9 (* {0, 3} *); PAN_STROKE_GRADUAL_DIAG* = 2 (* {1} *); PAN_STROKE_GRADUAL_TRAN* = 3 (* {0, 1} *); PAN_STROKE_GRADUAL_VERT* = 4 (* {2} *); PAN_STROKE_GRADUAL_HORZ* = 5 (* {0, 2} *); PAN_STROKE_RAPID_VERT* = 6 (* {1, 2} *); PAN_STROKE_RAPID_HORZ* = 7 (* {0..2} *); PAN_STROKE_INSTANT_VERT* = 8 (* {3} *); PAN_STRAIGHT_ARMS_HORZ* = 2 (* {1} *); PAN_STRAIGHT_ARMS_WEDGE* = 3 (* {0, 1} *); PAN_STRAIGHT_ARMS_VERT* = 4 (* {2} *); PAN_STRAIGHT_ARMS_SINGLE_SERIF* = 5 (* {0, 2} *); PAN_STRAIGHT_ARMS_DOUBLE_SERIF* = 6 (* {1, 2} *); PAN_BENT_ARMS_HORZ* = 7 (* {0..2} *); PAN_BENT_ARMS_WEDGE* = 8 (* {3} *); PAN_BENT_ARMS_VERT* = 9 (* {0, 3} *); PAN_BENT_ARMS_SINGLE_SERIF* = 10 (* {1, 3} *); PAN_BENT_ARMS_DOUBLE_SERIF* = 11 (* {0, 1, 3} *); PAN_LETT_NORMAL_CONTACT* = 2 (* {1} *); PAN_LETT_NORMAL_WEIGHTED* = 3 (* {0, 1} *); PAN_LETT_NORMAL_BOXED* = 4 (* {2} *); PAN_LETT_NORMAL_FLATTENED* = 5 (* {0, 2} *); PAN_LETT_NORMAL_ROUNDED* = 6 (* {1, 2} *); PAN_LETT_NORMAL_OFF_CENTER* = 7 (* {0..2} *); PAN_LETT_NORMAL_SQUARE* = 8 (* {3} *); PAN_LETT_OBLIQUE_CONTACT* = 9 (* {0, 3} *); PAN_LETT_OBLIQUE_WEIGHTED* = 10 (* {1, 3} *); PAN_LETT_OBLIQUE_BOXED* = 11 (* {0, 1, 3} *); PAN_LETT_OBLIQUE_FLATTENED* = 12 (* {2, 3} *); PAN_LETT_OBLIQUE_ROUNDED* = 13 (* {0, 2, 3} *); PAN_LETT_OBLIQUE_OFF_CENTER* = 14 (* {1..3} *); PAN_LETT_OBLIQUE_SQUARE* = 15 (* {0..3} *); PAN_MIDLINE_STANDARD_TRIMMED* = 2 (* {1} *); PAN_MIDLINE_STANDARD_POINTED* = 3 (* {0, 1} *); PAN_MIDLINE_STANDARD_SERIFED* = 4 (* {2} *); PAN_MIDLINE_HIGH_TRIMMED* = 5 (* {0, 2} *); PAN_MIDLINE_HIGH_POINTED* = 6 (* {1, 2} *); PAN_MIDLINE_HIGH_SERIFED* = 7 (* {0..2} *); PAN_MIDLINE_CONSTANT_TRIMMED* = 8 (* {3} *); PAN_MIDLINE_CONSTANT_POINTED* = 9 (* {0, 3} *); PAN_MIDLINE_CONSTANT_SERIFED* = 10 (* {1, 3} *); PAN_MIDLINE_LOW_TRIMMED* = 11 (* {0, 1, 3} *); PAN_MIDLINE_LOW_POINTED* = 12 (* {2, 3} *); PAN_MIDLINE_LOW_SERIFED* = 13 (* {0, 2, 3} *); PAN_XHEIGHT_CONSTANT_SMALL* = 2 (* {1} *); PAN_XHEIGHT_CONSTANT_STD* = 3 (* {0, 1} *); PAN_XHEIGHT_CONSTANT_LARGE* = 4 (* {2} *); PAN_XHEIGHT_DUCKING_SMALL* = 5 (* {0, 2} *); PAN_XHEIGHT_DUCKING_STD* = 6 (* {1, 2} *); PAN_XHEIGHT_DUCKING_LARGE* = 7 (* {0..2} *); ELF_VENDOR_SIZE* = 4 (* {2} *); ELF_VERSION* = 0 (* {} *); ELF_CULTURE_LATIN* = 0 (* {} *); RASTER_FONTTYPE* = 1 (* {0} *); DEVICE_FONTTYPE* = 2 (* {1} *); TRUETYPE_FONTTYPE* = 4 (* {2} *); PC_RESERVED* = 1 (* {0} *); PC_EXPLICIT* = 2 (* {1} *); PC_NOCOLLAPSE* = 4 (* {2} *); TRANSPARENT* = 1 (* {0} *); OPAQUE* = 2 (* {1} *); BKMODE_LAST* = 2 (* {1} *); GM_COMPATIBLE* = 1 (* {0} *); GM_ADVANCED* = 2 (* {1} *); GM_LAST* = 2 (* {1} *); PT_CLOSEFIGURE* = 1 (* {0} *); PT_LINETO* = 2 (* {1} *); PT_BEZIERTO* = 4 (* {2} *); PT_MOVETO* = 6 (* {1, 2} *); MM_TEXT* = 1 (* {0} *); MM_LOMETRIC* = 2 (* {1} *); MM_HIMETRIC* = 3 (* {0, 1} *); MM_LOENGLISH* = 4 (* {2} *); MM_HIENGLISH* = 5 (* {0, 2} *); MM_TWIPS* = 6 (* {1, 2} *); MM_ISOTROPIC* = 7 (* {0..2} *); MM_ANISOTROPIC* = 8 (* {3} *); MM_MIN* = 1 (* {0} *); MM_MAX* = 8 (* {3} *); MM_MAX_FIXEDSCALE* = 6 (* {1, 2} *); ABSOLUTE* = 1 (* {0} *); RELATIVE* = 2 (* {1} *); WHITE_BRUSH* = 0 (* {} *); LTGRAY_BRUSH* = 1 (* {0} *); GRAY_BRUSH* = 2 (* {1} *); DKGRAY_BRUSH* = 3 (* {0, 1} *); BLACK_BRUSH* = 4 (* {2} *); NULL_BRUSH* = 5 (* {0, 2} *); HOLLOW_BRUSH* = 5 (* {0, 2} *); WHITE_PEN* = 6 (* {1, 2} *); BLACK_PEN* = 7 (* {0..2} *); NULL_PEN* = 8 (* {3} *); OEM_FIXED_FONT* = 10 (* {1, 3} *); ANSI_FIXED_FONT* = 11 (* {0, 1, 3} *); ANSI_VAR_FONT* = 12 (* {2, 3} *); SYSTEM_FONT* = 13 (* {0, 2, 3} *); DEVICE_DEFAULT_FONT* = 14 (* {1..3} *); DEFAULT_PALETTE* = 15 (* {0..3} *); SYSTEM_FIXED_FONT* = 16 (* {4} *); DEFAULT_GUI_FONT* = 17 (* {0, 4} *); STOCK_LAST* = 17 (* {0, 4} *); CLR_INVALID* = -1 (* {0..31} *); BS_SOLID* = 0 (* {} *); BS_NULL* = 1 (* {0} *); BS_HOLLOW* = 1 (* {0} *); BS_HATCHED* = 2 (* {1} *); BS_PATTERN* = 3 (* {0, 1} *); BS_INDEXED* = 4 (* {2} *); BS_DIBPATTERN* = 5 (* {0, 2} *); BS_DIBPATTERNPT* = 6 (* {1, 2} *); BS_PATTERN8X8* = 7 (* {0..2} *); BS_DIBPATTERN8X8* = 8 (* {3} *); HS_HORIZONTAL* = 0 (* {} *); HS_VERTICAL* = 1 (* {0} *); HS_FDIAGONAL* = 2 (* {1} *); HS_BDIAGONAL* = 3 (* {0, 1} *); HS_CROSS* = 4 (* {2} *); HS_DIAGCROSS* = 5 (* {0, 2} *); PS_SOLID* = 0 (* {} *); PS_DASH* = 1 (* {0} *); PS_DOT* = 2 (* {1} *); PS_DASHDOT* = 3 (* {0, 1} *); PS_DASHDOTDOT* = 4 (* {2} *); PS_NULL* = 5 (* {0, 2} *); PS_INSIDEFRAME* = 6 (* {1, 2} *); PS_USERSTYLE* = 7 (* {0..2} *); PS_ALTERNATE* = 8 (* {3} *); PS_STYLE_MASK* = 15 (* {0..3} *); PS_ENDCAP_ROUND* = 0 (* {} *); PS_ENDCAP_SQUARE* = 256 (* {8} *); PS_ENDCAP_FLAT* = 512 (* {9} *); PS_ENDCAP_MASK* = 3840 (* {8..11} *); PS_JOIN_ROUND* = 0 (* {} *); PS_JOIN_BEVEL* = 4096 (* {12} *); PS_JOIN_MITER* = 8192 (* {13} *); PS_JOIN_MASK* = 61440 (* {12..15} *); PS_COSMETIC* = 0 (* {} *); PS_GEOMETRIC* = 65536 (* {16} *); PS_TYPE_MASK* = 983040 (* {16..19} *); AD_COUNTERCLOCKWISE* = 1 (* {0} *); AD_CLOCKWISE* = 2 (* {1} *); DRIVERVERSION* = 0 (* {} *); TECHNOLOGY* = 2 (* {1} *); HORZSIZE* = 4 (* {2} *); VERTSIZE* = 6 (* {1, 2} *); HORZRES* = 8 (* {3} *); VERTRES* = 10 (* {1, 3} *); BITSPIXEL* = 12 (* {2, 3} *); PLANES* = 14 (* {1..3} *); NUMBRUSHES* = 16 (* {4} *); NUMPENS* = 18 (* {1, 4} *); NUMMARKERS* = 20 (* {2, 4} *); NUMFONTS* = 22 (* {1, 2, 4} *); NUMCOLORS* = 24 (* {3, 4} *); PDEVICESIZE* = 26 (* {1, 3, 4} *); CURVECAPS* = 28 (* {2..4} *); LINECAPS* = 30 (* {1..4} *); POLYGONALCAPS* = 32 (* {5} *); TEXTCAPS* = 34 (* {1, 5} *); CLIPCAPS* = 36 (* {2, 5} *); RASTERCAPS* = 38 (* {1, 2, 5} *); ASPECTX* = 40 (* {3, 5} *); ASPECTY* = 42 (* {1, 3, 5} *); ASPECTXY* = 44 (* {2, 3, 5} *); LOGPIXELSX* = 88 (* {3, 4, 6} *); LOGPIXELSY* = 90 (* {1, 3, 4, 6} *); SIZEPALETTE* = 104 (* {3, 5, 6} *); NUMRESERVED* = 106 (* {1, 3, 5, 6} *); COLORRES* = 108 (* {2, 3, 5, 6} *); PHYSICALWIDTH* = 110 (* {1..3, 5, 6} *); PHYSICALHEIGHT* = 111 (* {0..3, 5, 6} *); PHYSICALOFFSETX* = 112 (* {4..6} *); PHYSICALOFFSETY* = 113 (* {0, 4..6} *); SCALINGFACTORX* = 114 (* {1, 4..6} *); SCALINGFACTORY* = 115 (* {0, 1, 4..6} *); VREFRESH* = 116 (* {2, 4..6} *); DESKTOPVERTRES* = 117 (* {0, 2, 4..6} *); DESKTOPHORZRES* = 118 (* {1, 2, 4..6} *); BLTALIGNMENT* = 119 (* {0..2, 4..6} *); DT_PLOTTER* = 0 (* {} *); DT_RASDISPLAY* = 1 (* {0} *); DT_RASPRINTER* = 2 (* {1} *); DT_RASCAMERA* = 3 (* {0, 1} *); DT_CHARSTREAM* = 4 (* {2} *); DT_METAFILE* = 5 (* {0, 2} *); DT_DISPFILE* = 6 (* {1, 2} *); CC_NONE* = {}; CC_CIRCLES* = {0}; CC_PIE* = {1}; CC_CHORD* = {2}; CC_ELLIPSES* = {3}; CC_WIDE* = {4}; CC_STYLED* = {5}; CC_WIDESTYLED* = {6}; CC_INTERIORS* = {7}; CC_ROUNDRECT* = {8}; LC_NONE* = {}; LC_POLYLINE* = {1}; LC_MARKER* = {2}; LC_POLYMARKER* = {3}; LC_WIDE* = {4}; LC_STYLED* = {5}; LC_WIDESTYLED* = {6}; LC_INTERIORS* = {7}; PC_NONE* = {}; PC_POLYGON* = {0}; PC_RECTANGLE* = {1}; PC_WINDPOLYGON* = {2}; PC_TRAPEZOID* = {2}; PC_SCANLINE* = {3}; PC_WIDE* = {4}; PC_STYLED* = {5}; PC_WIDESTYLED* = {6}; PC_INTERIORS* = {7}; PC_POLYPOLYGON* = {8}; PC_PATHS* = {9}; CP_NONE* = 0 (* {} *); CP_RECTANGLE* = 1 (* {0} *); CP_REGION* = 2 (* {1} *); TC_OP_CHARACTER* = {0}; TC_OP_STROKE* = {1}; TC_CP_STROKE* = {2}; TC_CR_90* = {3}; TC_CR_ANY* = {4}; TC_SF_X_YINDEP* = {5}; TC_SA_DOUBLE* = {6}; TC_SA_INTEGER* = {7}; TC_SA_CONTIN* = {8}; TC_EA_DOUBLE* = {9}; TC_IA_ABLE* = {10}; TC_UA_ABLE* = {11}; TC_SO_ABLE* = {12}; TC_RA_ABLE* = {13}; TC_VA_ABLE* = {14}; TC_RESERVED* = {15}; TC_SCROLLBLT* = {16}; RC_BITBLT* = {0}; RC_BANDING* = {1}; RC_SCALING* = {2}; RC_BITMAP64* = {3}; RC_GDI20_OUTPUT* = {4}; RC_GDI20_STATE* = {5}; RC_SAVEBITMAP* = {6}; RC_DI_BITMAP* = {7}; RC_PALETTE* = {8}; RC_DIBTODEV* = {9}; RC_BIGFONT* = {10}; RC_STRETCHBLT* = {11}; RC_FLOODFILL* = {12}; RC_STRETCHDIB* = {13}; RC_OP_DX_OUTPUT* = {14}; RC_DEVBITS* = {15}; DIB_RGB_COLORS* = 0 (* {} *); DIB_PAL_COLORS* = 1 (* {0} *); SYSPAL_ERROR* = 0 (* {} *); SYSPAL_STATIC* = 1 (* {0} *); SYSPAL_NOSTATIC* = 2 (* {1} *); CBM_INIT* = 4 (* {2} *); FLOODFILLBORDER* = 0 (* {} *); FLOODFILLSURFACE* = 1 (* {0} *); CCHDEVICENAME* = 32 (* {5} *); CCHFORMNAME* = 32 (* {5} *); DM_SPECVERSION* = {0, 10}; DM_ORIENTATION* = {0}; DM_PAPERSIZE* = {1}; DM_PAPERLENGTH* = {2}; DM_PAPERWIDTH* = {3}; DM_SCALE* = {4}; DM_COPIES* = {8}; DM_DEFAULTSOURCE* = {9}; DM_PRINTQUALITY* = {10}; DM_COLOR* = {11}; DM_DUPLEX* = {12}; DM_YRESOLUTION* = {13}; DM_TTOPTION* = {14}; DM_COLLATE* = {15}; DM_FORMNAME* = {16}; DM_LOGPIXELS* = {17}; DM_BITSPERPEL* = {18}; DM_PELSWIDTH* = {19}; DM_PELSHEIGHT* = {20}; DM_DISPLAYFLAGS* = {21}; DM_DISPLAYFREQUENCY* = {22}; DM_PANNINGWIDTH* = {23}; DM_PANNINGHEIGHT* = {24}; DM_ICMMETHOD* = {25}; DM_ICMINTENT* = {26}; DM_MEDIATYPE* = {27}; DM_DITHERTYPE* = {28}; DM_ICCMANUFACTURER* = {29}; DM_ICCMODEL* = {30}; DMORIENT_PORTRAIT* = 1 (* {0} *); DMORIENT_LANDSCAPE* = 2 (* {1} *); DMPAPER_FIRST* = 1 (* {0} *); DMPAPER_LETTER* = 1 (* {0} *); DMPAPER_LETTERSMALL* = 2 (* {1} *); DMPAPER_TABLOID* = 3 (* {0, 1} *); DMPAPER_LEDGER* = 4 (* {2} *); DMPAPER_LEGAL* = 5 (* {0, 2} *); DMPAPER_STATEMENT* = 6 (* {1, 2} *); DMPAPER_EXECUTIVE* = 7 (* {0..2} *); DMPAPER_A3* = 8 (* {3} *); DMPAPER_A4* = 9 (* {0, 3} *); DMPAPER_A4SMALL* = 10 (* {1, 3} *); DMPAPER_A5* = 11 (* {0, 1, 3} *); DMPAPER_B4* = 12 (* {2, 3} *); DMPAPER_B5* = 13 (* {0, 2, 3} *); DMPAPER_FOLIO* = 14 (* {1..3} *); DMPAPER_QUARTO* = 15 (* {0..3} *); DMPAPER_10X14* = 16 (* {4} *); DMPAPER_11X17* = 17 (* {0, 4} *); DMPAPER_NOTE* = 18 (* {1, 4} *); DMPAPER_ENV_9* = 19 (* {0, 1, 4} *); DMPAPER_ENV_10* = 20 (* {2, 4} *); DMPAPER_ENV_11* = 21 (* {0, 2, 4} *); DMPAPER_ENV_12* = 22 (* {1, 2, 4} *); DMPAPER_ENV_14* = 23 (* {0..2, 4} *); DMPAPER_CSHEET* = 24 (* {3, 4} *); DMPAPER_DSHEET* = 25 (* {0, 3, 4} *); DMPAPER_ESHEET* = 26 (* {1, 3, 4} *); DMPAPER_ENV_DL* = 27 (* {0, 1, 3, 4} *); DMPAPER_ENV_C5* = 28 (* {2..4} *); DMPAPER_ENV_C3* = 29 (* {0, 2..4} *); DMPAPER_ENV_C4* = 30 (* {1..4} *); DMPAPER_ENV_C6* = 31 (* {0..4} *); DMPAPER_ENV_C65* = 32 (* {5} *); DMPAPER_ENV_B4* = 33 (* {0, 5} *); DMPAPER_ENV_B5* = 34 (* {1, 5} *); DMPAPER_ENV_B6* = 35 (* {0, 1, 5} *); DMPAPER_ENV_ITALY* = 36 (* {2, 5} *); DMPAPER_ENV_MONARCH* = 37 (* {0, 2, 5} *); DMPAPER_ENV_PERSONAL* = 38 (* {1, 2, 5} *); DMPAPER_FANFOLD_US* = 39 (* {0..2, 5} *); DMPAPER_FANFOLD_STD_GERMAN* = 40 (* {3, 5} *); DMPAPER_FANFOLD_LGL_GERMAN* = 41 (* {0, 3, 5} *); DMPAPER_ISO_B4* = 42 (* {1, 3, 5} *); DMPAPER_JAPANESE_POSTCARD* = 43 (* {0, 1, 3, 5} *); DMPAPER_9X11* = 44 (* {2, 3, 5} *); DMPAPER_10X11* = 45 (* {0, 2, 3, 5} *); DMPAPER_15X11* = 46 (* {1..3, 5} *); DMPAPER_ENV_INVITE* = 47 (* {0..3, 5} *); DMPAPER_RESERVED_48* = 48 (* {4, 5} *); DMPAPER_RESERVED_49* = 49 (* {0, 4, 5} *); DMPAPER_LETTER_EXTRA* = 50 (* {1, 4, 5} *); DMPAPER_LEGAL_EXTRA* = 51 (* {0, 1, 4, 5} *); DMPAPER_TABLOID_EXTRA* = 52 (* {2, 4, 5} *); DMPAPER_A4_EXTRA* = 53 (* {0, 2, 4, 5} *); DMPAPER_LETTER_TRANSVERSE* = 54 (* {1, 2, 4, 5} *); DMPAPER_A4_TRANSVERSE* = 55 (* {0..2, 4, 5} *); DMPAPER_LETTER_EXTRA_TRANSVERSE* = 56 (* {3..5} *); DMPAPER_A_PLUS* = 57 (* {0, 3..5} *); DMPAPER_B_PLUS* = 58 (* {1, 3..5} *); DMPAPER_LETTER_PLUS* = 59 (* {0, 1, 3..5} *); DMPAPER_A4_PLUS* = 60 (* {2..5} *); DMPAPER_A5_TRANSVERSE* = 61 (* {0, 2..5} *); DMPAPER_B5_TRANSVERSE* = 62 (* {1..5} *); DMPAPER_A3_EXTRA* = 63 (* {0..5} *); DMPAPER_A5_EXTRA* = 64 (* {6} *); DMPAPER_B5_EXTRA* = 65 (* {0, 6} *); DMPAPER_A2* = 66 (* {1, 6} *); DMPAPER_A3_TRANSVERSE* = 67 (* {0, 1, 6} *); DMPAPER_A3_EXTRA_TRANSVERSE* = 68 (* {2, 6} *); DMPAPER_LAST* = 68 (* {2, 6} *); DMPAPER_USER* = 256 (* {8} *); DMBIN_FIRST* = 1 (* {0} *); DMBIN_UPPER* = 1 (* {0} *); DMBIN_ONLYONE* = 1 (* {0} *); DMBIN_LOWER* = 2 (* {1} *); DMBIN_MIDDLE* = 3 (* {0, 1} *); DMBIN_MANUAL* = 4 (* {2} *); DMBIN_ENVELOPE* = 5 (* {0, 2} *); DMBIN_ENVMANUAL* = 6 (* {1, 2} *); DMBIN_AUTO* = 7 (* {0..2} *); DMBIN_TRACTOR* = 8 (* {3} *); DMBIN_SMALLFMT* = 9 (* {0, 3} *); DMBIN_LARGEFMT* = 10 (* {1, 3} *); DMBIN_LARGECAPACITY* = 11 (* {0, 1, 3} *); DMBIN_CASSETTE* = 14 (* {1..3} *); DMBIN_FORMSOURCE* = 15 (* {0..3} *); DMBIN_LAST* = 15 (* {0..3} *); DMBIN_USER* = 256 (* {8} *); DMRES_DRAFT* = -1 (* {0..31} *); DMRES_LOW* = -2 (* {1..31} *); DMRES_MEDIUM* = -3 (* {0, 2..31} *); DMRES_HIGH* = -4 (* {2..31} *); DMCOLOR_MONOCHROME* = 1 (* {0} *); DMCOLOR_COLOR* = 2 (* {1} *); DMDUP_SIMPLEX* = 1 (* {0} *); DMDUP_VERTICAL* = 2 (* {1} *); DMDUP_HORIZONTAL* = 3 (* {0, 1} *); DMTT_BITMAP* = 1 (* {0} *); DMTT_DOWNLOAD* = 2 (* {1} *); DMTT_SUBDEV* = 3 (* {0, 1} *); DMTT_DOWNLOAD_OUTLINE* = 4 (* {2} *); DMCOLLATE_FALSE* = 0 (* {} *); DMCOLLATE_TRUE* = 1 (* {0} *); DM_GRAYSCALE* = {0}; DM_INTERLACED* = {1}; DM_TEXTMODE* = {2}; DMICMMETHOD_NONE* = 1 (* {0} *); DMICMMETHOD_SYSTEM* = 2 (* {1} *); DMICMMETHOD_DRIVER* = 3 (* {0, 1} *); DMICMMETHOD_DEVICE* = 4 (* {2} *); DMICMMETHOD_USER* = 256 (* {8} *); DMICM_SATURATE* = 1 (* {0} *); DMICM_CONTRAST* = 2 (* {1} *); DMICM_COLORMETRIC* = 3 (* {0, 1} *); DMICM_USER* = 256 (* {8} *); DMMEDIA_STANDARD* = 1 (* {0} *); DMMEDIA_TRANSPARENCY* = 2 (* {1} *); DMMEDIA_GLOSSY* = 3 (* {0, 1} *); DMMEDIA_USER* = 256 (* {8} *); DMDITHER_NONE* = 1 (* {0} *); DMDITHER_COARSE* = 2 (* {1} *); DMDITHER_FINE* = 3 (* {0, 1} *); DMDITHER_LINEART* = 4 (* {2} *); DMDITHER_GRAYSCALE* = 5 (* {0, 2} *); DMDITHER_USER* = 256 (* {8} *); RDH_RECTANGLES* = 1 (* {0} *); GGO_METRICS* = 0 (* {} *); GGO_BITMAP* = 1 (* {0} *); GGO_NATIVE* = 2 (* {1} *); GGO_GRAY2_BITMAP* = 4 (* {2} *); GGO_GRAY4_BITMAP* = 5 (* {0, 2} *); GGO_GRAY8_BITMAP* = 6 (* {1, 2} *); GGO_GLYPH_INDEX* = 128 (* {7} *); TT_POLYGON_TYPE* = 24 (* {3, 4} *); TT_PRIM_LINE* = 1 (* {0} *); TT_PRIM_QSPLINE* = 2 (* {1} *); GCP_DBCS* = {0}; GCP_REORDER* = {1}; GCP_USEKERNING* = {3}; GCP_GLYPHSHAPE* = {4}; GCP_LIGATE* = {5}; GCP_DIACRITIC* = {8}; GCP_KASHIDA* = {10}; GCP_ERROR* = {15}; FLI_MASK* = {0, 1, 3..5, 12}; GCP_JUSTIFY* = {16}; FLI_GLYPHS* = {18}; GCP_CLASSIN* = {19}; GCP_MAXEXTENT* = {20}; GCP_JUSTIFYIN* = {21}; GCP_DISPLAYZWG* = {22}; GCP_SYMSWAPOFF* = {23}; GCP_NUMERICOVERRIDE* = {24}; GCP_NEUTRALOVERRIDE* = {25}; GCP_NUMERICSLATIN* = {26}; GCP_NUMERICSLOCAL* = {27}; GCPCLASS_LATIN* = 1 (* {0} *); GCPCLASS_HEBREW* = 2 (* {1} *); GCPCLASS_ARABIC* = 2 (* {1} *); GCPCLASS_NEUTRAL* = 3 (* {0, 1} *); GCPCLASS_LOCALNUMBER* = 4 (* {2} *); GCPCLASS_LATINNUMBER* = 5 (* {0, 2} *); GCPCLASS_LATINNUMERICTERMINATOR* = 6 (* {1, 2} *); GCPCLASS_LATINNUMERICSEPARATOR* = 7 (* {0..2} *); GCPCLASS_NUMERICSEPARATOR* = 8 (* {3} *); GCPCLASS_PREBOUNDLTR* = 128 (* {7} *); GCPCLASS_PREBOUNDRTL* = 64 (* {6} *); GCPCLASS_POSTBOUNDLTR* = 32 (* {5} *); GCPCLASS_POSTBOUNDRTL* = 16 (* {4} *); GCPGLYPH_LINKBEFORE* = 32768 (* {15} *); GCPGLYPH_LINKAFTER* = 16384 (* {14} *); TT_AVAILABLE* = 1 (* {0} *); TT_ENABLED* = 2 (* {1} *); PFD_TYPE_RGBA* = 0 (* {} *); PFD_TYPE_COLORINDEX* = 1 (* {0} *); PFD_MAIN_PLANE* = 0 (* {} *); PFD_OVERLAY_PLANE* = 1 (* {0} *); PFD_UNDERLAY_PLANE* = -1 (* {0..31} *); PFD_DOUBLEBUFFER* = {0}; PFD_STEREO* = {1}; PFD_DRAW_TO_WINDOW* = {2}; PFD_DRAW_TO_BITMAP* = {3}; PFD_SUPPORT_GDI* = {4}; PFD_SUPPORT_OPENGL* = {5}; PFD_GENERIC_FORMAT* = {6}; PFD_NEED_PALETTE* = {7}; PFD_NEED_SYSTEM_PALETTE* = {8}; PFD_SWAP_EXCHANGE* = {9}; PFD_SWAP_COPY* = {10}; PFD_SWAP_LAYER_BUFFERS* = {11}; PFD_DOUBLEBUFFER_DONTCARE* = {30}; PFD_STEREO_DONTCARE* = {31}; DC_BINADJUST* = 19 (* {0, 1, 4} *); DC_EMF_COMPLIANT* = 20 (* {2, 4} *); DC_DATATYPE_PRODUCED* = 21 (* {0, 2, 4} *); DC_COLLATE* = 22 (* {1, 2, 4} *); DCTT_BITMAP* = {0}; DCTT_DOWNLOAD* = {1}; DCTT_SUBDEV* = {2}; DCTT_DOWNLOAD_OUTLINE* = {3}; DCBA_FACEUPNONE* = 0 (* {} *); DCBA_FACEUPCENTER* = 1 (* {0} *); DCBA_FACEUPLEFT* = 2 (* {1} *); DCBA_FACEUPRIGHT* = 3 (* {0, 1} *); DCBA_FACEDOWNNONE* = 256 (* {8} *); DCBA_FACEDOWNCENTER* = 257 (* {0, 8} *); DCBA_FACEDOWNLEFT* = 258 (* {1, 8} *); DCBA_FACEDOWNRIGHT* = 259 (* {0, 1, 8} *); CA_NEGATIVE* = 1 (* {0} *); CA_LOG_FILTER* = 2 (* {1} *); ILLUMINANT_DEVICE_DEFAULT* = 0 (* {} *); ILLUMINANT_A* = 1 (* {0} *); ILLUMINANT_B* = 2 (* {1} *); ILLUMINANT_C* = 3 (* {0, 1} *); ILLUMINANT_D50* = 4 (* {2} *); ILLUMINANT_D55* = 5 (* {0, 2} *); ILLUMINANT_D65* = 6 (* {1, 2} *); ILLUMINANT_D75* = 7 (* {0..2} *); ILLUMINANT_F2* = 8 (* {3} *); ILLUMINANT_MAX_INDEX* = 8 (* {3} *); ILLUMINANT_TUNGSTEN* = 1 (* {0} *); ILLUMINANT_DAYLIGHT* = 3 (* {0, 1} *); ILLUMINANT_FLUORESCENT* = 8 (* {3} *); ILLUMINANT_NTSC* = 3 (* {0, 1} *); RGB_GAMMA_MIN* = 1344 (* {6, 8, 10} *); RGB_GAMMA_MAX* = 65000 (* {3, 5..8, 10..15} *); REFERENCE_WHITE_MIN* = 6000 (* {4..6, 8..10, 12} *); REFERENCE_WHITE_MAX* = 10000 (* {4, 8..10, 13} *); REFERENCE_BLACK_MIN* = 0 (* {} *); REFERENCE_BLACK_MAX* = 4000 (* {5, 7..11} *); COLOR_ADJ_MIN* = -100 (* {2..4, 7..31} *); COLOR_ADJ_MAX* = 100 (* {2, 5, 6} *); DI_APPBANDING* = 1 (* {0} *); FONTMAPPER_MAX* = 10 (* {1, 3} *); ICM_OFF* = 1 (* {0} *); ICM_ON* = 2 (* {1} *); ICM_QUERY* = 3 (* {0, 1} *); ICM_ADDPROFILE* = 1 (* {0} *); ICM_DELETEPROFILE* = 2 (* {1} *); ICM_QUERYPROFILE* = 3 (* {0, 1} *); ICM_SETDEFAULTPROFILE* = 4 (* {2} *); ICM_REGISTERICMATCHER* = 5 (* {0, 2} *); ICM_UNREGISTERICMATCHER* = 6 (* {1, 2} *); ICM_QUERYMATCH* = 7 (* {0..2} *); ENHMETA_SIGNATURE* = 1179469088 (* {5, 8, 10, 14, 16, 18, 19, 22, 25, 26, 30} *); ENHMETA_STOCK_OBJECT* = 80000000H; EMR_HEADER* = 1 (* {0} *); EMR_POLYBEZIER* = 2 (* {1} *); EMR_POLYGON* = 3 (* {0, 1} *); EMR_POLYLINE* = 4 (* {2} *); EMR_POLYBEZIERTO* = 5 (* {0, 2} *); EMR_POLYLINETO* = 6 (* {1, 2} *); EMR_POLYPOLYLINE* = 7 (* {0..2} *); EMR_POLYPOLYGON* = 8 (* {3} *); EMR_SETWINDOWEXTEX* = 9 (* {0, 3} *); EMR_SETWINDOWORGEX* = 10 (* {1, 3} *); EMR_SETVIEWPORTEXTEX* = 11 (* {0, 1, 3} *); EMR_SETVIEWPORTORGEX* = 12 (* {2, 3} *); EMR_SETBRUSHORGEX* = 13 (* {0, 2, 3} *); EMR_EOF* = 14 (* {1..3} *); EMR_SETPIXELV* = 15 (* {0..3} *); EMR_SETMAPPERFLAGS* = 16 (* {4} *); EMR_SETMAPMODE* = 17 (* {0, 4} *); EMR_SETBKMODE* = 18 (* {1, 4} *); EMR_SETPOLYFILLMODE* = 19 (* {0, 1, 4} *); EMR_SETROP2* = 20 (* {2, 4} *); EMR_SETSTRETCHBLTMODE* = 21 (* {0, 2, 4} *); EMR_SETTEXTALIGN* = 22 (* {1, 2, 4} *); EMR_SETCOLORADJUSTMENT* = 23 (* {0..2, 4} *); EMR_SETTEXTCOLOR* = 24 (* {3, 4} *); EMR_SETBKCOLOR* = 25 (* {0, 3, 4} *); EMR_OFFSETCLIPRGN* = 26 (* {1, 3, 4} *); EMR_MOVETOEX* = 27 (* {0, 1, 3, 4} *); EMR_SETMETARGN* = 28 (* {2..4} *); EMR_EXCLUDECLIPRECT* = 29 (* {0, 2..4} *); EMR_INTERSECTCLIPRECT* = 30 (* {1..4} *); EMR_SCALEVIEWPORTEXTEX* = 31 (* {0..4} *); EMR_SCALEWINDOWEXTEX* = 32 (* {5} *); EMR_SAVEDC* = 33 (* {0, 5} *); EMR_RESTOREDC* = 34 (* {1, 5} *); EMR_SETWORLDTRANSFORM* = 35 (* {0, 1, 5} *); EMR_MODIFYWORLDTRANSFORM* = 36 (* {2, 5} *); EMR_SELECTOBJECT* = 37 (* {0, 2, 5} *); EMR_CREATEPEN* = 38 (* {1, 2, 5} *); EMR_CREATEBRUSHINDIRECT* = 39 (* {0..2, 5} *); EMR_DELETEOBJECT* = 40 (* {3, 5} *); EMR_ANGLEARC* = 41 (* {0, 3, 5} *); EMR_ELLIPSE* = 42 (* {1, 3, 5} *); EMR_RECTANGLE* = 43 (* {0, 1, 3, 5} *); EMR_ROUNDRECT* = 44 (* {2, 3, 5} *); EMR_ARC* = 45 (* {0, 2, 3, 5} *); EMR_CHORD* = 46 (* {1..3, 5} *); EMR_PIE* = 47 (* {0..3, 5} *); EMR_SELECTPALETTE* = 48 (* {4, 5} *); EMR_CREATEPALETTE* = 49 (* {0, 4, 5} *); EMR_SETPALETTEENTRIES* = 50 (* {1, 4, 5} *); EMR_RESIZEPALETTE* = 51 (* {0, 1, 4, 5} *); EMR_REALIZEPALETTE* = 52 (* {2, 4, 5} *); EMR_EXTFLOODFILL* = 53 (* {0, 2, 4, 5} *); EMR_LINETO* = 54 (* {1, 2, 4, 5} *); EMR_ARCTO* = 55 (* {0..2, 4, 5} *); EMR_POLYDRAW* = 56 (* {3..5} *); EMR_SETARCDIRECTION* = 57 (* {0, 3..5} *); EMR_SETMITERLIMIT* = 58 (* {1, 3..5} *); EMR_BEGINPATH* = 59 (* {0, 1, 3..5} *); EMR_ENDPATH* = 60 (* {2..5} *); EMR_CLOSEFIGURE* = 61 (* {0, 2..5} *); EMR_FILLPATH* = 62 (* {1..5} *); EMR_STROKEANDFILLPATH* = 63 (* {0..5} *); EMR_STROKEPATH* = 64 (* {6} *); EMR_FLATTENPATH* = 65 (* {0, 6} *); EMR_WIDENPATH* = 66 (* {1, 6} *); EMR_SELECTCLIPPATH* = 67 (* {0, 1, 6} *); EMR_ABORTPATH* = 68 (* {2, 6} *); EMR_GDICOMMENT* = 70 (* {1, 2, 6} *); EMR_FILLRGN* = 71 (* {0..2, 6} *); EMR_FRAMERGN* = 72 (* {3, 6} *); EMR_INVERTRGN* = 73 (* {0, 3, 6} *); EMR_PAINTRGN* = 74 (* {1, 3, 6} *); EMR_EXTSELECTCLIPRGN* = 75 (* {0, 1, 3, 6} *); EMR_BITBLT* = 76 (* {2, 3, 6} *); EMR_STRETCHBLT* = 77 (* {0, 2, 3, 6} *); EMR_MASKBLT* = 78 (* {1..3, 6} *); EMR_PLGBLT* = 79 (* {0..3, 6} *); EMR_SETDIBITSTODEVICE* = 80 (* {4, 6} *); EMR_STRETCHDIBITS* = 81 (* {0, 4, 6} *); EMR_EXTCREATEFONTINDIRECTW* = 82 (* {1, 4, 6} *); EMR_EXTTEXTOUTA* = 83 (* {0, 1, 4, 6} *); EMR_EXTTEXTOUTW* = 84 (* {2, 4, 6} *); EMR_POLYBEZIER16* = 85 (* {0, 2, 4, 6} *); EMR_POLYGON16* = 86 (* {1, 2, 4, 6} *); EMR_POLYLINE16* = 87 (* {0..2, 4, 6} *); EMR_POLYBEZIERTO16* = 88 (* {3, 4, 6} *); EMR_POLYLINETO16* = 89 (* {0, 3, 4, 6} *); EMR_POLYPOLYLINE16* = 90 (* {1, 3, 4, 6} *); EMR_POLYPOLYGON16* = 91 (* {0, 1, 3, 4, 6} *); EMR_POLYDRAW16* = 92 (* {2..4, 6} *); EMR_CREATEMONOBRUSH* = 93 (* {0, 2..4, 6} *); EMR_CREATEDIBPATTERNBRUSHPT* = 94 (* {1..4, 6} *); EMR_EXTCREATEPEN* = 95 (* {0..4, 6} *); EMR_POLYTEXTOUTA* = 96 (* {5, 6} *); EMR_POLYTEXTOUTW* = 97 (* {0, 5, 6} *); EMR_SETICMMODE* = 98 (* {1, 5, 6} *); EMR_CREATECOLORSPACE* = 99 (* {0, 1, 5, 6} *); EMR_SETCOLORSPACE* = 100 (* {2, 5, 6} *); EMR_DELETECOLORSPACE* = 101 (* {0, 2, 5, 6} *); EMR_GLSRECORD* = 102 (* {1, 2, 5, 6} *); EMR_GLSBOUNDEDRECORD* = 103 (* {0..2, 5, 6} *); EMR_PIXELFORMAT* = 104 (* {3, 5, 6} *); EMR_MIN* = 1 (* {0} *); EMR_MAX* = 104 (* {3, 5, 6} *); GDICOMMENT_IDENTIFIER* = 1128875079 (* {0..2, 6, 10, 14, 16, 19, 22, 24, 25, 30} *); GDICOMMENT_WINDOWS_METAFILE* = -2147483647 (* {0, 31} *); GDICOMMENT_BEGINGROUP* = 2 (* {1} *); GDICOMMENT_ENDGROUP* = 3 (* {0, 1} *); GDICOMMENT_MULTIFORMATS* = 1073741828 (* {2, 30} *); EPS_SIGNATURE* = 1179865157 (* {0, 2, 6, 12, 14, 16, 17, 20, 22, 25, 26, 30} *); WGL_FONT_LINES* = 0 (* {} *); WGL_FONT_POLYGONS* = 1 (* {0} *); LPD_DOUBLEBUFFER* = {0}; LPD_STEREO* = {1}; LPD_SUPPORT_GDI* = {4}; LPD_SUPPORT_OPENGL* = {5}; LPD_SHARE_DEPTH* = {6}; LPD_SHARE_STENCIL* = {7}; LPD_SHARE_ACCUM* = {8}; LPD_SWAP_EXCHANGE* = {9}; LPD_SWAP_COPY* = {10}; LPD_TRANSPARENT* = {12}; LPD_TYPE_RGBA* = {}; LPD_TYPE_COLORINDEX* = {0}; WGL_SWAP_MAIN_PLANE* = {0}; WGL_SWAP_OVERLAY1* = {1}; WGL_SWAP_OVERLAY2* = {2}; WGL_SWAP_OVERLAY3* = {3}; WGL_SWAP_OVERLAY4* = {4}; WGL_SWAP_OVERLAY5* = {5}; WGL_SWAP_OVERLAY6* = {6}; WGL_SWAP_OVERLAY7* = {7}; WGL_SWAP_OVERLAY8* = {8}; WGL_SWAP_OVERLAY9* = {9}; WGL_SWAP_OVERLAY10* = {10}; WGL_SWAP_OVERLAY11* = {11}; WGL_SWAP_OVERLAY12* = {12}; WGL_SWAP_OVERLAY13* = {13}; WGL_SWAP_OVERLAY14* = {14}; WGL_SWAP_OVERLAY15* = {15}; WGL_SWAP_UNDERLAY1* = {16}; WGL_SWAP_UNDERLAY2* = {17}; WGL_SWAP_UNDERLAY3* = {18}; WGL_SWAP_UNDERLAY4* = {19}; WGL_SWAP_UNDERLAY5* = {20}; WGL_SWAP_UNDERLAY6* = {21}; WGL_SWAP_UNDERLAY7* = {22}; WGL_SWAP_UNDERLAY8* = {23}; WGL_SWAP_UNDERLAY9* = {24}; WGL_SWAP_UNDERLAY10* = {25}; WGL_SWAP_UNDERLAY11* = {26}; WGL_SWAP_UNDERLAY12* = {27}; WGL_SWAP_UNDERLAY13* = {28}; WGL_SWAP_UNDERLAY14* = {29}; WGL_SWAP_UNDERLAY15* = {30}; RT_CURSOR* = 1 (* {0} *); RT_BITMAP* = 2 (* {1} *); RT_ICON* = 3 (* {0, 1} *); RT_MENU* = 4 (* {2} *); RT_DIALOG* = 5 (* {0, 2} *); RT_STRING* = 6 (* {1, 2} *); RT_FONTDIR* = 7 (* {0..2} *); RT_FONT* = 8 (* {3} *); RT_ACCELERATOR* = 9 (* {0, 3} *); RT_RCDATA* = 10 (* {1, 3} *); RT_MESSAGETABLE* = 11 (* {0, 1, 3} *); DIFFERENCE* = 11 (* {0, 1, 3} *); RT_GROUP_CURSOR* = 12 (* {2, 3} *); RT_GROUP_ICON* = 14 (* {1..3} *); RT_VERSION* = 16 (* {4} *); RT_DLGINCLUDE* = 17 (* {0, 4} *); RT_PLUGPLAY* = 19 (* {0, 1, 4} *); RT_VXD* = 20 (* {2, 4} *); SB_HORZ* = 0 (* {} *); SB_VERT* = 1 (* {0} *); SB_CTL* = 2 (* {1} *); SB_BOTH* = 3 (* {0, 1} *); SB_LINEUP* = 0 (* {} *); SB_LINELEFT* = 0 (* {} *); SB_LINEDOWN* = 1 (* {0} *); SB_LINERIGHT* = 1 (* {0} *); SB_PAGEUP* = 2 (* {1} *); SB_PAGELEFT* = 2 (* {1} *); SB_PAGEDOWN* = 3 (* {0, 1} *); SB_PAGERIGHT* = 3 (* {0, 1} *); SB_THUMBPOSITION* = 4 (* {2} *); SB_THUMBTRACK* = 5 (* {0, 2} *); SB_TOP* = 6 (* {1, 2} *); SB_LEFT* = 6 (* {1, 2} *); SB_BOTTOM* = 7 (* {0..2} *); SB_RIGHT* = 7 (* {0..2} *); SB_ENDSCROLL* = 8 (* {3} *); SW_HIDE* = 0 (* {} *); SW_SHOWNORMAL* = 1 (* {0} *); SW_NORMAL* = 1 (* {0} *); SW_SHOWMINIMIZED* = 2 (* {1} *); SW_SHOWMAXIMIZED* = 3 (* {0, 1} *); SW_MAXIMIZE* = 3 (* {0, 1} *); SW_SHOWNOACTIVATE* = 4 (* {2} *); SW_SHOW* = 5 (* {0, 2} *); SW_MINIMIZE* = 6 (* {1, 2} *); SW_SHOWMINNOACTIVE* = 7 (* {0..2} *); SW_SHOWNA* = 8 (* {3} *); SW_RESTORE* = 9 (* {0, 3} *); SW_SHOWDEFAULT* = 10 (* {1, 3} *); SW_MAX* = 10 (* {1, 3} *); HIDE_WINDOW* = 0 (* {} *); SHOW_OPENWINDOW* = 1 (* {0} *); SHOW_ICONWINDOW* = 2 (* {1} *); SHOW_FULLSCREEN* = 3 (* {0, 1} *); SHOW_OPENNOACTIVATE* = 4 (* {2} *); SW_PARENTCLOSING* = 1 (* {0} *); SW_OTHERZOOM* = 2 (* {1} *); SW_PARENTOPENING* = 3 (* {0, 1} *); SW_OTHERUNZOOM* = 4 (* {2} *); KF_EXTENDED* = 256 (* {8} *); KF_DLGMODE* = 2048 (* {11} *); KF_MENUMODE* = 4096 (* {12} *); KF_ALTDOWN* = 8192 (* {13} *); KF_REPEAT* = 16384 (* {14} *); KF_UP* = 32768 (* {15} *); VK_LBUTTON* = 1 (* {0} *); VK_RBUTTON* = 2 (* {1} *); VK_CANCEL* = 3 (* {0, 1} *); VK_MBUTTON* = 4 (* {2} *); VK_BACK* = 8 (* {3} *); VK_TAB* = 9 (* {0, 3} *); VK_CLEAR* = 12 (* {2, 3} *); VK_RETURN* = 13 (* {0, 2, 3} *); VK_SHIFT* = 16 (* {4} *); VK_CONTROL* = 17 (* {0, 4} *); VK_MENU* = 18 (* {1, 4} *); VK_PAUSE* = 19 (* {0, 1, 4} *); VK_CAPITAL* = 20 (* {2, 4} *); VK_ESCAPE* = 27 (* {0, 1, 3, 4} *); VK_SPACE* = 32 (* {5} *); VK_PRIOR* = 33 (* {0, 5} *); VK_NEXT* = 34 (* {1, 5} *); VK_END* = 35 (* {0, 1, 5} *); VK_HOME* = 36 (* {2, 5} *); VK_LEFT* = 37 (* {0, 2, 5} *); VK_UP* = 38 (* {1, 2, 5} *); VK_RIGHT* = 39 (* {0..2, 5} *); VK_DOWN* = 40 (* {3, 5} *); VK_SELECT* = 41 (* {0, 3, 5} *); VK_PRINT* = 42 (* {1, 3, 5} *); VK_EXECUTE* = 43 (* {0, 1, 3, 5} *); VK_SNAPSHOT* = 44 (* {2, 3, 5} *); VK_INSERT* = 45 (* {0, 2, 3, 5} *); VK_DELETE* = 46 (* {1..3, 5} *); VK_HELP* = 47 (* {0..3, 5} *); VK_LWIN* = 91 (* {0, 1, 3, 4, 6} *); VK_RWIN* = 92 (* {2..4, 6} *); VK_APPS* = 93 (* {0, 2..4, 6} *); VK_NUMPAD0* = 96 (* {5, 6} *); VK_NUMPAD1* = 97 (* {0, 5, 6} *); VK_NUMPAD2* = 98 (* {1, 5, 6} *); VK_NUMPAD3* = 99 (* {0, 1, 5, 6} *); VK_NUMPAD4* = 100 (* {2, 5, 6} *); VK_NUMPAD5* = 101 (* {0, 2, 5, 6} *); VK_NUMPAD6* = 102 (* {1, 2, 5, 6} *); VK_NUMPAD7* = 103 (* {0..2, 5, 6} *); VK_NUMPAD8* = 104 (* {3, 5, 6} *); VK_NUMPAD9* = 105 (* {0, 3, 5, 6} *); VK_MULTIPLY* = 106 (* {1, 3, 5, 6} *); VK_ADD* = 107 (* {0, 1, 3, 5, 6} *); VK_SEPARATOR* = 108 (* {2, 3, 5, 6} *); VK_SUBTRACT* = 109 (* {0, 2, 3, 5, 6} *); VK_DECIMAL* = 110 (* {1..3, 5, 6} *); VK_DIVIDE* = 111 (* {0..3, 5, 6} *); VK_F1* = 112 (* {4..6} *); VK_F2* = 113 (* {0, 4..6} *); VK_F3* = 114 (* {1, 4..6} *); VK_F4* = 115 (* {0, 1, 4..6} *); VK_F5* = 116 (* {2, 4..6} *); VK_F6* = 117 (* {0, 2, 4..6} *); VK_F7* = 118 (* {1, 2, 4..6} *); VK_F8* = 119 (* {0..2, 4..6} *); VK_F9* = 120 (* {3..6} *); VK_F10* = 121 (* {0, 3..6} *); VK_F11* = 122 (* {1, 3..6} *); VK_F12* = 123 (* {0, 1, 3..6} *); VK_F13* = 124 (* {2..6} *); VK_F14* = 125 (* {0, 2..6} *); VK_F15* = 126 (* {1..6} *); VK_F16* = 127 (* {0..6} *); VK_F17* = 128 (* {7} *); VK_F18* = 129 (* {0, 7} *); VK_F19* = 130 (* {1, 7} *); VK_F20* = 131 (* {0, 1, 7} *); VK_F21* = 132 (* {2, 7} *); VK_F22* = 133 (* {0, 2, 7} *); VK_F23* = 134 (* {1, 2, 7} *); VK_F24* = 135 (* {0..2, 7} *); VK_NUMLOCK* = 144 (* {4, 7} *); VK_SCROLL* = 145 (* {0, 4, 7} *); VK_LSHIFT* = 160 (* {5, 7} *); VK_RSHIFT* = 161 (* {0, 5, 7} *); VK_LCONTROL* = 162 (* {1, 5, 7} *); VK_RCONTROL* = 163 (* {0, 1, 5, 7} *); VK_LMENU* = 164 (* {2, 5, 7} *); VK_RMENU* = 165 (* {0, 2, 5, 7} *); VK_PROCESSKEY* = 229 (* {0, 2, 5..7} *); VK_ATTN* = 246 (* {1, 2, 4..7} *); VK_CRSEL* = 247 (* {0..2, 4..7} *); VK_EXSEL* = 248 (* {3..7} *); VK_EREOF* = 249 (* {0, 3..7} *); VK_PLAY* = 250 (* {1, 3..7} *); VK_ZOOM* = 251 (* {0, 1, 3..7} *); VK_NONAME* = 252 (* {2..7} *); VK_PA1* = 253 (* {0, 2..7} *); VK_OEM_CLEAR* = 254 (* {1..7} *); WH_MIN* = -1 (* {0..31} *); WH_MSGFILTER* = -1 (* {0..31} *); WH_JOURNALRECORD* = 0 (* {} *); WH_JOURNALPLAYBACK* = 1 (* {0} *); WH_KEYBOARD* = 2 (* {1} *); WH_GETMESSAGE* = 3 (* {0, 1} *); WH_CALLWNDPROC* = 4 (* {2} *); WH_CBT* = 5 (* {0, 2} *); WH_SYSMSGFILTER* = 6 (* {1, 2} *); WH_MOUSE* = 7 (* {0..2} *); WH_HARDWARE* = 8 (* {3} *); WH_DEBUG* = 9 (* {0, 3} *); WH_SHELL* = 10 (* {1, 3} *); WH_FOREGROUNDIDLE* = 11 (* {0, 1, 3} *); WH_CALLWNDPROCRET* = 12 (* {2, 3} *); WH_MAX* = 12 (* {2, 3} *); WH_MINHOOK* = -1 (* {0..31} *); WH_MAXHOOK* = 12 (* {2, 3} *); HC_ACTION* = 0 (* {} *); HC_GETNEXT* = 1 (* {0} *); HC_SKIP* = 2 (* {1} *); HC_NOREMOVE* = 3 (* {0, 1} *); HC_NOREM* = 3 (* {0, 1} *); HC_SYSMODALON* = 4 (* {2} *); HC_SYSMODALOFF* = 5 (* {0, 2} *); HCBT_MOVESIZE* = 0 (* {} *); HCBT_MINMAX* = 1 (* {0} *); HCBT_QS* = 2 (* {1} *); HCBT_CREATEWND* = 3 (* {0, 1} *); HCBT_DESTROYWND* = 4 (* {2} *); HCBT_ACTIVATE* = 5 (* {0, 2} *); HCBT_CLICKSKIPPED* = 6 (* {1, 2} *); HCBT_KEYSKIPPED* = 7 (* {0..2} *); HCBT_SYSCOMMAND* = 8 (* {3} *); HCBT_SETFOCUS* = 9 (* {0, 3} *); MSGF_DIALOGBOX* = 0 (* {} *); MSGF_MESSAGEBOX* = 1 (* {0} *); MSGF_MENU* = 2 (* {1} *); MSGF_MOVE* = 3 (* {0, 1} *); MSGF_SIZE* = 4 (* {2} *); MSGF_SCROLLBAR* = 5 (* {0, 2} *); MSGF_NEXTWINDOW* = 6 (* {1, 2} *); MSGF_MAINLOOP* = 8 (* {3} *); MSGF_MAX* = 8 (* {3} *); MSGF_USER* = 4096 (* {12} *); HSHELL_WINDOWCREATED* = 1 (* {0} *); HSHELL_WINDOWDESTROYED* = 2 (* {1} *); HSHELL_ACTIVATESHELLWINDOW* = 3 (* {0, 1} *); HSHELL_WINDOWACTIVATED* = 4 (* {2} *); HSHELL_GETMINRECT* = 5 (* {0, 2} *); HSHELL_REDRAW* = 6 (* {1, 2} *); HSHELL_TASKMAN* = 7 (* {0..2} *); HSHELL_LANGUAGE* = 8 (* {3} *); HKL_PREV* = 0 (* {} *); HKL_NEXT* = 1 (* {0} *); KLF_ACTIVATE* = 1 (* {0} *); KLF_SUBSTITUTE_OK* = 2 (* {1} *); KLF_UNLOADPREVIOUS* = 4 (* {2} *); KLF_REORDER* = 8 (* {3} *); KLF_REPLACELANG* = 16 (* {4} *); KLF_NOTELLSHELL* = 128 (* {7} *); KL_NAMELENGTH* = 9 (* {0, 3} *); DESKTOP_READOBJECTS* = {0}; DESKTOP_CREATEWINDOW* = {1}; DESKTOP_CREATEMENU* = {2}; DESKTOP_HOOKCONTROL* = {3}; DESKTOP_JOURNALRECORD* = {4}; DESKTOP_JOURNALPLAYBACK* = {5}; DESKTOP_ENUMERATE* = {6}; DESKTOP_WRITEOBJECTS* = {7}; DESKTOP_SWITCHDESKTOP* = {8}; DF_ALLOWOTHERACCOUNTHOOK* = {0}; WINSTA_ENUMDESKTOPS* = {0}; WINSTA_READATTRIBUTES* = {1}; WINSTA_ACCESSCLIPBOARD* = {2}; WINSTA_CREATEDESKTOP* = {3}; WINSTA_WRITEATTRIBUTES* = {4}; WINSTA_ACCESSGLOBALATOMS* = {5}; WINSTA_EXITWINDOWS* = {6}; WINSTA_ENUMERATE* = {8}; WINSTA_READSCREEN* = {9}; WSF_VISIBLE* = {0}; UOI_FLAGS* = 1 (* {0} *); UOI_NAME* = 2 (* {1} *); UOI_TYPE* = 3 (* {0, 1} *); UOI_USER_SID* = 4 (* {2} *); GWL_WNDPROC* = -4 (* {2..31} *); GWL_HINSTANCE* = -6 (* {1, 3..31} *); GWL_HWNDPARENT* = -8 (* {3..31} *); GWL_STYLE* = -16 (* {4..31} *); GWL_EXSTYLE* = -20 (* {2, 3, 5..31} *); GWL_USERDATA* = -21 (* {0, 1, 3, 5..31} *); GWL_ID* = -12 (* {2, 4..31} *); GCL_MENUNAME* = -8 (* {3..31} *); GCL_HBRBACKGROUND* = -10 (* {1, 2, 4..31} *); GCL_HCURSOR* = -12 (* {2, 4..31} *); GCL_HICON* = -14 (* {1, 4..31} *); GCL_HMODULE* = -16 (* {4..31} *); GCL_CBWNDEXTRA* = -18 (* {1..3, 5..31} *); GCL_CBCLSEXTRA* = -20 (* {2, 3, 5..31} *); GCL_WNDPROC* = -24 (* {3, 5..31} *); GCL_STYLE* = -26 (* {1, 2, 5..31} *); GCW_ATOM* = -32 (* {5..31} *); GCL_HICONSM* = -34 (* {1..4, 6..31} *); WM_NULL* = 0 (* {} *); WM_CREATE* = 1 (* {0} *); WM_DESTROY* = 2 (* {1} *); WM_MOVE* = 3 (* {0, 1} *); WM_SIZE* = 5 (* {0, 2} *); WM_ACTIVATE* = 6 (* {1, 2} *); WA_INACTIVE* = 0 (* {} *); WA_ACTIVE* = 1 (* {0} *); WA_CLICKACTIVE* = 2 (* {1} *); WM_SETFOCUS* = 7 (* {0..2} *); WM_KILLFOCUS* = 8 (* {3} *); WM_ENABLE* = 10 (* {1, 3} *); WM_SETREDRAW* = 11 (* {0, 1, 3} *); WM_SETTEXT* = 12 (* {2, 3} *); WM_GETTEXT* = 13 (* {0, 2, 3} *); WM_GETTEXTLENGTH* = 14 (* {1..3} *); WM_PAINT* = 15 (* {0..3} *); WM_CLOSE* = 16 (* {4} *); WM_QUERYENDSESSION* = 17 (* {0, 4} *); WM_QUIT* = 18 (* {1, 4} *); WM_QUERYOPEN* = 19 (* {0, 1, 4} *); WM_ERASEBKGND* = 20 (* {2, 4} *); WM_SYSCOLORCHANGE* = 21 (* {0, 2, 4} *); WM_ENDSESSION* = 22 (* {1, 2, 4} *); WM_SHOWWINDOW* = 24 (* {3, 4} *); WM_WININICHANGE* = 26 (* {1, 3, 4} *); WM_SETTINGCHANGE* = 26 (* {1, 3, 4} *); WM_DEVMODECHANGE* = 27 (* {0, 1, 3, 4} *); WM_ACTIVATEAPP* = 28 (* {2..4} *); WM_FONTCHANGE* = 29 (* {0, 2..4} *); WM_TIMECHANGE* = 30 (* {1..4} *); WM_CANCELMODE* = 31 (* {0..4} *); WM_SETCURSOR* = 32 (* {5} *); WM_MOUSEACTIVATE* = 33 (* {0, 5} *); WM_CHILDACTIVATE* = 34 (* {1, 5} *); WM_QUEUESYNC* = 35 (* {0, 1, 5} *); WM_GETMINMAXINFO* = 36 (* {2, 5} *); WM_PAINTICON* = 38 (* {1, 2, 5} *); WM_ICONERASEBKGND* = 39 (* {0..2, 5} *); WM_NEXTDLGCTL* = 40 (* {3, 5} *); WM_SPOOLERSTATUS* = 42 (* {1, 3, 5} *); WM_DRAWITEM* = 43 (* {0, 1, 3, 5} *); WM_MEASUREITEM* = 44 (* {2, 3, 5} *); WM_DELETEITEM* = 45 (* {0, 2, 3, 5} *); WM_VKEYTOITEM* = 46 (* {1..3, 5} *); WM_CHARTOITEM* = 47 (* {0..3, 5} *); WM_SETFONT* = 48 (* {4, 5} *); WM_GETFONT* = 49 (* {0, 4, 5} *); WM_SETHOTKEY* = 50 (* {1, 4, 5} *); WM_GETHOTKEY* = 51 (* {0, 1, 4, 5} *); WM_QUERYDRAGICON* = 55 (* {0..2, 4, 5} *); WM_COMPAREITEM* = 57 (* {0, 3..5} *); WM_COMPACTING* = 65 (* {0, 6} *); WM_COMMNOTIFY* = 68 (* {2, 6} *); WM_WINDOWPOSCHANGING* = 70 (* {1, 2, 6} *); WM_WINDOWPOSCHANGED* = 71 (* {0..2, 6} *); WM_POWER* = 72 (* {3, 6} *); PWR_OK* = 1 (* {0} *); PWR_FAIL* = -1 (* {0..31} *); PWR_SUSPENDREQUEST* = 1 (* {0} *); PWR_SUSPENDRESUME* = 2 (* {1} *); PWR_CRITICALRESUME* = 3 (* {0, 1} *); WM_COPYDATA* = 74 (* {1, 3, 6} *); WM_CANCELJOURNAL* = 75 (* {0, 1, 3, 6} *); WM_NOTIFY* = 78 (* {1..3, 6} *); WM_INPUTLANGCHANGEREQUEST* = 80 (* {4, 6} *); WM_INPUTLANGCHANGE* = 81 (* {0, 4, 6} *); WM_TCARD* = 82 (* {1, 4, 6} *); WM_HELP* = 83 (* {0, 1, 4, 6} *); WM_USERCHANGED* = 84 (* {2, 4, 6} *); WM_NOTIFYFORMAT* = 85 (* {0, 2, 4, 6} *); NFR_ANSI* = 1 (* {0} *); NFR_UNICODE* = 2 (* {1} *); NF_QUERY* = 3 (* {0, 1} *); NF_REQUERY* = 4 (* {2} *); WM_CONTEXTMENU* = 123 (* {0, 1, 3..6} *); WM_STYLECHANGING* = 124 (* {2..6} *); WM_STYLECHANGED* = 125 (* {0, 2..6} *); WM_DISPLAYCHANGE* = 126 (* {1..6} *); WM_GETICON* = 127 (* {0..6} *); WM_SETICON* = 128 (* {7} *); WM_NCCREATE* = 129 (* {0, 7} *); WM_NCDESTROY* = 130 (* {1, 7} *); WM_NCCALCSIZE* = 131 (* {0, 1, 7} *); WM_NCHITTEST* = 132 (* {2, 7} *); WM_NCPAINT* = 133 (* {0, 2, 7} *); WM_NCACTIVATE* = 134 (* {1, 2, 7} *); WM_GETDLGCODE* = 135 (* {0..2, 7} *); WM_NCMOUSEMOVE* = 160 (* {5, 7} *); WM_NCLBUTTONDOWN* = 161 (* {0, 5, 7} *); WM_NCLBUTTONUP* = 162 (* {1, 5, 7} *); WM_NCLBUTTONDBLCLK* = 163 (* {0, 1, 5, 7} *); WM_NCRBUTTONDOWN* = 164 (* {2, 5, 7} *); WM_NCRBUTTONUP* = 165 (* {0, 2, 5, 7} *); WM_NCRBUTTONDBLCLK* = 166 (* {1, 2, 5, 7} *); WM_NCMBUTTONDOWN* = 167 (* {0..2, 5, 7} *); WM_NCMBUTTONUP* = 168 (* {3, 5, 7} *); WM_NCMBUTTONDBLCLK* = 169 (* {0, 3, 5, 7} *); WM_KEYFIRST* = 256 (* {8} *); WM_KEYDOWN* = 256 (* {8} *); WM_KEYUP* = 257 (* {0, 8} *); WM_CHAR* = 258 (* {1, 8} *); WM_DEADCHAR* = 259 (* {0, 1, 8} *); WM_SYSKEYDOWN* = 260 (* {2, 8} *); WM_SYSKEYUP* = 261 (* {0, 2, 8} *); WM_SYSCHAR* = 262 (* {1, 2, 8} *); WM_SYSDEADCHAR* = 263 (* {0..2, 8} *); WM_UNICHAR* = 265; WM_KEYLAST* = 265; WM_IME_STARTCOMPOSITION* = 269 (* {0, 2, 3, 8} *); WM_IME_ENDCOMPOSITION* = 270 (* {1..3, 8} *); WM_IME_COMPOSITION* = 271 (* {0..3, 8} *); WM_IME_KEYLAST* = 271 (* {0..3, 8} *); WM_INITDIALOG* = 272 (* {4, 8} *); WM_COMMAND* = 273 (* {0, 4, 8} *); WM_SYSCOMMAND* = 274 (* {1, 4, 8} *); WM_TIMER* = 275 (* {0, 1, 4, 8} *); WM_HSCROLL* = 276 (* {2, 4, 8} *); WM_VSCROLL* = 277 (* {0, 2, 4, 8} *); WM_INITMENU* = 278 (* {1, 2, 4, 8} *); WM_INITMENUPOPUP* = 279 (* {0..2, 4, 8} *); WM_MENUSELECT* = 287 (* {0..4, 8} *); WM_MENUCHAR* = 288 (* {5, 8} *); WM_ENTERIDLE* = 289 (* {0, 5, 8} *); WM_CTLCOLORMSGBOX* = 306 (* {1, 4, 5, 8} *); WM_CTLCOLOREDIT* = 307 (* {0, 1, 4, 5, 8} *); WM_CTLCOLORLISTBOX* = 308 (* {2, 4, 5, 8} *); WM_CTLCOLORBTN* = 309 (* {0, 2, 4, 5, 8} *); WM_CTLCOLORDLG* = 310 (* {1, 2, 4, 5, 8} *); WM_CTLCOLORSCROLLBAR* = 311 (* {0..2, 4, 5, 8} *); WM_CTLCOLORSTATIC* = 312 (* {3..5, 8} *); WM_MOUSEFIRST* = 512 (* {9} *); WM_MOUSEMOVE* = 512 (* {9} *); WM_LBUTTONDOWN* = 513 (* {0, 9} *); WM_LBUTTONUP* = 514 (* {1, 9} *); WM_LBUTTONDBLCLK* = 515 (* {0, 1, 9} *); WM_RBUTTONDOWN* = 516 (* {2, 9} *); WM_RBUTTONUP* = 517 (* {0, 2, 9} *); WM_RBUTTONDBLCLK* = 518 (* {1, 2, 9} *); WM_MBUTTONDOWN* = 519 (* {0..2, 9} *); WM_MBUTTONUP* = 520 (* {3, 9} *); WM_MBUTTONDBLCLK* = 521 (* {0, 3, 9} *); WM_MOUSELAST* = 521 (* {0, 3, 9} *); WM_MOUSEWHEEL* = 522; WM_PARENTNOTIFY* = 528 (* {4, 9} *); MENULOOP_WINDOW* = 0 (* {} *); MENULOOP_POPUP* = 1 (* {0} *); WM_ENTERMENULOOP* = 529 (* {0, 4, 9} *); WM_EXITMENULOOP* = 530 (* {1, 4, 9} *); WM_NEXTMENU* = 531 (* {0, 1, 4, 9} *); WM_SIZING* = 532 (* {2, 4, 9} *); WM_CAPTURECHANGED* = 533 (* {0, 2, 4, 9} *); WM_MOVING* = 534 (* {1, 2, 4, 9} *); WM_POWERBROADCAST* = 536 (* {3, 4, 9} *); WM_DEVICECHANGE* = 537 (* {0, 3, 4, 9} *); WM_IME_SETCONTEXT* = 641 (* {0, 7, 9} *); WM_IME_NOTIFY* = 642 (* {1, 7, 9} *); WM_IME_CONTROL* = 643 (* {0, 1, 7, 9} *); WM_IME_COMPOSITIONFULL* = 644 (* {2, 7, 9} *); WM_IME_SELECT* = 645 (* {0, 2, 7, 9} *); WM_IME_CHAR* = 646 (* {1, 2, 7, 9} *); WM_IME_KEYDOWN* = 656 (* {4, 7, 9} *); WM_IME_KEYUP* = 657 (* {0, 4, 7, 9} *); WM_MDICREATE* = 544 (* {5, 9} *); WM_MDIDESTROY* = 545 (* {0, 5, 9} *); WM_MDIACTIVATE* = 546 (* {1, 5, 9} *); WM_MDIRESTORE* = 547 (* {0, 1, 5, 9} *); WM_MDINEXT* = 548 (* {2, 5, 9} *); WM_MDIMAXIMIZE* = 549 (* {0, 2, 5, 9} *); WM_MDITILE* = 550 (* {1, 2, 5, 9} *); WM_MDICASCADE* = 551 (* {0..2, 5, 9} *); WM_MDIICONARRANGE* = 552 (* {3, 5, 9} *); WM_MDIGETACTIVE* = 553 (* {0, 3, 5, 9} *); WM_MDISETMENU* = 560 (* {4, 5, 9} *); WM_ENTERSIZEMOVE* = 561 (* {0, 4, 5, 9} *); WM_EXITSIZEMOVE* = 562 (* {1, 4, 5, 9} *); WM_DROPFILES* = 563 (* {0, 1, 4, 5, 9} *); WM_MDIREFRESHMENU* = 564 (* {2, 4, 5, 9} *); WM_CUT* = 768 (* {8, 9} *); WM_COPY* = 769 (* {0, 8, 9} *); WM_PASTE* = 770 (* {1, 8, 9} *); WM_CLEAR* = 771 (* {0, 1, 8, 9} *); WM_UNDO* = 772 (* {2, 8, 9} *); WM_RENDERFORMAT* = 773 (* {0, 2, 8, 9} *); WM_RENDERALLFORMATS* = 774 (* {1, 2, 8, 9} *); WM_DESTROYCLIPBOARD* = 775 (* {0..2, 8, 9} *); WM_DRAWCLIPBOARD* = 776 (* {3, 8, 9} *); WM_PAINTCLIPBOARD* = 777 (* {0, 3, 8, 9} *); WM_VSCROLLCLIPBOARD* = 778 (* {1, 3, 8, 9} *); WM_SIZECLIPBOARD* = 779 (* {0, 1, 3, 8, 9} *); WM_ASKCBFORMATNAME* = 780 (* {2, 3, 8, 9} *); WM_CHANGECBCHAIN* = 781 (* {0, 2, 3, 8, 9} *); WM_HSCROLLCLIPBOARD* = 782 (* {1..3, 8, 9} *); WM_QUERYNEWPALETTE* = 783 (* {0..3, 8, 9} *); WM_PALETTEISCHANGING* = 784 (* {4, 8, 9} *); WM_PALETTECHANGED* = 785 (* {0, 4, 8, 9} *); WM_HOTKEY* = 786 (* {1, 4, 8, 9} *); WM_PRINT* = 791 (* {0..2, 4, 8, 9} *); WM_PRINTCLIENT* = 792 (* {3, 4, 8, 9} *); WM_HANDHELDFIRST* = 856 (* {3, 4, 6, 8, 9} *); WM_HANDHELDLAST* = 863 (* {0..4, 6, 8, 9} *); WM_AFXFIRST* = 864 (* {5, 6, 8, 9} *); WM_AFXLAST* = 895 (* {0..6, 8, 9} *); WM_PENWINFIRST* = 896 (* {7..9} *); WM_PENWINLAST* = 911 (* {0..3, 7..9} *); WM_APP* = 32768 (* {15} *); WM_USER* = 1024 (* {10} *); WMSZ_LEFT* = 1 (* {0} *); WMSZ_RIGHT* = 2 (* {1} *); WMSZ_TOP* = 3 (* {0, 1} *); WMSZ_TOPLEFT* = 4 (* {2} *); WMSZ_TOPRIGHT* = 5 (* {0, 2} *); WMSZ_BOTTOM* = 6 (* {1, 2} *); WMSZ_BOTTOMLEFT* = 7 (* {0..2} *); WMSZ_BOTTOMRIGHT* = 8 (* {3} *); UNICODE_NOCHAR* = 0FFFFH; ST_BEGINSWP* = 0 (* {} *); ST_ENDSWP* = 1 (* {0} *); HTERROR* = -2 (* {1..31} *); HTTRANSPARENT* = -1 (* {0..31} *); HTNOWHERE* = 0 (* {} *); HTCLIENT* = 1 (* {0} *); HTCAPTION* = 2 (* {1} *); HTSYSMENU* = 3 (* {0, 1} *); HTGROWBOX* = 4 (* {2} *); HTSIZE* = 4 (* {2} *); HTMENU* = 5 (* {0, 2} *); HTHSCROLL* = 6 (* {1, 2} *); HTVSCROLL* = 7 (* {0..2} *); HTMINBUTTON* = 8 (* {3} *); HTMAXBUTTON* = 9 (* {0, 3} *); HTLEFT* = 10 (* {1, 3} *); HTRIGHT* = 11 (* {0, 1, 3} *); HTTOP* = 12 (* {2, 3} *); HTTOPLEFT* = 13 (* {0, 2, 3} *); HTTOPRIGHT* = 14 (* {1..3} *); HTBOTTOM* = 15 (* {0..3} *); HTBOTTOMLEFT* = 16 (* {4} *); HTBOTTOMRIGHT* = 17 (* {0, 4} *); HTBORDER* = 18 (* {1, 4} *); HTREDUCE* = 8 (* {3} *); HTZOOM* = 9 (* {0, 3} *); HTSIZEFIRST* = 10 (* {1, 3} *); HTSIZELAST* = 17 (* {0, 4} *); HTOBJECT* = 19 (* {0, 1, 4} *); HTCLOSE* = 20 (* {2, 4} *); HTHELP* = 21 (* {0, 2, 4} *); SMTO_NORMAL* = 0 (* {} *); SMTO_BLOCK* = 1 (* {0} *); SMTO_ABORTIFHUNG* = 2 (* {1} *); MA_ACTIVATE* = 1 (* {0} *); MA_ACTIVATEANDEAT* = 2 (* {1} *); MA_NOACTIVATE* = 3 (* {0, 1} *); MA_NOACTIVATEANDEAT* = 4 (* {2} *); ICON_SMALL* = 0 (* {} *); ICON_BIG* = 1 (* {0} *); SIZE_RESTORED* = 0 (* {} *); SIZE_MINIMIZED* = 1 (* {0} *); SIZE_MAXIMIZED* = 2 (* {1} *); SIZE_MAXSHOW* = 3 (* {0, 1} *); SIZE_MAXHIDE* = 4 (* {2} *); SIZENORMAL* = 0 (* {} *); SIZEICONIC* = 1 (* {0} *); SIZEFULLSCREEN* = 2 (* {1} *); SIZEZOOMSHOW* = 3 (* {0, 1} *); SIZEZOOMHIDE* = 4 (* {2} *); WVR_ALIGNTOP* = {4}; WVR_ALIGNLEFT* = {5}; WVR_ALIGNBOTTOM* = {6}; WVR_ALIGNRIGHT* = {7}; WVR_HREDRAW* = {8}; WVR_VREDRAW* = {9}; WVR_REDRAW* = {8, 9}; WVR_VALIDRECTS* = {10}; MK_LBUTTON* = {0}; MK_RBUTTON* = {1}; MK_SHIFT* = {2}; MK_CONTROL* = {3}; MK_MBUTTON* = {4}; WS_OVERLAPPED* = {}; WS_POPUP* = {31}; WS_CHILD* = {30}; WS_MINIMIZE* = {29}; WS_VISIBLE* = {28}; WS_DISABLED* = {27}; WS_CLIPSIBLINGS* = {26}; WS_CLIPCHILDREN* = {25}; WS_MAXIMIZE* = {24}; WS_CAPTION* = {22, 23}; WS_BORDER* = {23}; WS_DLGFRAME* = {22}; WS_VSCROLL* = {21}; WS_HSCROLL* = {20}; WS_SYSMENU* = {19}; WS_THICKFRAME* = {18}; WS_GROUP* = {17}; WS_TABSTOP* = {16}; WS_MINIMIZEBOX* = {17}; WS_MAXIMIZEBOX* = {16}; WS_TILED* = {}; WS_ICONIC* = {29}; WS_SIZEBOX* = {18}; WS_TILEDWINDOW* = {16..19, 22, 23}; WS_OVERLAPPEDWINDOW* = {16..19, 22, 23}; WS_POPUPWINDOW* = {19, 23, 31}; WS_CHILDWINDOW* = {30}; WS_EX_DLGMODALFRAME* = {0}; WS_EX_NOPARENTNOTIFY* = {2}; WS_EX_TOPMOST* = {3}; WS_EX_ACCEPTFILES* = {4}; WS_EX_TRANSPARENT* = {5}; WS_EX_MDICHILD* = {6}; WS_EX_TOOLWINDOW* = {7}; WS_EX_WINDOWEDGE* = {8}; WS_EX_CLIENTEDGE* = {9}; WS_EX_CONTEXTHELP* = {10}; WS_EX_RIGHT* = {12}; WS_EX_LEFT* = {}; WS_EX_RTLREADING* = {13}; WS_EX_LTRREADING* = {}; WS_EX_LEFTSCROLLBAR* = {14}; WS_EX_RIGHTSCROLLBAR* = {}; WS_EX_CONTROLPARENT* = {16}; WS_EX_STATICEDGE* = {17}; WS_EX_APPWINDOW* = {18}; WS_EX_OVERLAPPEDWINDOW* = {8, 9}; WS_EX_PALETTEWINDOW* = {3, 7, 8}; CS_VREDRAW* = {0}; CS_HREDRAW* = {1}; CS_KEYCVTWINDOW* = {2}; CS_DBLCLKS* = {3}; CS_OWNDC* = {5}; CS_CLASSDC* = {6}; CS_PARENTDC* = {7}; CS_NOKEYCVT* = {8}; CS_NOCLOSE* = {9}; CS_SAVEBITS* = {11}; CS_BYTEALIGNCLIENT* = {12}; CS_BYTEALIGNWINDOW* = {13}; CS_GLOBALCLASS* = {14}; CS_IME* = {16}; PRF_CHECKVISIBLE* = {0}; PRF_NONCLIENT* = {1}; PRF_CLIENT* = {2}; PRF_ERASEBKGND* = {3}; PRF_CHILDREN* = {4}; PRF_OWNED* = {5}; BDR_RAISEDOUTER* = {0}; BDR_SUNKENOUTER* = {1}; BDR_RAISEDINNER* = {2}; BDR_SUNKENINNER* = {3}; BDR_OUTER* = {0, 1}; BDR_INNER* = {2, 3}; BDR_RAISED* = {0, 2}; BDR_SUNKEN* = {1, 3}; EDGE_RAISED* = {0, 2}; EDGE_SUNKEN* = {1, 3}; EDGE_ETCHED* = {1, 2}; EDGE_BUMP* = {0, 3}; BF_LEFT* = {0}; BF_TOP* = {1}; BF_RIGHT* = {2}; BF_BOTTOM* = {3}; BF_TOPLEFT* = {0, 1}; BF_TOPRIGHT* = {1, 2}; BF_BOTTOMLEFT* = {0, 3}; BF_BOTTOMRIGHT* = {2, 3}; BF_RECT* = {0..3}; BF_DIAGONAL* = {4}; BF_DIAGONAL_ENDTOPRIGHT* = {1, 2, 4}; BF_DIAGONAL_ENDTOPLEFT* = {0, 1, 4}; BF_DIAGONAL_ENDBOTTOMLEFT* = {0, 3, 4}; BF_DIAGONAL_ENDBOTTOMRIGHT* = {2..4}; BF_MIDDLE* = {11}; BF_SOFT* = {12}; BF_ADJUST* = {13}; BF_FLAT* = {14}; BF_MONO* = {15}; DFC_CAPTION* = 1 (* {0} *); DFC_MENU* = 2 (* {1} *); DFC_SCROLL* = 3 (* {0, 1} *); DFC_BUTTON* = 4 (* {2} *); DFCS_CAPTIONCLOSE* = {}; DFCS_CAPTIONMIN* = {0}; DFCS_CAPTIONMAX* = {1}; DFCS_CAPTIONRESTORE* = {0, 1}; DFCS_CAPTIONHELP* = {2}; DFCS_MENUARROW* = {}; DFCS_MENUCHECK* = {0}; DFCS_MENUBULLET* = {1}; DFCS_MENUARROWRIGHT* = {2}; DFCS_SCROLLUP* = {}; DFCS_SCROLLDOWN* = {0}; DFCS_SCROLLLEFT* = {1}; DFCS_SCROLLRIGHT* = {0, 1}; DFCS_SCROLLCOMBOBOX* = {0, 2}; DFCS_SCROLLSIZEGRIP* = {3}; DFCS_SCROLLSIZEGRIPRIGHT* = {4}; DFCS_BUTTONCHECK* = {}; DFCS_BUTTONRADIOIMAGE* = {0}; DFCS_BUTTONRADIOMASK* = {1}; DFCS_BUTTONRADIO* = {2}; DFCS_BUTTON3STATE* = {3}; DFCS_BUTTONPUSH* = {4}; DFCS_INACTIVE* = {8}; DFCS_PUSHED* = {9}; DFCS_CHECKED* = {10}; DFCS_ADJUSTRECT* = {13}; DFCS_FLAT* = {14}; DFCS_MONO* = {15}; DC_ACTIVE* = 1 (* {0} *); DC_SMALLCAP* = 2 (* {1} *); DC_ICON* = 4 (* {2} *); DC_TEXT* = 8 (* {3} *); DC_INBUTTON* = 16 (* {4} *); IDANI_OPEN* = 1 (* {0} *); IDANI_CLOSE* = 2 (* {1} *); IDANI_CAPTION* = 3 (* {0, 1} *); CF_TEXT* = 1 (* {0} *); CF_BITMAP* = 2 (* {1} *); CF_METAFILEPICT* = 3 (* {0, 1} *); CF_SYLK* = 4 (* {2} *); CF_DIF* = 5 (* {0, 2} *); CF_TIFF* = 6 (* {1, 2} *); CF_OEMTEXT* = 7 (* {0..2} *); CF_DIB* = 8 (* {3} *); CF_PALETTE* = 9 (* {0, 3} *); CF_PENDATA* = 10 (* {1, 3} *); CF_RIFF* = 11 (* {0, 1, 3} *); CF_WAVE* = 12 (* {2, 3} *); CF_UNICODETEXT* = 13 (* {0, 2, 3} *); CF_ENHMETAFILE* = 14 (* {1..3} *); CF_HDROP* = 15 (* {0..3} *); CF_LOCALE* = 16 (* {4} *); CF_MAX* = 17 (* {0, 4} *); CF_OWNERDISPLAY* = 128 (* {7} *); CF_DSPTEXT* = 129 (* {0, 7} *); CF_DSPBITMAP* = 130 (* {1, 7} *); CF_DSPMETAFILEPICT* = 131 (* {0, 1, 7} *); CF_DSPENHMETAFILE* = 142 (* {1..3, 7} *); CF_PRIVATEFIRST* = 512 (* {9} *); CF_PRIVATELAST* = 767 (* {0..7, 9} *); CF_GDIOBJFIRST* = 768 (* {8, 9} *); CF_GDIOBJLAST* = 1023 (* {0..9} *); FVIRTKEY* = 1 (* {0} *); FNOINVERT* = 2 (* {1} *); FSHIFT* = 4 (* {2} *); FCONTROL* = 8 (* {3} *); FALT* = 16 (* {4} *); WPF_SETMINPOSITION* = {0}; WPF_RESTORETOMAXIMIZED* = {1}; ODT_MENU* = {0}; ODT_LISTBOX* = {1}; ODT_COMBOBOX* = {0, 1}; ODT_BUTTON* = {2}; ODT_STATIC* = {0, 2}; ODA_DRAWENTIRE* = {0}; ODA_SELECT* = {1}; ODA_FOCUS* = {2}; ODS_SELECTED* = {0}; ODS_GRAYED* = {1}; ODS_DISABLED* = {2}; ODS_CHECKED* = {3}; ODS_FOCUS* = {4}; ODS_DEFAULT* = {5}; ODS_COMBOBOXEDIT* = {12}; PM_NOREMOVE* = 0 (* {} *); PM_REMOVE* = 1 (* {0} *); PM_NOYIELD* = 2 (* {1} *); MOD_ALT* = {0}; MOD_CONTROL* = {1}; MOD_SHIFT* = {2}; MOD_WIN* = {3}; IDHOT_SNAPWINDOW* = -1 (* {0..31} *); IDHOT_SNAPDESKTOP* = -2 (* {1..31} *); EW_RESTARTWINDOWS* = 66 (* {1, 6} *); EW_REBOOTSYSTEM* = 67 (* {0, 1, 6} *); EW_EXITANDEXECAPP* = 68 (* {2, 6} *); EWX_LOGOFF* = {}; EWX_SHUTDOWN* = {0}; EWX_REBOOT* = {1}; EWX_FORCE* = {2}; EWX_POWEROFF* = {3}; BSM_ALLCOMPONENTS* = {}; BSM_VXDS* = {0}; BSM_NETDRIVER* = {1}; BSM_INSTALLABLEDRIVERS* = {2}; BSM_APPLICATIONS* = {3}; BSM_ALLDESKTOPS* = {4}; BSF_QUERY* = {0}; BSF_IGNORECURRENTTASK* = {1}; BSF_FLUSHDISK* = {2}; BSF_NOHANG* = {3}; BSF_POSTMESSAGE* = {4}; BSF_FORCEIFHUNG* = {5}; BSF_NOTIMEOUTIFNOTHUNG* = {6}; DBWF_LPARAMPOINTER* = 32768 (* {15} *); BROADCAST_QUERY_DENY* = 1112363332 (* {2, 6, 8, 12, 14, 16, 18, 19, 22, 25, 30} *); CW_USEDEFAULT* = 80000000H; SWP_NOSIZE* = {0}; SWP_NOMOVE* = {1}; SWP_NOZORDER* = {2}; SWP_NOREDRAW* = {3}; SWP_NOACTIVATE* = {4}; SWP_FRAMECHANGED* = {5}; SWP_SHOWWINDOW* = {6}; SWP_HIDEWINDOW* = {7}; SWP_NOCOPYBITS* = {8}; SWP_NOOWNERZORDER* = {9}; SWP_NOSENDCHANGING* = {10}; SWP_DRAWFRAME* = {5}; SWP_NOREPOSITION* = {9}; SWP_DEFERERASE* = {13}; SWP_ASYNCWINDOWPOS* = {14}; DLGWINDOWEXTRA* = 30 (* {1..4} *); KEYEVENTF_EXTENDEDKEY* = {0}; KEYEVENTF_KEYUP* = {1}; MOUSEEVENTF_MOVE* = {0}; MOUSEEVENTF_LEFTDOWN* = {1}; MOUSEEVENTF_LEFTUP* = {2}; MOUSEEVENTF_RIGHTDOWN* = {3}; MOUSEEVENTF_RIGHTUP* = {4}; MOUSEEVENTF_MIDDLEDOWN* = {5}; MOUSEEVENTF_MIDDLEUP* = {6}; MOUSEEVENTF_ABSOLUTE* = {15}; MWMO_WAITALL* = {0}; MWMO_ALERTABLE* = {1}; QS_KEY* = {0}; QS_MOUSEMOVE* = {1}; QS_MOUSEBUTTON* = {2}; QS_POSTMESSAGE* = {3}; QS_TIMER* = {4}; QS_PAINT* = {5}; QS_SENDMESSAGE* = {6}; QS_HOTKEY* = {7}; QS_MOUSE* = {1, 2}; QS_INPUT* = {0..2}; QS_ALLEVENTS* = {0..5, 7}; QS_ALLINPUT* = {0..7}; SM_CXSCREEN* = 0 (* {} *); SM_CYSCREEN* = 1 (* {0} *); SM_CXVSCROLL* = 2 (* {1} *); SM_CYHSCROLL* = 3 (* {0, 1} *); SM_CYCAPTION* = 4 (* {2} *); SM_CXBORDER* = 5 (* {0, 2} *); SM_CYBORDER* = 6 (* {1, 2} *); SM_CXDLGFRAME* = 7 (* {0..2} *); SM_CYDLGFRAME* = 8 (* {3} *); SM_CYVTHUMB* = 9 (* {0, 3} *); SM_CXHTHUMB* = 10 (* {1, 3} *); SM_CXICON* = 11 (* {0, 1, 3} *); SM_CYICON* = 12 (* {2, 3} *); SM_CXCURSOR* = 13 (* {0, 2, 3} *); SM_CYCURSOR* = 14 (* {1..3} *); SM_CYMENU* = 15 (* {0..3} *); SM_CXFULLSCREEN* = 16 (* {4} *); SM_CYFULLSCREEN* = 17 (* {0, 4} *); SM_CYKANJIWINDOW* = 18 (* {1, 4} *); SM_MOUSEPRESENT* = 19 (* {0, 1, 4} *); SM_CYVSCROLL* = 20 (* {2, 4} *); SM_CXHSCROLL* = 21 (* {0, 2, 4} *); SM_DEBUG* = 22 (* {1, 2, 4} *); SM_SWAPBUTTON* = 23 (* {0..2, 4} *); SM_RESERVED1* = 24 (* {3, 4} *); SM_RESERVED2* = 25 (* {0, 3, 4} *); SM_RESERVED3* = 26 (* {1, 3, 4} *); SM_RESERVED4* = 27 (* {0, 1, 3, 4} *); SM_CXMIN* = 28 (* {2..4} *); SM_CYMIN* = 29 (* {0, 2..4} *); SM_CXSIZE* = 30 (* {1..4} *); SM_CYSIZE* = 31 (* {0..4} *); SM_CXFRAME* = 32 (* {5} *); SM_CYFRAME* = 33 (* {0, 5} *); SM_CXMINTRACK* = 34 (* {1, 5} *); SM_CYMINTRACK* = 35 (* {0, 1, 5} *); SM_CXDOUBLECLK* = 36 (* {2, 5} *); SM_CYDOUBLECLK* = 37 (* {0, 2, 5} *); SM_CXICONSPACING* = 38 (* {1, 2, 5} *); SM_CYICONSPACING* = 39 (* {0..2, 5} *); SM_MENUDROPALIGNMENT* = 40 (* {3, 5} *); SM_PENWINDOWS* = 41 (* {0, 3, 5} *); SM_DBCSENABLED* = 42 (* {1, 3, 5} *); SM_CMOUSEBUTTONS* = 43 (* {0, 1, 3, 5} *); SM_CXFIXEDFRAME* = 7 (* {0..2} *); SM_CYFIXEDFRAME* = 8 (* {3} *); SM_CXSIZEFRAME* = 32 (* {5} *); SM_CYSIZEFRAME* = 33 (* {0, 5} *); SM_SECURE* = 44 (* {2, 3, 5} *); SM_CXEDGE* = 45 (* {0, 2, 3, 5} *); SM_CYEDGE* = 46 (* {1..3, 5} *); SM_CXMINSPACING* = 47 (* {0..3, 5} *); SM_CYMINSPACING* = 48 (* {4, 5} *); SM_CXSMICON* = 49 (* {0, 4, 5} *); SM_CYSMICON* = 50 (* {1, 4, 5} *); SM_CYSMCAPTION* = 51 (* {0, 1, 4, 5} *); SM_CXSMSIZE* = 52 (* {2, 4, 5} *); SM_CYSMSIZE* = 53 (* {0, 2, 4, 5} *); SM_CXMENUSIZE* = 54 (* {1, 2, 4, 5} *); SM_CYMENUSIZE* = 55 (* {0..2, 4, 5} *); SM_ARRANGE* = 56 (* {3..5} *); SM_CXMINIMIZED* = 57 (* {0, 3..5} *); SM_CYMINIMIZED* = 58 (* {1, 3..5} *); SM_CXMAXTRACK* = 59 (* {0, 1, 3..5} *); SM_CYMAXTRACK* = 60 (* {2..5} *); SM_CXMAXIMIZED* = 61 (* {0, 2..5} *); SM_CYMAXIMIZED* = 62 (* {1..5} *); SM_NETWORK* = 63 (* {0..5} *); SM_CLEANBOOT* = 67 (* {0, 1, 6} *); SM_CXDRAG* = 68 (* {2, 6} *); SM_CYDRAG* = 69 (* {0, 2, 6} *); SM_SHOWSOUNDS* = 70 (* {1, 2, 6} *); SM_CXMENUCHECK* = 71 (* {0..2, 6} *); SM_CYMENUCHECK* = 72 (* {3, 6} *); SM_SLOWMACHINE* = 73 (* {0, 3, 6} *); SM_MIDEASTENABLED* = 74 (* {1, 3, 6} *); SM_CMETRICS* = 75 (* {0, 1, 3, 6} *); MNC_IGNORE* = 0 (* {} *); MNC_CLOSE* = 1 (* {0} *); MNC_EXECUTE* = 2 (* {1} *); MNC_SELECT* = 3 (* {0, 1} *); MIIM_STATE* = {0}; MIIM_ID* = {1}; MIIM_SUBMENU* = {2}; MIIM_CHECKMARKS* = {3}; MIIM_TYPE* = {4}; MIIM_DATA* = {5}; GMDI_USEDISABLED* = {0}; GMDI_GOINTOPOPUPS* = {1}; TPM_LEFTBUTTON* = {}; TPM_RIGHTBUTTON* = {1}; TPM_LEFTALIGN* = {}; TPM_CENTERALIGN* = {2}; TPM_RIGHTALIGN* = {3}; TPM_TOPALIGN* = {}; TPM_VCENTERALIGN* = {4}; TPM_BOTTOMALIGN* = {5}; TPM_HORIZONTAL* = {}; TPM_VERTICAL* = {6}; TPM_NONOTIFY* = {7}; TPM_RETURNCMD* = {8}; DOF_EXECUTABLE* = 32769 (* {0, 15} *); DOF_DOCUMENT* = 32770 (* {1, 15} *); DOF_DIRECTORY* = 32771 (* {0, 1, 15} *); DOF_MULTIPLE* = 32772 (* {2, 15} *); DOF_PROGMAN* = 1 (* {0} *); DOF_SHELLDATA* = 2 (* {1} *); DO_DROPFILE* = 1162627398 (* {1, 2, 6, 8, 11, 14, 18, 19, 22, 24, 26, 30} *); DO_PRINTFILE* = 1414419024 (* {4, 6, 9, 12, 14, 17..19, 22, 26, 28, 30} *); DT_TOP* = {}; DT_LEFT* = {}; DT_CENTER* = {0}; DT_RIGHT* = {1}; DT_VCENTER* = {2}; DT_BOTTOM* = {3}; DT_WORDBREAK* = {4}; DT_SINGLELINE* = {5}; DT_EXPANDTABS* = {6}; DT_TABSTOP* = {7}; DT_NOCLIP* = {8}; DT_EXTERNALLEADING* = {9}; DT_CALCRECT* = {10}; DT_NOPREFIX* = {11}; DT_INTERNAL* = {12}; DT_EDITCONTROL* = {13}; DT_PATH_ELLIPSIS* = {14}; DT_END_ELLIPSIS* = {15}; DT_MODIFYSTRING* = {16}; DT_RTLREADING* = {17}; DT_WORD_ELLIPSIS* = {18}; DST_COMPLEX* = {}; DST_TEXT* = {0}; DST_PREFIXTEXT* = {1}; DST_ICON* = {0, 1}; DST_BITMAP* = {2}; DSS_NORMAL* = {}; DSS_UNION* = {4}; DSS_DISABLED* = {5}; DSS_MONO* = {7}; DSS_RIGHT* = {15}; DCX_WINDOW* = {0}; DCX_CACHE* = {1}; DCX_NORESETATTRS* = {2}; DCX_CLIPCHILDREN* = {3}; DCX_CLIPSIBLINGS* = {4}; DCX_PARENTCLIP* = {5}; DCX_EXCLUDERGN* = {6}; DCX_INTERSECTRGN* = {7}; DCX_EXCLUDEUPDATE* = {8}; DCX_INTERSECTUPDATE* = {9}; DCX_LOCKWINDOWUPDATE* = {10}; DCX_VALIDATE* = {21}; RDW_INVALIDATE* = {0}; RDW_INTERNALPAINT* = {1}; RDW_ERASE* = {2}; RDW_VALIDATE* = {3}; RDW_NOINTERNALPAINT* = {4}; RDW_NOERASE* = {5}; RDW_NOCHILDREN* = {6}; RDW_ALLCHILDREN* = {7}; RDW_UPDATENOW* = {8}; RDW_ERASENOW* = {9}; RDW_FRAME* = {10}; RDW_NOFRAME* = {11}; SW_SCROLLCHILDREN* = {0}; SW_INVALIDATE* = {1}; SW_ERASE* = {2}; ESB_ENABLE_BOTH* = 0 (* {} *); ESB_DISABLE_BOTH* = 3 (* {0, 1} *); ESB_DISABLE_LEFT* = 1 (* {0} *); ESB_DISABLE_RIGHT* = 2 (* {1} *); ESB_DISABLE_UP* = 1 (* {0} *); ESB_DISABLE_DOWN* = 2 (* {1} *); ESB_DISABLE_LTUP* = 1 (* {0} *); ESB_DISABLE_RTDN* = 2 (* {1} *); HELPINFO_WINDOW* = 1 (* {0} *); HELPINFO_MENUITEM* = 2 (* {1} *); MB_OK* = {}; MB_OKCANCEL* = {0}; MB_ABORTRETRYIGNORE* = {1}; MB_YESNOCANCEL* = {0, 1}; MB_YESNO* = {2}; MB_RETRYCANCEL* = {0, 2}; MB_ICONHAND* = {4}; MB_ICONQUESTION* = {5}; MB_ICONEXCLAMATION* = {4, 5}; MB_ICONASTERISK* = {6}; MB_USERICON* = {7}; MB_ICONWARNING* = {4, 5}; MB_ICONERROR* = {4}; MB_ICONINFORMATION* = {6}; MB_ICONSTOP* = {4}; MB_DEFBUTTON1* = {}; MB_DEFBUTTON2* = {8}; MB_DEFBUTTON3* = {9}; MB_DEFBUTTON4* = {8, 9}; MB_APPLMODAL* = {}; MB_SYSTEMMODAL* = {12}; MB_TASKMODAL* = {13}; MB_HELP* = {14}; MB_NOFOCUS* = {15}; MB_SETFOREGROUND* = {16}; MB_DEFAULT_DESKTOP_ONLY* = {17}; MB_TOPMOST* = {18}; MB_RIGHT* = {19}; MB_RTLREADING* = {20}; MB_SERVICE_NOTIFICATION* = {21}; MB_TYPEMASK* = {0..3}; MB_ICONMASK* = {4..7}; MB_DEFMASK* = {8..11}; MB_MODEMASK* = {12, 13}; MB_MISCMASK* = {14, 15}; CWP_ALL* = {}; CWP_SKIPINVISIBLE* = {0}; CWP_SKIPDISABLED* = {1}; CWP_SKIPTRANSPARENT* = {2}; CTLCOLOR_MSGBOX* = 0 (* {} *); CTLCOLOR_EDIT* = 1 (* {0} *); CTLCOLOR_LISTBOX* = 2 (* {1} *); CTLCOLOR_BTN* = 3 (* {0, 1} *); CTLCOLOR_DLG* = 4 (* {2} *); CTLCOLOR_SCROLLBAR* = 5 (* {0, 2} *); CTLCOLOR_STATIC* = 6 (* {1, 2} *); CTLCOLOR_MAX* = 7 (* {0..2} *); COLOR_SCROLLBAR* = 0 (* {} *); COLOR_BACKGROUND* = 1 (* {0} *); COLOR_ACTIVECAPTION* = 2 (* {1} *); COLOR_INACTIVECAPTION* = 3 (* {0, 1} *); COLOR_MENU* = 4 (* {2} *); COLOR_WINDOW* = 5 (* {0, 2} *); COLOR_WINDOWFRAME* = 6 (* {1, 2} *); COLOR_MENUTEXT* = 7 (* {0..2} *); COLOR_WINDOWTEXT* = 8 (* {3} *); COLOR_CAPTIONTEXT* = 9 (* {0, 3} *); COLOR_ACTIVEBORDER* = 10 (* {1, 3} *); COLOR_INACTIVEBORDER* = 11 (* {0, 1, 3} *); COLOR_APPWORKSPACE* = 12 (* {2, 3} *); COLOR_HIGHLIGHT* = 13 (* {0, 2, 3} *); COLOR_HIGHLIGHTTEXT* = 14 (* {1..3} *); COLOR_BTNFACE* = 15 (* {0..3} *); COLOR_BTNSHADOW* = 16 (* {4} *); COLOR_GRAYTEXT* = 17 (* {0, 4} *); COLOR_BTNTEXT* = 18 (* {1, 4} *); COLOR_INACTIVECAPTIONTEXT* = 19 (* {0, 1, 4} *); COLOR_BTNHIGHLIGHT* = 20 (* {2, 4} *); COLOR_3DDKSHADOW* = 21 (* {0, 2, 4} *); COLOR_3DLIGHT* = 22 (* {1, 2, 4} *); COLOR_INFOTEXT* = 23 (* {0..2, 4} *); COLOR_INFOBK* = 24 (* {3, 4} *); COLOR_DESKTOP* = 1 (* {0} *); COLOR_3DFACE* = 15 (* {0..3} *); COLOR_3DSHADOW* = 16 (* {4} *); COLOR_3DHIGHLIGHT* = 20 (* {2, 4} *); COLOR_3DHILIGHT* = 20 (* {2, 4} *); COLOR_BTNHILIGHT* = 20 (* {2, 4} *); GetSysModalWindow* = 0 (* {} *); GW_HWNDFIRST* = 0 (* {} *); GW_HWNDLAST* = 1 (* {0} *); GW_HWNDNEXT* = 2 (* {1} *); GW_HWNDPREV* = 3 (* {0, 1} *); GW_OWNER* = 4 (* {2} *); GW_CHILD* = 5 (* {0, 2} *); GW_MAX* = 5 (* {0, 2} *); MF_INSERT* = {}; MF_CHANGE* = {7}; MF_APPEND* = {8}; MF_DELETE* = {9}; MF_REMOVE* = {12}; MF_BYCOMMAND* = {}; MF_BYPOSITION* = {10}; MF_SEPARATOR* = {11}; MF_ENABLED* = {}; MF_GRAYED* = {0}; MF_DISABLED* = {1}; MF_UNCHECKED* = {}; MF_CHECKED* = {3}; MF_USECHECKBITMAPS* = {9}; MF_STRING* = {}; MF_BITMAP* = {2}; MF_OWNERDRAW* = {8}; MF_POPUP* = {4}; MF_MENUBARBREAK* = {5}; MF_MENUBREAK* = {6}; MF_UNHILITE* = {}; MF_HILITE* = {7}; MF_DEFAULT* = {12}; MF_SYSMENU* = {13}; MF_HELP* = {14}; MF_RIGHTJUSTIFY* = {14}; MF_MOUSESELECT* = {15}; MF_END* = {7}; MFT_STRING* = {}; MFT_BITMAP* = {2}; MFT_MENUBARBREAK* = {5}; MFT_MENUBREAK* = {6}; MFT_OWNERDRAW* = {8}; MFT_RADIOCHECK* = {9}; MFT_SEPARATOR* = {11}; MFT_RIGHTORDER* = {13}; MFT_RIGHTJUSTIFY* = {14}; MFS_GRAYED* = {0, 1}; MFS_DISABLED* = {0, 1}; MFS_CHECKED* = {3}; MFS_HILITE* = {7}; MFS_ENABLED* = {}; MFS_UNCHECKED* = {}; MFS_UNHILITE* = {}; MFS_DEFAULT* = {12}; SC_SIZE* = 61440 (* {12..15} *); SC_MOVE* = 61456 (* {4, 12..15} *); SC_MINIMIZE* = 61472 (* {5, 12..15} *); SC_MAXIMIZE* = 61488 (* {4, 5, 12..15} *); SC_NEXTWINDOW* = 61504 (* {6, 12..15} *); SC_PREVWINDOW* = 61520 (* {4, 6, 12..15} *); SC_CLOSE* = 61536 (* {5, 6, 12..15} *); SC_VSCROLL* = 61552 (* {4..6, 12..15} *); SC_HSCROLL* = 61568 (* {7, 12..15} *); SC_MOUSEMENU* = 61584 (* {4, 7, 12..15} *); SC_KEYMENU* = 61696 (* {8, 12..15} *); SC_ARRANGE* = 61712 (* {4, 8, 12..15} *); SC_RESTORE* = 61728 (* {5, 8, 12..15} *); SC_TASKLIST* = 61744 (* {4, 5, 8, 12..15} *); SC_SCREENSAVE* = 61760 (* {6, 8, 12..15} *); SC_HOTKEY* = 61776 (* {4, 6, 8, 12..15} *); SC_DEFAULT* = 61792 (* {5, 6, 8, 12..15} *); SC_MONITORPOWER* = 61808 (* {4..6, 8, 12..15} *); SC_CONTEXTHELP* = 61824 (* {7, 8, 12..15} *); SC_SEPARATOR* = 61455 (* {0..3, 12..15} *); SC_ICON* = 61472 (* {5, 12..15} *); SC_ZOOM* = 61488 (* {4, 5, 12..15} *); IDC_ARROW* = 32512 (* {8..14} *); IDC_IBEAM* = 32513 (* {0, 8..14} *); IDC_WAIT* = 32514 (* {1, 8..14} *); IDC_CROSS* = 32515 (* {0, 1, 8..14} *); IDC_UPARROW* = 32516 (* {2, 8..14} *); IDC_SIZE* = 32640 (* {7..14} *); IDC_ICON* = 32641 (* {0, 7..14} *); IDC_SIZENWSE* = 32642 (* {1, 7..14} *); IDC_SIZENESW* = 32643 (* {0, 1, 7..14} *); IDC_SIZEWE* = 32644 (* {2, 7..14} *); IDC_SIZENS* = 32645 (* {0, 2, 7..14} *); IDC_SIZEALL* = 32646 (* {1, 2, 7..14} *); IDC_NO* = 32648 (* {3, 7..14} *); IDC_APPSTARTING* = 32650 (* {1, 3, 7..14} *); IDC_HELP* = 32651 (* {0, 1, 3, 7..14} *); IMAGE_BITMAP* = 0 (* {} *); IMAGE_ICON* = 1 (* {0} *); IMAGE_CURSOR* = 2 (* {1} *); IMAGE_ENHMETAFILE* = 3 (* {0, 1} *); LR_DEFAULTCOLOR* = {}; LR_MONOCHROME* = {0}; LR_COLOR* = {1}; LR_COPYRETURNORG* = {2}; LR_COPYDELETEORG* = {3}; LR_LOADFROMFILE* = {4}; LR_LOADTRANSPARENT* = {5}; LR_DEFAULTSIZE* = {6}; LR_VGACOLOR* = {7}; LR_LOADMAP3DCOLORS* = {12}; LR_CREATEDIBSECTION* = {13}; LR_COPYFROMRESOURCE* = {14}; LR_SHARED* = {15}; DI_MASK* = {0}; DI_IMAGE* = {1}; DI_NORMAL* = {0, 1}; DI_COMPAT* = {2}; DI_DEFAULTSIZE* = {3}; RES_ICON* = 1 (* {0} *); RES_CURSOR* = 2 (* {1} *); ORD_LANGDRIVER* = 1 (* {0} *); IDI_APPLICATION* = 32512 (* {8..14} *); IDI_HAND* = 32513 (* {0, 8..14} *); IDI_QUESTION* = 32514 (* {1, 8..14} *); IDI_EXCLAMATION* = 32515 (* {0, 1, 8..14} *); IDI_ASTERISK* = 32516 (* {2, 8..14} *); IDI_WINLOGO* = 32517 (* {0, 2, 8..14} *); IDI_WARNING* = 32515 (* {0, 1, 8..14} *); IDI_ERROR* = 32513 (* {0, 8..14} *); IDI_INFORMATION* = 32516 (* {2, 8..14} *); IDOK* = 1 (* {0} *); IDCANCEL* = 2 (* {1} *); IDABORT* = 3 (* {0, 1} *); IDRETRY* = 4 (* {2} *); IDIGNORE* = 5 (* {0, 2} *); IDYES* = 6 (* {1, 2} *); IDNO* = 7 (* {0..2} *); IDCLOSE* = 8 (* {3} *); IDHELP* = 9 (* {0, 3} *); ES_LEFT* = {}; ES_CENTER* = {0}; ES_RIGHT* = {1}; ES_MULTILINE* = {2}; ES_UPPERCASE* = {3}; ES_LOWERCASE* = {4}; ES_PASSWORD* = {5}; ES_AUTOVSCROLL* = {6}; ES_AUTOHSCROLL* = {7}; ES_NOHIDESEL* = {8}; ES_OEMCONVERT* = {10}; ES_READONLY* = {11}; ES_WANTRETURN* = {12}; ES_NUMBER* = {13}; EN_SETFOCUS* = 256 (* {8} *); EN_KILLFOCUS* = 512 (* {9} *); EN_CHANGE* = 768 (* {8, 9} *); EN_UPDATE* = 1024 (* {10} *); EN_ERRSPACE* = 1280 (* {8, 10} *); EN_MAXTEXT* = 1281 (* {0, 8, 10} *); EN_HSCROLL* = 1537 (* {0, 9, 10} *); EN_VSCROLL* = 1538 (* {1, 9, 10} *); EC_LEFTMARGIN* = 1 (* {0} *); EC_RIGHTMARGIN* = 2 (* {1} *); EC_USEFONTINFO* = 65535 (* {0..15} *); EM_GETSEL* = 176 (* {4, 5, 7} *); EM_SETSEL* = 177 (* {0, 4, 5, 7} *); EM_GETRECT* = 178 (* {1, 4, 5, 7} *); EM_SETRECT* = 179 (* {0, 1, 4, 5, 7} *); EM_SETRECTNP* = 180 (* {2, 4, 5, 7} *); EM_SCROLL* = 181 (* {0, 2, 4, 5, 7} *); EM_LINESCROLL* = 182 (* {1, 2, 4, 5, 7} *); EM_SCROLLCARET* = 183 (* {0..2, 4, 5, 7} *); EM_GETMODIFY* = 184 (* {3..5, 7} *); EM_SETMODIFY* = 185 (* {0, 3..5, 7} *); EM_GETLINECOUNT* = 186 (* {1, 3..5, 7} *); EM_LINEINDEX* = 187 (* {0, 1, 3..5, 7} *); EM_SETHANDLE* = 188 (* {2..5, 7} *); EM_GETHANDLE* = 189 (* {0, 2..5, 7} *); EM_GETTHUMB* = 190 (* {1..5, 7} *); EM_LINELENGTH* = 193 (* {0, 6, 7} *); EM_REPLACESEL* = 194 (* {1, 6, 7} *); EM_GETLINE* = 196 (* {2, 6, 7} *); EM_LIMITTEXT* = 197 (* {0, 2, 6, 7} *); EM_CANUNDO* = 198 (* {1, 2, 6, 7} *); EM_UNDO* = 199 (* {0..2, 6, 7} *); EM_FMTLINES* = 200 (* {3, 6, 7} *); EM_LINEFROMCHAR* = 201 (* {0, 3, 6, 7} *); EM_SETTABSTOPS* = 203 (* {0, 1, 3, 6, 7} *); EM_SETPASSWORDCHAR* = 204 (* {2, 3, 6, 7} *); EM_EMPTYUNDOBUFFER* = 205 (* {0, 2, 3, 6, 7} *); EM_GETFIRSTVISIBLELINE* = 206 (* {1..3, 6, 7} *); EM_SETREADONLY* = 207 (* {0..3, 6, 7} *); EM_SETWORDBREAKPROC* = 208 (* {4, 6, 7} *); EM_GETWORDBREAKPROC* = 209 (* {0, 4, 6, 7} *); EM_GETPASSWORDCHAR* = 210 (* {1, 4, 6, 7} *); EM_SETMARGINS* = 211 (* {0, 1, 4, 6, 7} *); EM_GETMARGINS* = 212 (* {2, 4, 6, 7} *); EM_SETLIMITTEXT* = 197 (* {0, 2, 6, 7} *); EM_GETLIMITTEXT* = 213 (* {0, 2, 4, 6, 7} *); EM_POSFROMCHAR* = 214 (* {1, 2, 4, 6, 7} *); EM_CHARFROMPOS* = 215 (* {0..2, 4, 6, 7} *); WB_LEFT* = 0 (* {} *); WB_RIGHT* = 1 (* {0} *); WB_ISDELIMITER* = 2 (* {1} *); BS_PUSHBUTTON* = {}; BS_DEFPUSHBUTTON* = {0}; BS_CHECKBOX* = {1}; BS_AUTOCHECKBOX* = {0, 1}; BS_RADIOBUTTON* = {2}; BS_3STATE* = {0, 2}; BS_AUTO3STATE* = {1, 2}; BS_GROUPBOX* = {0..2}; BS_USERBUTTON* = {3}; BS_AUTORADIOBUTTON* = {0, 3}; BS_OWNERDRAW* = {0, 1, 3}; BS_LEFTTEXT* = {5}; BS_TEXT* = {}; BS_ICON* = {6}; BS_BITMAP* = {7}; BS_LEFT* = {8}; BS_RIGHT* = {9}; BS_CENTER* = {8, 9}; BS_TOP* = {10}; BS_BOTTOM* = {11}; BS_VCENTER* = {10, 11}; BS_PUSHLIKE* = {12}; BS_MULTILINE* = {13}; BS_NOTIFY* = {14}; BS_FLAT* = {15}; BS_RIGHTBUTTON* = {5}; BN_CLICKED* = 0 (* {} *); BN_PAINT* = 1 (* {0} *); BN_HILITE* = 2 (* {1} *); BN_UNHILITE* = 3 (* {0, 1} *); BN_DISABLE* = 4 (* {2} *); BN_DOUBLECLICKED* = 5 (* {0, 2} *); BN_PUSHED* = 2 (* {1} *); BN_UNPUSHED* = 3 (* {0, 1} *); BN_DBLCLK* = 5 (* {0, 2} *); BN_SETFOCUS* = 6 (* {1, 2} *); BN_KILLFOCUS* = 7 (* {0..2} *); BM_GETCHECK* = 240 (* {4..7} *); BM_SETCHECK* = 241 (* {0, 4..7} *); BM_GETSTATE* = 242 (* {1, 4..7} *); BM_SETSTATE* = 243 (* {0, 1, 4..7} *); BM_SETSTYLE* = 244 (* {2, 4..7} *); BM_CLICK* = 245 (* {0, 2, 4..7} *); BM_GETIMAGE* = 246 (* {1, 2, 4..7} *); BM_SETIMAGE* = 247 (* {0..2, 4..7} *); BST_UNCHECKED* = {}; BST_CHECKED* = {0}; BST_INDETERMINATE* = {1}; BST_PUSHED* = {2}; BST_FOCUS* = {3}; SS_LEFT* = {}; SS_CENTER* = {0}; SS_RIGHT* = {1}; SS_ICON* = {0, 1}; SS_BLACKRECT* = {2}; SS_GRAYRECT* = {0, 2}; SS_WHITERECT* = {1, 2}; SS_BLACKFRAME* = {0..2}; SS_GRAYFRAME* = {3}; SS_WHITEFRAME* = {0, 3}; SS_USERITEM* = {1, 3}; SS_SIMPLE* = {0, 1, 3}; SS_LEFTNOWORDWRAP* = {2, 3}; SS_OWNERDRAW* = {0, 2, 3}; SS_BITMAP* = {1..3}; SS_ENHMETAFILE* = {0..3}; SS_ETCHEDHORZ* = {4}; SS_ETCHEDVERT* = {0, 4}; SS_ETCHEDFRAME* = {1, 4}; SS_TYPEMASK* = {0..4}; SS_NOPREFIX* = {7}; SS_NOTIFY* = {8}; SS_CENTERIMAGE* = {9}; SS_RIGHTJUST* = {10}; SS_REALSIZEIMAGE* = {11}; SS_SUNKEN* = {12}; SS_ENDELLIPSIS* = {14}; SS_PATHELLIPSIS* = {15}; SS_WORDELLIPSIS* = {14, 15}; SS_ELLIPSISMASK* = {14, 15}; STM_SETICON* = 368 (* {4..6, 8} *); STM_GETICON* = 369 (* {0, 4..6, 8} *); STM_SETIMAGE* = 370 (* {1, 4..6, 8} *); STM_GETIMAGE* = 371 (* {0, 1, 4..6, 8} *); STN_CLICKED* = 0 (* {} *); STN_DBLCLK* = 1 (* {0} *); STN_ENABLE* = 2 (* {1} *); STN_DISABLE* = 3 (* {0, 1} *); STM_MSGMAX* = 372 (* {2, 4..6, 8} *); WC_DIALOG* = 32770 (* {1, 15} *); DWL_MSGRESULT* = 0 (* {} *); DWL_DLGPROC* = 4 (* {2} *); DWL_USER* = 8 (* {3} *); DDL_READWRITE* = 0 (* {} *); DDL_READONLY* = 1 (* {0} *); DDL_HIDDEN* = 2 (* {1} *); DDL_SYSTEM* = 4 (* {2} *); DDL_DIRECTORY* = 16 (* {4} *); DDL_ARCHIVE* = 32 (* {5} *); DDL_POSTMSGS* = 8192 (* {13} *); DDL_DRIVES* = 16384 (* {14} *); DDL_EXCLUSIVE* = 32768 (* {15} *); DS_ABSALIGN* = {0}; DS_SYSMODAL* = {1}; DS_LOCALEDIT* = {5}; DS_SETFONT* = {6}; DS_MODALFRAME* = {7}; DS_NOIDLEMSG* = {8}; DS_SETFOREGROUND* = {9}; DS_3DLOOK* = {2}; DS_FIXEDSYS* = {3}; DS_NOFAILCREATE* = {4}; DS_CONTROL* = {10}; DS_CENTER* = {11}; DS_CENTERMOUSE* = {12}; DS_CONTEXTHELP* = {13}; DM_GETDEFID* = 1024 (* {10} *); DM_SETDEFID* = 1025 (* {0, 10} *); DM_REPOSITION* = 1026 (* {1, 10} *); PSM_PAGEINFO* = 1124 (* {2, 5, 6, 10} *); PSM_SHEETINFO* = 1125 (* {0, 2, 5, 6, 10} *); PSI_SETACTIVE* = 1 (* {0} *); PSI_KILLACTIVE* = 2 (* {1} *); PSI_APPLY* = 3 (* {0, 1} *); PSI_RESET* = 4 (* {2} *); PSI_HASHELP* = 5 (* {0, 2} *); PSI_HELP* = 6 (* {1, 2} *); PSI_CHANGED* = 1 (* {0} *); PSI_GUISTART* = 2 (* {1} *); PSI_REBOOT* = 3 (* {0, 1} *); PSI_GETSIBLINGS* = 4 (* {2} *); DC_HASDEFID* = 21323 (* {0, 1, 3, 6, 8, 9, 12, 14} *); DLGC_WANTARROWS* = {0}; DLGC_WANTTAB* = {1}; DLGC_WANTALLKEYS* = {2}; DLGC_WANTMESSAGE* = {2}; DLGC_HASSETSEL* = {3}; DLGC_DEFPUSHBUTTON* = {4}; DLGC_UNDEFPUSHBUTTON* = {5}; DLGC_RADIOBUTTON* = {6}; DLGC_WANTCHARS* = {7}; DLGC_STATIC* = {8}; DLGC_BUTTON* = {13}; LB_CTLCODE* = 0 (* {} *); LB_OKAY* = 0 (* {} *); LB_ERR* = -1 (* {0..31} *); LB_ERRSPACE* = -2 (* {1..31} *); LBN_ERRSPACE* = -2 (* {1..31} *); LBN_SELCHANGE* = 1 (* {0} *); LBN_DBLCLK* = 2 (* {1} *); LBN_SELCANCEL* = 3 (* {0, 1} *); LBN_SETFOCUS* = 4 (* {2} *); LBN_KILLFOCUS* = 5 (* {0, 2} *); LB_ADDSTRING* = 384 (* {7, 8} *); LB_INSERTSTRING* = 385 (* {0, 7, 8} *); LB_DELETESTRING* = 386 (* {1, 7, 8} *); LB_SELITEMRANGEEX* = 387 (* {0, 1, 7, 8} *); LB_RESETCONTENT* = 388 (* {2, 7, 8} *); LB_SETSEL* = 389 (* {0, 2, 7, 8} *); LB_SETCURSEL* = 390 (* {1, 2, 7, 8} *); LB_GETSEL* = 391 (* {0..2, 7, 8} *); LB_GETCURSEL* = 392 (* {3, 7, 8} *); LB_GETTEXT* = 393 (* {0, 3, 7, 8} *); LB_GETTEXTLEN* = 394 (* {1, 3, 7, 8} *); LB_GETCOUNT* = 395 (* {0, 1, 3, 7, 8} *); LB_SELECTSTRING* = 396 (* {2, 3, 7, 8} *); LB_DIR* = 397 (* {0, 2, 3, 7, 8} *); LB_GETTOPINDEX* = 398 (* {1..3, 7, 8} *); LB_FINDSTRING* = 399 (* {0..3, 7, 8} *); LB_GETSELCOUNT* = 400 (* {4, 7, 8} *); LB_GETSELITEMS* = 401 (* {0, 4, 7, 8} *); LB_SETTABSTOPS* = 402 (* {1, 4, 7, 8} *); LB_GETHORIZONTALEXTENT* = 403 (* {0, 1, 4, 7, 8} *); LB_SETHORIZONTALEXTENT* = 404 (* {2, 4, 7, 8} *); LB_SETCOLUMNWIDTH* = 405 (* {0, 2, 4, 7, 8} *); LB_ADDFILE* = 406 (* {1, 2, 4, 7, 8} *); LB_SETTOPINDEX* = 407 (* {0..2, 4, 7, 8} *); LB_GETITEMRECT* = 408 (* {3, 4, 7, 8} *); LB_GETITEMDATA* = 409 (* {0, 3, 4, 7, 8} *); LB_SETITEMDATA* = 410 (* {1, 3, 4, 7, 8} *); LB_SELITEMRANGE* = 411 (* {0, 1, 3, 4, 7, 8} *); LB_SETANCHORINDEX* = 412 (* {2..4, 7, 8} *); LB_GETANCHORINDEX* = 413 (* {0, 2..4, 7, 8} *); LB_SETCARETINDEX* = 414 (* {1..4, 7, 8} *); LB_GETCARETINDEX* = 415 (* {0..4, 7, 8} *); LB_SETITEMHEIGHT* = 416 (* {5, 7, 8} *); LB_GETITEMHEIGHT* = 417 (* {0, 5, 7, 8} *); LB_FINDSTRINGEXACT* = 418 (* {1, 5, 7, 8} *); LB_SETLOCALE* = 421 (* {0, 2, 5, 7, 8} *); LB_GETLOCALE* = 422 (* {1, 2, 5, 7, 8} *); LB_SETCOUNT* = 423 (* {0..2, 5, 7, 8} *); LB_INITSTORAGE* = 424 (* {3, 5, 7, 8} *); LB_ITEMFROMPOINT* = 425 (* {0, 3, 5, 7, 8} *); LB_MSGMAX* = 432 (* {4, 5, 7, 8} *); LBS_NOTIFY* = {0}; LBS_SORT* = {1}; LBS_NOREDRAW* = {2}; LBS_MULTIPLESEL* = {3}; LBS_OWNERDRAWFIXED* = {4}; LBS_OWNERDRAWVARIABLE* = {5}; LBS_HASSTRINGS* = {6}; LBS_USETABSTOPS* = {7}; LBS_NOINTEGRALHEIGHT* = {8}; LBS_MULTICOLUMN* = {9}; LBS_WANTKEYBOARDINPUT* = {10}; LBS_EXTENDEDSEL* = {11}; LBS_DISABLENOSCROLL* = {12}; LBS_NODATA* = {13}; LBS_NOSEL* = {14}; LBS_STANDARD* = {0, 1, 21, 23}; CB_OKAY* = 0 (* {} *); CB_ERR* = -1 (* {0..31} *); CB_ERRSPACE* = -2 (* {1..31} *); CBN_ERRSPACE* = -1 (* {0..31} *); CBN_SELCHANGE* = 1 (* {0} *); CBN_DBLCLK* = 2 (* {1} *); CBN_SETFOCUS* = 3 (* {0, 1} *); CBN_KILLFOCUS* = 4 (* {2} *); CBN_EDITCHANGE* = 5 (* {0, 2} *); CBN_EDITUPDATE* = 6 (* {1, 2} *); CBN_DROPDOWN* = 7 (* {0..2} *); CBN_CLOSEUP* = 8 (* {3} *); CBN_SELENDOK* = 9 (* {0, 3} *); CBN_SELENDCANCEL* = 10 (* {1, 3} *); CBS_SIMPLE* = {0}; CBS_DROPDOWN* = {1}; CBS_DROPDOWNLIST* = {0, 1}; CBS_OWNERDRAWFIXED* = {4}; CBS_OWNERDRAWVARIABLE* = {5}; CBS_AUTOHSCROLL* = {6}; CBS_OEMCONVERT* = {7}; CBS_SORT* = {8}; CBS_HASSTRINGS* = {9}; CBS_NOINTEGRALHEIGHT* = {10}; CBS_DISABLENOSCROLL* = {11}; CBS_UPPERCASE* = {13}; CBS_LOWERCASE* = {14}; CB_GETEDITSEL* = 320 (* {6, 8} *); CB_LIMITTEXT* = 321 (* {0, 6, 8} *); CB_SETEDITSEL* = 322 (* {1, 6, 8} *); CB_ADDSTRING* = 323 (* {0, 1, 6, 8} *); CB_DELETESTRING* = 324 (* {2, 6, 8} *); CB_DIR* = 325 (* {0, 2, 6, 8} *); CB_GETCOUNT* = 326 (* {1, 2, 6, 8} *); CB_GETCURSEL* = 327 (* {0..2, 6, 8} *); CB_GETLBTEXT* = 328 (* {3, 6, 8} *); CB_GETLBTEXTLEN* = 329 (* {0, 3, 6, 8} *); CB_INSERTSTRING* = 330 (* {1, 3, 6, 8} *); CB_RESETCONTENT* = 331 (* {0, 1, 3, 6, 8} *); CB_FINDSTRING* = 332 (* {2, 3, 6, 8} *); CB_SELECTSTRING* = 333 (* {0, 2, 3, 6, 8} *); CB_SETCURSEL* = 334 (* {1..3, 6, 8} *); CB_SHOWDROPDOWN* = 335 (* {0..3, 6, 8} *); CB_GETITEMDATA* = 336 (* {4, 6, 8} *); CB_SETITEMDATA* = 337 (* {0, 4, 6, 8} *); CB_GETDROPPEDCONTROLRECT* = 338 (* {1, 4, 6, 8} *); CB_SETITEMHEIGHT* = 339 (* {0, 1, 4, 6, 8} *); CB_GETITEMHEIGHT* = 340 (* {2, 4, 6, 8} *); CB_SETEXTENDEDUI* = 341 (* {0, 2, 4, 6, 8} *); CB_GETEXTENDEDUI* = 342 (* {1, 2, 4, 6, 8} *); CB_GETDROPPEDSTATE* = 343 (* {0..2, 4, 6, 8} *); CB_FINDSTRINGEXACT* = 344 (* {3, 4, 6, 8} *); CB_SETLOCALE* = 345 (* {0, 3, 4, 6, 8} *); CB_GETLOCALE* = 346 (* {1, 3, 4, 6, 8} *); CB_GETTOPINDEX* = 347 (* {0, 1, 3, 4, 6, 8} *); CB_SETTOPINDEX* = 348 (* {2..4, 6, 8} *); CB_GETHORIZONTALEXTENT* = 349 (* {0, 2..4, 6, 8} *); CB_SETHORIZONTALEXTENT* = 350 (* {1..4, 6, 8} *); CB_GETDROPPEDWIDTH* = 351 (* {0..4, 6, 8} *); CB_SETDROPPEDWIDTH* = 352 (* {5, 6, 8} *); CB_INITSTORAGE* = 353 (* {0, 5, 6, 8} *); CB_MSGMAX* = 354 (* {1, 5, 6, 8} *); SBS_HORZ* = {}; SBS_VERT* = {0}; SBS_TOPALIGN* = {1}; SBS_LEFTALIGN* = {1}; SBS_BOTTOMALIGN* = {2}; SBS_RIGHTALIGN* = {2}; SBS_SIZEBOXTOPLEFTALIGN* = {1}; SBS_SIZEBOXBOTTOMRIGHTALIGN* = {2}; SBS_SIZEBOX* = {3}; SBS_SIZEGRIP* = {4}; SBM_SETPOS* = 224 (* {5..7} *); SBM_GETPOS* = 225 (* {0, 5..7} *); SBM_SETRANGE* = 226 (* {1, 5..7} *); SBM_SETRANGEREDRAW* = 230 (* {1, 2, 5..7} *); SBM_GETRANGE* = 227 (* {0, 1, 5..7} *); SBM_ENABLE_ARROWS* = 228 (* {2, 5..7} *); SBM_SETSCROLLINFO* = 233 (* {0, 3, 5..7} *); SBM_GETSCROLLINFO* = 234 (* {1, 3, 5..7} *); SIF_RANGE* = {0}; SIF_PAGE* = {1}; SIF_POS* = {2}; SIF_DISABLENOSCROLL* = {3}; SIF_TRACKPOS* = {4}; SIF_ALL* = {0..2, 4}; MDIS_ALLCHILDSTYLES* = {0}; MDITILE_VERTICAL* = 0 (* {} *); MDITILE_HORIZONTAL* = 1 (* {0} *); MDITILE_SKIPDISABLED* = 2 (* {1} *); IMC_GETCANDIDATEPOS* = 7 (* {0..2} *); IMC_SETCANDIDATEPOS* = 8 (* {3} *); IMC_GETCOMPOSITIONFONT* = 9 (* {0, 3} *); IMC_SETCOMPOSITIONFONT* = 10 (* {1, 3} *); IMC_GETCOMPOSITIONWINDOW* = 11 (* {0, 1, 3} *); IMC_SETCOMPOSITIONWINDOW* = 12 (* {2, 3} *); IMC_GETSTATUSWINDOWPOS* = 15 (* {0..3} *); IMC_SETSTATUSWINDOWPOS* = 16 (* {4} *); IMC_CLOSESTATUSWINDOW* = 33 (* {0, 5} *); IMC_OPENSTATUSWINDOW* = 34 (* {1, 5} *); IMN_CLOSESTATUSWINDOW* = 1 (* {0} *); IMN_OPENSTATUSWINDOW* = 2 (* {1} *); IMN_CHANGECANDIDATE* = 3 (* {0, 1} *); IMN_CLOSECANDIDATE* = 4 (* {2} *); IMN_OPENCANDIDATE* = 5 (* {0, 2} *); IMN_SETCONVERSIONMODE* = 6 (* {1, 2} *); IMN_SETSENTENCEMODE* = 7 (* {0..2} *); IMN_SETOPENSTATUS* = 8 (* {3} *); IMN_SETCANDIDATEPOS* = 9 (* {0, 3} *); IMN_SETCOMPOSITIONFONT* = 10 (* {1, 3} *); IMN_SETCOMPOSITIONWINDOW* = 11 (* {0, 1, 3} *); IMN_SETSTATUSWINDOWPOS* = 12 (* {2, 3} *); IMN_GUIDELINE* = 13 (* {0, 2, 3} *); IMN_PRIVATE* = 14 (* {1..3} *); HELP_CONTEXT* = 1 (* {0} *); HELP_QUIT* = 2 (* {1} *); HELP_INDEX* = 3 (* {0, 1} *); HELP_CONTENTS* = 3 (* {0, 1} *); HELP_HELPONHELP* = 4 (* {2} *); HELP_SETINDEX* = 5 (* {0, 2} *); HELP_SETCONTENTS* = 5 (* {0, 2} *); HELP_CONTEXTPOPUP* = 8 (* {3} *); HELP_FORCEFILE* = 9 (* {0, 3} *); HELP_KEY* = 257 (* {0, 8} *); HELP_COMMAND* = 258 (* {1, 8} *); HELP_PARTIALKEY* = 261 (* {0, 2, 8} *); HELP_MULTIKEY* = 513 (* {0, 9} *); HELP_SETWINPOS* = 515 (* {0, 1, 9} *); HELP_CONTEXTMENU* = 10 (* {1, 3} *); HELP_FINDER* = 11 (* {0, 1, 3} *); HELP_WM_HELP* = 12 (* {2, 3} *); HELP_SETPOPUP_POS* = 13 (* {0, 2, 3} *); HELP_TCARD* = 32768 (* {15} *); HELP_TCARD_DATA* = 16 (* {4} *); HELP_TCARD_OTHER_CALLER* = 17 (* {0, 4} *); IDH_NO_HELP* = 28440 (* {3, 4, 8..11, 13, 14} *); IDH_MISSING_CONTEXT* = 28441 (* {0, 3, 4, 8..11, 13, 14} *); IDH_GENERIC_HELP_BUTTON* = 28442 (* {1, 3, 4, 8..11, 13, 14} *); IDH_OK* = 28443 (* {0, 1, 3, 4, 8..11, 13, 14} *); IDH_CANCEL* = 28444 (* {2..4, 8..11, 13, 14} *); IDH_HELP* = 28445 (* {0, 2..4, 8..11, 13, 14} *); SPI_GETBEEP* = 1 (* {0} *); SPI_SETBEEP* = 2 (* {1} *); SPI_GETMOUSE* = 3 (* {0, 1} *); SPI_SETMOUSE* = 4 (* {2} *); SPI_GETBORDER* = 5 (* {0, 2} *); SPI_SETBORDER* = 6 (* {1, 2} *); SPI_GETKEYBOARDSPEED* = 10 (* {1, 3} *); SPI_SETKEYBOARDSPEED* = 11 (* {0, 1, 3} *); SPI_LANGDRIVER* = 12 (* {2, 3} *); SPI_ICONHORIZONTALSPACING* = 13 (* {0, 2, 3} *); SPI_GETSCREENSAVETIMEOUT* = 14 (* {1..3} *); SPI_SETSCREENSAVETIMEOUT* = 15 (* {0..3} *); SPI_GETSCREENSAVEACTIVE* = 16 (* {4} *); SPI_SETSCREENSAVEACTIVE* = 17 (* {0, 4} *); SPI_GETGRIDGRANULARITY* = 18 (* {1, 4} *); SPI_SETGRIDGRANULARITY* = 19 (* {0, 1, 4} *); SPI_SETDESKWALLPAPER* = 20 (* {2, 4} *); SPI_SETDESKPATTERN* = 21 (* {0, 2, 4} *); SPI_GETKEYBOARDDELAY* = 22 (* {1, 2, 4} *); SPI_SETKEYBOARDDELAY* = 23 (* {0..2, 4} *); SPI_ICONVERTICALSPACING* = 24 (* {3, 4} *); SPI_GETICONTITLEWRAP* = 25 (* {0, 3, 4} *); SPI_SETICONTITLEWRAP* = 26 (* {1, 3, 4} *); SPI_GETMENUDROPALIGNMENT* = 27 (* {0, 1, 3, 4} *); SPI_SETMENUDROPALIGNMENT* = 28 (* {2..4} *); SPI_SETDOUBLECLKWIDTH* = 29 (* {0, 2..4} *); SPI_SETDOUBLECLKHEIGHT* = 30 (* {1..4} *); SPI_GETICONTITLELOGFONT* = 31 (* {0..4} *); SPI_SETDOUBLECLICKTIME* = 32 (* {5} *); SPI_SETMOUSEBUTTONSWAP* = 33 (* {0, 5} *); SPI_SETICONTITLELOGFONT* = 34 (* {1, 5} *); SPI_GETFASTTASKSWITCH* = 35 (* {0, 1, 5} *); SPI_SETFASTTASKSWITCH* = 36 (* {2, 5} *); SPI_SETDRAGFULLWINDOWS* = 37 (* {0, 2, 5} *); SPI_GETDRAGFULLWINDOWS* = 38 (* {1, 2, 5} *); SPI_GETNONCLIENTMETRICS* = 41 (* {0, 3, 5} *); SPI_SETNONCLIENTMETRICS* = 42 (* {1, 3, 5} *); SPI_GETMINIMIZEDMETRICS* = 43 (* {0, 1, 3, 5} *); SPI_SETMINIMIZEDMETRICS* = 44 (* {2, 3, 5} *); SPI_GETICONMETRICS* = 45 (* {0, 2, 3, 5} *); SPI_SETICONMETRICS* = 46 (* {1..3, 5} *); SPI_SETWORKAREA* = 47 (* {0..3, 5} *); SPI_GETWORKAREA* = 48 (* {4, 5} *); SPI_SETPENWINDOWS* = 49 (* {0, 4, 5} *); SPI_GETHIGHCONTRAST* = 66 (* {1, 6} *); SPI_SETHIGHCONTRAST* = 67 (* {0, 1, 6} *); SPI_GETKEYBOARDPREF* = 68 (* {2, 6} *); SPI_SETKEYBOARDPREF* = 69 (* {0, 2, 6} *); SPI_GETSCREENREADER* = 70 (* {1, 2, 6} *); SPI_SETSCREENREADER* = 71 (* {0..2, 6} *); SPI_GETANIMATION* = 72 (* {3, 6} *); SPI_SETANIMATION* = 73 (* {0, 3, 6} *); SPI_GETFONTSMOOTHING* = 74 (* {1, 3, 6} *); SPI_SETFONTSMOOTHING* = 75 (* {0, 1, 3, 6} *); SPI_SETDRAGWIDTH* = 76 (* {2, 3, 6} *); SPI_SETDRAGHEIGHT* = 77 (* {0, 2, 3, 6} *); SPI_SETHANDHELD* = 78 (* {1..3, 6} *); SPI_GETLOWPOWERTIMEOUT* = 79 (* {0..3, 6} *); SPI_GETPOWEROFFTIMEOUT* = 80 (* {4, 6} *); SPI_SETLOWPOWERTIMEOUT* = 81 (* {0, 4, 6} *); SPI_SETPOWEROFFTIMEOUT* = 82 (* {1, 4, 6} *); SPI_GETLOWPOWERACTIVE* = 83 (* {0, 1, 4, 6} *); SPI_GETPOWEROFFACTIVE* = 84 (* {2, 4, 6} *); SPI_SETLOWPOWERACTIVE* = 85 (* {0, 2, 4, 6} *); SPI_SETPOWEROFFACTIVE* = 86 (* {1, 2, 4, 6} *); SPI_SETCURSORS* = 87 (* {0..2, 4, 6} *); SPI_SETICONS* = 88 (* {3, 4, 6} *); SPI_GETDEFAULTINPUTLANG* = 89 (* {0, 3, 4, 6} *); SPI_SETDEFAULTINPUTLANG* = 90 (* {1, 3, 4, 6} *); SPI_SETLANGTOGGLE* = 91 (* {0, 1, 3, 4, 6} *); SPI_GETWINDOWSEXTENSION* = 92 (* {2..4, 6} *); SPI_SETMOUSETRAILS* = 93 (* {0, 2..4, 6} *); SPI_GETMOUSETRAILS* = 94 (* {1..4, 6} *); SPI_SCREENSAVERRUNNING* = 97 (* {0, 5, 6} *); SPI_GETFILTERKEYS* = 50 (* {1, 4, 5} *); SPI_SETFILTERKEYS* = 51 (* {0, 1, 4, 5} *); SPI_GETTOGGLEKEYS* = 52 (* {2, 4, 5} *); SPI_SETTOGGLEKEYS* = 53 (* {0, 2, 4, 5} *); SPI_GETMOUSEKEYS* = 54 (* {1, 2, 4, 5} *); SPI_SETMOUSEKEYS* = 55 (* {0..2, 4, 5} *); SPI_GETSHOWSOUNDS* = 56 (* {3..5} *); SPI_SETSHOWSOUNDS* = 57 (* {0, 3..5} *); SPI_GETSTICKYKEYS* = 58 (* {1, 3..5} *); SPI_SETSTICKYKEYS* = 59 (* {0, 1, 3..5} *); SPI_GETACCESSTIMEOUT* = 60 (* {2..5} *); SPI_SETACCESSTIMEOUT* = 61 (* {0, 2..5} *); SPI_GETSERIALKEYS* = 62 (* {1..5} *); SPI_SETSERIALKEYS* = 63 (* {0..5} *); SPI_GETSOUNDSENTRY* = 64 (* {6} *); SPI_SETSOUNDSENTRY* = 65 (* {0, 6} *); SPIF_UPDATEINIFILE* = 1 (* {0} *); SPIF_SENDWININICHANGE* = 2 (* {1} *); SPIF_SENDCHANGE* = 2 (* {1} *); METRICS_USEDEFAULT* = -1 (* {0..31} *); ARW_BOTTOMLEFT* = 0 (* {} *); ARW_BOTTOMRIGHT* = 1 (* {0} *); ARW_TOPLEFT* = 2 (* {1} *); ARW_TOPRIGHT* = 3 (* {0, 1} *); ARW_STARTMASK* = 3 (* {0, 1} *); ARW_STARTRIGHT* = 1 (* {0} *); ARW_STARTTOP* = 2 (* {1} *); ARW_LEFT* = 0 (* {} *); ARW_RIGHT* = 0 (* {} *); ARW_UP* = 4 (* {2} *); ARW_DOWN* = 4 (* {2} *); ARW_HIDE* = 8 (* {3} *); ARW_VALID* = 15 (* {0..3} *); SERKF_SERIALKEYSON* = {0}; SERKF_AVAILABLE* = {1}; SERKF_INDICATOR* = {2}; HCF_HIGHCONTRASTON* = {0}; HCF_AVAILABLE* = {1}; HCF_HOTKEYACTIVE* = {2}; HCF_CONFIRMHOTKEY* = {3}; HCF_HOTKEYSOUND* = {4}; HCF_INDICATOR* = {5}; HCF_HOTKEYAVAILABLE* = {6}; CDS_UPDATEREGISTRY* = {0}; CDS_TEST* = {1}; CDS_FULLSCREEN* = {2}; DISP_CHANGE_SUCCESSFUL* = 0 (* {} *); DISP_CHANGE_RESTART* = 1 (* {0} *); DISP_CHANGE_FAILED* = -1 (* {0..31} *); DISP_CHANGE_BADMODE* = -2 (* {1..31} *); DISP_CHANGE_NOTUPDATED* = -3 (* {0, 2..31} *); DISP_CHANGE_BADFLAGS* = -4 (* {2..31} *); FKF_FILTERKEYSON* = {0}; FKF_AVAILABLE* = {1}; FKF_HOTKEYACTIVE* = {2}; FKF_CONFIRMHOTKEY* = {3}; FKF_HOTKEYSOUND* = {4}; FKF_INDICATOR* = {5}; FKF_CLICKON* = {6}; SKF_STICKYKEYSON* = {0}; SKF_AVAILABLE* = {1}; SKF_HOTKEYACTIVE* = {2}; SKF_CONFIRMHOTKEY* = {3}; SKF_HOTKEYSOUND* = {4}; SKF_INDICATOR* = {5}; SKF_AUDIBLEFEEDBACK* = {6}; SKF_TRISTATE* = {7}; SKF_TWOKEYSOFF* = {8}; MKF_MOUSEKEYSON* = {0}; MKF_AVAILABLE* = {1}; MKF_HOTKEYACTIVE* = {2}; MKF_CONFIRMHOTKEY* = {3}; MKF_HOTKEYSOUND* = {4}; MKF_INDICATOR* = {5}; MKF_MODIFIERS* = {6}; MKF_REPLACENUMBERS* = {7}; ATF_TIMEOUTON* = {0}; ATF_ONOFFFEEDBACK* = {1}; SSGF_NONE* = 0 (* {} *); SSGF_DISPLAY* = 3 (* {0, 1} *); SSTF_NONE* = 0 (* {} *); SSTF_CHARS* = 1 (* {0} *); SSTF_BORDER* = 2 (* {1} *); SSTF_DISPLAY* = 3 (* {0, 1} *); SSWF_NONE* = 0 (* {} *); SSWF_TITLE* = 1 (* {0} *); SSWF_WINDOW* = 2 (* {1} *); SSWF_DISPLAY* = 3 (* {0, 1} *); SSWF_CUSTOM* = 4 (* {2} *); SSF_SOUNDSENTRYON* = {0}; SSF_AVAILABLE* = {1}; SSF_INDICATOR* = {2}; TKF_TOGGLEKEYSON* = {0}; TKF_AVAILABLE* = {1}; TKF_HOTKEYACTIVE* = {2}; TKF_CONFIRMHOTKEY* = {3}; TKF_HOTKEYSOUND* = {4}; TKF_INDICATOR* = {5}; SLE_ERROR* = 1 (* {0} *); SLE_MINORERROR* = 2 (* {1} *); SLE_WARNING* = 3 (* {0, 1} *); MAX_LEADBYTES* = 12 (* {2, 3} *); MAX_DEFAULTCHAR* = 2 (* {1} *); MB_PRECOMPOSED* = {0}; MB_COMPOSITE* = {1}; MB_USEGLYPHCHARS* = {2}; MB_ERR_INVALID_CHARS* = {3}; WC_DEFAULTCHECK* = {8}; WC_COMPOSITECHECK* = {9}; WC_DISCARDNS* = {4}; WC_SEPCHARS* = {5}; WC_DEFAULTCHAR* = {6}; CT_CTYPE1* = {0}; CT_CTYPE2* = {1}; CT_CTYPE3* = {2}; C1_UPPER* = 1 (* {0} *); C1_LOWER* = 2 (* {1} *); C1_DIGIT* = 4 (* {2} *); C1_SPACE* = 8 (* {3} *); C1_PUNCT* = 16 (* {4} *); C1_CNTRL* = 32 (* {5} *); C1_BLANK* = 64 (* {6} *); C1_XDIGIT* = 128 (* {7} *); C1_ALPHA* = 256 (* {8} *); C2_LEFTTORIGHT* = 1 (* {0} *); C2_RIGHTTOLEFT* = 2 (* {1} *); C2_EUROPENUMBER* = 3 (* {0, 1} *); C2_EUROPESEPARATOR* = 4 (* {2} *); C2_EUROPETERMINATOR* = 5 (* {0, 2} *); C2_ARABICNUMBER* = 6 (* {1, 2} *); C2_COMMONSEPARATOR* = 7 (* {0..2} *); C2_BLOCKSEPARATOR* = 8 (* {3} *); C2_SEGMENTSEPARATOR* = 9 (* {0, 3} *); C2_WHITESPACE* = 10 (* {1, 3} *); C2_OTHERNEUTRAL* = 11 (* {0, 1, 3} *); C2_NOTAPPLICABLE* = 0 (* {} *); C3_NONSPACING* = 1 (* {0} *); C3_DIACRITIC* = 2 (* {1} *); C3_VOWELMARK* = 4 (* {2} *); C3_SYMBOL* = 8 (* {3} *); C3_KATAKANA* = 16 (* {4} *); C3_HIRAGANA* = 32 (* {5} *); C3_HALFWIDTH* = 64 (* {6} *); C3_FULLWIDTH* = 128 (* {7} *); C3_IDEOGRAPH* = 256 (* {8} *); C3_KASHIDA* = 512 (* {9} *); C3_LEXICAL* = 1024 (* {10} *); C3_ALPHA* = 32768 (* {15} *); C3_NOTAPPLICABLE* = 0 (* {} *); NORM_IGNORECASE* = {0}; NORM_IGNORENONSPACE* = {1}; NORM_IGNORESYMBOLS* = {2}; NORM_IGNOREKANATYPE* = {16}; NORM_IGNOREWIDTH* = {17}; MAP_FOLDCZONE* = {4}; MAP_PRECOMPOSED* = {5}; MAP_COMPOSITE* = {6}; MAP_FOLDDIGITS* = {7}; LCMAP_LOWERCASE* = {8}; LCMAP_UPPERCASE* = {9}; LCMAP_SORTKEY* = {10}; LCMAP_BYTEREV* = {11}; LCMAP_HIRAGANA* = {20}; LCMAP_KATAKANA* = {21}; LCMAP_HALFWIDTH* = {22}; LCMAP_FULLWIDTH* = {23}; LCMAP_LINGUISTIC_CASING* = {24}; LCID_INSTALLED* = {0}; LCID_SUPPORTED* = {1}; CP_INSTALLED* = {0}; CP_SUPPORTED* = {1}; SORT_STRINGSORT* = {12}; CP_ACP* = 0 (* {} *); CP_OEMCP* = 1 (* {0} *); CP_MACCP* = 2 (* {1} *); CTRY_DEFAULT* = 0 (* {} *); CTRY_AUSTRALIA* = 61 (* {0, 2..5} *); CTRY_AUSTRIA* = 43 (* {0, 1, 3, 5} *); CTRY_BELGIUM* = 32 (* {5} *); CTRY_BRAZIL* = 55 (* {0..2, 4, 5} *); CTRY_BULGARIA* = 359 (* {0..2, 5, 6, 8} *); CTRY_CANADA* = 2 (* {1} *); CTRY_CROATIA* = 385 (* {0, 7, 8} *); CTRY_CZECH* = 42 (* {1, 3, 5} *); CTRY_DENMARK* = 45 (* {0, 2, 3, 5} *); CTRY_FINLAND* = 358 (* {1, 2, 5, 6, 8} *); CTRY_FRANCE* = 33 (* {0, 5} *); CTRY_GERMANY* = 49 (* {0, 4, 5} *); CTRY_GREECE* = 30 (* {1..4} *); CTRY_HONG_KONG* = 852 (* {2, 4, 6, 8, 9} *); CTRY_HUNGARY* = 36 (* {2, 5} *); CTRY_ICELAND* = 354 (* {1, 5, 6, 8} *); CTRY_IRELAND* = 353 (* {0, 5, 6, 8} *); CTRY_ITALY* = 39 (* {0..2, 5} *); CTRY_JAPAN* = 81 (* {0, 4, 6} *); CTRY_MEXICO* = 52 (* {2, 4, 5} *); CTRY_NETHERLANDS* = 31 (* {0..4} *); CTRY_NEW_ZEALAND* = 64 (* {6} *); CTRY_NORWAY* = 47 (* {0..3, 5} *); CTRY_POLAND* = 48 (* {4, 5} *); CTRY_PORTUGAL* = 351 (* {0..4, 6, 8} *); CTRY_PRCHINA* = 86 (* {1, 2, 4, 6} *); CTRY_ROMANIA* = 40 (* {3, 5} *); CTRY_RUSSIA* = 7 (* {0..2} *); CTRY_SINGAPORE* = 65 (* {0, 6} *); CTRY_SLOVAK* = 42 (* {1, 3, 5} *); CTRY_SLOVENIA* = 386 (* {1, 7, 8} *); CTRY_SOUTH_KOREA* = 82 (* {1, 4, 6} *); CTRY_SPAIN* = 34 (* {1, 5} *); CTRY_SWEDEN* = 46 (* {1..3, 5} *); CTRY_SWITZERLAND* = 41 (* {0, 3, 5} *); CTRY_TAIWAN* = 886 (* {1, 2, 4..6, 8, 9} *); CTRY_TURKEY* = 90 (* {1, 3, 4, 6} *); CTRY_UNITED_KINGDOM* = 44 (* {2, 3, 5} *); CTRY_UNITED_STATES* = 1 (* {0} *); LOCALE_NOUSEROVERRIDE* = 80000000H; LOCALE_USE_CP_ACP* = 1073741824 (* {30} *); LOCALE_ILANGUAGE* = 1 (* {0} *); LOCALE_SLANGUAGE* = 2 (* {1} *); LOCALE_SENGLANGUAGE* = 4097 (* {0, 12} *); LOCALE_SABBREVLANGNAME* = 3 (* {0, 1} *); LOCALE_SNATIVELANGNAME* = 4 (* {2} *); LOCALE_ICOUNTRY* = 5 (* {0, 2} *); LOCALE_SCOUNTRY* = 6 (* {1, 2} *); LOCALE_SENGCOUNTRY* = 4098 (* {1, 12} *); LOCALE_SABBREVCTRYNAME* = 7 (* {0..2} *); LOCALE_SNATIVECTRYNAME* = 8 (* {3} *); LOCALE_IDEFAULTLANGUAGE* = 9 (* {0, 3} *); LOCALE_IDEFAULTCOUNTRY* = 10 (* {1, 3} *); LOCALE_IDEFAULTCODEPAGE* = 11 (* {0, 1, 3} *); LOCALE_IDEFAULTANSICODEPAGE* = 4100 (* {2, 12} *); LOCALE_SLIST* = 12 (* {2, 3} *); LOCALE_IMEASURE* = 13 (* {0, 2, 3} *); LOCALE_SDECIMAL* = 14 (* {1..3} *); LOCALE_STHOUSAND* = 15 (* {0..3} *); LOCALE_SGROUPING* = 16 (* {4} *); LOCALE_IDIGITS* = 17 (* {0, 4} *); LOCALE_ILZERO* = 18 (* {1, 4} *); LOCALE_INEGNUMBER* = 4112 (* {4, 12} *); LOCALE_SNATIVEDIGITS* = 19 (* {0, 1, 4} *); LOCALE_SCURRENCY* = 20 (* {2, 4} *); LOCALE_SINTLSYMBOL* = 21 (* {0, 2, 4} *); LOCALE_SMONDECIMALSEP* = 22 (* {1, 2, 4} *); LOCALE_SMONTHOUSANDSEP* = 23 (* {0..2, 4} *); LOCALE_SMONGROUPING* = 24 (* {3, 4} *); LOCALE_ICURRDIGITS* = 25 (* {0, 3, 4} *); LOCALE_IINTLCURRDIGITS* = 26 (* {1, 3, 4} *); LOCALE_ICURRENCY* = 27 (* {0, 1, 3, 4} *); LOCALE_INEGCURR* = 28 (* {2..4} *); LOCALE_SDATE* = 29 (* {0, 2..4} *); LOCALE_STIME* = 30 (* {1..4} *); LOCALE_SSHORTDATE* = 31 (* {0..4} *); LOCALE_SLONGDATE* = 32 (* {5} *); LOCALE_STIMEFORMAT* = 4099 (* {0, 1, 12} *); LOCALE_IDATE* = 33 (* {0, 5} *); LOCALE_ILDATE* = 34 (* {1, 5} *); LOCALE_ITIME* = 35 (* {0, 1, 5} *); LOCALE_ITIMEMARKPOSN* = 4101 (* {0, 2, 12} *); LOCALE_ICENTURY* = 36 (* {2, 5} *); LOCALE_ITLZERO* = 37 (* {0, 2, 5} *); LOCALE_IDAYLZERO* = 38 (* {1, 2, 5} *); LOCALE_IMONLZERO* = 39 (* {0..2, 5} *); LOCALE_S1159* = 40 (* {3, 5} *); LOCALE_S2359* = 41 (* {0, 3, 5} *); LOCALE_ICALENDARTYPE* = 4105 (* {0, 3, 12} *); LOCALE_IOPTIONALCALENDAR* = 4107 (* {0, 1, 3, 12} *); LOCALE_IFIRSTDAYOFWEEK* = 4108 (* {2, 3, 12} *); LOCALE_IFIRSTWEEKOFYEAR* = 4109 (* {0, 2, 3, 12} *); LOCALE_SDAYNAME1* = 42 (* {1, 3, 5} *); LOCALE_SDAYNAME2* = 43 (* {0, 1, 3, 5} *); LOCALE_SDAYNAME3* = 44 (* {2, 3, 5} *); LOCALE_SDAYNAME4* = 45 (* {0, 2, 3, 5} *); LOCALE_SDAYNAME5* = 46 (* {1..3, 5} *); LOCALE_SDAYNAME6* = 47 (* {0..3, 5} *); LOCALE_SDAYNAME7* = 48 (* {4, 5} *); LOCALE_SABBREVDAYNAME1* = 49 (* {0, 4, 5} *); LOCALE_SABBREVDAYNAME2* = 50 (* {1, 4, 5} *); LOCALE_SABBREVDAYNAME3* = 51 (* {0, 1, 4, 5} *); LOCALE_SABBREVDAYNAME4* = 52 (* {2, 4, 5} *); LOCALE_SABBREVDAYNAME5* = 53 (* {0, 2, 4, 5} *); LOCALE_SABBREVDAYNAME6* = 54 (* {1, 2, 4, 5} *); LOCALE_SABBREVDAYNAME7* = 55 (* {0..2, 4, 5} *); LOCALE_SMONTHNAME1* = 56 (* {3..5} *); LOCALE_SMONTHNAME2* = 57 (* {0, 3..5} *); LOCALE_SMONTHNAME3* = 58 (* {1, 3..5} *); LOCALE_SMONTHNAME4* = 59 (* {0, 1, 3..5} *); LOCALE_SMONTHNAME5* = 60 (* {2..5} *); LOCALE_SMONTHNAME6* = 61 (* {0, 2..5} *); LOCALE_SMONTHNAME7* = 62 (* {1..5} *); LOCALE_SMONTHNAME8* = 63 (* {0..5} *); LOCALE_SMONTHNAME9* = 64 (* {6} *); LOCALE_SMONTHNAME10* = 65 (* {0, 6} *); LOCALE_SMONTHNAME11* = 66 (* {1, 6} *); LOCALE_SMONTHNAME12* = 67 (* {0, 1, 6} *); LOCALE_SMONTHNAME13* = 4110 (* {1..3, 12} *); LOCALE_SABBREVMONTHNAME1* = 68 (* {2, 6} *); LOCALE_SABBREVMONTHNAME2* = 69 (* {0, 2, 6} *); LOCALE_SABBREVMONTHNAME3* = 70 (* {1, 2, 6} *); LOCALE_SABBREVMONTHNAME4* = 71 (* {0..2, 6} *); LOCALE_SABBREVMONTHNAME5* = 72 (* {3, 6} *); LOCALE_SABBREVMONTHNAME6* = 73 (* {0, 3, 6} *); LOCALE_SABBREVMONTHNAME7* = 74 (* {1, 3, 6} *); LOCALE_SABBREVMONTHNAME8* = 75 (* {0, 1, 3, 6} *); LOCALE_SABBREVMONTHNAME9* = 76 (* {2, 3, 6} *); LOCALE_SABBREVMONTHNAME10* = 77 (* {0, 2, 3, 6} *); LOCALE_SABBREVMONTHNAME11* = 78 (* {1..3, 6} *); LOCALE_SABBREVMONTHNAME12* = 79 (* {0..3, 6} *); LOCALE_SABBREVMONTHNAME13* = 4111 (* {0..3, 12} *); LOCALE_SPOSITIVESIGN* = 80 (* {4, 6} *); LOCALE_SNEGATIVESIGN* = 81 (* {0, 4, 6} *); LOCALE_IPOSSIGNPOSN* = 82 (* {1, 4, 6} *); LOCALE_INEGSIGNPOSN* = 83 (* {0, 1, 4, 6} *); LOCALE_IPOSSYMPRECEDES* = 84 (* {2, 4, 6} *); LOCALE_IPOSSEPBYSPACE* = 85 (* {0, 2, 4, 6} *); LOCALE_INEGSYMPRECEDES* = 86 (* {1, 2, 4, 6} *); LOCALE_INEGSEPBYSPACE* = 87 (* {0..2, 4, 6} *); LOCALE_FONTSIGNATURE* = 88 (* {3, 4, 6} *); TIME_NOMINUTESORSECONDS* = {0}; TIME_NOSECONDS* = {1}; TIME_NOTIMEMARKER* = {2}; TIME_FORCE24HOURFORMAT* = {3}; DATE_SHORTDATE* = {0}; DATE_LONGDATE* = {1}; DATE_USE_ALT_CALENDAR* = {2}; CAL_ICALINTVALUE* = 1 (* {0} *); CAL_SCALNAME* = 2 (* {1} *); CAL_IYEAROFFSETRANGE* = 3 (* {0, 1} *); CAL_SERASTRING* = 4 (* {2} *); CAL_SSHORTDATE* = 5 (* {0, 2} *); CAL_SLONGDATE* = 6 (* {1, 2} *); CAL_SDAYNAME1* = 7 (* {0..2} *); CAL_SDAYNAME2* = 8 (* {3} *); CAL_SDAYNAME3* = 9 (* {0, 3} *); CAL_SDAYNAME4* = 10 (* {1, 3} *); CAL_SDAYNAME5* = 11 (* {0, 1, 3} *); CAL_SDAYNAME6* = 12 (* {2, 3} *); CAL_SDAYNAME7* = 13 (* {0, 2, 3} *); CAL_SABBREVDAYNAME1* = 14 (* {1..3} *); CAL_SABBREVDAYNAME2* = 15 (* {0..3} *); CAL_SABBREVDAYNAME3* = 16 (* {4} *); CAL_SABBREVDAYNAME4* = 17 (* {0, 4} *); CAL_SABBREVDAYNAME5* = 18 (* {1, 4} *); CAL_SABBREVDAYNAME6* = 19 (* {0, 1, 4} *); CAL_SABBREVDAYNAME7* = 20 (* {2, 4} *); CAL_SMONTHNAME1* = 21 (* {0, 2, 4} *); CAL_SMONTHNAME2* = 22 (* {1, 2, 4} *); CAL_SMONTHNAME3* = 23 (* {0..2, 4} *); CAL_SMONTHNAME4* = 24 (* {3, 4} *); CAL_SMONTHNAME5* = 25 (* {0, 3, 4} *); CAL_SMONTHNAME6* = 26 (* {1, 3, 4} *); CAL_SMONTHNAME7* = 27 (* {0, 1, 3, 4} *); CAL_SMONTHNAME8* = 28 (* {2..4} *); CAL_SMONTHNAME9* = 29 (* {0, 2..4} *); CAL_SMONTHNAME10* = 30 (* {1..4} *); CAL_SMONTHNAME11* = 31 (* {0..4} *); CAL_SMONTHNAME12* = 32 (* {5} *); CAL_SMONTHNAME13* = 33 (* {0, 5} *); CAL_SABBREVMONTHNAME1* = 34 (* {1, 5} *); CAL_SABBREVMONTHNAME2* = 35 (* {0, 1, 5} *); CAL_SABBREVMONTHNAME3* = 36 (* {2, 5} *); CAL_SABBREVMONTHNAME4* = 37 (* {0, 2, 5} *); CAL_SABBREVMONTHNAME5* = 38 (* {1, 2, 5} *); CAL_SABBREVMONTHNAME6* = 39 (* {0..2, 5} *); CAL_SABBREVMONTHNAME7* = 40 (* {3, 5} *); CAL_SABBREVMONTHNAME8* = 41 (* {0, 3, 5} *); CAL_SABBREVMONTHNAME9* = 42 (* {1, 3, 5} *); CAL_SABBREVMONTHNAME10* = 43 (* {0, 1, 3, 5} *); CAL_SABBREVMONTHNAME11* = 44 (* {2, 3, 5} *); CAL_SABBREVMONTHNAME12* = 45 (* {0, 2, 3, 5} *); CAL_SABBREVMONTHNAME13* = 46 (* {1..3, 5} *); ENUM_ALL_CALENDARS* = -1 (* {0..31} *); CAL_GREGORIAN* = 1 (* {0} *); CAL_GREGORIAN_US* = 2 (* {1} *); CAL_JAPAN* = 3 (* {0, 1} *); CAL_TAIWAN* = 4 (* {2} *); CAL_KOREA* = 5 (* {0, 2} *); CAL_HIJRI* = 6 (* {1, 2} *); CAL_THAI* = 7 (* {0..2} *); CAL_HEBREW* = 8 (* {3} *); RIGHT_ALT_PRESSED* = {0}; LEFT_ALT_PRESSED* = {1}; RIGHT_CTRL_PRESSED* = {2}; LEFT_CTRL_PRESSED* = {3}; SHIFT_PRESSED* = {4}; NUMLOCK_ON* = {5}; SCROLLLOCK_ON* = {6}; CAPSLOCK_ON* = {7}; ENHANCED_KEY* = {8}; FROM_LEFT_1ST_BUTTON_PRESSED* = {0}; RIGHTMOST_BUTTON_PRESSED* = {1}; FROM_LEFT_2ND_BUTTON_PRESSED* = {2}; FROM_LEFT_3RD_BUTTON_PRESSED* = {3}; FROM_LEFT_4TH_BUTTON_PRESSED* = {4}; MOUSE_MOVED* = {0}; DOUBLE_CLICK* = {1}; KEY_EVENT* = {0}; MOUSE_EVENT* = 2 (* {1} *); WINDOW_BUFFER_SIZE_EVENT* = 4 (* {2} *); MENU_EVENT* = 8 (* {3} *); FOCUS_EVENT* = 16 (* {4} *); FOREGROUND_BLUE* = 1 (* {0} *); FOREGROUND_GREEN* = 2 (* {1} *); FOREGROUND_RED* = 4 (* {2} *); FOREGROUND_INTENSITY* = 8 (* {3} *); BACKGROUND_BLUE* = 16 (* {4} *); BACKGROUND_GREEN* = 32 (* {5} *); BACKGROUND_RED* = 64 (* {6} *); BACKGROUND_INTENSITY* = 128 (* {7} *); CTRL_C_EVENT* = 0 (* {} *); CTRL_BREAK_EVENT* = 1 (* {0} *); CTRL_CLOSE_EVENT* = 2 (* {1} *); CTRL_LOGOFF_EVENT* = 5 (* {0, 2} *); CTRL_SHUTDOWN_EVENT* = 6 (* {1, 2} *); ENABLE_PROCESSED_INPUT* = {0}; ENABLE_LINE_INPUT* = {1}; ENABLE_ECHO_INPUT* = {2}; ENABLE_WINDOW_INPUT* = {3}; ENABLE_MOUSE_INPUT* = {4}; ENABLE_PROCESSED_OUTPUT* = {0}; ENABLE_WRAP_AT_EOL_OUTPUT* = {1}; CONSOLE_TEXTMODE_BUFFER* = {0}; VS_FILE_INFO* = 16 (* {4} *); VS_VERSION_INFO* = 1 (* {0} *); VS_USER_DEFINED* = 100 (* {2, 5, 6} *); VS_FFI_SIGNATURE* = -17890115 (* {0, 2..5, 7, 10, 16..19, 21..23, 25..31} *); VS_FFI_STRUCVERSION* = 65536 (* {16} *); VS_FFI_FILEFLAGSMASK* = 63 (* {0..5} *); VS_FF_DEBUG* = {0}; VS_FF_PRERELEASE* = {1}; VS_FF_PATCHED* = {2}; VS_FF_PRIVATEBUILD* = {3}; VS_FF_INFOINFERRED* = {4}; VS_FF_SPECIALBUILD* = {5}; VOS_UNKNOWN* = {}; VOS_DOS* = {16}; VOS_OS216* = {17}; VOS_OS232* = {16, 17}; VOS_NT* = {18}; VOS__BASE* = {}; VOS__WINDOWS16* = {0}; VOS__PM16* = {1}; VOS__PM32* = {0, 1}; VOS__WINDOWS32* = {2}; VOS_DOS_WINDOWS16* = {0, 16}; VOS_DOS_WINDOWS32* = {2, 16}; VOS_OS216_PM16* = {1, 17}; VOS_OS232_PM32* = {0, 1, 16, 17}; VOS_NT_WINDOWS32* = {2, 18}; VFT_UNKNOWN* = 0 (* {} *); VFT_APP* = 1 (* {0} *); VFT_DLL* = 2 (* {1} *); VFT_DRV* = 3 (* {0, 1} *); VFT_FONT* = 4 (* {2} *); VFT_VXD* = 5 (* {0, 2} *); VFT_STATIC_LIB* = 7 (* {0..2} *); VFT2_UNKNOWN* = 0 (* {} *); VFT2_DRV_PRINTER* = 1 (* {0} *); VFT2_DRV_KEYBOARD* = 2 (* {1} *); VFT2_DRV_LANGUAGE* = 3 (* {0, 1} *); VFT2_DRV_DISPLAY* = 4 (* {2} *); VFT2_DRV_MOUSE* = 5 (* {0, 2} *); VFT2_DRV_NETWORK* = 6 (* {1, 2} *); VFT2_DRV_SYSTEM* = 7 (* {0..2} *); VFT2_DRV_INSTALLABLE* = 8 (* {3} *); VFT2_DRV_SOUND* = 9 (* {0, 3} *); VFT2_DRV_COMM* = 10 (* {1, 3} *); VFT2_FONT_RASTER* = 1 (* {0} *); VFT2_FONT_VECTOR* = 2 (* {1} *); VFT2_FONT_TRUETYPE* = 3 (* {0, 1} *); VFFF_ISSHAREDFILE* = {0}; VFF_CURNEDEST* = {0}; VFF_FILEINUSE* = {1}; VFF_BUFFTOOSMALL* = {2}; VIFF_FORCEINSTALL* = {0}; VIFF_DONTDELETEOLD* = {1}; VIF_TEMPFILE* = {0}; VIF_MISMATCH* = {1}; VIF_SRCOLD* = {2}; VIF_DIFFLANG* = {3}; VIF_DIFFCODEPG* = {4}; VIF_DIFFTYPE* = {5}; VIF_WRITEPROT* = {6}; VIF_FILEINUSE* = {7}; VIF_OUTOFSPACE* = {8}; VIF_ACCESSVIOLATION* = {9}; VIF_SHARINGVIOLATION* = {10}; VIF_CANNOTCREATE* = {11}; VIF_CANNOTDELETE* = {12}; VIF_CANNOTRENAME* = {13}; VIF_CANNOTDELETECUR* = {14}; VIF_OUTOFMEMORY* = {15}; VIF_CANNOTREADSRC* = {16}; VIF_CANNOTREADDST* = {17}; VIF_BUFFTOOSMALL* = {18}; PROVIDER_KEEPS_VALUE_LENGTH* = 1 (* {0} *); WIN31_CLASS* = 0 (* {} *); CDERR_DIALOGFAILURE* = 65535 (* {0..15} *); CDERR_GENERALCODES* = 0 (* {} *); CDERR_STRUCTSIZE* = 1 (* {0} *); CDERR_INITIALIZATION* = 2 (* {1} *); CDERR_NOTEMPLATE* = 3 (* {0, 1} *); CDERR_NOHINSTANCE* = 4 (* {2} *); CDERR_LOADSTRFAILURE* = 5 (* {0, 2} *); CDERR_FINDRESFAILURE* = 6 (* {1, 2} *); CDERR_LOADRESFAILURE* = 7 (* {0..2} *); CDERR_LOCKRESFAILURE* = 8 (* {3} *); CDERR_MEMALLOCFAILURE* = 9 (* {0, 3} *); CDERR_MEMLOCKFAILURE* = 10 (* {1, 3} *); CDERR_NOHOOK* = 11 (* {0, 1, 3} *); CDERR_REGISTERMSGFAIL* = 12 (* {2, 3} *); PDERR_PRINTERCODES* = 4096 (* {12} *); PDERR_SETUPFAILURE* = 4097 (* {0, 12} *); PDERR_PARSEFAILURE* = 4098 (* {1, 12} *); PDERR_RETDEFFAILURE* = 4099 (* {0, 1, 12} *); PDERR_LOADDRVFAILURE* = 4100 (* {2, 12} *); PDERR_GETDEVMODEFAIL* = 4101 (* {0, 2, 12} *); PDERR_INITFAILURE* = 4102 (* {1, 2, 12} *); PDERR_NODEVICES* = 4103 (* {0..2, 12} *); PDERR_NODEFAULTPRN* = 4104 (* {3, 12} *); PDERR_DNDMMISMATCH* = 4105 (* {0, 3, 12} *); PDERR_CREATEICFAILURE* = 4106 (* {1, 3, 12} *); PDERR_PRINTERNOTFOUND* = 4107 (* {0, 1, 3, 12} *); PDERR_DEFAULTDIFFERENT* = 4108 (* {2, 3, 12} *); CFERR_CHOOSEFONTCODES* = 8192 (* {13} *); CFERR_NOFONTS* = 8193 (* {0, 13} *); CFERR_MAXLESSTHANMIN* = 8194 (* {1, 13} *); FNERR_FILENAMECODES* = 12288 (* {12, 13} *); FNERR_SUBCLASSFAILURE* = 12289 (* {0, 12, 13} *); FNERR_INVALIDFILENAME* = 12290 (* {1, 12, 13} *); FNERR_BUFFERTOOSMALL* = 12291 (* {0, 1, 12, 13} *); FRERR_FINDREPLACECODES* = 16384 (* {14} *); FRERR_BUFFERLENGTHZERO* = 16385 (* {0, 14} *); CCERR_CHOOSECOLORCODES* = 20480 (* {12, 14} *); WM_DDE_FIRST* = 992 (* {5..9} *); WM_DDE_INITIATE* = 992 (* {5..9} *); WM_DDE_TERMINATE* = 993 (* {0, 5..9} *); WM_DDE_ADVISE* = 994 (* {1, 5..9} *); WM_DDE_UNADVISE* = 995 (* {0, 1, 5..9} *); WM_DDE_ACK* = 996 (* {2, 5..9} *); WM_DDE_DATA* = 997 (* {0, 2, 5..9} *); WM_DDE_REQUEST* = 998 (* {1, 2, 5..9} *); WM_DDE_POKE* = 999 (* {0..2, 5..9} *); WM_DDE_EXECUTE* = 1000 (* {3, 5..9} *); WM_DDE_LAST* = 1000 (* {3, 5..9} *); XST_NULL* = 0 (* {} *); XST_INCOMPLETE* = 1 (* {0} *); XST_CONNECTED* = 2 (* {1} *); XST_INIT1* = 3 (* {0, 1} *); XST_INIT2* = 4 (* {2} *); XST_REQSENT* = 5 (* {0, 2} *); XST_DATARCVD* = 6 (* {1, 2} *); XST_POKESENT* = 7 (* {0..2} *); XST_POKEACKRCVD* = 8 (* {3} *); XST_EXECSENT* = 9 (* {0, 3} *); XST_EXECACKRCVD* = 10 (* {1, 3} *); XST_ADVSENT* = 11 (* {0, 1, 3} *); XST_UNADVSENT* = 12 (* {2, 3} *); XST_ADVACKRCVD* = 13 (* {0, 2, 3} *); XST_UNADVACKRCVD* = 14 (* {1..3} *); XST_ADVDATASENT* = 15 (* {0..3} *); XST_ADVDATAACKRCVD* = 16 (* {4} *); CADV_LATEACK* = 65535 (* {0..15} *); ST_CONNECTED* = {0}; ST_ADVISE* = {1}; ST_ISLOCAL* = {2}; ST_BLOCKED* = {3}; ST_CLIENT* = {4}; ST_TERMINATED* = {5}; ST_INLIST* = {6}; ST_BLOCKNEXT* = {7}; ST_ISSELF* = {8}; DDE_FACK* = {15}; DDE_FBUSY* = {14}; DDE_FDEFERUPD* = {14}; DDE_FACKREQ* = {15}; DDE_FRELEASE* = {13}; DDE_FREQUESTED* = {12}; DDE_FAPPSTATUS* = {0..7}; DDE_FNOTPROCESSED* = {}; DDE_FACKRESERVED* = {8..13, 16..31}; DDE_FADVRESERVED* = {0..13, 16..31}; DDE_FDATRESERVED* = {0..11, 14, 16..31}; DDE_FPOKRESERVED* = {0..12, 14..31}; MSGF_DDEMGR* = 32769 (* {0, 15} *); CP_WINANSI* = 1004 (* {2, 3, 5..9} *); CP_WINUNICODE* = 1200 (* {4, 5, 7, 10} *); CP_WINNEUTRAL* = 1004 (* {2, 3, 5..9} *); XTYPF_NOBLOCK* = {1}; XTYPF_NODATA* = {2}; XTYPF_ACKREQ* = {3}; XCLASS_MASK* = {10..15}; XCLASS_BOOL* = {12}; XCLASS_DATA* = {13}; XCLASS_FLAGS* = {14}; XCLASS_NOTIFICATION* = {15}; XTYP_ERROR* = 32770 (* {1, 15} *); XTYP_ADVDATA* = 16400 (* {4, 14} *); XTYP_ADVREQ* = 8226 (* {1, 5, 13} *); XTYP_ADVSTART* = 4144 (* {4, 5, 12} *); XTYP_ADVSTOP* = 32832 (* {6, 15} *); XTYP_EXECUTE* = 16464 (* {4, 6, 14} *); XTYP_CONNECT* = 4194 (* {1, 5, 6, 12} *); XTYP_CONNECT_CONFIRM* = 32882 (* {1, 4..6, 15} *); XTYP_XACT_COMPLETE* = 32896 (* {7, 15} *); XTYP_POKE* = 16528 (* {4, 7, 14} *); XTYP_REGISTER* = 32930 (* {1, 5, 7, 15} *); XTYP_REQUEST* = 8368 (* {4, 5, 7, 13} *); XTYP_DISCONNECT* = 32962 (* {1, 6, 7, 15} *); XTYP_UNREGISTER* = 32978 (* {1, 4, 6, 7, 15} *); XTYP_WILDCONNECT* = 8418 (* {1, 5..7, 13} *); XTYP_MASK* = 240 (* {4..7} *); XTYP_SHIFT* = 4 (* {2} *); TIMEOUT_ASYNC* = -1 (* {0..31} *); QID_SYNC* = -1 (* {0..31} *); SZDDESYS_TOPIC* = "System"; SZDDESYS_ITEM_TOPICS* = "Topics"; SZDDESYS_ITEM_SYSITEMS* = "SysItems"; SZDDESYS_ITEM_RTNMSG* = "ReturnMessage"; SZDDESYS_ITEM_STATUS* = "Status"; SZDDESYS_ITEM_FORMATS* = "Formats"; SZDDESYS_ITEM_HELP* = "Help"; SZDDE_ITEM_ITEMLIST* = "TopicItemList"; CBF_FAIL_SELFCONNECTIONS* = 4096 (* {12} *); CBF_FAIL_CONNECTIONS* = 8192 (* {13} *); CBF_FAIL_ADVISES* = 16384 (* {14} *); CBF_FAIL_EXECUTES* = 32768 (* {15} *); CBF_FAIL_POKES* = 65536 (* {16} *); CBF_FAIL_REQUESTS* = 131072 (* {17} *); CBF_FAIL_ALLSVRXACTIONS* = 258048 (* {12..17} *); CBF_SKIP_CONNECT_CONFIRMS* = 262144 (* {18} *); CBF_SKIP_REGISTRATIONS* = 524288 (* {19} *); CBF_SKIP_UNREGISTRATIONS* = 1048576 (* {20} *); CBF_SKIP_DISCONNECTS* = 2097152 (* {21} *); CBF_SKIP_ALLNOTIFICATIONS* = 3932160 (* {18..21} *); APPCMD_CLIENTONLY* = 16 (* {4} *); APPCMD_FILTERINITS* = 32 (* {5} *); APPCMD_MASK* = 4080 (* {4..11} *); APPCLASS_STANDARD* = 0 (* {} *); APPCLASS_MASK* = 15 (* {0..3} *); EC_ENABLEALL* = 0 (* {} *); EC_ENABLEONE* = 128 (* {7} *); EC_DISABLE* = 8 (* {3} *); EC_QUERYWAITING* = 2 (* {1} *); DNS_REGISTER* = 1 (* {0} *); DNS_UNREGISTER* = 2 (* {1} *); DNS_FILTERON* = 4 (* {2} *); DNS_FILTEROFF* = 8 (* {3} *); HDATA_APPOWNED* = 1 (* {0} *); DMLERR_NO_ERROR* = 0 (* {} *); DMLERR_FIRST* = 16384 (* {14} *); DMLERR_ADVACKTIMEOUT* = 16384 (* {14} *); DMLERR_BUSY* = 16385 (* {0, 14} *); DMLERR_DATAACKTIMEOUT* = 16386 (* {1, 14} *); DMLERR_DLL_NOT_INITIALIZED* = 16387 (* {0, 1, 14} *); DMLERR_DLL_USAGE* = 16388 (* {2, 14} *); DMLERR_EXECACKTIMEOUT* = 16389 (* {0, 2, 14} *); DMLERR_INVALIDPARAMETER* = 16390 (* {1, 2, 14} *); DMLERR_LOW_MEMORY* = 16391 (* {0..2, 14} *); DMLERR_MEMORY_ERROR* = 16392 (* {3, 14} *); DMLERR_NOTPROCESSED* = 16393 (* {0, 3, 14} *); DMLERR_NO_CONV_ESTABLISHED* = 16394 (* {1, 3, 14} *); DMLERR_POKEACKTIMEOUT* = 16395 (* {0, 1, 3, 14} *); DMLERR_POSTMSG_FAILED* = 16396 (* {2, 3, 14} *); DMLERR_REENTRANCY* = 16397 (* {0, 2, 3, 14} *); DMLERR_SERVER_DIED* = 16398 (* {1..3, 14} *); DMLERR_SYS_ERROR* = 16399 (* {0..3, 14} *); DMLERR_UNADVACKTIMEOUT* = 16400 (* {4, 14} *); DMLERR_UNFOUND_QUEUE_ID* = 16401 (* {0, 4, 14} *); DMLERR_LAST* = 16401 (* {0, 4, 14} *); MH_CREATE* = 1 (* {0} *); MH_KEEP* = 2 (* {1} *); MH_DELETE* = 3 (* {0, 1} *); MH_CLEANUP* = 4 (* {2} *); MAX_MONITORS* = 4 (* {2} *); APPCLASS_MONITOR* = 1 (* {0} *); XTYP_MONITOR* = 33010 (* {1, 4..7, 15} *); MF_HSZ_INFO* = {24}; MF_SENDMSGS* = {25}; MF_POSTMSGS* = {26}; MF_CALLBACKS* = {27}; MF_ERRORS* = {28}; MF_LINKS* = {29}; MF_CONV* = {30}; MF_MASK* = {24..31}; LZERROR_BADINHANDLE* = -1 (* {0..31} *); LZERROR_BADOUTHANDLE* = -2 (* {1..31} *); LZERROR_READ* = -3 (* {0, 2..31} *); LZERROR_WRITE* = -4 (* {2..31} *); LZERROR_GLOBALLOC* = -5 (* {0, 1, 3..31} *); LZERROR_GLOBLOCK* = -6 (* {1, 3..31} *); LZERROR_BADVALUE* = -7 (* {0, 3..31} *); LZERROR_UNKNOWNALG* = -8 (* {3..31} *); ABM_NEW* = 0 (* {} *); ABM_REMOVE* = 1 (* {0} *); ABM_QUERYPOS* = 2 (* {1} *); ABM_SETPOS* = 3 (* {0, 1} *); ABM_GETSTATE* = 4 (* {2} *); ABM_GETTASKBARPOS* = 5 (* {0, 2} *); ABM_ACTIVATE* = 6 (* {1, 2} *); ABM_GETAUTOHIDEBAR* = 7 (* {0..2} *); ABM_SETAUTOHIDEBAR* = 8 (* {3} *); ABM_WINDOWPOSCHANGED* = 9 (* {0, 3} *); ABN_STATECHANGE* = 0 (* {} *); ABN_POSCHANGED* = 1 (* {0} *); ABN_FULLSCREENAPP* = 2 (* {1} *); ABN_WINDOWARRANGE* = 3 (* {0, 1} *); ABS_AUTOHIDE* = 1 (* {0} *); ABS_ALWAYSONTOP* = 2 (* {1} *); ABE_LEFT* = 0 (* {} *); ABE_TOP* = 1 (* {0} *); ABE_RIGHT* = 2 (* {1} *); ABE_BOTTOM* = 3 (* {0, 1} *); FO_MOVE* = 1 (* {0} *); FO_COPY* = 2 (* {1} *); FO_DELETE* = 3 (* {0, 1} *); FO_RENAME* = 4 (* {2} *); FOF_MULTIDESTFILES* = 1 (* {0} *); FOF_CONFIRMMOUSE* = 2 (* {1} *); FOF_SILENT* = 4 (* {2} *); FOF_RENAMEONCOLLISION* = 8 (* {3} *); FOF_NOCONFIRMATION* = 16 (* {4} *); FOF_WANTMAPPINGHANDLE* = 32 (* {5} *); FOF_ALLOWUNDO* = 64 (* {6} *); FOF_FILESONLY* = 128 (* {7} *); FOF_SIMPLEPROGRESS* = 256 (* {8} *); FOF_NOCONFIRMMKDIR* = 512 (* {9} *); PO_DELETE* = 19 (* {0, 1, 4} *); PO_RENAME* = 20 (* {2, 4} *); PO_PORTCHANGE* = 32 (* {5} *); PO_REN_PORT* = 52 (* {2, 4, 5} *); SE_ERR_FNF* = 2 (* {1} *); SE_ERR_PNF* = 3 (* {0, 1} *); SE_ERR_ACCESSDENIED* = 5 (* {0, 2} *); SE_ERR_OOM* = 8 (* {3} *); SE_ERR_DLLNOTFOUND* = 32 (* {5} *); SE_ERR_SHARE* = 26 (* {1, 3, 4} *); SE_ERR_ASSOCINCOMPLETE* = 27 (* {0, 1, 3, 4} *); SE_ERR_DDETIMEOUT* = 28 (* {2..4} *); SE_ERR_DDEFAIL* = 29 (* {0, 2..4} *); SE_ERR_DDEBUSY* = 30 (* {1..4} *); SE_ERR_NOASSOC* = 31 (* {0..4} *); SEE_MASK_CLASSNAME* = {0}; SEE_MASK_CLASSKEY* = {0, 1}; SEE_MASK_IDLIST* = {2}; SEE_MASK_INVOKEIDLIST* = {2, 3}; SEE_MASK_ICON* = {4}; SEE_MASK_HOTKEY* = {5}; SEE_MASK_NOCLOSEPROCESS* = {6}; SEE_MASK_CONNECTNETDRV* = {7}; SEE_MASK_FLAG_DDEWAIT* = {8}; SEE_MASK_DOENVSUBST* = {9}; SEE_MASK_FLAG_NO_UI* = {10}; SEE_MASK_UNICODE* = {14}; SEE_MASK_NO_CONSOLE* = {15}; NIM_ADD* = 0 (* {} *); NIM_MODIFY* = 1 (* {0} *); NIM_DELETE* = 2 (* {1} *); NIF_MESSAGE* = {0}; NIF_ICON* = {1}; NIF_TIP* = {2}; SHGFI_ICON* = {8}; SHGFI_DISPLAYNAME* = {9}; SHGFI_TYPENAME* = {10}; SHGFI_ATTRIBUTES* = {11}; SHGFI_ICONLOCATION* = {12}; SHGFI_EXETYPE* = {13}; SHGFI_SYSICONINDEX* = {14}; SHGFI_LINKOVERLAY* = {15}; SHGFI_SELECTED* = {16}; SHGFI_LARGEICON* = {}; SHGFI_SMALLICON* = {0}; SHGFI_OPENICON* = {1}; SHGFI_SHELLICONSIZE* = {2}; SHGFI_PIDL* = {3}; SHGFI_USEFILEATTRIBUTES* = {4}; SHGNLI_PIDL* = 1 (* {0} *); SHGNLI_PREFIXNAME* = 2 (* {1} *); MAXPROPPAGES* = 100 (* {2, 5, 6} *); PSP_DEFAULT* = {}; PSP_DLGINDIRECT* = {0}; PSP_USEHICON* = {1}; PSP_USEICONID* = {2}; PSP_USETITLE* = {3}; PSP_RTLREADING* = {4}; PSP_HASHELP* = {5}; PSP_USEREFPARENT* = {6}; PSP_USECALLBACK* = {7}; PSPCB_RELEASE* = 1 (* {0} *); PSPCB_CREATE* = 2 (* {1} *); PSH_DEFAULT* = {}; PSH_PROPTITLE* = {0}; PSH_USEHICON* = {1}; PSH_USEICONID* = {2}; PSH_PROPSHEETPAGE* = {3}; PSH_WIZARD* = {5}; PSH_USEPSTARTPAGE* = {6}; PSH_NOAPPLYNOW* = {7}; PSH_USECALLBACK* = {8}; PSH_HASHELP* = {9}; PSH_MODELESS* = {10}; PSH_RTLREADING* = {11}; PSCB_INITIALIZED* = 1 (* {0} *); PSCB_PRECREATE* = 2 (* {1} *); PSN_FIRST* = -200 (* {3..5, 8..31} *); PSN_LAST* = -299 (* {0, 2, 4, 6, 7, 9..31} *); PSN_SETACTIVE* = -200 (* {3..5, 8..31} *); PSN_KILLACTIVE* = -201 (* {0..2, 4, 5, 8..31} *); PSN_APPLY* = -202 (* {1, 2, 4, 5, 8..31} *); PSN_RESET* = -203 (* {0, 2, 4, 5, 8..31} *); PSN_HELP* = -205 (* {0, 1, 4, 5, 8..31} *); PSN_WIZBACK* = -206 (* {1, 4, 5, 8..31} *); PSN_WIZNEXT* = -207 (* {0, 4, 5, 8..31} *); PSN_WIZFINISH* = -208 (* {4, 5, 8..31} *); PSN_QUERYCANCEL* = -209 (* {0..3, 5, 8..31} *); PSNRET_NOERROR* = 0 (* {} *); PSNRET_INVALID* = 1 (* {0} *); PSNRET_INVALID_NOCHANGEPAGE* = 2 (* {1} *); PSM_SETCURSEL* = 1125 (* {0, 2, 5, 6, 10} *); PSM_REMOVEPAGE* = 1126 (* {1, 2, 5, 6, 10} *); PSM_ADDPAGE* = 1127 (* {0..2, 5, 6, 10} *); PSM_CHANGED* = 1128 (* {3, 5, 6, 10} *); PSM_RESTARTWINDOWS* = 1129 (* {0, 3, 5, 6, 10} *); PSM_REBOOTSYSTEM* = 1130 (* {1, 3, 5, 6, 10} *); PSM_CANCELTOCLOSE* = 1131 (* {0, 1, 3, 5, 6, 10} *); PSM_QUERYSIBLINGS* = 1132 (* {2, 3, 5, 6, 10} *); PSM_UNCHANGED* = 1133 (* {0, 2, 3, 5, 6, 10} *); PSM_APPLY* = 1134 (* {1..3, 5, 6, 10} *); PSM_SETTITLEA* = 1135 (* {0..3, 5, 6, 10} *); PSM_SETTITLEW* = 1144 (* {3..6, 10} *); PSM_SETTITLE* = 1135 (* {0..3, 5, 6, 10} *); PSM_SETWIZBUTTONS* = 1136 (* {4..6, 10} *); PSWIZB_BACK* = {0}; PSWIZB_NEXT* = {1}; PSWIZB_FINISH* = {2}; PSWIZB_DISABLEDFINISH* = {3}; PSM_PRESSBUTTON* = 1137 (* {0, 4..6, 10} *); PSBTN_BACK* = 0 (* {} *); PSBTN_NEXT* = 1 (* {0} *); PSBTN_FINISH* = 2 (* {1} *); PSBTN_OK* = 3 (* {0, 1} *); PSBTN_APPLYNOW* = 4 (* {2} *); PSBTN_CANCEL* = 5 (* {0, 2} *); PSBTN_HELP* = 6 (* {1, 2} *); PSBTN_MAX* = 6 (* {1, 2} *); PSM_SETCURSELID* = 1138 (* {1, 4..6, 10} *); PSM_SETFINISHTEXTA* = 1139 (* {0, 1, 4..6, 10} *); PSM_SETFINISHTEXTW* = 1145 (* {0, 3..6, 10} *); PSM_SETFINISHTEXT* = 1139 (* {0, 1, 4..6, 10} *); PSM_GETTABCONTROL* = 1140 (* {2, 4..6, 10} *); PSM_ISDIALOGMESSAGE* = 1141 (* {0, 2, 4..6, 10} *); PSM_GETCURRENTPAGEHWND* = 1142 (* {1, 2, 4..6, 10} *); ID_PSRESTARTWINDOWS* = 2 (* {1} *); ID_PSREBOOTSYSTEM* = 3 (* {0, 1} *); WIZ_CXDLG* = 276 (* {2, 4, 8} *); WIZ_CYDLG* = 140 (* {2, 3, 7} *); WIZ_CXBMP* = 80 (* {4, 6} *); WIZ_BODYX* = 92 (* {2..4, 6} *); WIZ_BODYCX* = 184 (* {3..5, 7} *); PROP_SM_CXDLG* = 212 (* {2, 4, 6, 7} *); PROP_SM_CYDLG* = 188 (* {2..5, 7} *); PROP_MED_CXDLG* = 227 (* {0, 1, 5..7} *); PROP_MED_CYDLG* = 215 (* {0..2, 4, 6, 7} *); PROP_LG_CXDLG* = 252 (* {2..7} *); PROP_LG_CYDLG* = 218 (* {1, 3, 4, 6, 7} *); PRINTER_CONTROL_PAUSE* = 1 (* {0} *); PRINTER_CONTROL_RESUME* = 2 (* {1} *); PRINTER_CONTROL_PURGE* = 3 (* {0, 1} *); PRINTER_CONTROL_SET_STATUS* = 4 (* {2} *); PRINTER_STATUS_PAUSED* = {0}; PRINTER_STATUS_ERROR* = {1}; PRINTER_STATUS_PENDING_DELETION* = {2}; PRINTER_STATUS_PAPER_JAM* = {3}; PRINTER_STATUS_PAPER_OUT* = {4}; PRINTER_STATUS_MANUAL_FEED* = {5}; PRINTER_STATUS_PAPER_PROBLEM* = {6}; PRINTER_STATUS_OFFLINE* = {7}; PRINTER_STATUS_IO_ACTIVE* = {8}; PRINTER_STATUS_BUSY* = {9}; PRINTER_STATUS_PRINTING* = {10}; PRINTER_STATUS_OUTPUT_BIN_FULL* = {11}; PRINTER_STATUS_NOT_AVAILABLE* = {12}; PRINTER_STATUS_WAITING* = {13}; PRINTER_STATUS_PROCESSING* = {14}; PRINTER_STATUS_INITIALIZING* = {15}; PRINTER_STATUS_WARMING_UP* = {16}; PRINTER_STATUS_TONER_LOW* = {17}; PRINTER_STATUS_NO_TONER* = {18}; PRINTER_STATUS_PAGE_PUNT* = {19}; PRINTER_STATUS_USER_INTERVENTION* = {20}; PRINTER_STATUS_OUT_OF_MEMORY* = {21}; PRINTER_STATUS_DOOR_OPEN* = {22}; PRINTER_STATUS_SERVER_UNKNOWN* = {23}; PRINTER_STATUS_POWER_SAVE* = {24}; PRINTER_ATTRIBUTE_QUEUED* = {0}; PRINTER_ATTRIBUTE_DIRECT* = {1}; PRINTER_ATTRIBUTE_DEFAULT* = {2}; PRINTER_ATTRIBUTE_SHARED* = {3}; PRINTER_ATTRIBUTE_NETWORK* = {4}; PRINTER_ATTRIBUTE_HIDDEN* = {5}; PRINTER_ATTRIBUTE_LOCAL* = {6}; PRINTER_ATTRIBUTE_ENABLE_DEVQ* = {7}; PRINTER_ATTRIBUTE_KEEPPRINTEDJOBS* = {8}; PRINTER_ATTRIBUTE_DO_COMPLETE_FIRST* = {9}; PRINTER_ATTRIBUTE_WORK_OFFLINE* = {10}; PRINTER_ATTRIBUTE_ENABLE_BIDI* = {11}; NO_PRIORITY* = 0 (* {} *); MAX_PRIORITY* = 99 (* {0, 1, 5, 6} *); MIN_PRIORITY* = 1 (* {0} *); DEF_PRIORITY* = 1 (* {0} *); JOB_CONTROL_PAUSE* = 1 (* {0} *); JOB_CONTROL_RESUME* = 2 (* {1} *); JOB_CONTROL_CANCEL* = 3 (* {0, 1} *); JOB_CONTROL_RESTART* = 4 (* {2} *); JOB_CONTROL_DELETE* = 5 (* {0, 2} *); JOB_STATUS_PAUSED* = {0}; JOB_STATUS_ERROR* = {1}; JOB_STATUS_DELETING* = {2}; JOB_STATUS_SPOOLING* = {3}; JOB_STATUS_PRINTING* = {4}; JOB_STATUS_OFFLINE* = {5}; JOB_STATUS_PAPEROUT* = {6}; JOB_STATUS_PRINTED* = {7}; JOB_STATUS_DELETED* = {8}; JOB_STATUS_BLOCKED_DEVQ* = {9}; JOB_STATUS_USER_INTERVENTION* = {10}; JOB_POSITION_UNSPECIFIED* = 0 (* {} *); DI_CHANNEL* = 1 (* {0} *); DI_READ_SPOOL_JOB* = 3 (* {0, 1} *); FORM_BUILTIN* = 1 (* {0} *); PORT_TYPE_WRITE* = 1 (* {0} *); PORT_TYPE_READ* = 2 (* {1} *); PORT_TYPE_REDIRECTED* = 4 (* {2} *); PORT_TYPE_NET_ATTACHED* = 8 (* {3} *); PRINTER_ENUM_DEFAULT* = {0}; PRINTER_ENUM_LOCAL* = {1}; PRINTER_ENUM_CONNECTIONS* = {2}; PRINTER_ENUM_FAVORITE* = {2}; PRINTER_ENUM_NAME* = {3}; PRINTER_ENUM_REMOTE* = {4}; PRINTER_ENUM_SHARED* = {5}; PRINTER_ENUM_NETWORK* = {6}; PRINTER_ENUM_EXPAND* = {14}; PRINTER_ENUM_CONTAINER* = {15}; PRINTER_ENUM_ICONMASK* = {16..23}; PRINTER_ENUM_ICON1* = {16}; PRINTER_ENUM_ICON2* = {17}; PRINTER_ENUM_ICON3* = {18}; PRINTER_ENUM_ICON4* = {19}; PRINTER_ENUM_ICON5* = {20}; PRINTER_ENUM_ICON6* = {21}; PRINTER_ENUM_ICON7* = {22}; PRINTER_ENUM_ICON8* = {23}; PRINTER_NOTIFY_TYPE* = 0 (* {} *); JOB_NOTIFY_TYPE* = 1 (* {0} *); PRINTER_NOTIFY_FIELD_SERVER_NAME* = 0 (* {} *); PRINTER_NOTIFY_FIELD_PRINTER_NAME* = 1 (* {0} *); PRINTER_NOTIFY_FIELD_SHARE_NAME* = 2 (* {1} *); PRINTER_NOTIFY_FIELD_PORT_NAME* = 3 (* {0, 1} *); PRINTER_NOTIFY_FIELD_DRIVER_NAME* = 4 (* {2} *); PRINTER_NOTIFY_FIELD_COMMENT* = 5 (* {0, 2} *); PRINTER_NOTIFY_FIELD_LOCATION* = 6 (* {1, 2} *); PRINTER_NOTIFY_FIELD_DEVMODE* = 7 (* {0..2} *); PRINTER_NOTIFY_FIELD_SEPFILE* = 8 (* {3} *); PRINTER_NOTIFY_FIELD_PRINT_PROCESSOR* = 9 (* {0, 3} *); PRINTER_NOTIFY_FIELD_PARAMETERS* = 10 (* {1, 3} *); PRINTER_NOTIFY_FIELD_DATATYPE* = 11 (* {0, 1, 3} *); PRINTER_NOTIFY_FIELD_SECURITY_DESCRIPTO (*...*)* = 12 (* {2, 3} *); PRINTER_NOTIFY_FIELD_ATTRIBUTES* = 13 (* {0, 2, 3} *); PRINTER_NOTIFY_FIELD_PRIORITY* = 14 (* {1..3} *); PRINTER_NOTIFY_FIELD_DEFAULT_PRIORITY* = 15 (* {0..3} *); PRINTER_NOTIFY_FIELD_START_TIME* = 16 (* {4} *); PRINTER_NOTIFY_FIELD_UNTIL_TIME* = 17 (* {0, 4} *); PRINTER_NOTIFY_FIELD_STATUS* = 18 (* {1, 4} *); PRINTER_NOTIFY_FIELD_STATUS_STRING* = 19 (* {0, 1, 4} *); PRINTER_NOTIFY_FIELD_CJOBS* = 20 (* {2, 4} *); PRINTER_NOTIFY_FIELD_AVERAGE_PPM* = 21 (* {0, 2, 4} *); PRINTER_NOTIFY_FIELD_TOTAL_PAGES* = 22 (* {1, 2, 4} *); PRINTER_NOTIFY_FIELD_PAGES_PRINTED* = 23 (* {0..2, 4} *); PRINTER_NOTIFY_FIELD_TOTAL_BYTES* = 24 (* {3, 4} *); PRINTER_NOTIFY_FIELD_BYTES_PRINTED* = 25 (* {0, 3, 4} *); JOB_NOTIFY_FIELD_PRINTER_NAME* = 0 (* {} *); JOB_NOTIFY_FIELD_MACHINE_NAME* = 1 (* {0} *); JOB_NOTIFY_FIELD_PORT_NAME* = 2 (* {1} *); JOB_NOTIFY_FIELD_USER_NAME* = 3 (* {0, 1} *); JOB_NOTIFY_FIELD_NOTIFY_NAME* = 4 (* {2} *); JOB_NOTIFY_FIELD_DATATYPE* = 5 (* {0, 2} *); JOB_NOTIFY_FIELD_PRINT_PROCESSOR* = 6 (* {1, 2} *); JOB_NOTIFY_FIELD_PARAMETERS* = 7 (* {0..2} *); JOB_NOTIFY_FIELD_DRIVER_NAME* = 8 (* {3} *); JOB_NOTIFY_FIELD_DEVMODE* = 9 (* {0, 3} *); JOB_NOTIFY_FIELD_STATUS* = 10 (* {1, 3} *); JOB_NOTIFY_FIELD_STATUS_STRING* = 11 (* {0, 1, 3} *); JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR* = 12 (* {2, 3} *); JOB_NOTIFY_FIELD_DOCUMENT* = 13 (* {0, 2, 3} *); JOB_NOTIFY_FIELD_PRIORITY* = 14 (* {1..3} *); JOB_NOTIFY_FIELD_POSITION* = 15 (* {0..3} *); JOB_NOTIFY_FIELD_SUBMITTED* = 16 (* {4} *); JOB_NOTIFY_FIELD_START_TIME* = 17 (* {0, 4} *); JOB_NOTIFY_FIELD_UNTIL_TIME* = 18 (* {1, 4} *); JOB_NOTIFY_FIELD_TIME* = 19 (* {0, 1, 4} *); JOB_NOTIFY_FIELD_TOTAL_PAGES* = 20 (* {2, 4} *); JOB_NOTIFY_FIELD_PAGES_PRINTED* = 21 (* {0, 2, 4} *); JOB_NOTIFY_FIELD_TOTAL_BYTES* = 22 (* {1, 2, 4} *); JOB_NOTIFY_FIELD_BYTES_PRINTED* = 23 (* {0..2, 4} *); PRINTER_NOTIFY_OPTIONS_REFRESH* = 1 (* {0} *); PRINTER_NOTIFY_INFO_DISCARDED* = 1 (* {0} *); PRINTER_CHANGE_ADD_PRINTER* = {0}; PRINTER_CHANGE_SET_PRINTER* = {1}; PRINTER_CHANGE_DELETE_PRINTER* = {2}; PRINTER_CHANGE_FAILED_CONNECTION_PRINTE (*...*)* = {3}; PRINTER_CHANGE_PRINTER* = {0..7}; PRINTER_CHANGE_ADD_JOB* = {8}; PRINTER_CHANGE_SET_JOB* = {9}; PRINTER_CHANGE_DELETE_JOB* = {10}; PRINTER_CHANGE_WRITE_JOB* = {11}; PRINTER_CHANGE_JOB* = {8..15}; PRINTER_CHANGE_ADD_FORM* = {16}; PRINTER_CHANGE_SET_FORM* = {17}; PRINTER_CHANGE_DELETE_FORM* = {18}; PRINTER_CHANGE_FORM* = {16..18}; PRINTER_CHANGE_ADD_PORT* = {20}; PRINTER_CHANGE_CONFIGURE_PORT* = {21}; PRINTER_CHANGE_DELETE_PORT* = {22}; PRINTER_CHANGE_PORT* = {20..22}; PRINTER_CHANGE_ADD_PRINT_PROCESSOR* = {24}; PRINTER_CHANGE_DELETE_PRINT_PROCESSOR* = {26}; PRINTER_CHANGE_PRINT_PROCESSOR* = {24..26}; PRINTER_CHANGE_ADD_PRINTER_DRIVER* = {28}; PRINTER_CHANGE_SET_PRINTER_DRIVER* = {29}; PRINTER_CHANGE_DELETE_PRINTER_DRIVER* = {30}; PRINTER_CHANGE_PRINTER_DRIVER* = {28..30}; PRINTER_CHANGE_TIMEOUT* = {31}; PRINTER_CHANGE_ALL* = {0..18, 20..22, 24..26, 28..30}; PRINTER_ERROR_INFORMATION* = 80000000H; PRINTER_ERROR_WARNING* = 1073741824 (* {30} *); PRINTER_ERROR_SEVERE* = 536870912 (* {29} *); PRINTER_ERROR_OUTOFPAPER* = 1 (* {0} *); PRINTER_ERROR_JAM* = 2 (* {1} *); PRINTER_ERROR_OUTOFTONER* = 4 (* {2} *); SERVER_ACCESS_ADMINISTER* = 1 (* {0} *); SERVER_ACCESS_ENUMERATE* = 2 (* {1} *); PRINTER_ACCESS_ADMINISTER* = 4 (* {2} *); PRINTER_ACCESS_USE* = 8 (* {3} *); JOB_ACCESS_ADMINISTER* = 16 (* {4} *); SERVER_ALL_ACCESS* = 983043 (* {0, 1, 16..19} *); SERVER_READ* = 131074 (* {1, 17} *); SERVER_WRITE* = 131075 (* {0, 1, 17} *); SERVER_EXECUTE* = 131074 (* {1, 17} *); PRINTER_ALL_ACCESS* = 983052 (* {2, 3, 16..19} *); PRINTER_READ* = 131080 (* {3, 17} *); PRINTER_WRITE* = 131080 (* {3, 17} *); PRINTER_EXECUTE* = 131080 (* {3, 17} *); JOB_ALL_ACCESS* = 983056 (* {4, 16..19} *); JOB_READ* = 131088 (* {4, 17} *); JOB_WRITE* = 131088 (* {4, 17} *); JOB_EXECUTE* = 131088 (* {4, 17} *); SERVICES_ACTIVE_DATABASEW* = "ServicesActive"; SERVICES_FAILED_DATABASEW* = "ServicesFailed"; SERVICES_ACTIVE_DATABASEA* = "ServicesActive"; SERVICES_FAILED_DATABASEA* = "ServicesFailed"; SC_GROUP_IDENTIFIERW* = 43 (* {0, 1, 3, 5} *); SC_GROUP_IDENTIFIERA* = 43 (* {0, 1, 3, 5} *); SERVICES_ACTIVE_DATABASE* = "ServicesActive"; SERVICES_FAILED_DATABASE* = "ServicesFailed"; SC_GROUP_IDENTIFIER* = 43 (* {0, 1, 3, 5} *); SERVICE_NO_CHANGE* = -1 (* {0..31} *); SERVICE_ACTIVE* = 1 (* {0} *); SERVICE_INACTIVE* = 2 (* {1} *); SERVICE_STATE_ALL* = 3 (* {0, 1} *); SERVICE_CONTROL_STOP* = 1 (* {0} *); SERVICE_CONTROL_PAUSE* = 2 (* {1} *); SERVICE_CONTROL_CONTINUE* = 3 (* {0, 1} *); SERVICE_CONTROL_INTERROGATE* = 4 (* {2} *); SERVICE_CONTROL_SHUTDOWN* = 5 (* {0, 2} *); SERVICE_STOPPED* = 1 (* {0} *); SERVICE_START_PENDING* = 2 (* {1} *); SERVICE_STOP_PENDING* = 3 (* {0, 1} *); SERVICE_RUNNING* = 4 (* {2} *); SERVICE_CONTINUE_PENDING* = 5 (* {0, 2} *); SERVICE_PAUSE_PENDING* = 6 (* {1, 2} *); SERVICE_PAUSED* = 7 (* {0..2} *); SERVICE_ACCEPT_STOP* = 1 (* {0} *); SERVICE_ACCEPT_PAUSE_CONTINUE* = 2 (* {1} *); SERVICE_ACCEPT_SHUTDOWN* = 4 (* {2} *); SC_MANAGER_CONNECT* = {0}; SC_MANAGER_CREATE_SERVICE* = {1}; SC_MANAGER_ENUMERATE_SERVICE* = {2}; SC_MANAGER_LOCK* = {3}; SC_MANAGER_QUERY_LOCK_STATUS* = {4}; SC_MANAGER_MODIFY_BOOT_CONFIG* = {5}; SC_MANAGER_ALL_ACCESS* = {0..5, 16..19}; SERVICE_QUERY_CONFIG* = {0}; SERVICE_CHANGE_CONFIG* = {1}; SERVICE_QUERY_STATUS* = {2}; SERVICE_ENUMERATE_DEPENDENTS* = {3}; SERVICE_START* = {4}; SERVICE_STOP* = 32 (* {5} *); SERVICE_PAUSE_CONTINUE* = {6}; SERVICE_INTERROGATE* = {7}; SERVICE_USER_DEFINED_CONTROL* = {8}; SERVICE_ALL_ACCESS* = {0..8, 16..19}; DIALOPTION_BILLING* = {6}; DIALOPTION_QUIET* = {7}; DIALOPTION_DIALTONE* = {8}; MDMVOLFLAG_LOW* = {0}; MDMVOLFLAG_MEDIUM* = {1}; MDMVOLFLAG_HIGH* = {2}; MDMVOL_LOW* = {}; MDMVOL_MEDIUM* = {0}; MDMVOL_HIGH* = {1}; MDMSPKRFLAG_OFF* = {0}; MDMSPKRFLAG_DIAL* = {1}; MDMSPKRFLAG_ON* = {2}; MDMSPKRFLAG_CALLSETUP* = {3}; MDMSPKR_OFF* = {}; MDMSPKR_DIAL* = {0}; MDMSPKR_ON* = {1}; MDMSPKR_CALLSETUP* = {0, 1}; MDM_COMPRESSION* = {0}; MDM_ERROR_CONTROL* = {1}; MDM_FORCED_EC* = {2}; MDM_CELLULAR* = {3}; MDM_FLOWCONTROL_HARD* = {4}; MDM_FLOWCONTROL_SOFT* = {5}; MDM_CCITT_OVERRIDE* = {6}; MDM_SPEED_ADJUST* = {7}; MDM_TONE_DIAL* = {8}; MDM_BLIND_DIAL* = {9}; MDM_V23_OVERRIDE* = {10}; CONST (* enumerations *) SidTypeUser* = 1; SidTypeGroup* = 2; SidTypeDomain* = 3; SidTypeAlias* = 4; SidTypeWellKnownGroup* = 5; SidTypeDeletedAccount* = 6; SidTypeInvalid* = 7; SidTypeUnknown* = 8; AclRevisionInformation* = 1; AclSizeInformation* = 2; SecurityAnonymous* = 0; SecurityIdentification* = 1; SecurityImpersonation* = 2; SecurityDelegation* = 3; TokenPrimary* = 1; TokenImpersonation* = 2; TokenUser* = 1; TokenGroups* = 2; TokenPrivileges* = 3; TokenOwner* = 4; TokenPrimaryGroup* = 5; TokenDefaultDacl* = 6; TokenSource* = 7; TokenType* = 8; TokenImpersonationLevel* = 9; TokenStatistics* = 10; DriverType* = 1; FileSystemType* = 2; Win32ServiceOwnProcess* = 16; Win32ServiceShareProcess* = 32; AdapterType* = 4; RecognizerType* = 8; BootLoad* = 0; SystemLoad* = 1; AutoLoad* = 2; DemandLoad* = 3; DisableLoad* = 4; IgnoreError* = 0; NormalError* = 1; SevereError* = 2; CriticalError* = 3; GetFileExInfoStandard* = 0; GetFileExMaxInfoLevel* = 1; FindExInfoStandard* = 0; FindExInfoMaxInfoLevel* = 1; FindExSearchNameMatch* = 0; FindExSearchLimitToDirectories* = 1; FindExSearchLimitToDevices* = 2; FindExSearchMaxSearchOp* = 3; TYPE BOOL* = INTEGER; HANDLE* = PtrVoid; LCID* = INTEGER; LANGID* = SHORTINT; USN* = LONGINT; LUID* = LONGINT; PtrLIST_ENTRY* = POINTER TO LIST_ENTRY; LIST_ENTRY* = RECORD [untagged] Flink*: PtrLIST_ENTRY; Blink*: PtrLIST_ENTRY; END; PtrSINGLE_LIST_ENTRY* = POINTER TO SINGLE_LIST_ENTRY; SINGLE_LIST_ENTRY* = RECORD [untagged] Next*: PtrSINGLE_LIST_ENTRY; END; OBJECTID* = RECORD [untagged] Lineage*: COM.GUID; Uniquifier*: INTEGER; END; KSPIN_LOCK* = INTEGER; FLOATING_SAVE_AREA* = RECORD [untagged] ControlWord*: INTEGER; StatusWord*: INTEGER; TagWord*: INTEGER; ErrorOffset*: INTEGER; ErrorSelector*: INTEGER; DataOffset*: INTEGER; DataSelector*: INTEGER; RegisterArea*: ARRAY [untagged] 80 OF SHORTCHAR; Cr0NpxState*: INTEGER; END; PtrFLOATING_SAVE_AREA* = POINTER TO FLOATING_SAVE_AREA; CONTEXT* = RECORD [untagged] ContextFlags*: SET; Dr0*: INTEGER; Dr1*: INTEGER; Dr2*: INTEGER; Dr3*: INTEGER; Dr6*: INTEGER; Dr7*: INTEGER; FloatSave*: FLOATING_SAVE_AREA; SegGs*: INTEGER; SegFs*: INTEGER; SegEs*: INTEGER; SegDs*: INTEGER; Edi*: INTEGER; Esi*: INTEGER; Ebx*: INTEGER; Edx*: INTEGER; Ecx*: INTEGER; Eax*: INTEGER; Ebp*: INTEGER; Eip*: INTEGER; SegCs*: INTEGER; EFlags*: INTEGER; Esp*: INTEGER; SegSs*: INTEGER; END; PtrCONTEXT* = POINTER TO CONTEXT; LDT_ENTRY* = RECORD [untagged] LimitLow*: SHORTINT; BaseLow*: SHORTINT; HighWord*: RECORD [union] Bytes*: RECORD [untagged] BaseMid*: SHORTCHAR; Flags1*: SHORTCHAR; Flags2*: SHORTCHAR; BaseHi*: SHORTCHAR; END; Bits*: RECORD [untagged] fBits0*: SET; (* BaseMid*: LONGINT; (8 bits) *) (* Type*: LONGINT; (5 bits) *) (* Dpl*: LONGINT; (2 bits) *) (* Pres*: LONGINT; (1 bits) *) (* LimitHi*: LONGINT; (4 bits) *) (* Sys*: LONGINT; (1 bits) *) (* Reserved_0*: LONGINT; (1 bits) *) (* Default_Big*: LONGINT; (1 bits) *) (* Granularity*: LONGINT; (1 bits) *) (* BaseHi*: LONGINT; (8 bits) *) END; END; END; PtrLDT_ENTRY* = POINTER TO LDT_ENTRY; PtrEXCEPTION_RECORD* = POINTER TO EXCEPTION_RECORD; EXCEPTION_RECORD* = RECORD [untagged] ExceptionCode*: INTEGER; ExceptionFlags*: SET; ExceptionRecord*: PtrEXCEPTION_RECORD; ExceptionAddress*: PtrVoid; NumberParameters*: INTEGER; ExceptionInformation*: ARRAY [untagged] 15 OF INTEGER; END; EXCEPTION_POINTERS* = RECORD [untagged] ExceptionRecord*: PtrEXCEPTION_RECORD; ContextRecord*: PtrCONTEXT; END; PtrEXCEPTION_POINTERS* = POINTER TO EXCEPTION_POINTERS; _EXCEPTION_REGISTRATION_RECORD* = RECORD [untagged] (*i*) END; Ptr_EXCEPTION_REGISTRATION_RECORD* = POINTER TO _EXCEPTION_REGISTRATION_RECORD; PtrNT_TIB* = POINTER TO NT_TIB; NT_TIB* = RECORD [untagged] ExceptionList*: Ptr_EXCEPTION_REGISTRATION_RECORD; StackBase*: PtrVoid; StackLimit*: PtrVoid; SubSystemTib*: PtrVoid; u*: RECORD [union] FiberData*: PtrVoid; Version*: INTEGER; END; ArbitraryUserPointer*: PtrVoid; Self*: PtrNT_TIB; END; QUOTA_LIMITS* = RECORD [align8] PagedPoolLimit*: INTEGER; NonPagedPoolLimit*: INTEGER; MinimumWorkingSetSize*: INTEGER; MaximumWorkingSetSize*: INTEGER; PagefileLimit*: INTEGER; TimeLimit*: LONGINT; END; PtrQUOTA_LIMITS* = POINTER TO QUOTA_LIMITS; MEMORY_BASIC_INFORMATION* = RECORD [untagged] BaseAddress*: PtrVoid; AllocationBase*: PtrVoid; AllocationProtect*: INTEGER; RegionSize*: INTEGER; State*: INTEGER; Protect*: INTEGER; Type*: INTEGER; END; PtrMEMORY_BASIC_INFORMATION* = POINTER TO MEMORY_BASIC_INFORMATION; FILE_NOTIFY_INFORMATION* = RECORD [untagged] NextEntryOffset*: INTEGER; Action*: INTEGER; FileNameLength*: INTEGER; FileName*: ARRAY [untagged] 1 OF CHAR; END; PtrFILE_NOTIFY_INFORMATION* = POINTER TO FILE_NOTIFY_INFORMATION; PACCESS_TOKEN* = PtrVoid; PSECURITY_DESCRIPTOR* = PtrVoid; PSID* = PtrVoid; GENERIC_MAPPING* = RECORD [untagged] GenericRead*: ACCESS_MASK; GenericWrite*: ACCESS_MASK; GenericExecute*: ACCESS_MASK; GenericAll*: ACCESS_MASK; END; PtrGENERIC_MAPPING* = POINTER TO GENERIC_MAPPING; LUID_AND_ATTRIBUTES* = RECORD [untagged] Luid*: LUID; Attributes*: SET; END; PtrLUID_AND_ATTRIBUTES* = POINTER TO LUID_AND_ATTRIBUTES; LUID_AND_ATTRIBUTES_ARRAY* = ARRAY [untagged] 1 OF LUID_AND_ATTRIBUTES; PtrLUID_AND_ATTRIBUTES_ARRAY* = POINTER TO LUID_AND_ATTRIBUTES_ARRAY; SID_IDENTIFIER_AUTHORITY* = RECORD [untagged] Value*: ARRAY [untagged] 6 OF SHORTCHAR; END; PtrSID_IDENTIFIER_AUTHORITY* = POINTER TO SID_IDENTIFIER_AUTHORITY; SID* = RECORD [untagged] Revision*: SHORTCHAR; SubAuthorityCount*: SHORTCHAR; IdentifierAuthority*: SID_IDENTIFIER_AUTHORITY; SubAuthority*: ARRAY [untagged] 1 OF INTEGER; END; PtrSID* = POINTER TO SID; SID_NAME_USE* = INTEGER; SID_AND_ATTRIBUTES* = RECORD [untagged] Sid*: PSID; Attributes*: SET; END; PtrSID_AND_ATTRIBUTES* = POINTER TO SID_AND_ATTRIBUTES; SID_AND_ATTRIBUTES_ARRAY* = ARRAY [untagged] 1 OF SID_AND_ATTRIBUTES; PtrSID_AND_ATTRIBUTES_ARRAY* = POINTER TO SID_AND_ATTRIBUTES_ARRAY; ACL* = RECORD [untagged] AclRevision*: SHORTCHAR; Sbz1*: SHORTCHAR; AclSize*: SHORTINT; AceCount*: SHORTINT; Sbz2*: SHORTINT; END; PtrACL* = POINTER TO ACL; ACE_HEADER* = RECORD [untagged] AceType*: SHORTCHAR; AceFlags*: SHORTCHAR; AceSize*: SHORTINT; END; PtrACE_HEADER* = POINTER TO ACE_HEADER; ACCESS_ALLOWED_ACE* = RECORD [untagged] Header*: ACE_HEADER; Mask*: ACCESS_MASK; SidStart*: INTEGER; END; PtrACCESS_ALLOWED_ACE* = POINTER TO ACCESS_ALLOWED_ACE; ACCESS_DENIED_ACE* = RECORD [untagged] Header*: ACE_HEADER; Mask*: ACCESS_MASK; SidStart*: INTEGER; END; PtrACCESS_DENIED_ACE* = POINTER TO ACCESS_DENIED_ACE; SYSTEM_AUDIT_ACE* = RECORD [untagged] Header*: ACE_HEADER; Mask*: ACCESS_MASK; SidStart*: INTEGER; END; PtrSYSTEM_AUDIT_ACE* = POINTER TO SYSTEM_AUDIT_ACE; SYSTEM_ALARM_ACE* = RECORD [untagged] Header*: ACE_HEADER; Mask*: ACCESS_MASK; SidStart*: INTEGER; END; PtrSYSTEM_ALARM_ACE* = POINTER TO SYSTEM_ALARM_ACE; COMPOUND_ACCESS_ALLOWED_ACE* = RECORD [untagged] Header*: ACE_HEADER; Mask*: ACCESS_MASK; CompoundAceType*: SHORTINT; Reserved*: SHORTINT; SidStart*: INTEGER; END; PtrCOMPOUND_ACCESS_ALLOWED_ACE* = POINTER TO COMPOUND_ACCESS_ALLOWED_ACE; ACL_INFORMATION_CLASS* = INTEGER; ACL_REVISION_INFORMATION* = RECORD [untagged] AclRevision*: INTEGER; END; PtrACL_REVISION_INFORMATION* = POINTER TO ACL_REVISION_INFORMATION; ACL_SIZE_INFORMATION* = RECORD [untagged] AceCount*: INTEGER; AclBytesInUse*: INTEGER; AclBytesFree*: INTEGER; END; PtrACL_SIZE_INFORMATION* = POINTER TO ACL_SIZE_INFORMATION; SECURITY_DESCRIPTOR_CONTROL* = SHORTINT; SECURITY_DESCRIPTOR* = RECORD [untagged] Revision*: SHORTCHAR; Sbz1*: SHORTCHAR; Control*: SECURITY_DESCRIPTOR_CONTROL; Owner*: PSID; Group*: PSID; Sacl*: PtrACL; Dacl*: PtrACL; END; PtrSECURITY_DESCRIPTOR* = POINTER TO SECURITY_DESCRIPTOR; PRIVILEGE_SET* = RECORD [untagged] PrivilegeCount*: INTEGER; Control*: INTEGER; Privilege*: ARRAY [untagged] 1 OF LUID_AND_ATTRIBUTES; END; PtrPRIVILEGE_SET* = POINTER TO PRIVILEGE_SET; SECURITY_IMPERSONATION_LEVEL* = INTEGER; TOKEN_TYPE* = INTEGER; TOKEN_INFORMATION_CLASS* = INTEGER; TOKEN_USER* = RECORD [untagged] User*: SID_AND_ATTRIBUTES; END; PtrTOKEN_USER* = POINTER TO TOKEN_USER; TOKEN_GROUPS* = RECORD [untagged] GroupCount*: INTEGER; Groups*: ARRAY [untagged] 1 OF SID_AND_ATTRIBUTES; END; PtrTOKEN_GROUPS* = POINTER TO TOKEN_GROUPS; TOKEN_PRIVILEGES* = RECORD [untagged] PrivilegeCount*: INTEGER; Privileges*: ARRAY [untagged] 1 OF LUID_AND_ATTRIBUTES; END; PtrTOKEN_PRIVILEGES* = POINTER TO TOKEN_PRIVILEGES; TOKEN_OWNER* = RECORD [untagged] Owner*: PSID; END; PtrTOKEN_OWNER* = POINTER TO TOKEN_OWNER; TOKEN_PRIMARY_GROUP* = RECORD [untagged] PrimaryGroup*: PSID; END; PtrTOKEN_PRIMARY_GROUP* = POINTER TO TOKEN_PRIMARY_GROUP; TOKEN_DEFAULT_DACL* = RECORD [untagged] DefaultDacl*: PtrACL; END; PtrTOKEN_DEFAULT_DACL* = POINTER TO TOKEN_DEFAULT_DACL; TOKEN_SOURCE* = RECORD [align8] SourceName*: ARRAY [untagged] 8 OF SHORTCHAR; SourceIdentifier*: LUID; END; PtrTOKEN_SOURCE* = POINTER TO TOKEN_SOURCE; TOKEN_STATISTICS* = RECORD [align8] TokenId*: LUID; AuthenticationId*: LUID; ExpirationTime*: LONGINT; TokenType*: TOKEN_TYPE; ImpersonationLevel*: SECURITY_IMPERSONATION_LEVEL; DynamicCharged*: INTEGER; DynamicAvailable*: INTEGER; GroupCount*: INTEGER; PrivilegeCount*: INTEGER; ModifiedId*: LUID; END; PtrTOKEN_STATISTICS* = POINTER TO TOKEN_STATISTICS; TOKEN_CONTROL* = RECORD [align8] TokenId*: LUID; AuthenticationId*: LUID; ModifiedId*: LUID; TokenSource*: TOKEN_SOURCE; END; PtrTOKEN_CONTROL* = POINTER TO TOKEN_CONTROL; SECURITY_CONTEXT_TRACKING_MODE* = BOOLEAN; SECURITY_QUALITY_OF_SERVICE* = RECORD [untagged] Length*: INTEGER; ImpersonationLevel*: SECURITY_IMPERSONATION_LEVEL; ContextTrackingMode*: SECURITY_CONTEXT_TRACKING_MODE; EffectiveOnly*: BOOLEAN; END; PtrSECURITY_QUALITY_OF_SERVICE* = POINTER TO SECURITY_QUALITY_OF_SERVICE; SE_IMPERSONATION_STATE* = RECORD [untagged] Token*: PACCESS_TOKEN; CopyOnOpen*: BOOLEAN; EffectiveOnly*: BOOLEAN; Level*: SECURITY_IMPERSONATION_LEVEL; END; PtrSE_IMPERSONATION_STATE* = POINTER TO SE_IMPERSONATION_STATE; IMAGE_DOS_HEADER* = RECORD [noalign] e_magic*: SHORTINT; e_cblp*: SHORTINT; e_cp*: SHORTINT; e_crlc*: SHORTINT; e_cparhdr*: SHORTINT; e_minalloc*: SHORTINT; e_maxalloc*: SHORTINT; e_ss*: SHORTINT; e_sp*: SHORTINT; e_csum*: SHORTINT; e_ip*: SHORTINT; e_cs*: SHORTINT; e_lfarlc*: SHORTINT; e_ovno*: SHORTINT; e_res*: ARRAY [untagged] 4 OF SHORTINT; e_oemid*: SHORTINT; e_oeminfo*: SHORTINT; e_res2*: ARRAY [untagged] 10 OF SHORTINT; e_lfanew*: INTEGER; END; PtrIMAGE_DOS_HEADER* = POINTER TO IMAGE_DOS_HEADER; IMAGE_OS2_HEADER* = RECORD [noalign] ne_magic*: SHORTINT; ne_ver*: SHORTCHAR; ne_rev*: SHORTCHAR; ne_enttab*: SHORTINT; ne_cbenttab*: SHORTINT; ne_crc*: INTEGER; ne_flags*: SHORTINT; ne_autodata*: SHORTINT; ne_heap*: SHORTINT; ne_stack*: SHORTINT; ne_csip*: INTEGER; ne_sssp*: INTEGER; ne_cseg*: SHORTINT; ne_cmod*: SHORTINT; ne_cbnrestab*: SHORTINT; ne_segtab*: SHORTINT; ne_rsrctab*: SHORTINT; ne_restab*: SHORTINT; ne_modtab*: SHORTINT; ne_imptab*: SHORTINT; ne_nrestab*: INTEGER; ne_cmovent*: SHORTINT; ne_align*: SHORTINT; ne_cres*: SHORTINT; ne_exetyp*: SHORTCHAR; ne_flagsothers*: SHORTCHAR; ne_pretthunks*: SHORTINT; ne_psegrefbytes*: SHORTINT; ne_swaparea*: SHORTINT; ne_expver*: SHORTINT; END; PtrIMAGE_OS2_HEADER* = POINTER TO IMAGE_OS2_HEADER; IMAGE_VXD_HEADER* = RECORD [noalign] e32_magic*: SHORTINT; e32_border*: SHORTCHAR; e32_worder*: SHORTCHAR; e32_level*: INTEGER; e32_cpu*: SHORTINT; e32_os*: SHORTINT; e32_ver*: INTEGER; e32_mflags*: INTEGER; e32_mpages*: INTEGER; e32_startobj*: INTEGER; e32_eip*: INTEGER; e32_stackobj*: INTEGER; e32_esp*: INTEGER; e32_pagesize*: INTEGER; e32_lastpagesize*: INTEGER; e32_fixupsize*: INTEGER; e32_fixupsum*: INTEGER; e32_ldrsize*: INTEGER; e32_ldrsum*: INTEGER; e32_objtab*: INTEGER; e32_objcnt*: INTEGER; e32_objmap*: INTEGER; e32_itermap*: INTEGER; e32_rsrctab*: INTEGER; e32_rsrccnt*: INTEGER; e32_restab*: INTEGER; e32_enttab*: INTEGER; e32_dirtab*: INTEGER; e32_dircnt*: INTEGER; e32_fpagetab*: INTEGER; e32_frectab*: INTEGER; e32_impmod*: INTEGER; e32_impmodcnt*: INTEGER; e32_impproc*: INTEGER; e32_pagesum*: INTEGER; e32_datapage*: INTEGER; e32_preload*: INTEGER; e32_nrestab*: INTEGER; e32_cbnrestab*: INTEGER; e32_nressum*: INTEGER; e32_autodata*: INTEGER; e32_debuginfo*: INTEGER; e32_debuglen*: INTEGER; e32_instpreload*: INTEGER; e32_instdemand*: INTEGER; e32_heapsize*: INTEGER; e32_res3*: ARRAY [untagged] 12 OF SHORTCHAR; e32_winresoff*: INTEGER; e32_winreslen*: INTEGER; e32_devid*: SHORTINT; e32_ddkver*: SHORTINT; END; PtrIMAGE_VXD_HEADER* = POINTER TO IMAGE_VXD_HEADER; IMAGE_FILE_HEADER* = RECORD [noalign] Machine*: SHORTINT; NumberOfSections*: SHORTINT; TimeDateStamp*: INTEGER; PointerToSymbolTable*: INTEGER; NumberOfSymbols*: INTEGER; SizeOfOptionalHeader*: SHORTINT; Characteristics*: SHORTINT; END; PtrIMAGE_FILE_HEADER* = POINTER TO IMAGE_FILE_HEADER; IMAGE_DATA_DIRECTORY* = RECORD [noalign] VirtualAddress*: INTEGER; Size*: INTEGER; END; PtrIMAGE_DATA_DIRECTORY* = POINTER TO IMAGE_DATA_DIRECTORY; IMAGE_OPTIONAL_HEADER* = RECORD [noalign] Magic*: SHORTINT; MajorLinkerVersion*: SHORTCHAR; MinorLinkerVersion*: SHORTCHAR; SizeOfCode*: INTEGER; SizeOfInitializedData*: INTEGER; SizeOfUninitializedData*: INTEGER; AddressOfEntryPoint*: INTEGER; BaseOfCode*: INTEGER; BaseOfData*: INTEGER; ImageBase*: INTEGER; SectionAlignment*: INTEGER; FileAlignment*: INTEGER; MajorOperatingSystemVersion*: SHORTINT; MinorOperatingSystemVersion*: SHORTINT; MajorImageVersion*: SHORTINT; MinorImageVersion*: SHORTINT; MajorSubsystemVersion*: SHORTINT; MinorSubsystemVersion*: SHORTINT; Reserved1*: INTEGER; SizeOfImage*: INTEGER; SizeOfHeaders*: INTEGER; CheckSum*: INTEGER; Subsystem*: SHORTINT; DllCharacteristics*: SHORTINT; SizeOfStackReserve*: INTEGER; SizeOfStackCommit*: INTEGER; SizeOfHeapReserve*: INTEGER; SizeOfHeapCommit*: INTEGER; LoaderFlags*: INTEGER; NumberOfRvaAndSizes*: INTEGER; DataDirectory*: ARRAY [untagged] 16 OF IMAGE_DATA_DIRECTORY; END; PtrIMAGE_OPTIONAL_HEADER* = POINTER TO IMAGE_OPTIONAL_HEADER; IMAGE_ROM_OPTIONAL_HEADER* = RECORD [noalign] Magic*: SHORTINT; MajorLinkerVersion*: SHORTCHAR; MinorLinkerVersion*: SHORTCHAR; SizeOfCode*: INTEGER; SizeOfInitializedData*: INTEGER; SizeOfUninitializedData*: INTEGER; AddressOfEntryPoint*: INTEGER; BaseOfCode*: INTEGER; BaseOfData*: INTEGER; BaseOfBss*: INTEGER; GprMask*: INTEGER; CprMask*: ARRAY [untagged] 4 OF INTEGER; GpValue*: INTEGER; END; PtrIMAGE_ROM_OPTIONAL_HEADER* = POINTER TO IMAGE_ROM_OPTIONAL_HEADER; IMAGE_NT_HEADERS* = RECORD [noalign] Signature*: INTEGER; FileHeader*: IMAGE_FILE_HEADER; OptionalHeader*: IMAGE_OPTIONAL_HEADER; END; PtrIMAGE_NT_HEADERS* = POINTER TO IMAGE_NT_HEADERS; IMAGE_ROM_HEADERS* = RECORD [untagged] FileHeader*: IMAGE_FILE_HEADER; OptionalHeader*: IMAGE_ROM_OPTIONAL_HEADER; END; PtrIMAGE_ROM_HEADERS* = POINTER TO IMAGE_ROM_HEADERS; IMAGE_SECTION_HEADER* = RECORD [noalign] Name*: ARRAY [untagged] 8 OF SHORTCHAR; Misc*: RECORD [union] PhysicalAddress*: INTEGER; VirtualSize*: INTEGER; END; VirtualAddress*: INTEGER; SizeOfRawData*: INTEGER; PointerToRawData*: INTEGER; PointerToRelocations*: INTEGER; PointerToLinenumbers*: INTEGER; NumberOfRelocations*: SHORTINT; NumberOfLinenumbers*: SHORTINT; Characteristics*: INTEGER; END; PtrIMAGE_SECTION_HEADER* = POINTER TO IMAGE_SECTION_HEADER; IMAGE_SYMBOL* = RECORD [noalign] N*: RECORD [union] ShortName*: ARRAY [untagged] 8 OF SHORTCHAR; Name*: RECORD [noalign] Short*: INTEGER; Long*: INTEGER; END; LongName*: ARRAY [untagged] 2 OF POINTER TO (*?*) ARRAY [untagged] OF SHORTCHAR; END; Value*: INTEGER; SectionNumber*: SHORTINT; Type*: SHORTINT; StorageClass*: SHORTCHAR; NumberOfAuxSymbols*: SHORTCHAR; END; PtrIMAGE_SYMBOL* = POINTER TO IMAGE_SYMBOL; IMAGE_AUX_SYMBOL* = RECORD [union] Sym*: RECORD [noalign] TagIndex*: INTEGER; Misc*: RECORD [union] LnSz*: RECORD [noalign] Linenumber*: SHORTINT; Size*: SHORTINT; END; TotalSize*: INTEGER; END; FcnAry*: RECORD [union] Function*: RECORD [noalign] PointerToLinenumber*: INTEGER; PointerToNextFunction*: INTEGER; END; Array*: RECORD [noalign] Dimension*: ARRAY [untagged] 4 OF SHORTINT; END; END; TvIndex*: SHORTINT; END; File*: RECORD [untagged] Name*: ARRAY [untagged] 18 OF SHORTCHAR; END; Section*: RECORD [noalign] Length*: INTEGER; NumberOfRelocations*: SHORTINT; NumberOfLinenumbers*: SHORTINT; CheckSum*: INTEGER; Number*: SHORTINT; Selection*: SHORTCHAR; END; END; PtrIMAGE_AUX_SYMBOL* = POINTER TO IMAGE_AUX_SYMBOL; IMAGE_RELOCATION* = RECORD [noalign] u*: RECORD [union] VirtualAddress*: INTEGER; RelocCount*: INTEGER; END; SymbolTableIndex*: INTEGER; Type*: SHORTINT; END; PtrIMAGE_RELOCATION* = POINTER TO IMAGE_RELOCATION; IMAGE_BASE_RELOCATION* = RECORD [noalign] VirtualAddress*: INTEGER; SizeOfBlock*: INTEGER; END; PtrIMAGE_BASE_RELOCATION* = POINTER TO IMAGE_BASE_RELOCATION; IMAGE_LINENUMBER* = RECORD [noalign] Type*: RECORD [union] SymbolTableIndex*: INTEGER; VirtualAddress*: INTEGER; END; Linenumber*: SHORTINT; END; PtrIMAGE_LINENUMBER* = POINTER TO IMAGE_LINENUMBER; IMAGE_ARCHIVE_MEMBER_HEADER* = RECORD [untagged] Name*: ARRAY [untagged] 16 OF SHORTCHAR; Date*: ARRAY [untagged] 12 OF SHORTCHAR; UserID*: ARRAY [untagged] 6 OF SHORTCHAR; GroupID*: ARRAY [untagged] 6 OF SHORTCHAR; Mode*: ARRAY [untagged] 8 OF SHORTCHAR; Size*: ARRAY [untagged] 10 OF SHORTCHAR; EndHeader*: ARRAY [untagged] 2 OF SHORTCHAR; END; PtrIMAGE_ARCHIVE_MEMBER_HEADER* = POINTER TO IMAGE_ARCHIVE_MEMBER_HEADER; IMAGE_EXPORT_DIRECTORY* = RECORD [noalign] Characteristics*: INTEGER; TimeDateStamp*: INTEGER; MajorVersion*: SHORTINT; MinorVersion*: SHORTINT; Name*: INTEGER; Base*: INTEGER; NumberOfFunctions*: INTEGER; NumberOfNames*: INTEGER; AddressOfFunctions*: POINTER TO (*?*) ARRAY [untagged] OF POINTER TO (*?*) ARRAY [untagged] OF INTEGER; AddressOfNames*: POINTER TO (*?*) ARRAY [untagged] OF POINTER TO (*?*) ARRAY [untagged] OF INTEGER; AddressOfNameOrdinals*: POINTER TO (*?*) ARRAY [untagged] OF POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; END; PtrIMAGE_EXPORT_DIRECTORY* = POINTER TO IMAGE_EXPORT_DIRECTORY; IMAGE_IMPORT_BY_NAME* = RECORD [noalign] Hint*: SHORTINT; Name*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrIMAGE_IMPORT_BY_NAME* = POINTER TO IMAGE_IMPORT_BY_NAME; IMAGE_THUNK_DATA* = RECORD [untagged] u1*: RECORD [union] ForwarderString*: POINTER TO (*?*) ARRAY [untagged] OF SHORTCHAR; Function*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; Ordinal*: INTEGER; AddressOfData*: PtrIMAGE_IMPORT_BY_NAME; END; END; PtrIMAGE_THUNK_DATA* = POINTER TO IMAGE_THUNK_DATA; IMAGE_IMPORT_DESCRIPTOR* = RECORD [noalign] u*: RECORD [union] Characteristics*: INTEGER; OriginalFirstThunk*: PtrIMAGE_THUNK_DATA; END; TimeDateStamp*: INTEGER; ForwarderChain*: INTEGER; Name*: INTEGER; FirstThunk*: PtrIMAGE_THUNK_DATA; END; PtrIMAGE_IMPORT_DESCRIPTOR* = POINTER TO IMAGE_IMPORT_DESCRIPTOR; IMAGE_BOUND_IMPORT_DESCRIPTOR* = RECORD [noalign] TimeDateStamp*: INTEGER; OffsetModuleName*: SHORTINT; NumberOfModuleForwarderRefs*: SHORTINT; END; PtrIMAGE_BOUND_IMPORT_DESCRIPTOR* = POINTER TO IMAGE_BOUND_IMPORT_DESCRIPTOR; IMAGE_BOUND_FORWARDER_REF* = RECORD [noalign] TimeDateStamp*: INTEGER; OffsetModuleName*: SHORTINT; Reserved*: SHORTINT; END; PtrIMAGE_BOUND_FORWARDER_REF* = POINTER TO IMAGE_BOUND_FORWARDER_REF; IMAGE_TLS_CALLBACK* = PROCEDURE (DllHandle: PtrVoid; Reason: INTEGER; Reserved: PtrVoid); IMAGE_TLS_DIRECTORY* = RECORD [noalign] StartAddressOfRawData*: INTEGER; EndAddressOfRawData*: INTEGER; AddressOfIndex*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; AddressOfCallBacks*: POINTER TO (*?*) ARRAY [untagged] OF IMAGE_TLS_CALLBACK; SizeOfZeroFill*: INTEGER; Characteristics*: INTEGER; END; PtrIMAGE_TLS_DIRECTORY* = POINTER TO IMAGE_TLS_DIRECTORY; IMAGE_RESOURCE_DIRECTORY* = RECORD [noalign] Characteristics*: INTEGER; TimeDateStamp*: INTEGER; MajorVersion*: SHORTINT; MinorVersion*: SHORTINT; NumberOfNamedEntries*: SHORTINT; NumberOfIdEntries*: SHORTINT; END; PtrIMAGE_RESOURCE_DIRECTORY* = POINTER TO IMAGE_RESOURCE_DIRECTORY; IMAGE_RESOURCE_DIRECTORY_ENTRY* = RECORD [untagged] u*: RECORD [union] r*: RECORD [noalign] fBits0*: SET; (* NameOffset*: LONGINT; (31 bits) *) (* NameIsString*: LONGINT; (1 bits) *) END; Name*: INTEGER; Id*: SHORTINT; END; u1*: RECORD [union] OffsetToData*: INTEGER; r*: RECORD [noalign] fBits0*: SET; (* OffsetToDirectory*: LONGINT; (31 bits) *) (* DataIsDirectory*: LONGINT; (1 bits) *) END; END; END; PtrIMAGE_RESOURCE_DIRECTORY_ENTRY* = POINTER TO IMAGE_RESOURCE_DIRECTORY_ENTRY; IMAGE_RESOURCE_DIRECTORY_STRING* = RECORD [noalign] Length*: SHORTINT; NameString*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrIMAGE_RESOURCE_DIRECTORY_STRING* = POINTER TO IMAGE_RESOURCE_DIRECTORY_STRING; IMAGE_RESOURCE_DIR_STRING_U* = RECORD [noalign] Length*: SHORTINT; NameString*: ARRAY [untagged] 1 OF CHAR; END; PtrIMAGE_RESOURCE_DIR_STRING_U* = POINTER TO IMAGE_RESOURCE_DIR_STRING_U; IMAGE_RESOURCE_DATA_ENTRY* = RECORD [noalign] OffsetToData*: INTEGER; Size*: INTEGER; CodePage*: INTEGER; Reserved*: INTEGER; END; PtrIMAGE_RESOURCE_DATA_ENTRY* = POINTER TO IMAGE_RESOURCE_DATA_ENTRY; IMAGE_LOAD_CONFIG_DIRECTORY* = RECORD [noalign] Characteristics*: INTEGER; TimeDateStamp*: INTEGER; MajorVersion*: SHORTINT; MinorVersion*: SHORTINT; GlobalFlagsClear*: INTEGER; GlobalFlagsSet*: INTEGER; CriticalSectionDefaultTimeout*: INTEGER; DeCommitFreeBlockThreshold*: INTEGER; DeCommitTotalFreeThreshold*: INTEGER; LockPrefixTable*: PtrVoid; MaximumAllocationSize*: INTEGER; VirtualMemoryThreshold*: INTEGER; ProcessHeapFlags*: INTEGER; Reserved*: ARRAY [untagged] 4 OF INTEGER; END; PtrIMAGE_LOAD_CONFIG_DIRECTORY* = POINTER TO IMAGE_LOAD_CONFIG_DIRECTORY; IMAGE_RUNTIME_FUNCTION_ENTRY* = RECORD [noalign] BeginAddress*: INTEGER; EndAddress*: INTEGER; ExceptionHandler*: PtrVoid; HandlerData*: PtrVoid; PrologEndAddress*: INTEGER; END; PtrIMAGE_RUNTIME_FUNCTION_ENTRY* = POINTER TO IMAGE_RUNTIME_FUNCTION_ENTRY; IMAGE_DEBUG_DIRECTORY* = RECORD [noalign] Characteristics*: INTEGER; TimeDateStamp*: INTEGER; MajorVersion*: SHORTINT; MinorVersion*: SHORTINT; Type*: INTEGER; SizeOfData*: INTEGER; AddressOfRawData*: INTEGER; PointerToRawData*: INTEGER; END; PtrIMAGE_DEBUG_DIRECTORY* = POINTER TO IMAGE_DEBUG_DIRECTORY; IMAGE_COFF_SYMBOLS_HEADER* = RECORD [noalign] NumberOfSymbols*: INTEGER; LvaToFirstSymbol*: INTEGER; NumberOfLinenumbers*: INTEGER; LvaToFirstLinenumber*: INTEGER; RvaToFirstByteOfCode*: INTEGER; RvaToLastByteOfCode*: INTEGER; RvaToFirstByteOfData*: INTEGER; RvaToLastByteOfData*: INTEGER; END; PtrIMAGE_COFF_SYMBOLS_HEADER* = POINTER TO IMAGE_COFF_SYMBOLS_HEADER; FPO_DATA* = RECORD [noalign] ulOffStart*: INTEGER; cbProcSize*: INTEGER; cdwLocals*: INTEGER; cdwParams*: SHORTINT; fBits0*: SHORTINT; (* cbProlog*: INTEGER; (8 bits) *) (* cbRegs*: INTEGER; (3 bits) *) (* fHasSEH*: INTEGER; (1 bits) *) (* fUseBP*: INTEGER; (1 bits) *) (* reserved*: INTEGER; (1 bits) *) (* cbFrame*: INTEGER; (2 bits) *) END; PtrFPO_DATA* = POINTER TO FPO_DATA; IMAGE_DEBUG_MISC* = RECORD [noalign] DataType*: INTEGER; Length*: INTEGER; Unicode*: BOOLEAN; Reserved*: ARRAY [untagged] 3 OF SHORTCHAR; Data*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrIMAGE_DEBUG_MISC* = POINTER TO IMAGE_DEBUG_MISC; IMAGE_FUNCTION_ENTRY* = RECORD [noalign] StartingAddress*: INTEGER; EndingAddress*: INTEGER; EndOfPrologue*: INTEGER; END; PtrIMAGE_FUNCTION_ENTRY* = POINTER TO IMAGE_FUNCTION_ENTRY; IMAGE_SEPARATE_DEBUG_HEADER* = RECORD [noalign] Signature*: SHORTINT; Flags*: SHORTINT; Machine*: SHORTINT; Characteristics*: SHORTINT; TimeDateStamp*: INTEGER; CheckSum*: INTEGER; ImageBase*: INTEGER; SizeOfImage*: INTEGER; NumberOfSections*: INTEGER; ExportedNamesSize*: INTEGER; DebugDirectorySize*: INTEGER; Reserved*: ARRAY [untagged] 3 OF INTEGER; END; PtrIMAGE_SEPARATE_DEBUG_HEADER* = POINTER TO IMAGE_SEPARATE_DEBUG_HEADER; MESSAGE_RESOURCE_ENTRY* = RECORD [untagged] Length*: SHORTINT; Flags*: SHORTINT; Text*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrMESSAGE_RESOURCE_ENTRY* = POINTER TO MESSAGE_RESOURCE_ENTRY; MESSAGE_RESOURCE_BLOCK* = RECORD [untagged] LowId*: INTEGER; HighId*: INTEGER; OffsetToEntries*: INTEGER; END; PtrMESSAGE_RESOURCE_BLOCK* = POINTER TO MESSAGE_RESOURCE_BLOCK; MESSAGE_RESOURCE_DATA* = RECORD [untagged] NumberOfBlocks*: INTEGER; Blocks*: ARRAY [untagged] 1 OF MESSAGE_RESOURCE_BLOCK; END; PtrMESSAGE_RESOURCE_DATA* = POINTER TO MESSAGE_RESOURCE_DATA; PtrRTL_CRITICAL_SECTION* = POINTER TO RTL_CRITICAL_SECTION; RTL_CRITICAL_SECTION_DEBUG* = RECORD [untagged] Type*: SHORTINT; CreatorBackTraceIndex*: SHORTINT; CriticalSection*: PtrRTL_CRITICAL_SECTION; ProcessLocksList*: LIST_ENTRY; EntryCount*: INTEGER; ContentionCount*: INTEGER; Spare*: ARRAY [untagged] 2 OF INTEGER; END; PtrRTL_CRITICAL_SECTION_DEBUG* = POINTER TO RTL_CRITICAL_SECTION_DEBUG; RTL_CRITICAL_SECTION* = RECORD [untagged] DebugInfo*: PtrRTL_CRITICAL_SECTION_DEBUG; LockCount*: INTEGER; RecursionCount*: INTEGER; OwningThread*: HANDLE; LockSemaphore*: HANDLE; Reserved*: INTEGER; END; EVENTLOGRECORD* = RECORD [untagged] Length*: INTEGER; Reserved*: INTEGER; RecordNumber*: INTEGER; TimeGenerated*: INTEGER; TimeWritten*: INTEGER; EventID*: INTEGER; EventType*: SHORTINT; NumStrings*: SHORTINT; EventCategory*: SHORTINT; ReservedFlags*: SHORTINT; ClosingRecordNumber*: INTEGER; StringOffset*: INTEGER; UserSidLength*: INTEGER; UserSidOffset*: INTEGER; DataLength*: INTEGER; DataOffset*: INTEGER; END; PtrEVENTLOGRECORD* = POINTER TO EVENTLOGRECORD; SERVICE_NODE_TYPE* = INTEGER; SERVICE_LOAD_TYPE* = INTEGER; SERVICE_ERROR_TYPE* = INTEGER; TAPE_ERASE* = RECORD [untagged] Type*: INTEGER; Immediate*: BOOLEAN; END; PtrTAPE_ERASE* = POINTER TO TAPE_ERASE; TAPE_PREPARE* = RECORD [untagged] Operation*: INTEGER; Immediate*: BOOLEAN; END; PtrTAPE_PREPARE* = POINTER TO TAPE_PREPARE; TAPE_WRITE_MARKS* = RECORD [untagged] Type*: INTEGER; Count*: INTEGER; Immediate*: BOOLEAN; END; PtrTAPE_WRITE_MARKS* = POINTER TO TAPE_WRITE_MARKS; TAPE_GET_POSITION* = RECORD [align8] Type*: INTEGER; Partition*: INTEGER; Offset*: LONGINT; END; PtrTAPE_GET_POSITION* = POINTER TO TAPE_GET_POSITION; TAPE_SET_POSITION* = RECORD [align8] Method*: INTEGER; Partition*: INTEGER; Offset*: LONGINT; Immediate*: BOOLEAN; END; PtrTAPE_SET_POSITION* = POINTER TO TAPE_SET_POSITION; TAPE_GET_DRIVE_PARAMETERS* = RECORD [untagged] ECC*: BOOLEAN; Compression*: BOOLEAN; DataPadding*: BOOLEAN; ReportSetmarks*: BOOLEAN; DefaultBlockSize*: INTEGER; MaximumBlockSize*: INTEGER; MinimumBlockSize*: INTEGER; MaximumPartitionCount*: INTEGER; FeaturesLow*: SET; FeaturesHigh*: SET; EOTWarningZoneSize*: INTEGER; END; PtrTAPE_GET_DRIVE_PARAMETERS* = POINTER TO TAPE_GET_DRIVE_PARAMETERS; TAPE_SET_DRIVE_PARAMETERS* = RECORD [untagged] ECC*: BOOLEAN; Compression*: BOOLEAN; DataPadding*: BOOLEAN; ReportSetmarks*: BOOLEAN; EOTWarningZoneSize*: INTEGER; END; PtrTAPE_SET_DRIVE_PARAMETERS* = POINTER TO TAPE_SET_DRIVE_PARAMETERS; TAPE_GET_MEDIA_PARAMETERS* = RECORD [align8] Capacity*: LONGINT; Remaining*: LONGINT; BlockSize*: INTEGER; PartitionCount*: INTEGER; WriteProtected*: BOOLEAN; END; PtrTAPE_GET_MEDIA_PARAMETERS* = POINTER TO TAPE_GET_MEDIA_PARAMETERS; TAPE_SET_MEDIA_PARAMETERS* = RECORD [untagged] BlockSize*: INTEGER; END; PtrTAPE_SET_MEDIA_PARAMETERS* = POINTER TO TAPE_SET_MEDIA_PARAMETERS; TAPE_CREATE_PARTITION* = RECORD [untagged] Method*: INTEGER; Count*: INTEGER; Size*: INTEGER; END; PtrTAPE_CREATE_PARTITION* = POINTER TO TAPE_CREATE_PARTITION; WPARAM* = INTEGER; LPARAM* = INTEGER; LRESULT* = INTEGER; HWND* = HANDLE; HHOOK* = HANDLE; ATOM* = SHORTINT; HGLOBAL* = HANDLE; HLOCAL* = HANDLE; GLOBALHANDLE* = HANDLE; LOCALHANDLE* = HANDLE; FARPROC* = PROCEDURE (): INTEGER; NEARPROC* = PROCEDURE (): INTEGER; ROC* = PROCEDURE (): INTEGER; HGDIOBJ* = HANDLE; HACCEL* = HANDLE; HBITMAP* = HANDLE; HBRUSH* = HANDLE; HCOLORSPACE* = HANDLE; HDC* = HANDLE; HGLRC* = HANDLE; HDESK* = HANDLE; HENHMETAFILE* = HANDLE; HMETAFILEPICT* = HANDLE; HFONT* = HANDLE; HICON* = HANDLE; HMENU* = HANDLE; HMETAFILE* = HANDLE; HINSTANCE* = HANDLE; HMODULE* = HINSTANCE; HPALETTE* = HANDLE; HPEN* = HANDLE; HRGN* = HANDLE; HRSRC* = HANDLE; HSTR* = HANDLE; HTASK* = HANDLE; HWINSTA* = HANDLE; HKL* = HANDLE; HFILE* = INTEGER; HCURSOR* = HICON; COLORREF* = INTEGER; RECT* = RECORD [untagged] left*: INTEGER; top*: INTEGER; right*: INTEGER; bottom*: INTEGER; END; PtrRECT* = POINTER TO RECT; _RECTL* = RECORD [untagged] left*: INTEGER; top*: INTEGER; right*: INTEGER; bottom*: INTEGER; END; POINT* = RECORD [untagged] x*: INTEGER; y*: INTEGER; END; PtrPOINT* = POINTER TO POINT; _POINTL* = RECORD [untagged] x*: INTEGER; y*: INTEGER; END; SIZE* = RECORD [untagged] cx*: INTEGER; cy*: INTEGER; END; PtrSIZE* = POINTER TO SIZE; POINTS* = RECORD [untagged] x*: SHORTINT; y*: SHORTINT; END; PtrPOINTS* = POINTER TO POINTS; OVERLAPPED* = RECORD [untagged] Internal*: INTEGER; InternalHigh*: INTEGER; Offset*: INTEGER; OffsetHigh*: INTEGER; hEvent*: HANDLE; END; PtrOVERLAPPED* = POINTER TO OVERLAPPED; SECURITY_ATTRIBUTES* = RECORD [untagged] nLength*: INTEGER; lpSecurityDescriptor*: PtrVoid; bInheritHandle*: BOOL; END; PtrSECURITY_ATTRIBUTES* = POINTER TO SECURITY_ATTRIBUTES; PROCESS_INFORMATION* = RECORD [untagged] hProcess*: HANDLE; hThread*: HANDLE; dwProcessId*: INTEGER; dwThreadId*: INTEGER; END; PtrPROCESS_INFORMATION* = POINTER TO PROCESS_INFORMATION; FILETIME* = RECORD [untagged] dwLowDateTime*: INTEGER; dwHighDateTime*: INTEGER; END; PtrFILETIME* = POINTER TO FILETIME; SYSTEMTIME* = RECORD [untagged] wYear*: SHORTINT; wMonth*: SHORTINT; wDayOfWeek*: SHORTINT; wDay*: SHORTINT; wHour*: SHORTINT; wMinute*: SHORTINT; wSecond*: SHORTINT; wMilliseconds*: SHORTINT; END; PtrSYSTEMTIME* = POINTER TO SYSTEMTIME; THREAD_START_ROUTINE* = PROCEDURE (lpThreadParameter: PtrVoid): INTEGER; FIBER_START_ROUTINE* = PROCEDURE (lpFiberParameter: PtrVoid); CRITICAL_SECTION* = RTL_CRITICAL_SECTION; PtrCRITICAL_SECTION* = PtrRTL_CRITICAL_SECTION; CRITICAL_SECTION_DEBUG* = RTL_CRITICAL_SECTION_DEBUG; PtrCRITICAL_SECTION_DEBUG* = PtrRTL_CRITICAL_SECTION_DEBUG; COMMPROP* = RECORD [untagged] wPacketLength*: SHORTINT; wPacketVersion*: SHORTINT; dwServiceMask*: INTEGER; dwReserved1*: INTEGER; dwMaxTxQueue*: INTEGER; dwMaxRxQueue*: INTEGER; dwMaxBaud*: SET; dwProvSubType*: INTEGER; dwProvCapabilities*: SET; dwSettableParams*: SET; dwSettableBaud*: SET; wSettableData*: SHORTINT; wSettableStopParity*: SHORTINT; dwCurrentTxQueue*: INTEGER; dwCurrentRxQueue*: INTEGER; dwProvSpec1*: INTEGER; dwProvSpec2*: INTEGER; wcProvChar*: ARRAY [untagged] 1 OF CHAR; END; PtrCOMMPROP* = POINTER TO COMMPROP; COMSTAT* = RECORD [untagged] fBits0*: SET; (* fCtsHold*: LONGINT; (1 bits) *) (* fDsrHold*: LONGINT; (1 bits) *) (* fRlsdHold*: LONGINT; (1 bits) *) (* fXoffHold*: LONGINT; (1 bits) *) (* fXoffSent*: LONGINT; (1 bits) *) (* fEof*: LONGINT; (1 bits) *) (* fTxim*: LONGINT; (1 bits) *) (* fReserved*: LONGINT; (25 bits) *) cbInQue*: INTEGER; cbOutQue*: INTEGER; END; PtrCOMSTAT* = POINTER TO COMSTAT; DCB* = RECORD [untagged] DCBlength*: INTEGER; BaudRate*: INTEGER; fBits0*: SET; (* fBinary*: LONGINT; (1 bits) *) (* fParity*: LONGINT; (1 bits) *) (* fOutxCtsFlow*: LONGINT; (1 bits) *) (* fOutxDsrFlow*: LONGINT; (1 bits) *) (* fDtrControl*: LONGINT; (2 bits) *) (* fDsrSensitivity*: LONGINT; (1 bits) *) (* fTXContinueOnXoff*: LONGINT; (1 bits) *) (* fOutX*: LONGINT; (1 bits) *) (* fInX*: LONGINT; (1 bits) *) (* fErrorChar*: LONGINT; (1 bits) *) (* fNull*: LONGINT; (1 bits) *) (* fRtsControl*: LONGINT; (2 bits) *) (* fAbortOnError*: LONGINT; (1 bits) *) (* fDummy2*: LONGINT; (17 bits) *) wReserved*: SHORTINT; XonLim*: SHORTINT; XoffLim*: SHORTINT; ByteSize*: SHORTCHAR; Parity*: SHORTCHAR; StopBits*: SHORTCHAR; XonChar*: SHORTCHAR; XoffChar*: SHORTCHAR; ErrorChar*: SHORTCHAR; EofChar*: SHORTCHAR; EvtChar*: SHORTCHAR; wReserved1*: SHORTINT; END; PtrDCB* = POINTER TO DCB; COMMTIMEOUTS* = RECORD [untagged] ReadIntervalTimeout*: INTEGER; ReadTotalTimeoutMultiplier*: INTEGER; ReadTotalTimeoutConstant*: INTEGER; WriteTotalTimeoutMultiplier*: INTEGER; WriteTotalTimeoutConstant*: INTEGER; END; PtrCOMMTIMEOUTS* = POINTER TO COMMTIMEOUTS; COMMCONFIG* = RECORD [untagged] dwSize*: INTEGER; wVersion*: SHORTINT; wReserved*: SHORTINT; dcb*: DCB; dwProviderSubType*: INTEGER; dwProviderOffset*: INTEGER; dwProviderSize*: INTEGER; wcProviderData*: ARRAY [untagged] 1 OF CHAR; END; PtrCOMMCONFIG* = POINTER TO COMMCONFIG; SYSTEM_INFO* = RECORD [untagged] u*: RECORD [union] dwOemId*: INTEGER; r*: RECORD [untagged] wProcessorArchitecture*: SHORTINT; wReserved*: SHORTINT; END; END; dwPageSize*: INTEGER; lpMinimumApplicationAddress*: PtrVoid; lpMaximumApplicationAddress*: PtrVoid; dwActiveProcessorMask*: INTEGER; dwNumberOfProcessors*: INTEGER; dwProcessorType*: INTEGER; dwAllocationGranularity*: INTEGER; wProcessorLevel*: SHORTINT; wProcessorRevision*: SHORTINT; END; PtrSYSTEM_INFO* = POINTER TO SYSTEM_INFO; MEMORYSTATUS* = RECORD [untagged] dwLength*: INTEGER; dwMemoryLoad*: INTEGER; dwTotalPhys*: INTEGER; dwAvailPhys*: INTEGER; dwTotalPageFile*: INTEGER; dwAvailPageFile*: INTEGER; dwTotalVirtual*: INTEGER; dwAvailVirtual*: INTEGER; END; PtrMEMORYSTATUS* = POINTER TO MEMORYSTATUS; EXCEPTION_DEBUG_INFO* = RECORD [untagged] ExceptionRecord*: EXCEPTION_RECORD; dwFirstChance*: INTEGER; END; PtrEXCEPTION_DEBUG_INFO* = POINTER TO EXCEPTION_DEBUG_INFO; CREATE_THREAD_DEBUG_INFO* = RECORD [untagged] hThread*: HANDLE; lpThreadLocalBase*: PtrVoid; lpStartAddress*: THREAD_START_ROUTINE; END; PtrCREATE_THREAD_DEBUG_INFO* = POINTER TO CREATE_THREAD_DEBUG_INFO; CREATE_PROCESS_DEBUG_INFO* = RECORD [untagged] hFile*: HANDLE; hProcess*: HANDLE; hThread*: HANDLE; lpBaseOfImage*: PtrVoid; dwDebugInfoFileOffset*: INTEGER; nDebugInfoSize*: INTEGER; lpThreadLocalBase*: PtrVoid; lpStartAddress*: THREAD_START_ROUTINE; lpImageName*: PtrVoid; fUnicode*: SHORTINT; END; PtrCREATE_PROCESS_DEBUG_INFO* = POINTER TO CREATE_PROCESS_DEBUG_INFO; EXIT_THREAD_DEBUG_INFO* = RECORD [untagged] dwExitCode*: INTEGER; END; PtrEXIT_THREAD_DEBUG_INFO* = POINTER TO EXIT_THREAD_DEBUG_INFO; EXIT_PROCESS_DEBUG_INFO* = RECORD [untagged] dwExitCode*: INTEGER; END; PtrEXIT_PROCESS_DEBUG_INFO* = POINTER TO EXIT_PROCESS_DEBUG_INFO; LOAD_DLL_DEBUG_INFO* = RECORD [untagged] hFile*: HANDLE; lpBaseOfDll*: PtrVoid; dwDebugInfoFileOffset*: INTEGER; nDebugInfoSize*: INTEGER; lpImageName*: PtrVoid; fUnicode*: SHORTINT; END; PtrLOAD_DLL_DEBUG_INFO* = POINTER TO LOAD_DLL_DEBUG_INFO; UNLOAD_DLL_DEBUG_INFO* = RECORD [untagged] lpBaseOfDll*: PtrVoid; END; PtrUNLOAD_DLL_DEBUG_INFO* = POINTER TO UNLOAD_DLL_DEBUG_INFO; OUTPUT_DEBUG_STRING_INFO* = RECORD [untagged] lpDebugStringData*: PtrSTR; fUnicode*: SHORTINT; nDebugStringLength*: SHORTINT; END; PtrOUTPUT_DEBUG_STRING_INFO* = POINTER TO OUTPUT_DEBUG_STRING_INFO; RIP_INFO* = RECORD [untagged] dwError*: INTEGER; dwType*: INTEGER; END; PtrRIP_INFO* = POINTER TO RIP_INFO; DEBUG_EVENT* = RECORD [untagged] dwDebugEventCode*: INTEGER; dwProcessId*: INTEGER; dwThreadId*: INTEGER; u*: RECORD [union] Exception*: EXCEPTION_DEBUG_INFO; CreateThread*: CREATE_THREAD_DEBUG_INFO; CreateProcessInfo*: CREATE_PROCESS_DEBUG_INFO; ExitThread*: EXIT_THREAD_DEBUG_INFO; ExitProcess*: EXIT_PROCESS_DEBUG_INFO; LoadDll*: LOAD_DLL_DEBUG_INFO; UnloadDll*: UNLOAD_DLL_DEBUG_INFO; DebugString*: OUTPUT_DEBUG_STRING_INFO; RipInfo*: RIP_INFO; END; END; PtrDEBUG_EVENT* = POINTER TO DEBUG_EVENT; OFSTRUCT* = RECORD [untagged] cBytes*: SHORTCHAR; fFixedDisk*: SHORTCHAR; nErrCode*: SHORTINT; Reserved1*: SHORTINT; Reserved2*: SHORTINT; szPathName*: ARRAY [untagged] 128 OF SHORTCHAR; END; PtrOFSTRUCT* = POINTER TO OFSTRUCT; PROCESS_HEAP_ENTRY* = RECORD [untagged] lpData*: PtrVoid; cbData*: INTEGER; cbOverhead*: SHORTCHAR; iRegionIndex*: SHORTCHAR; wFlags*: SHORTINT; u*: RECORD [union] Block*: RECORD [untagged] hMem*: HANDLE; dwReserved*: ARRAY [untagged] 3 OF INTEGER; END; Region*: RECORD [untagged] dwCommittedSize*: INTEGER; dwUnCommittedSize*: INTEGER; lpFirstBlock*: PtrVoid; lpLastBlock*: PtrVoid; END; END; END; PtrPROCESS_HEAP_ENTRY* = POINTER TO PROCESS_HEAP_ENTRY; TOP_LEVEL_EXCEPTION_FILTER* = PROCEDURE (VAR [nil] ExceptionInfo: EXCEPTION_POINTERS): INTEGER; APCFUNC* = PROCEDURE (dwParam: INTEGER); BY_HANDLE_FILE_INFORMATION* = RECORD [align8] dwFileAttributes*: SET; ftCreationTime*: FILETIME; ftLastAccessTime*: FILETIME; ftLastWriteTime*: FILETIME; dwVolumeSerialNumber*: INTEGER; nFileSizeHigh*: INTEGER; nFileSizeLow*: INTEGER; nNumberOfLinks*: INTEGER; nFileIndexHigh*: INTEGER; nFileIndexLow*: INTEGER; END; PtrBY_HANDLE_FILE_INFORMATION* = POINTER TO BY_HANDLE_FILE_INFORMATION; TIME_ZONE_INFORMATION* = RECORD [untagged] Bias*: INTEGER; StandardName*: ARRAY [untagged] 32 OF CHAR; StandardDate*: SYSTEMTIME; StandardBias*: INTEGER; DaylightName*: ARRAY [untagged] 32 OF CHAR; DaylightDate*: SYSTEMTIME; DaylightBias*: INTEGER; END; PtrTIME_ZONE_INFORMATION* = POINTER TO TIME_ZONE_INFORMATION; OVERLAPPED_COMPLETION_ROUTINE* = PROCEDURE (dwErrorCode: INTEGER; dwNumberOfBytesTransfered: INTEGER; VAR [nil] lpOverlapped: OVERLAPPED); WIN32_STREAM_ID* = RECORD [align8] dwStreamId*: INTEGER; dwStreamAttributes*: SET; Size*: LONGINT; dwStreamNameSize*: INTEGER; cStreamName*: ARRAY [untagged] 1 OF CHAR; END; PtrWIN32_STREAM_ID* = POINTER TO WIN32_STREAM_ID; STARTUPINFOA* = RECORD [untagged] cb*: INTEGER; lpReserved*: PtrSTR; lpDesktop*: PtrSTR; lpTitle*: PtrSTR; dwX*: INTEGER; dwY*: INTEGER; dwXSize*: INTEGER; dwYSize*: INTEGER; dwXCountChars*: INTEGER; dwYCountChars*: INTEGER; dwFillAttribute*: INTEGER; dwFlags*: SET; wShowWindow*: SHORTINT; cbReserved2*: SHORTINT; lpReserved2*: POINTER TO (*?*) ARRAY [untagged] OF SHORTCHAR; hStdInput*: HANDLE; hStdOutput*: HANDLE; hStdError*: HANDLE; END; PtrSTARTUPINFOA* = POINTER TO STARTUPINFOA; STARTUPINFOW* = RECORD [untagged] cb*: INTEGER; lpReserved*: PtrWSTR; lpDesktop*: PtrWSTR; lpTitle*: PtrWSTR; dwX*: INTEGER; dwY*: INTEGER; dwXSize*: INTEGER; dwYSize*: INTEGER; dwXCountChars*: INTEGER; dwYCountChars*: INTEGER; dwFillAttribute*: INTEGER; dwFlags*: SET; wShowWindow*: SHORTINT; cbReserved2*: SHORTINT; lpReserved2*: POINTER TO (*?*) ARRAY [untagged] OF SHORTCHAR; hStdInput*: HANDLE; hStdOutput*: HANDLE; hStdError*: HANDLE; END; PtrSTARTUPINFOW* = POINTER TO STARTUPINFOW; STARTUPINFO* = STARTUPINFOA; PtrSTARTUPINFO* = PtrSTARTUPINFOA; WIN32_FIND_DATAA* = RECORD [align8] dwFileAttributes*: SET; ftCreationTime*: FILETIME; ftLastAccessTime*: FILETIME; ftLastWriteTime*: FILETIME; nFileSizeHigh*: INTEGER; nFileSizeLow*: INTEGER; dwReserved0*: INTEGER; dwReserved1*: INTEGER; cFileName*: ARRAY [untagged] 260 OF SHORTCHAR; cAlternateFileName*: ARRAY [untagged] 14 OF SHORTCHAR; END; PtrWIN32_FIND_DATAA* = POINTER TO WIN32_FIND_DATAA; WIN32_FIND_DATAW* = RECORD [align8] dwFileAttributes*: SET; ftCreationTime*: FILETIME; ftLastAccessTime*: FILETIME; ftLastWriteTime*: FILETIME; nFileSizeHigh*: INTEGER; nFileSizeLow*: INTEGER; dwReserved0*: INTEGER; dwReserved1*: INTEGER; cFileName*: ARRAY [untagged] 260 OF CHAR; cAlternateFileName*: ARRAY [untagged] 14 OF CHAR; END; PtrWIN32_FIND_DATAW* = POINTER TO WIN32_FIND_DATAW; WIN32_FIND_DATA* = WIN32_FIND_DATAA; PtrWIN32_FIND_DATA* = PtrWIN32_FIND_DATAA; WIN32_FILE_ATTRIBUTE_DATA* = RECORD [align8] dwFileAttributes*: SET; ftCreationTime*: FILETIME; ftLastAccessTime*: FILETIME; ftLastWriteTime*: FILETIME; nFileSizeHigh*: INTEGER; nFileSizeLow*: INTEGER; END; PtrWIN32_FILE_ATTRIBUTE_DATA* = POINTER TO WIN32_FILE_ATTRIBUTE_DATA; TIMERAPCROUTINE* = PROCEDURE (lpArgToCompletionRoutine: PtrVoid; dwTimerLowValue: INTEGER; dwTimerHighValue: INTEGER); ENUMRESTYPEPROC* = PROCEDURE (): INTEGER; ENUMRESNAMEPROC* = PROCEDURE (): INTEGER; ENUMRESLANGPROC* = PROCEDURE (): INTEGER; GET_FILEEX_INFO_LEVELS* = INTEGER; FINDEX_INFO_LEVELS* = INTEGER; FINDEX_SEARCH_OPS* = INTEGER; PROGRESS_ROUTINE* = PROCEDURE (TotalFileSize: LONGINT; TotalBytesTransferred: LONGINT; StreamSize: LONGINT; StreamBytesTransferred: LONGINT; dwStreamNumber: INTEGER; dwCallbackReason: INTEGER; hSourceFile: HANDLE; hDestinationFile: HANDLE; lpData: PtrVoid): INTEGER; HW_PROFILE_INFOA* = RECORD [untagged] dwDockInfo*: INTEGER; szHwProfileGuid*: ARRAY [untagged] 39 OF SHORTCHAR; szHwProfileName*: ARRAY [untagged] 80 OF SHORTCHAR; END; PtrHW_PROFILE_INFOA* = POINTER TO HW_PROFILE_INFOA; HW_PROFILE_INFOW* = RECORD [untagged] dwDockInfo*: INTEGER; szHwProfileGuid*: ARRAY [untagged] 39 OF CHAR; szHwProfileName*: ARRAY [untagged] 80 OF CHAR; END; PtrHW_PROFILE_INFOW* = POINTER TO HW_PROFILE_INFOW; HW_PROFILE_INFO* = HW_PROFILE_INFOA; PtrHW_PROFILE_INFO* = PtrHW_PROFILE_INFOA; OSVERSIONINFOA* = RECORD [untagged] dwOSVersionInfoSize*: INTEGER; dwMajorVersion*: INTEGER; dwMinorVersion*: INTEGER; dwBuildNumber*: INTEGER; dwPlatformId*: INTEGER; szCSDVersion*: ARRAY [untagged] 128 OF SHORTCHAR; END; PtrOSVERSIONINFOA* = POINTER TO OSVERSIONINFOA; OSVERSIONINFOW* = RECORD [untagged] dwOSVersionInfoSize*: INTEGER; dwMajorVersion*: INTEGER; dwMinorVersion*: INTEGER; dwBuildNumber*: INTEGER; dwPlatformId*: INTEGER; szCSDVersion*: ARRAY [untagged] 128 OF CHAR; END; PtrOSVERSIONINFOW* = POINTER TO OSVERSIONINFOW; OSVERSIONINFO* = OSVERSIONINFOA; PtrOSVERSIONINFO* = PtrOSVERSIONINFOA; SYSTEM_POWER_STATUS* = RECORD [untagged] ACLineStatus*: SHORTCHAR; BatteryFlag*: SHORTCHAR; BatteryLifePercent*: SHORTCHAR; Reserved1*: SHORTCHAR; BatteryLifeTime*: INTEGER; BatteryFullLifeTime*: INTEGER; END; PtrSYSTEM_POWER_STATUS* = POINTER TO SYSTEM_POWER_STATUS; WIN_CERTIFICATE* = RECORD [untagged] dwLength*: INTEGER; wRevision*: SHORTINT; wCertificateType*: SHORTINT; bCertificate*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrWIN_CERTIFICATE* = POINTER TO WIN_CERTIFICATE; WIN_TRUST_SUBJECT* = PtrVoid; WIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT* = RECORD [untagged] hClientToken*: HANDLE; dwSubjectType*: INTEGER; Subject*: WIN_TRUST_SUBJECT; END; PtrWIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJE (*...*)* = POINTER TO WIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT; WIN_TRUST_ACTDATA_SUBJECT_ONLY* = RECORD [untagged] dwSubjectType*: INTEGER; Subject*: WIN_TRUST_SUBJECT; END; PtrWIN_TRUST_ACTDATA_SUBJECT_ONLY* = POINTER TO WIN_TRUST_ACTDATA_SUBJECT_ONLY; WIN_TRUST_SUBJECT_FILE* = RECORD [untagged] hFile*: HANDLE; lpPath*: PtrWSTR; END; PtrWIN_TRUST_SUBJECT_FILE* = POINTER TO WIN_TRUST_SUBJECT_FILE; WIN_SPUB_TRUSTEDPUB_DATA* = RECORD [untagged] hClientToken*: HANDLE; lpCertificate*: PtrWIN_CERTIFICATE; END; PtrWIN_SPUB_TRUSTEDPUB_DATA* = POINTER TO WIN_SPUB_TRUSTEDPUB_DATA; XFORM* = RECORD [untagged] eM11*: SHORTREAL; eM12*: SHORTREAL; eM21*: SHORTREAL; eM22*: SHORTREAL; eDx*: SHORTREAL; eDy*: SHORTREAL; END; PtrXFORM* = POINTER TO XFORM; BITMAP* = RECORD [untagged] bmType*: INTEGER; bmWidth*: INTEGER; bmHeight*: INTEGER; bmWidthBytes*: INTEGER; bmPlanes*: SHORTINT; bmBitsPixel*: SHORTINT; bmBits*: PtrVoid; END; PtrBITMAP* = POINTER TO BITMAP; RGBTRIPLE* = RECORD [untagged] rgbtBlue*: SHORTCHAR; rgbtGreen*: SHORTCHAR; rgbtRed*: SHORTCHAR; END; RGBQUAD* = RECORD [untagged] rgbBlue*: SHORTCHAR; rgbGreen*: SHORTCHAR; rgbRed*: SHORTCHAR; rgbReserved*: SHORTCHAR; END; PtrRGBQUAD* = POINTER TO RGBQUAD; LCSCSTYPE* = INTEGER; LCSGAMUTMATCH* = INTEGER; FXPT16DOT16* = INTEGER; FXPT2DOT30* = INTEGER; CIEXYZ* = RECORD [untagged] ciexyzX*: FXPT2DOT30; ciexyzY*: FXPT2DOT30; ciexyzZ*: FXPT2DOT30; END; PtrCIEXYZ* = POINTER TO CIEXYZ; CIEXYZTRIPLE* = RECORD [untagged] ciexyzRed*: CIEXYZ; ciexyzGreen*: CIEXYZ; ciexyzBlue*: CIEXYZ; END; PtrCIEXYZTRIPLE* = POINTER TO CIEXYZTRIPLE; LOGCOLORSPACEA* = RECORD [untagged] lcsSignature*: INTEGER; lcsVersion*: INTEGER; lcsSize*: INTEGER; lcsCSType*: LCSCSTYPE; lcsIntent*: LCSGAMUTMATCH; lcsEndpoints*: CIEXYZTRIPLE; lcsGammaRed*: INTEGER; lcsGammaGreen*: INTEGER; lcsGammaBlue*: INTEGER; lcsFilename*: ARRAY [untagged] 260 OF SHORTCHAR; END; PtrLOGCOLORSPACEA* = POINTER TO LOGCOLORSPACEA; LOGCOLORSPACEW* = RECORD [untagged] lcsSignature*: INTEGER; lcsVersion*: INTEGER; lcsSize*: INTEGER; lcsCSType*: LCSCSTYPE; lcsIntent*: LCSGAMUTMATCH; lcsEndpoints*: CIEXYZTRIPLE; lcsGammaRed*: INTEGER; lcsGammaGreen*: INTEGER; lcsGammaBlue*: INTEGER; lcsFilename*: ARRAY [untagged] 260 OF CHAR; END; PtrLOGCOLORSPACEW* = POINTER TO LOGCOLORSPACEW; LOGCOLORSPACE* = LOGCOLORSPACEA; PtrLOGCOLORSPACE* = PtrLOGCOLORSPACEA; BITMAPCOREHEADER* = RECORD [untagged] bcSize*: INTEGER; bcWidth*: SHORTINT; bcHeight*: SHORTINT; bcPlanes*: SHORTINT; bcBitCount*: SHORTINT; END; PtrBITMAPCOREHEADER* = POINTER TO BITMAPCOREHEADER; BITMAPINFOHEADER* = RECORD [untagged] biSize*: INTEGER; biWidth*: INTEGER; biHeight*: INTEGER; biPlanes*: SHORTINT; biBitCount*: SHORTINT; biCompression*: INTEGER; biSizeImage*: INTEGER; biXPelsPerMeter*: INTEGER; biYPelsPerMeter*: INTEGER; biClrUsed*: INTEGER; biClrImportant*: INTEGER; END; PtrBITMAPINFOHEADER* = POINTER TO BITMAPINFOHEADER; BITMAPV4HEADER* = RECORD [untagged] bV4Size*: INTEGER; bV4Width*: INTEGER; bV4Height*: INTEGER; bV4Planes*: SHORTINT; bV4BitCount*: SHORTINT; bV4V4Compression*: INTEGER; bV4SizeImage*: INTEGER; bV4XPelsPerMeter*: INTEGER; bV4YPelsPerMeter*: INTEGER; bV4ClrUsed*: INTEGER; bV4ClrImportant*: INTEGER; bV4RedMask*: INTEGER; bV4GreenMask*: INTEGER; bV4BlueMask*: INTEGER; bV4AlphaMask*: INTEGER; bV4CSType*: INTEGER; bV4Endpoints*: CIEXYZTRIPLE; bV4GammaRed*: INTEGER; bV4GammaGreen*: INTEGER; bV4GammaBlue*: INTEGER; END; PtrBITMAPV4HEADER* = POINTER TO BITMAPV4HEADER; BITMAPINFO* = RECORD [untagged] bmiHeader*: BITMAPINFOHEADER; bmiColors*: ARRAY [untagged] 1 OF RGBQUAD; END; PtrBITMAPINFO* = POINTER TO BITMAPINFO; BITMAPCOREINFO* = RECORD [untagged] bmciHeader*: BITMAPCOREHEADER; bmciColors*: ARRAY [untagged] 1 OF RGBTRIPLE; END; PtrBITMAPCOREINFO* = POINTER TO BITMAPCOREINFO; BITMAPFILEHEADER* = RECORD [align2] bfType*: SHORTINT; bfSize*: INTEGER; bfReserved1*: SHORTINT; bfReserved2*: SHORTINT; bfOffBits*: INTEGER; END; PtrBITMAPFILEHEADER* = POINTER TO BITMAPFILEHEADER; FONTSIGNATURE* = RECORD [untagged] fsUsb*: ARRAY [untagged] 4 OF INTEGER; fsCsb*: ARRAY [untagged] 2 OF INTEGER; END; PtrFONTSIGNATURE* = POINTER TO FONTSIGNATURE; CHARSETINFO* = RECORD [untagged] ciCharset*: INTEGER; ciACP*: INTEGER; fs*: FONTSIGNATURE; END; PtrCHARSETINFO* = POINTER TO CHARSETINFO; LOCALESIGNATURE* = RECORD [untagged] lsUsb*: ARRAY [untagged] 4 OF INTEGER; lsCsbDefault*: ARRAY [untagged] 2 OF INTEGER; lsCsbSupported*: ARRAY [untagged] 2 OF INTEGER; END; PtrLOCALESIGNATURE* = POINTER TO LOCALESIGNATURE; HANDLETABLE* = RECORD [untagged] objectHandle*: ARRAY [untagged] 1 OF HGDIOBJ; END; PtrHANDLETABLE* = POINTER TO HANDLETABLE; METARECORD* = RECORD [untagged] rdSize*: INTEGER; rdFunction*: SHORTINT; rdParm*: ARRAY [untagged] 1 OF SHORTINT; END; PtrMETARECORD* = POINTER TO METARECORD; METAFILEPICT* = RECORD [untagged] mm*: INTEGER; xExt*: INTEGER; yExt*: INTEGER; hMF*: HMETAFILE; END; PtrMETAFILEPICT* = POINTER TO METAFILEPICT; METAHEADER* = RECORD [align2] mtType*: SHORTINT; mtHeaderSize*: SHORTINT; mtVersion*: SHORTINT; mtSize*: INTEGER; mtNoObjects*: SHORTINT; mtMaxRecord*: INTEGER; mtNoParameters*: SHORTINT; END; PtrMETAHEADER* = POINTER TO METAHEADER; ENHMETARECORD* = RECORD [untagged] iType*: INTEGER; nSize*: INTEGER; dParm*: ARRAY [untagged] 1 OF INTEGER; END; PtrENHMETARECORD* = POINTER TO ENHMETARECORD; ENHMETAHEADER* = RECORD [untagged] iType*: INTEGER; nSize*: INTEGER; rclBounds*: RECT; rclFrame*: RECT; dSignature*: INTEGER; nVersion*: INTEGER; nBytes*: INTEGER; nRecords*: INTEGER; nHandles*: SHORTINT; sReserved*: SHORTINT; nDescription*: INTEGER; offDescription*: INTEGER; nPalEntries*: INTEGER; szlDevice*: SIZE; szlMillimeters*: SIZE; cbPixelFormat*: INTEGER; offPixelFormat*: INTEGER; bOpenGL*: INTEGER; END; PtrENHMETAHEADER* = POINTER TO ENHMETAHEADER; BCHAR* = SHORTCHAR; TEXTMETRICA* = RECORD [untagged] tmHeight*: INTEGER; tmAscent*: INTEGER; tmDescent*: INTEGER; tmInternalLeading*: INTEGER; tmExternalLeading*: INTEGER; tmAveCharWidth*: INTEGER; tmMaxCharWidth*: INTEGER; tmWeight*: INTEGER; tmOverhang*: INTEGER; tmDigitizedAspectX*: INTEGER; tmDigitizedAspectY*: INTEGER; tmFirstChar*: SHORTCHAR; tmLastChar*: SHORTCHAR; tmDefaultChar*: SHORTCHAR; tmBreakChar*: SHORTCHAR; tmItalic*: SHORTCHAR; tmUnderlined*: SHORTCHAR; tmStruckOut*: SHORTCHAR; tmPitchAndFamily*: SHORTCHAR; tmCharSet*: SHORTCHAR; END; PtrTEXTMETRICA* = POINTER TO TEXTMETRICA; TEXTMETRICW* = RECORD [untagged] tmHeight*: INTEGER; tmAscent*: INTEGER; tmDescent*: INTEGER; tmInternalLeading*: INTEGER; tmExternalLeading*: INTEGER; tmAveCharWidth*: INTEGER; tmMaxCharWidth*: INTEGER; tmWeight*: INTEGER; tmOverhang*: INTEGER; tmDigitizedAspectX*: INTEGER; tmDigitizedAspectY*: INTEGER; tmFirstChar*: CHAR; tmLastChar*: CHAR; tmDefaultChar*: CHAR; tmBreakChar*: CHAR; tmItalic*: SHORTCHAR; tmUnderlined*: SHORTCHAR; tmStruckOut*: SHORTCHAR; tmPitchAndFamily*: SHORTCHAR; tmCharSet*: SHORTCHAR; END; PtrTEXTMETRICW* = POINTER TO TEXTMETRICW; TEXTMETRIC* = TEXTMETRICA; PtrTEXTMETRIC* = PtrTEXTMETRICA; NEWTEXTMETRICA* = RECORD [untagged] tmHeight*: INTEGER; tmAscent*: INTEGER; tmDescent*: INTEGER; tmInternalLeading*: INTEGER; tmExternalLeading*: INTEGER; tmAveCharWidth*: INTEGER; tmMaxCharWidth*: INTEGER; tmWeight*: INTEGER; tmOverhang*: INTEGER; tmDigitizedAspectX*: INTEGER; tmDigitizedAspectY*: INTEGER; tmFirstChar*: SHORTCHAR; tmLastChar*: SHORTCHAR; tmDefaultChar*: SHORTCHAR; tmBreakChar*: SHORTCHAR; tmItalic*: SHORTCHAR; tmUnderlined*: SHORTCHAR; tmStruckOut*: SHORTCHAR; tmPitchAndFamily*: SHORTCHAR; tmCharSet*: SHORTCHAR; ntmFlags*: INTEGER; ntmSizeEM*: INTEGER; ntmCellHeight*: INTEGER; ntmAvgWidth*: INTEGER; END; PtrNEWTEXTMETRICA* = POINTER TO NEWTEXTMETRICA; NEWTEXTMETRICW* = RECORD [untagged] tmHeight*: INTEGER; tmAscent*: INTEGER; tmDescent*: INTEGER; tmInternalLeading*: INTEGER; tmExternalLeading*: INTEGER; tmAveCharWidth*: INTEGER; tmMaxCharWidth*: INTEGER; tmWeight*: INTEGER; tmOverhang*: INTEGER; tmDigitizedAspectX*: INTEGER; tmDigitizedAspectY*: INTEGER; tmFirstChar*: CHAR; tmLastChar*: CHAR; tmDefaultChar*: CHAR; tmBreakChar*: CHAR; tmItalic*: SHORTCHAR; tmUnderlined*: SHORTCHAR; tmStruckOut*: SHORTCHAR; tmPitchAndFamily*: SHORTCHAR; tmCharSet*: SHORTCHAR; ntmFlags*: INTEGER; ntmSizeEM*: INTEGER; ntmCellHeight*: INTEGER; ntmAvgWidth*: INTEGER; END; PtrNEWTEXTMETRICW* = POINTER TO NEWTEXTMETRICW; NEWTEXTMETRIC* = NEWTEXTMETRICA; PtrNEWTEXTMETRIC* = PtrNEWTEXTMETRICA; NEWTEXTMETRICEXA* = RECORD [untagged] ntmTm*: NEWTEXTMETRICA; ntmFontSig*: FONTSIGNATURE; END; NEWTEXTMETRICEXW* = RECORD [untagged] ntmTm*: NEWTEXTMETRICW; ntmFontSig*: FONTSIGNATURE; END; NEWTEXTMETRICEX* = NEWTEXTMETRICEXA; PELARRAY* = RECORD [untagged] paXCount*: INTEGER; paYCount*: INTEGER; paXExt*: INTEGER; paYExt*: INTEGER; paRGBs*: SHORTCHAR; END; PtrPELARRAY* = POINTER TO PELARRAY; LOGBRUSH* = RECORD [untagged] lbStyle*: INTEGER; lbColor*: COLORREF; lbHatch*: INTEGER; END; PtrLOGBRUSH* = POINTER TO LOGBRUSH; PATTERN* = LOGBRUSH; PtrPATTERN* = PtrLOGBRUSH; LOGPEN* = RECORD [untagged] lopnStyle*: INTEGER; lopnWidth*: POINT; lopnColor*: COLORREF; END; PtrLOGPEN* = POINTER TO LOGPEN; EXTLOGPEN* = RECORD [untagged] elpPenStyle*: INTEGER; elpWidth*: INTEGER; elpBrushStyle*: INTEGER; elpColor*: COLORREF; elpHatch*: INTEGER; elpNumEntries*: INTEGER; elpStyleEntry*: ARRAY [untagged] 1 OF INTEGER; END; PtrEXTLOGPEN* = POINTER TO EXTLOGPEN; PALETTEENTRY* = RECORD [untagged] peRed*: SHORTCHAR; peGreen*: SHORTCHAR; peBlue*: SHORTCHAR; peFlags*: SHORTCHAR; END; PtrPALETTEENTRY* = POINTER TO PALETTEENTRY; LOGPALETTE* = RECORD [untagged] palVersion*: SHORTINT; palNumEntries*: SHORTINT; palPalEntry*: ARRAY [untagged] 1 OF PALETTEENTRY; END; PtrLOGPALETTE* = POINTER TO LOGPALETTE; LOGFONTA* = RECORD [untagged] lfHeight*: INTEGER; lfWidth*: INTEGER; lfEscapement*: INTEGER; lfOrientation*: INTEGER; lfWeight*: INTEGER; lfItalic*: SHORTCHAR; lfUnderline*: SHORTCHAR; lfStrikeOut*: SHORTCHAR; lfCharSet*: SHORTCHAR; lfOutPrecision*: SHORTCHAR; lfClipPrecision*: SHORTCHAR; lfQuality*: SHORTCHAR; lfPitchAndFamily*: SHORTCHAR; lfFaceName*: ARRAY [untagged] 32 OF SHORTCHAR; END; PtrLOGFONTA* = POINTER TO LOGFONTA; LOGFONTW* = RECORD [untagged] lfHeight*: INTEGER; lfWidth*: INTEGER; lfEscapement*: INTEGER; lfOrientation*: INTEGER; lfWeight*: INTEGER; lfItalic*: SHORTCHAR; lfUnderline*: SHORTCHAR; lfStrikeOut*: SHORTCHAR; lfCharSet*: SHORTCHAR; lfOutPrecision*: SHORTCHAR; lfClipPrecision*: SHORTCHAR; lfQuality*: SHORTCHAR; lfPitchAndFamily*: SHORTCHAR; lfFaceName*: ARRAY [untagged] 32 OF CHAR; END; PtrLOGFONTW* = POINTER TO LOGFONTW; LOGFONT* = LOGFONTA; PtrLOGFONT* = PtrLOGFONTA; ENUMLOGFONTA* = RECORD [untagged] elfLogFont*: LOGFONTA; elfFullName*: ARRAY [untagged] 64 OF SHORTCHAR; elfStyle*: ARRAY [untagged] 32 OF SHORTCHAR; END; PtrENUMLOGFONTA* = POINTER TO ENUMLOGFONTA; ENUMLOGFONTW* = RECORD [untagged] elfLogFont*: LOGFONTW; elfFullName*: ARRAY [untagged] 64 OF CHAR; elfStyle*: ARRAY [untagged] 32 OF CHAR; END; PtrENUMLOGFONTW* = POINTER TO ENUMLOGFONTW; ENUMLOGFONT* = ENUMLOGFONTA; PtrENUMLOGFONT* = PtrENUMLOGFONTA; ENUMLOGFONTEXA* = RECORD [untagged] elfLogFont*: LOGFONTA; elfFullName*: ARRAY [untagged] 64 OF SHORTCHAR; elfStyle*: ARRAY [untagged] 32 OF SHORTCHAR; elfScript*: ARRAY [untagged] 32 OF SHORTCHAR; END; PtrENUMLOGFONTEXA* = POINTER TO ENUMLOGFONTEXA; ENUMLOGFONTEXW* = RECORD [untagged] elfLogFont*: LOGFONTW; elfFullName*: ARRAY [untagged] 64 OF CHAR; elfStyle*: ARRAY [untagged] 32 OF CHAR; elfScript*: ARRAY [untagged] 32 OF CHAR; END; PtrENUMLOGFONTEXW* = POINTER TO ENUMLOGFONTEXW; ENUMLOGFONTEX* = ENUMLOGFONTEXA; PtrENUMLOGFONTEX* = PtrENUMLOGFONTEXA; PANOSE* = RECORD [untagged] bFamilyType*: SHORTCHAR; bSerifStyle*: SHORTCHAR; bWeight*: SHORTCHAR; bProportion*: SHORTCHAR; bContrast*: SHORTCHAR; bStrokeVariation*: SHORTCHAR; bArmStyle*: SHORTCHAR; bLetterform*: SHORTCHAR; bMidline*: SHORTCHAR; bXHeight*: SHORTCHAR; END; PtrPANOSE* = POINTER TO PANOSE; EXTLOGFONTA* = RECORD [untagged] elfLogFont*: LOGFONTA; elfFullName*: ARRAY [untagged] 64 OF SHORTCHAR; elfStyle*: ARRAY [untagged] 32 OF SHORTCHAR; elfVersion*: INTEGER; elfStyleSize*: INTEGER; elfMatch*: INTEGER; elfReserved*: INTEGER; elfVendorId*: ARRAY [untagged] 4 OF SHORTCHAR; elfCulture*: INTEGER; elfPanose*: PANOSE; END; PtrEXTLOGFONTA* = POINTER TO EXTLOGFONTA; EXTLOGFONTW* = RECORD [untagged] elfLogFont*: LOGFONTW; elfFullName*: ARRAY [untagged] 64 OF CHAR; elfStyle*: ARRAY [untagged] 32 OF CHAR; elfVersion*: INTEGER; elfStyleSize*: INTEGER; elfMatch*: INTEGER; elfReserved*: INTEGER; elfVendorId*: ARRAY [untagged] 4 OF SHORTCHAR; elfCulture*: INTEGER; elfPanose*: PANOSE; END; PtrEXTLOGFONTW* = POINTER TO EXTLOGFONTW; EXTLOGFONT* = EXTLOGFONTA; PtrEXTLOGFONT* = PtrEXTLOGFONTA; DEVMODEA* = RECORD [untagged] dmDeviceName*: ARRAY [untagged] 32 OF SHORTCHAR; dmSpecVersion*: SHORTINT; dmDriverVersion*: SHORTINT; dmSize*: SHORTINT; dmDriverExtra*: SHORTINT; dmFields*: SET; dmOrientation*: SHORTINT; dmPaperSize*: SHORTINT; dmPaperLength*: SHORTINT; dmPaperWidth*: SHORTINT; dmScale*: SHORTINT; dmCopies*: SHORTINT; dmDefaultSource*: SHORTINT; dmPrintQuality*: SHORTINT; dmColor*: SHORTINT; dmDuplex*: SHORTINT; dmYResolution*: SHORTINT; dmTTOption*: SHORTINT; dmCollate*: SHORTINT; dmFormName*: ARRAY [untagged] 32 OF SHORTCHAR; dmLogPixels*: SHORTINT; dmBitsPerPel*: INTEGER; dmPelsWidth*: INTEGER; dmPelsHeight*: INTEGER; dmDisplayFlags*: SET; dmDisplayFrequency*: INTEGER; dmICMMethod*: INTEGER; dmICMIntent*: INTEGER; dmMediaType*: INTEGER; dmDitherType*: INTEGER; dmICCManufacturer*: INTEGER; dmICCModel*: INTEGER; dmPanningWidth*: INTEGER; dmPanningHeight*: INTEGER; END; PtrDEVMODEA* = POINTER TO DEVMODEA; DEVMODEW* = RECORD [untagged] dmDeviceName*: ARRAY [untagged] 32 OF CHAR; dmSpecVersion*: SHORTINT; dmDriverVersion*: SHORTINT; dmSize*: SHORTINT; dmDriverExtra*: SHORTINT; dmFields*: SET; dmOrientation*: SHORTINT; dmPaperSize*: SHORTINT; dmPaperLength*: SHORTINT; dmPaperWidth*: SHORTINT; dmScale*: SHORTINT; dmCopies*: SHORTINT; dmDefaultSource*: SHORTINT; dmPrintQuality*: SHORTINT; dmColor*: SHORTINT; dmDuplex*: SHORTINT; dmYResolution*: SHORTINT; dmTTOption*: SHORTINT; dmCollate*: SHORTINT; dmFormName*: ARRAY [untagged] 32 OF CHAR; dmLogPixels*: SHORTINT; dmBitsPerPel*: INTEGER; dmPelsWidth*: INTEGER; dmPelsHeight*: INTEGER; dmDisplayFlags*: SET; dmDisplayFrequency*: INTEGER; dmICMMethod*: INTEGER; dmICMIntent*: INTEGER; dmMediaType*: INTEGER; dmDitherType*: INTEGER; dmICCManufacturer*: INTEGER; dmICCModel*: INTEGER; dmPanningWidth*: INTEGER; dmPanningHeight*: INTEGER; END; PtrDEVMODEW* = POINTER TO DEVMODEW; DEVMODE* = DEVMODEA; PtrDEVMODE* = PtrDEVMODEA; RGNDATAHEADER* = RECORD [untagged] dwSize*: INTEGER; iType*: INTEGER; nCount*: INTEGER; nRgnSize*: INTEGER; rcBound*: RECT; END; PtrRGNDATAHEADER* = POINTER TO RGNDATAHEADER; RGNDATA* = RECORD [untagged] rdh*: RGNDATAHEADER; Buffer*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrRGNDATA* = POINTER TO RGNDATA; ABC* = RECORD [untagged] abcA*: INTEGER; abcB*: INTEGER; abcC*: INTEGER; END; PtrABC* = POINTER TO ABC; ABCFLOAT* = RECORD [untagged] abcfA*: SHORTREAL; abcfB*: SHORTREAL; abcfC*: SHORTREAL; END; PtrABCFLOAT* = POINTER TO ABCFLOAT; OUTLINETEXTMETRICA* = RECORD [untagged] otmSize*: INTEGER; otmTextMetrics*: TEXTMETRICA; otmFiller*: SHORTCHAR; otmPanoseNumber*: PANOSE; otmfsSelection*: INTEGER; otmfsType*: INTEGER; otmsCharSlopeRise*: INTEGER; otmsCharSlopeRun*: INTEGER; otmItalicAngle*: INTEGER; otmEMSquare*: INTEGER; otmAscent*: INTEGER; otmDescent*: INTEGER; otmLineGap*: INTEGER; otmsCapEmHeight*: INTEGER; otmsXHeight*: INTEGER; otmrcFontBox*: RECT; otmMacAscent*: INTEGER; otmMacDescent*: INTEGER; otmMacLineGap*: INTEGER; otmusMinimumPPEM*: INTEGER; otmptSubscriptSize*: POINT; otmptSubscriptOffset*: POINT; otmptSuperscriptSize*: POINT; otmptSuperscriptOffset*: POINT; otmsStrikeoutSize*: INTEGER; otmsStrikeoutPosition*: INTEGER; otmsUnderscoreSize*: INTEGER; otmsUnderscorePosition*: INTEGER; otmpFamilyName*: PtrSTR; otmpFaceName*: PtrSTR; otmpStyleName*: PtrSTR; otmpFullName*: PtrSTR; END; PtrOUTLINETEXTMETRICA* = POINTER TO OUTLINETEXTMETRICA; OUTLINETEXTMETRICW* = RECORD [untagged] otmSize*: INTEGER; otmTextMetrics*: TEXTMETRICW; otmFiller*: SHORTCHAR; otmPanoseNumber*: PANOSE; otmfsSelection*: INTEGER; otmfsType*: INTEGER; otmsCharSlopeRise*: INTEGER; otmsCharSlopeRun*: INTEGER; otmItalicAngle*: INTEGER; otmEMSquare*: INTEGER; otmAscent*: INTEGER; otmDescent*: INTEGER; otmLineGap*: INTEGER; otmsCapEmHeight*: INTEGER; otmsXHeight*: INTEGER; otmrcFontBox*: RECT; otmMacAscent*: INTEGER; otmMacDescent*: INTEGER; otmMacLineGap*: INTEGER; otmusMinimumPPEM*: INTEGER; otmptSubscriptSize*: POINT; otmptSubscriptOffset*: POINT; otmptSuperscriptSize*: POINT; otmptSuperscriptOffset*: POINT; otmsStrikeoutSize*: INTEGER; otmsStrikeoutPosition*: INTEGER; otmsUnderscoreSize*: INTEGER; otmsUnderscorePosition*: INTEGER; otmpFamilyName*: PtrSTR; otmpFaceName*: PtrSTR; otmpStyleName*: PtrSTR; otmpFullName*: PtrSTR; END; PtrOUTLINETEXTMETRICW* = POINTER TO OUTLINETEXTMETRICW; OUTLINETEXTMETRIC* = OUTLINETEXTMETRICA; PtrOUTLINETEXTMETRIC* = PtrOUTLINETEXTMETRICA; POLYTEXTA* = RECORD [untagged] x*: INTEGER; y*: INTEGER; n*: INTEGER; lpstr*: PtrSTR; uiFlags*: SET; rcl*: RECT; pdx*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; END; PtrPOLYTEXTA* = POINTER TO POLYTEXTA; POLYTEXTW* = RECORD [untagged] x*: INTEGER; y*: INTEGER; n*: INTEGER; lpstr*: PtrWSTR; uiFlags*: SET; rcl*: RECT; pdx*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; END; PtrPOLYTEXTW* = POINTER TO POLYTEXTW; POLYTEXT* = POLYTEXTA; PtrPOLYTEXT* = PtrPOLYTEXTA; FIXED* = RECORD [untagged] fract*: SHORTINT; value*: SHORTINT; END; MAT2* = RECORD [untagged] eM11*: FIXED; eM12*: FIXED; eM21*: FIXED; eM22*: FIXED; END; PtrMAT2* = POINTER TO MAT2; GLYPHMETRICS* = RECORD [untagged] gmBlackBoxX*: INTEGER; gmBlackBoxY*: INTEGER; gmptGlyphOrigin*: POINT; gmCellIncX*: SHORTINT; gmCellIncY*: SHORTINT; END; PtrGLYPHMETRICS* = POINTER TO GLYPHMETRICS; POINTFX* = RECORD [untagged] x*: FIXED; y*: FIXED; END; PtrPOINTFX* = POINTER TO POINTFX; TTPOLYCURVE* = RECORD [untagged] wType*: SHORTINT; cpfx*: SHORTINT; apfx*: ARRAY [untagged] 1 OF POINTFX; END; PtrTTPOLYCURVE* = POINTER TO TTPOLYCURVE; TTPOLYGONHEADER* = RECORD [untagged] cb*: INTEGER; dwType*: INTEGER; pfxStart*: POINTFX; END; PtrTTPOLYGONHEADER* = POINTER TO TTPOLYGONHEADER; GCP_RESULTSA* = RECORD [untagged] lStructSize*: INTEGER; lpOutString*: PtrSTR; lpOrder*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; lpDx*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; lpCaretPos*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; lpClass*: PtrSTR; lpGlyphs*: PtrWSTR; nGlyphs*: INTEGER; nMaxFit*: INTEGER; END; PtrGCP_RESULTSA* = POINTER TO GCP_RESULTSA; GCP_RESULTSW* = RECORD [untagged] lStructSize*: INTEGER; lpOutString*: PtrWSTR; lpOrder*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; lpDx*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; lpCaretPos*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; lpClass*: PtrSTR; lpGlyphs*: PtrWSTR; nGlyphs*: INTEGER; nMaxFit*: INTEGER; END; PtrGCP_RESULTSW* = POINTER TO GCP_RESULTSW; GCP_RESULTS* = GCP_RESULTSA; PtrGCP_RESULTS* = PtrGCP_RESULTSA; RASTERIZER_STATUS* = RECORD [untagged] nSize*: SHORTINT; wFlags*: SHORTINT; nLanguageID*: SHORTINT; END; PtrRASTERIZER_STATUS* = POINTER TO RASTERIZER_STATUS; PIXELFORMATDESCRIPTOR* = RECORD [untagged] nSize*: SHORTINT; nVersion*: SHORTINT; dwFlags*: SET; iPixelType*: SHORTCHAR; cColorBits*: SHORTCHAR; cRedBits*: SHORTCHAR; cRedShift*: SHORTCHAR; cGreenBits*: SHORTCHAR; cGreenShift*: SHORTCHAR; cBlueBits*: SHORTCHAR; cBlueShift*: SHORTCHAR; cAlphaBits*: SHORTCHAR; cAlphaShift*: SHORTCHAR; cAccumBits*: SHORTCHAR; cAccumRedBits*: SHORTCHAR; cAccumGreenBits*: SHORTCHAR; cAccumBlueBits*: SHORTCHAR; cAccumAlphaBits*: SHORTCHAR; cDepthBits*: SHORTCHAR; cStencilBits*: SHORTCHAR; cAuxBuffers*: SHORTCHAR; iLayerType*: SHORTCHAR; bReserved*: SHORTCHAR; dwLayerMask*: SET; dwVisibleMask*: SET; dwDamageMask*: SET; END; PtrPIXELFORMATDESCRIPTOR* = POINTER TO PIXELFORMATDESCRIPTOR; OLDFONTENUMPROC* = PROCEDURE (): INTEGER; FONTENUMPROCA* = PROCEDURE (VAR [nil] lplf: LOGFONTA; VAR [nil] lptm:TEXTMETRICA; dwType, lParam: INTEGER): INTEGER; FONTENUMPROCW* = PROCEDURE (VAR [nil] lplf: LOGFONTW; VAR [nil] lptm:TEXTMETRICW; dwType, lParam: INTEGER): INTEGER; FONTENUMPROC* = PROCEDURE (VAR [nil] lplf: LOGFONTA; VAR [nil] lptm:TEXTMETRICA; dwType, lParam: INTEGER): INTEGER; FONTENUMPROCEXA* = PROCEDURE (VAR [nil] lpelf: ENUMLOGFONTEXA; VAR [nil] lpntm: NEWTEXTMETRICEXA; FontType, lParam: INTEGER): INTEGER; FONTENUMPROCEXW* = PROCEDURE (VAR [nil] lpelf: ENUMLOGFONTEXW; VAR [nil] lpntm: NEWTEXTMETRICEXW; FontType, lParam: INTEGER): INTEGER; FONTENUMPROCEX* = PROCEDURE (VAR [nil] lpelf: ENUMLOGFONTEXA; VAR [nil] lpntm: NEWTEXTMETRICEXA; FontType, lParam: INTEGER): INTEGER; NEWFONTENUMPROCA* = PROCEDURE (VAR [nil] lpelf: ENUMLOGFONTA; VAR [nil] lpntm: NEWTEXTMETRICA; FontType, lParam: INTEGER): INTEGER; NEWFONTENUMPROCW* = PROCEDURE (VAR [nil] lpelf: ENUMLOGFONTW; VAR [nil] lpntm: NEWTEXTMETRICW; FontType, lParam: INTEGER): INTEGER; NEWFONTENUMPROC* = PROCEDURE (VAR [nil] lpelf: ENUMLOGFONTA; VAR [nil] lpntm: NEWTEXTMETRICA; FontType, lParam: INTEGER): INTEGER; GOBJENUMPROC* = PROCEDURE (): INTEGER; LINEDDAPROC* = PROCEDURE (): INTEGER; FNDEVMODE* = PROCEDURE (p0: HWND; p1: HMODULE; VAR [nil] p2: DEVMODEA; p3: PtrSTR; p4: PtrSTR; VAR [nil] p5: DEVMODEA; p6: PtrSTR; p7: INTEGER): INTEGER; FNDEVCAPS* = PROCEDURE (p0: PtrSTR; p1: PtrSTR; p2: INTEGER; p3: PtrSTR; VAR [nil] p4: DEVMODEA): INTEGER; MFENUMPROC* = PROCEDURE (p0: HDC; VAR [nil] p1: HANDLETABLE; VAR [nil] p2: METARECORD; p3: INTEGER; p4: LPARAM): INTEGER; ENHMFENUMPROC* = PROCEDURE (p0: HDC; VAR [nil] p1: HANDLETABLE; VAR [nil] p2: ENHMETARECORD; p3: INTEGER; p4: LPARAM): INTEGER; DIBSECTION* = RECORD [untagged] dsBm*: BITMAP; dsBmih*: BITMAPINFOHEADER; dsBitfields*: ARRAY [untagged] 3 OF INTEGER; dshSection*: HANDLE; dsOffset*: INTEGER; END; PtrDIBSECTION* = POINTER TO DIBSECTION; COLORADJUSTMENT* = RECORD [untagged] caSize*: SHORTINT; caFlags*: SHORTINT; caIlluminantIndex*: SHORTINT; caRedGamma*: SHORTINT; caGreenGamma*: SHORTINT; caBlueGamma*: SHORTINT; caReferenceBlack*: SHORTINT; caReferenceWhite*: SHORTINT; caContrast*: SHORTINT; caBrightness*: SHORTINT; caColorfulness*: SHORTINT; caRedGreenTint*: SHORTINT; END; PtrCOLORADJUSTMENT* = POINTER TO COLORADJUSTMENT; ABORTPROC* = PROCEDURE (hdc: HDC; iError: INTEGER): INTEGER; DOCINFOA* = RECORD [untagged] cbSize*: INTEGER; lpszDocName*: PtrSTR; lpszOutput*: PtrSTR; lpszDatatype*: PtrSTR; fwType*: INTEGER; END; PtrDOCINFOA* = POINTER TO DOCINFOA; DOCINFOW* = RECORD [untagged] cbSize*: INTEGER; lpszDocName*: PtrWSTR; lpszOutput*: PtrWSTR; lpszDatatype*: PtrWSTR; fwType*: INTEGER; END; PtrDOCINFOW* = POINTER TO DOCINFOW; DOCINFO* = DOCINFOA; PtrDOCINFO* = PtrDOCINFOA; KERNINGPAIR* = RECORD [untagged] wFirst*: SHORTINT; wSecond*: SHORTINT; iKernAmount*: INTEGER; END; PtrKERNINGPAIR* = POINTER TO KERNINGPAIR; ICMENUMPROCA* = PROCEDURE (p0: PtrSTR; p1: LPARAM): INTEGER; ICMENUMPROCW* = PROCEDURE (p0: PtrWSTR; p1: LPARAM): INTEGER; EMR* = RECORD [untagged] iType*: INTEGER; nSize*: INTEGER; END; PtrEMR* = POINTER TO EMR; EMRTEXT* = RECORD [untagged] ptlReference*: POINT; nChars*: INTEGER; offString*: INTEGER; fOptions*: INTEGER; rcl*: RECT; offDx*: INTEGER; END; PtrEMRTEXT* = POINTER TO EMRTEXT; EMRABORTPATH* = RECORD [untagged] emr*: EMR; END; PtrEMRABORTPATH* = POINTER TO EMRABORTPATH; EMRBEGINPATH* = EMRABORTPATH; PtrEMRBEGINPATH* = PtrEMRABORTPATH; EMRENDPATH* = EMRABORTPATH; PtrEMRENDPATH* = PtrEMRABORTPATH; EMRCLOSEFIGURE* = EMRABORTPATH; PtrEMRCLOSEFIGURE* = PtrEMRABORTPATH; EMRFLATTENPATH* = EMRABORTPATH; PtrEMRFLATTENPATH* = PtrEMRABORTPATH; EMRWIDENPATH* = EMRABORTPATH; PtrEMRWIDENPATH* = PtrEMRABORTPATH; EMRSETMETARGN* = EMRABORTPATH; PtrEMRSETMETARGN* = PtrEMRABORTPATH; EMRSAVEDC* = EMRABORTPATH; PtrEMRSAVEDC* = PtrEMRABORTPATH; EMRREALIZEPALETTE* = EMRABORTPATH; PtrEMRREALIZEPALETTE* = PtrEMRABORTPATH; EMRSELECTCLIPPATH* = RECORD [untagged] emr*: EMR; iMode*: INTEGER; END; PtrEMRSELECTCLIPPATH* = POINTER TO EMRSELECTCLIPPATH; EMRSETBKMODE* = EMRSELECTCLIPPATH; PtrEMRSETBKMODE* = PtrEMRSELECTCLIPPATH; EMRSETMAPMODE* = EMRSELECTCLIPPATH; PtrEMRSETMAPMODE* = PtrEMRSELECTCLIPPATH; EMRSETPOLYFILLMODE* = EMRSELECTCLIPPATH; PtrEMRSETPOLYFILLMODE* = PtrEMRSELECTCLIPPATH; EMRSETROP2* = EMRSELECTCLIPPATH; PtrEMRSETROP2* = PtrEMRSELECTCLIPPATH; EMRSETSTRETCHBLTMODE* = EMRSELECTCLIPPATH; PtrEMRSETSTRETCHBLTMODE* = PtrEMRSELECTCLIPPATH; EMRSETICMMODE* = EMRSELECTCLIPPATH; PtrEMRSETICMMODE* = PtrEMRSELECTCLIPPATH; EMRSETTEXTALIGN* = EMRSELECTCLIPPATH; PtrEMRSETTEXTALIGN* = PtrEMRSELECTCLIPPATH; EMRSETMITERLIMIT* = RECORD [untagged] emr*: EMR; eMiterLimit*: SHORTREAL; END; PtrEMRSETMITERLIMIT* = POINTER TO EMRSETMITERLIMIT; EMRRESTOREDC* = RECORD [untagged] emr*: EMR; iRelative*: INTEGER; END; PtrEMRRESTOREDC* = POINTER TO EMRRESTOREDC; EMRSETARCDIRECTION* = RECORD [untagged] emr*: EMR; iArcDirection*: INTEGER; END; PtrEMRSETARCDIRECTION* = POINTER TO EMRSETARCDIRECTION; EMRSETMAPPERFLAGS* = RECORD [untagged] emr*: EMR; dwFlags*: SET; END; PtrEMRSETMAPPERFLAGS* = POINTER TO EMRSETMAPPERFLAGS; EMRSETBKCOLOR* = RECORD [untagged] emr*: EMR; crColor*: COLORREF; END; PtrEMRSETBKCOLOR* = POINTER TO EMRSETBKCOLOR; EMRSETTEXTCOLOR* = EMRSETBKCOLOR; PtrEMRSETTEXTCOLOR* = PtrEMRSETBKCOLOR; EMRSELECTOBJECT* = RECORD [untagged] emr*: EMR; ihObject*: INTEGER; END; PtrEMRSELECTOBJECT* = POINTER TO EMRSELECTOBJECT; EMRDELETEOBJECT* = EMRSELECTOBJECT; PtrEMRDELETEOBJECT* = PtrEMRSELECTOBJECT; EMRSELECTCOLORSPACE* = RECORD [untagged] emr*: EMR; ihCS*: INTEGER; END; PtrEMRSELECTCOLORSPACE* = POINTER TO EMRSELECTCOLORSPACE; EMRDELETECOLORSPACE* = EMRSELECTCOLORSPACE; PtrEMRDELETECOLORSPACE* = PtrEMRSELECTCOLORSPACE; EMRSELECTPALETTE* = RECORD [untagged] emr*: EMR; ihPal*: INTEGER; END; PtrEMRSELECTPALETTE* = POINTER TO EMRSELECTPALETTE; EMRRESIZEPALETTE* = RECORD [untagged] emr*: EMR; ihPal*: INTEGER; cEntries*: INTEGER; END; PtrEMRRESIZEPALETTE* = POINTER TO EMRRESIZEPALETTE; EMRSETPALETTEENTRIES* = RECORD [untagged] emr*: EMR; ihPal*: INTEGER; iStart*: INTEGER; cEntries*: INTEGER; aPalEntries*: ARRAY [untagged] 1 OF PALETTEENTRY; END; PtrEMRSETPALETTEENTRIES* = POINTER TO EMRSETPALETTEENTRIES; EMRSETCOLORADJUSTMENT* = RECORD [untagged] emr*: EMR; ColorAdjustment*: COLORADJUSTMENT; END; PtrEMRSETCOLORADJUSTMENT* = POINTER TO EMRSETCOLORADJUSTMENT; EMRGDICOMMENT* = RECORD [untagged] emr*: EMR; cbData*: INTEGER; Data*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrEMRGDICOMMENT* = POINTER TO EMRGDICOMMENT; EMREOF* = RECORD [untagged] emr*: EMR; nPalEntries*: INTEGER; offPalEntries*: INTEGER; nSizeLast*: INTEGER; END; PtrEMREOF* = POINTER TO EMREOF; EMRLINETO* = RECORD [untagged] emr*: EMR; ptl*: POINT; END; PtrEMRLINETO* = POINTER TO EMRLINETO; EMRMOVETOEX* = EMRLINETO; PtrEMRMOVETOEX* = PtrEMRLINETO; EMROFFSETCLIPRGN* = RECORD [untagged] emr*: EMR; ptlOffset*: POINT; END; PtrEMROFFSETCLIPRGN* = POINTER TO EMROFFSETCLIPRGN; EMRFILLPATH* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; END; PtrEMRFILLPATH* = POINTER TO EMRFILLPATH; EMRSTROKEANDFILLPATH* = EMRFILLPATH; PtrEMRSTROKEANDFILLPATH* = PtrEMRFILLPATH; EMRSTROKEPATH* = EMRFILLPATH; PtrEMRSTROKEPATH* = PtrEMRFILLPATH; EMREXCLUDECLIPRECT* = RECORD [untagged] emr*: EMR; rclClip*: RECT; END; PtrEMREXCLUDECLIPRECT* = POINTER TO EMREXCLUDECLIPRECT; EMRINTERSECTCLIPRECT* = EMREXCLUDECLIPRECT; PtrEMRINTERSECTCLIPRECT* = PtrEMREXCLUDECLIPRECT; EMRSETVIEWPORTORGEX* = RECORD [untagged] emr*: EMR; ptlOrigin*: POINT; END; PtrEMRSETVIEWPORTORGEX* = POINTER TO EMRSETVIEWPORTORGEX; EMRSETWINDOWORGEX* = EMRSETVIEWPORTORGEX; PtrEMRSETWINDOWORGEX* = PtrEMRSETVIEWPORTORGEX; EMRSETBRUSHORGEX* = EMRSETVIEWPORTORGEX; PtrEMRSETBRUSHORGEX* = PtrEMRSETVIEWPORTORGEX; EMRSETVIEWPORTEXTEX* = RECORD [untagged] emr*: EMR; szlExtent*: SIZE; END; PtrEMRSETVIEWPORTEXTEX* = POINTER TO EMRSETVIEWPORTEXTEX; EMRSETWINDOWEXTEX* = EMRSETVIEWPORTEXTEX; PtrEMRSETWINDOWEXTEX* = PtrEMRSETVIEWPORTEXTEX; EMRSCALEVIEWPORTEXTEX* = RECORD [untagged] emr*: EMR; xNum*: INTEGER; xDenom*: INTEGER; yNum*: INTEGER; yDenom*: INTEGER; END; PtrEMRSCALEVIEWPORTEXTEX* = POINTER TO EMRSCALEVIEWPORTEXTEX; EMRSCALEWINDOWEXTEX* = EMRSCALEVIEWPORTEXTEX; PtrEMRSCALEWINDOWEXTEX* = PtrEMRSCALEVIEWPORTEXTEX; EMRSETWORLDTRANSFORM* = RECORD [untagged] emr*: EMR; xform*: XFORM; END; PtrEMRSETWORLDTRANSFORM* = POINTER TO EMRSETWORLDTRANSFORM; EMRMODIFYWORLDTRANSFORM* = RECORD [untagged] emr*: EMR; xform*: XFORM; iMode*: INTEGER; END; PtrEMRMODIFYWORLDTRANSFORM* = POINTER TO EMRMODIFYWORLDTRANSFORM; EMRSETPIXELV* = RECORD [untagged] emr*: EMR; ptlPixel*: POINT; crColor*: COLORREF; END; PtrEMRSETPIXELV* = POINTER TO EMRSETPIXELV; EMREXTFLOODFILL* = RECORD [untagged] emr*: EMR; ptlStart*: POINT; crColor*: COLORREF; iMode*: INTEGER; END; PtrEMREXTFLOODFILL* = POINTER TO EMREXTFLOODFILL; EMRELLIPSE* = RECORD [untagged] emr*: EMR; rclBox*: RECT; END; PtrEMRELLIPSE* = POINTER TO EMRELLIPSE; EMRRECTANGLE* = EMRELLIPSE; PtrEMRRECTANGLE* = PtrEMRELLIPSE; EMRROUNDRECT* = RECORD [untagged] emr*: EMR; rclBox*: RECT; szlCorner*: SIZE; END; PtrEMRROUNDRECT* = POINTER TO EMRROUNDRECT; EMRARC* = RECORD [untagged] emr*: EMR; rclBox*: RECT; ptlStart*: POINT; ptlEnd*: POINT; END; PtrEMRARC* = POINTER TO EMRARC; EMRARCTO* = EMRARC; PtrEMRARCTO* = PtrEMRARC; EMRCHORD* = EMRARC; PtrEMRCHORD* = PtrEMRARC; EMRPIE* = EMRARC; PtrEMRPIE* = PtrEMRARC; EMRANGLEARC* = RECORD [untagged] emr*: EMR; ptlCenter*: POINT; nRadius*: INTEGER; eStartAngle*: SHORTREAL; eSweepAngle*: SHORTREAL; END; PtrEMRANGLEARC* = POINTER TO EMRANGLEARC; EMRPOLYLINE* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; cptl*: INTEGER; aptl*: ARRAY [untagged] 1 OF POINT; END; PtrEMRPOLYLINE* = POINTER TO EMRPOLYLINE; EMRPOLYBEZIER* = EMRPOLYLINE; PtrEMRPOLYBEZIER* = PtrEMRPOLYLINE; EMRPOLYGON* = EMRPOLYLINE; PtrEMRPOLYGON* = PtrEMRPOLYLINE; EMRPOLYBEZIERTO* = EMRPOLYLINE; PtrEMRPOLYBEZIERTO* = PtrEMRPOLYLINE; EMRPOLYLINETO* = EMRPOLYLINE; PtrEMRPOLYLINETO* = PtrEMRPOLYLINE; EMRPOLYLINE16* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; cpts*: INTEGER; apts*: ARRAY [untagged] 1 OF POINTS; END; PtrEMRPOLYLINE16* = POINTER TO EMRPOLYLINE16; EMRPOLYBEZIER16* = EMRPOLYLINE16; PtrEMRPOLYBEZIER16* = PtrEMRPOLYLINE16; EMRPOLYGON16* = EMRPOLYLINE16; PtrEMRPOLYGON16* = PtrEMRPOLYLINE16; EMRPOLYBEZIERTO16* = EMRPOLYLINE16; PtrEMRPOLYBEZIERTO16* = PtrEMRPOLYLINE16; EMRPOLYLINETO16* = EMRPOLYLINE16; PtrEMRPOLYLINETO16* = PtrEMRPOLYLINE16; EMRPOLYDRAW* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; cptl*: INTEGER; aptl*: ARRAY [untagged] 1 OF POINT; abTypes*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrEMRPOLYDRAW* = POINTER TO EMRPOLYDRAW; EMRPOLYDRAW16* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; cpts*: INTEGER; apts*: ARRAY [untagged] 1 OF POINTS; abTypes*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrEMRPOLYDRAW16* = POINTER TO EMRPOLYDRAW16; EMRPOLYPOLYLINE* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; nPolys*: INTEGER; cptl*: INTEGER; aPolyCounts*: ARRAY [untagged] 1 OF INTEGER; aptl*: ARRAY [untagged] 1 OF POINT; END; PtrEMRPOLYPOLYLINE* = POINTER TO EMRPOLYPOLYLINE; EMRPOLYPOLYGON* = EMRPOLYPOLYLINE; PtrEMRPOLYPOLYGON* = PtrEMRPOLYPOLYLINE; EMRPOLYPOLYLINE16* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; nPolys*: INTEGER; cpts*: INTEGER; aPolyCounts*: ARRAY [untagged] 1 OF INTEGER; apts*: ARRAY [untagged] 1 OF POINTS; END; PtrEMRPOLYPOLYLINE16* = POINTER TO EMRPOLYPOLYLINE16; EMRPOLYPOLYGON16* = EMRPOLYPOLYLINE16; PtrEMRPOLYPOLYGON16* = PtrEMRPOLYPOLYLINE16; EMRINVERTRGN* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; cbRgnData*: INTEGER; RgnData*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrEMRINVERTRGN* = POINTER TO EMRINVERTRGN; EMRPAINTRGN* = EMRINVERTRGN; PtrEMRPAINTRGN* = PtrEMRINVERTRGN; EMRFILLRGN* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; cbRgnData*: INTEGER; ihBrush*: INTEGER; RgnData*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrEMRFILLRGN* = POINTER TO EMRFILLRGN; EMRFRAMERGN* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; cbRgnData*: INTEGER; ihBrush*: INTEGER; szlStroke*: SIZE; RgnData*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrEMRFRAMERGN* = POINTER TO EMRFRAMERGN; EMREXTSELECTCLIPRGN* = RECORD [untagged] emr*: EMR; cbRgnData*: INTEGER; iMode*: INTEGER; RgnData*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrEMREXTSELECTCLIPRGN* = POINTER TO EMREXTSELECTCLIPRGN; EMREXTTEXTOUTA* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; iGraphicsMode*: INTEGER; exScale*: SHORTREAL; eyScale*: SHORTREAL; emrtext*: EMRTEXT; END; PtrEMREXTTEXTOUTA* = POINTER TO EMREXTTEXTOUTA; EMREXTTEXTOUTW* = EMREXTTEXTOUTA; PtrEMREXTTEXTOUTW* = PtrEMREXTTEXTOUTA; EMRPOLYTEXTOUTA* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; iGraphicsMode*: INTEGER; exScale*: SHORTREAL; eyScale*: SHORTREAL; cStrings*: INTEGER; aemrtext*: ARRAY [untagged] 1 OF EMRTEXT; END; PtrEMRPOLYTEXTOUTA* = POINTER TO EMRPOLYTEXTOUTA; EMRPOLYTEXTOUTW* = EMRPOLYTEXTOUTA; PtrEMRPOLYTEXTOUTW* = PtrEMRPOLYTEXTOUTA; EMRBITBLT* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; xDest*: INTEGER; yDest*: INTEGER; cxDest*: INTEGER; cyDest*: INTEGER; dwRop*: INTEGER; xSrc*: INTEGER; ySrc*: INTEGER; xformSrc*: XFORM; crBkColorSrc*: COLORREF; iUsageSrc*: INTEGER; offBmiSrc*: INTEGER; cbBmiSrc*: INTEGER; offBitsSrc*: INTEGER; cbBitsSrc*: INTEGER; END; PtrEMRBITBLT* = POINTER TO EMRBITBLT; EMRSTRETCHBLT* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; xDest*: INTEGER; yDest*: INTEGER; cxDest*: INTEGER; cyDest*: INTEGER; dwRop*: INTEGER; xSrc*: INTEGER; ySrc*: INTEGER; xformSrc*: XFORM; crBkColorSrc*: COLORREF; iUsageSrc*: INTEGER; offBmiSrc*: INTEGER; cbBmiSrc*: INTEGER; offBitsSrc*: INTEGER; cbBitsSrc*: INTEGER; cxSrc*: INTEGER; cySrc*: INTEGER; END; PtrEMRSTRETCHBLT* = POINTER TO EMRSTRETCHBLT; EMRMASKBLT* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; xDest*: INTEGER; yDest*: INTEGER; cxDest*: INTEGER; cyDest*: INTEGER; dwRop*: INTEGER; xSrc*: INTEGER; ySrc*: INTEGER; xformSrc*: XFORM; crBkColorSrc*: COLORREF; iUsageSrc*: INTEGER; offBmiSrc*: INTEGER; cbBmiSrc*: INTEGER; offBitsSrc*: INTEGER; cbBitsSrc*: INTEGER; xMask*: INTEGER; yMask*: INTEGER; iUsageMask*: INTEGER; offBmiMask*: INTEGER; cbBmiMask*: INTEGER; offBitsMask*: INTEGER; cbBitsMask*: INTEGER; END; PtrEMRMASKBLT* = POINTER TO EMRMASKBLT; EMRPLGBLT* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; aptlDest*: ARRAY [untagged] 3 OF POINT; xSrc*: INTEGER; ySrc*: INTEGER; cxSrc*: INTEGER; cySrc*: INTEGER; xformSrc*: XFORM; crBkColorSrc*: COLORREF; iUsageSrc*: INTEGER; offBmiSrc*: INTEGER; cbBmiSrc*: INTEGER; offBitsSrc*: INTEGER; cbBitsSrc*: INTEGER; xMask*: INTEGER; yMask*: INTEGER; iUsageMask*: INTEGER; offBmiMask*: INTEGER; cbBmiMask*: INTEGER; offBitsMask*: INTEGER; cbBitsMask*: INTEGER; END; PtrEMRPLGBLT* = POINTER TO EMRPLGBLT; EMRSETDIBITSTODEVICE* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; xDest*: INTEGER; yDest*: INTEGER; xSrc*: INTEGER; ySrc*: INTEGER; cxSrc*: INTEGER; cySrc*: INTEGER; offBmiSrc*: INTEGER; cbBmiSrc*: INTEGER; offBitsSrc*: INTEGER; cbBitsSrc*: INTEGER; iUsageSrc*: INTEGER; iStartScan*: INTEGER; cScans*: INTEGER; END; PtrEMRSETDIBITSTODEVICE* = POINTER TO EMRSETDIBITSTODEVICE; EMRSTRETCHDIBITS* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; xDest*: INTEGER; yDest*: INTEGER; xSrc*: INTEGER; ySrc*: INTEGER; cxSrc*: INTEGER; cySrc*: INTEGER; offBmiSrc*: INTEGER; cbBmiSrc*: INTEGER; offBitsSrc*: INTEGER; cbBitsSrc*: INTEGER; iUsageSrc*: INTEGER; dwRop*: INTEGER; cxDest*: INTEGER; cyDest*: INTEGER; END; PtrEMRSTRETCHDIBITS* = POINTER TO EMRSTRETCHDIBITS; EMREXTCREATEFONTINDIRECTW* = RECORD [untagged] emr*: EMR; ihFont*: INTEGER; elfw*: EXTLOGFONTW; END; PtrEMREXTCREATEFONTINDIRECTW* = POINTER TO EMREXTCREATEFONTINDIRECTW; EMRCREATEPALETTE* = RECORD [untagged] emr*: EMR; ihPal*: INTEGER; lgpl*: LOGPALETTE; END; PtrEMRCREATEPALETTE* = POINTER TO EMRCREATEPALETTE; EMRCREATECOLORSPACE* = RECORD [untagged] emr*: EMR; ihCS*: INTEGER; lcs*: LOGCOLORSPACEW; END; PtrEMRCREATECOLORSPACE* = POINTER TO EMRCREATECOLORSPACE; EMRCREATEPEN* = RECORD [untagged] emr*: EMR; ihPen*: INTEGER; lopn*: LOGPEN; END; PtrEMRCREATEPEN* = POINTER TO EMRCREATEPEN; EMREXTCREATEPEN* = RECORD [untagged] emr*: EMR; ihPen*: INTEGER; offBmi*: INTEGER; cbBmi*: INTEGER; offBits*: INTEGER; cbBits*: INTEGER; elp*: EXTLOGPEN; END; PtrEMREXTCREATEPEN* = POINTER TO EMREXTCREATEPEN; EMRCREATEBRUSHINDIRECT* = RECORD [untagged] emr*: EMR; ihBrush*: INTEGER; lb*: LOGBRUSH; END; PtrEMRCREATEBRUSHINDIRECT* = POINTER TO EMRCREATEBRUSHINDIRECT; EMRCREATEMONOBRUSH* = RECORD [untagged] emr*: EMR; ihBrush*: INTEGER; iUsage*: INTEGER; offBmi*: INTEGER; cbBmi*: INTEGER; offBits*: INTEGER; cbBits*: INTEGER; END; PtrEMRCREATEMONOBRUSH* = POINTER TO EMRCREATEMONOBRUSH; EMRCREATEDIBPATTERNBRUSHPT* = RECORD [untagged] emr*: EMR; ihBrush*: INTEGER; iUsage*: INTEGER; offBmi*: INTEGER; cbBmi*: INTEGER; offBits*: INTEGER; cbBits*: INTEGER; END; PtrEMRCREATEDIBPATTERNBRUSHPT* = POINTER TO EMRCREATEDIBPATTERNBRUSHPT; EMRFORMAT* = RECORD [untagged] dSignature*: INTEGER; nVersion*: INTEGER; cbData*: INTEGER; offData*: INTEGER; END; PtrEMRFORMAT* = POINTER TO EMRFORMAT; EMRGLSRECORD* = RECORD [untagged] emr*: EMR; cbData*: INTEGER; Data*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrEMRGLSRECORD* = POINTER TO EMRGLSRECORD; EMRGLSBOUNDEDRECORD* = RECORD [untagged] emr*: EMR; rclBounds*: RECT; cbData*: INTEGER; Data*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrEMRGLSBOUNDEDRECORD* = POINTER TO EMRGLSBOUNDEDRECORD; EMRPIXELFORMAT* = RECORD [untagged] emr*: EMR; pfd*: PIXELFORMATDESCRIPTOR; END; PtrEMRPIXELFORMAT* = POINTER TO EMRPIXELFORMAT; POINTFLOAT* = RECORD [untagged] x*: SHORTREAL; y*: SHORTREAL; END; PtrPOINTFLOAT* = POINTER TO POINTFLOAT; GLYPHMETRICSFLOAT* = RECORD [untagged] gmfBlackBoxX*: SHORTREAL; gmfBlackBoxY*: SHORTREAL; gmfptGlyphOrigin*: POINTFLOAT; gmfCellIncX*: SHORTREAL; gmfCellIncY*: SHORTREAL; END; PtrGLYPHMETRICSFLOAT* = POINTER TO GLYPHMETRICSFLOAT; LAYERPLANEDESCRIPTOR* = RECORD [untagged] nSize*: SHORTINT; nVersion*: SHORTINT; dwFlags*: SET; iPixelType*: SHORTCHAR; cColorBits*: SHORTCHAR; cRedBits*: SHORTCHAR; cRedShift*: SHORTCHAR; cGreenBits*: SHORTCHAR; cGreenShift*: SHORTCHAR; cBlueBits*: SHORTCHAR; cBlueShift*: SHORTCHAR; cAlphaBits*: SHORTCHAR; cAlphaShift*: SHORTCHAR; cAccumBits*: SHORTCHAR; cAccumRedBits*: SHORTCHAR; cAccumGreenBits*: SHORTCHAR; cAccumBlueBits*: SHORTCHAR; cAccumAlphaBits*: SHORTCHAR; cDepthBits*: SHORTCHAR; cStencilBits*: SHORTCHAR; cAuxBuffers*: SHORTCHAR; iLayerPlane*: SHORTCHAR; bReserved*: SHORTCHAR; crTransparent*: COLORREF; END; PtrLAYERPLANEDESCRIPTOR* = POINTER TO LAYERPLANEDESCRIPTOR; HDWP* = HANDLE; MENUTEMPLATEA* = RECORD [untagged] END; PtrMENUTEMPLATEA* = POINTER TO MENUTEMPLATEA; MENUTEMPLATEW* = RECORD [untagged] END; PtrMENUTEMPLATEW* = POINTER TO MENUTEMPLATEW; MENUTEMPLATE* = RECORD [untagged] END; PtrMENUTEMPLATE* = POINTER TO MENUTEMPLATE; LPMENUTEMPLATEA* = PtrVoid; LPMENUTEMPLATEW* = PtrVoid; LPMENUTEMPLATE* = LPMENUTEMPLATEA; WNDPROC* = PROCEDURE (p0: HWND; p1: INTEGER; p2: WPARAM; p3: LPARAM): LRESULT; DLGPROC* = PROCEDURE (): INTEGER; TIMERPROC* = PROCEDURE (): INTEGER; GRAYSTRINGPROC* = PROCEDURE (): INTEGER; WNDENUMPROC* = PROCEDURE (): INTEGER; HOOKPROC* = PROCEDURE (): INTEGER; SENDASYNCPROC* = PROCEDURE (): INTEGER; EDITWORDBREAKPROCA* = PROCEDURE (): INTEGER; EDITWORDBREAKPROCW* = PROCEDURE (): INTEGER; ROPENUMPROCA* = PROCEDURE (): INTEGER; ROPENUMPROCW* = PROCEDURE (): INTEGER; ROPENUMPROCEXA* = PROCEDURE (): INTEGER; ROPENUMPROCEXW* = PROCEDURE (): INTEGER; DRAWSTATEPROC* = PROCEDURE (): INTEGER; ROPENUMPROC* = PROCEDURE (): INTEGER; ROPENUMPROCEX* = PROCEDURE (): INTEGER; EDITWORDBREAKPROC* = PROCEDURE (): INTEGER; NAMEENUMPROCA* = PROCEDURE (): INTEGER; NAMEENUMPROCW* = PROCEDURE (): INTEGER; WINSTAENUMPROCA* = PROCEDURE (): INTEGER; DESKTOPENUMPROCA* = PROCEDURE (): INTEGER; WINSTAENUMPROCW* = PROCEDURE (): INTEGER; DESKTOPENUMPROCW* = PROCEDURE (): INTEGER; WINSTAENUMPROC* = PROCEDURE (): INTEGER; DESKTOPENUMPROC* = PROCEDURE (): INTEGER; PtrCREATESTRUCTA* = POINTER TO CREATESTRUCTA; CBT_CREATEWNDA* = RECORD [untagged] lpcs*: PtrCREATESTRUCTA; hwndInsertAfter*: HWND; END; PtrCBT_CREATEWNDA* = POINTER TO CBT_CREATEWNDA; PtrCREATESTRUCTW* = POINTER TO CREATESTRUCTW; CBT_CREATEWNDW* = RECORD [untagged] lpcs*: PtrCREATESTRUCTW; hwndInsertAfter*: HWND; END; PtrCBT_CREATEWNDW* = POINTER TO CBT_CREATEWNDW; CBT_CREATEWND* = CBT_CREATEWNDA; PtrCBT_CREATEWND* = PtrCBT_CREATEWNDA; CBTACTIVATESTRUCT* = RECORD [untagged] fMouse*: BOOL; hWndActive*: HWND; END; PtrCBTACTIVATESTRUCT* = POINTER TO CBTACTIVATESTRUCT; EVENTMSG* = RECORD [untagged] message*: INTEGER; paramL*: INTEGER; paramH*: INTEGER; time*: INTEGER; hwnd*: HWND; END; PtrEVENTMSG* = POINTER TO EVENTMSG; CWPSTRUCT* = RECORD [untagged] lParam*: LPARAM; wParam*: WPARAM; message*: INTEGER; hwnd*: HWND; END; PtrCWPSTRUCT* = POINTER TO CWPSTRUCT; CWPRETSTRUCT* = RECORD [untagged] lResult*: LRESULT; lParam*: LPARAM; wParam*: WPARAM; message*: INTEGER; hwnd*: HWND; END; PtrCWPRETSTRUCT* = POINTER TO CWPRETSTRUCT; DEBUGHOOKINFO* = RECORD [untagged] idThread*: INTEGER; idThreadInstaller*: INTEGER; lParam*: LPARAM; wParam*: WPARAM; code*: INTEGER; END; PtrDEBUGHOOKINFO* = POINTER TO DEBUGHOOKINFO; MOUSEHOOKSTRUCT* = RECORD [untagged] pt*: POINT; hwnd*: HWND; wHitTestCode*: INTEGER; dwExtraInfo*: INTEGER; END; PtrMOUSEHOOKSTRUCT* = POINTER TO MOUSEHOOKSTRUCT; HARDWAREHOOKSTRUCT* = RECORD [untagged] hwnd*: HWND; message*: INTEGER; wParam*: WPARAM; lParam*: LPARAM; END; PtrHARDWAREHOOKSTRUCT* = POINTER TO HARDWAREHOOKSTRUCT; USEROBJECTFLAGS* = RECORD [untagged] fInherit*: BOOL; fReserved*: BOOL; dwFlags*: SET; END; PtrUSEROBJECTFLAGS* = POINTER TO USEROBJECTFLAGS; WNDCLASSEXA* = RECORD [untagged] cbSize*: INTEGER; style*: SET; lpfnWndProc*: WNDPROC; cbClsExtra*: INTEGER; cbWndExtra*: INTEGER; hInstance*: HINSTANCE; hIcon*: HICON; hCursor*: HCURSOR; hbrBackground*: HBRUSH; lpszMenuName*: PtrSTR; lpszClassName*: PtrSTR; hIconSm*: HICON; END; PtrWNDCLASSEXA* = POINTER TO WNDCLASSEXA; WNDCLASSEXW* = RECORD [untagged] cbSize*: INTEGER; style*: SET; lpfnWndProc*: WNDPROC; cbClsExtra*: INTEGER; cbWndExtra*: INTEGER; hInstance*: HINSTANCE; hIcon*: HICON; hCursor*: HCURSOR; hbrBackground*: HBRUSH; lpszMenuName*: PtrWSTR; lpszClassName*: PtrWSTR; hIconSm*: HICON; END; PtrWNDCLASSEXW* = POINTER TO WNDCLASSEXW; WNDCLASSEX* = WNDCLASSEXA; PtrWNDCLASSEX* = PtrWNDCLASSEXA; WNDCLASSA* = RECORD [untagged] style*: SET; lpfnWndProc*: WNDPROC; cbClsExtra*: INTEGER; cbWndExtra*: INTEGER; hInstance*: HINSTANCE; hIcon*: HICON; hCursor*: HCURSOR; hbrBackground*: HBRUSH; lpszMenuName*: PtrSTR; lpszClassName*: PtrSTR; END; PtrWNDCLASSA* = POINTER TO WNDCLASSA; WNDCLASSW* = RECORD [untagged] style*: SET; lpfnWndProc*: WNDPROC; cbClsExtra*: INTEGER; cbWndExtra*: INTEGER; hInstance*: HINSTANCE; hIcon*: HICON; hCursor*: HCURSOR; hbrBackground*: HBRUSH; lpszMenuName*: PtrWSTR; lpszClassName*: PtrWSTR; END; PtrWNDCLASSW* = POINTER TO WNDCLASSW; WNDCLASS* = WNDCLASSA; PtrWNDCLASS* = PtrWNDCLASSA; MSG* = RECORD [untagged] hwnd*: HWND; message*: INTEGER; wParam*: WPARAM; lParam*: LPARAM; time*: INTEGER; pt*: POINT; END; PtrMSG* = POINTER TO MSG; MINMAXINFO* = RECORD [untagged] ptReserved*: POINT; ptMaxSize*: POINT; ptMaxPosition*: POINT; ptMinTrackSize*: POINT; ptMaxTrackSize*: POINT; END; PtrMINMAXINFO* = POINTER TO MINMAXINFO; COPYDATASTRUCT* = RECORD [untagged] dwData*: INTEGER; cbData*: INTEGER; lpData*: PtrVoid; END; PtrCOPYDATASTRUCT* = POINTER TO COPYDATASTRUCT; MDINEXTMENU* = RECORD [untagged] hmenuIn*: HMENU; hmenuNext*: HMENU; hwndNext*: HWND; END; PtrMDINEXTMENU* = POINTER TO MDINEXTMENU; WINDOWPOS* = RECORD [untagged] hwnd*: HWND; hwndInsertAfter*: HWND; x*: INTEGER; y*: INTEGER; cx*: INTEGER; cy*: INTEGER; flags*: SET; END; PtrWINDOWPOS* = POINTER TO WINDOWPOS; NCCALCSIZE_PARAMS* = RECORD [untagged] rgrc*: ARRAY [untagged] 3 OF RECT; lppos*: PtrWINDOWPOS; END; PtrNCCALCSIZE_PARAMS* = POINTER TO NCCALCSIZE_PARAMS; ACCEL* = RECORD [untagged] fVirt*: SHORTCHAR; key*: SHORTINT; cmd*: SHORTINT; END; PtrACCEL* = POINTER TO ACCEL; PAINTSTRUCT* = RECORD [untagged] hdc*: HDC; fErase*: BOOL; rcPaint*: RECT; fRestore*: BOOL; fIncUpdate*: BOOL; rgbReserved*: ARRAY [untagged] 32 OF SHORTCHAR; END; PtrPAINTSTRUCT* = POINTER TO PAINTSTRUCT; CREATESTRUCTA* = RECORD [untagged] lpCreateParams*: PtrVoid; hInstance*: HINSTANCE; hMenu*: HMENU; hwndParent*: HWND; cy*: INTEGER; cx*: INTEGER; y*: INTEGER; x*: INTEGER; style*: SET; lpszName*: PtrSTR; lpszClass*: PtrSTR; dwExStyle*: SET; END; CREATESTRUCTW* = RECORD [untagged] lpCreateParams*: PtrVoid; hInstance*: HINSTANCE; hMenu*: HMENU; hwndParent*: HWND; cy*: INTEGER; cx*: INTEGER; y*: INTEGER; x*: INTEGER; style*: SET; lpszName*: PtrWSTR; lpszClass*: PtrWSTR; dwExStyle*: SET; END; CREATESTRUCT* = CREATESTRUCTA; PtrCREATESTRUCT* = PtrCREATESTRUCTA; WINDOWPLACEMENT* = RECORD [untagged] length*: INTEGER; flags*: SET; showCmd*: INTEGER; ptMinPosition*: POINT; ptMaxPosition*: POINT; rcNormalPosition*: RECT; END; PtrWINDOWPLACEMENT* = POINTER TO WINDOWPLACEMENT; NMHDR* = RECORD [untagged] hwndFrom*: HWND; idFrom*: INTEGER; code*: INTEGER; END; PtrNMHDR* = POINTER TO NMHDR; STYLESTRUCT* = RECORD [untagged] styleOld*: SET; styleNew*: SET; END; PtrSTYLESTRUCT* = POINTER TO STYLESTRUCT; MEASUREITEMSTRUCT* = RECORD [untagged] CtlType*: SET; CtlID*: INTEGER; itemID*: INTEGER; itemWidth*: INTEGER; itemHeight*: INTEGER; itemData*: INTEGER; END; PtrMEASUREITEMSTRUCT* = POINTER TO MEASUREITEMSTRUCT; DRAWITEMSTRUCT* = RECORD [untagged] CtlType*: SET; CtlID*: INTEGER; itemID*: INTEGER; itemAction*: SET; itemState*: SET; hwndItem*: HWND; hDC*: HDC; rcItem*: RECT; itemData*: INTEGER; END; PtrDRAWITEMSTRUCT* = POINTER TO DRAWITEMSTRUCT; DELETEITEMSTRUCT* = RECORD [untagged] CtlType*: SET; CtlID*: INTEGER; itemID*: INTEGER; hwndItem*: HWND; itemData*: INTEGER; END; PtrDELETEITEMSTRUCT* = POINTER TO DELETEITEMSTRUCT; COMPAREITEMSTRUCT* = RECORD [untagged] CtlType*: SET; CtlID*: INTEGER; hwndItem*: HWND; itemID1*: INTEGER; itemData1*: INTEGER; itemID2*: INTEGER; itemData2*: INTEGER; dwLocaleId*: INTEGER; END; PtrCOMPAREITEMSTRUCT* = POINTER TO COMPAREITEMSTRUCT; BROADCASTSYSMSG* = RECORD [untagged] uiMessage*: INTEGER; wParam*: WPARAM; lParam*: LPARAM; END; PtrBROADCASTSYSMSG* = POINTER TO BROADCASTSYSMSG; DLGTEMPLATE* = RECORD [align2] style*: SET; dwExtendedStyle*: SET; cdit*: SHORTINT; x*: SHORTINT; y*: SHORTINT; cx*: SHORTINT; cy*: SHORTINT; END; PtrDLGTEMPLATE* = POINTER TO DLGTEMPLATE; DLGITEMTEMPLATE* = RECORD [align2] style*: SET; dwExtendedStyle*: SET; x*: SHORTINT; y*: SHORTINT; cx*: SHORTINT; cy*: SHORTINT; id*: SHORTINT; END; PtrDLGITEMTEMPLATE* = POINTER TO DLGITEMTEMPLATE; TPMPARAMS* = RECORD [untagged] cbSize*: INTEGER; rcExclude*: RECT; END; PtrTPMPARAMS* = POINTER TO TPMPARAMS; MENUITEMINFOA* = RECORD [untagged] cbSize*: INTEGER; fMask*: SET; fType*: SET; fState*: SET; wID*: INTEGER; hSubMenu*: HMENU; hbmpChecked*: HBITMAP; hbmpUnchecked*: HBITMAP; dwItemData*: INTEGER; dwTypeData*: PtrSTR; cch*: INTEGER; END; PtrMENUITEMINFOA* = POINTER TO MENUITEMINFOA; MENUITEMINFOW* = RECORD [untagged] cbSize*: INTEGER; fMask*: SET; fType*: SET; fState*: SET; wID*: INTEGER; hSubMenu*: HMENU; hbmpChecked*: HBITMAP; hbmpUnchecked*: HBITMAP; dwItemData*: INTEGER; dwTypeData*: PtrWSTR; cch*: INTEGER; END; PtrMENUITEMINFOW* = POINTER TO MENUITEMINFOW; MENUITEMINFO* = MENUITEMINFOA; PtrMENUITEMINFO* = PtrMENUITEMINFOA; DROPSTRUCT* = RECORD [untagged] hwndSource*: HWND; hwndSink*: HWND; wFmt*: INTEGER; dwData*: INTEGER; ptDrop*: POINT; dwControlData*: INTEGER; END; PtrDROPSTRUCT* = POINTER TO DROPSTRUCT; DRAWTEXTPARAMS* = RECORD [untagged] cbSize*: INTEGER; iTabLength*: INTEGER; iLeftMargin*: INTEGER; iRightMargin*: INTEGER; uiLengthDrawn*: INTEGER; END; PtrDRAWTEXTPARAMS* = POINTER TO DRAWTEXTPARAMS; HELPINFO* = RECORD [untagged] cbSize*: INTEGER; iContextType*: INTEGER; iCtrlId*: INTEGER; hItemHandle*: HANDLE; dwContextId*: INTEGER; MousePos*: POINT; END; PtrHELPINFO* = POINTER TO HELPINFO; MSGBOXCALLBACK* = PROCEDURE (VAR [nil] lpHelpInfo: HELPINFO); MSGBOXPARAMSA* = RECORD [untagged] cbSize*: INTEGER; hwndOwner*: HWND; hInstance*: HINSTANCE; lpszText*: PtrSTR; lpszCaption*: PtrSTR; dwStyle*: SET; lpszIcon*: PtrSTR; dwContextHelpId*: INTEGER; lpfnMsgBoxCallback*: MSGBOXCALLBACK; dwLanguageId*: INTEGER; END; PtrMSGBOXPARAMSA* = POINTER TO MSGBOXPARAMSA; MSGBOXPARAMSW* = RECORD [untagged] cbSize*: INTEGER; hwndOwner*: HWND; hInstance*: HINSTANCE; lpszText*: PtrWSTR; lpszCaption*: PtrWSTR; dwStyle*: SET; lpszIcon*: PtrWSTR; dwContextHelpId*: INTEGER; lpfnMsgBoxCallback*: MSGBOXCALLBACK; dwLanguageId*: INTEGER; END; PtrMSGBOXPARAMSW* = POINTER TO MSGBOXPARAMSW; MSGBOXPARAMS* = MSGBOXPARAMSA; PtrMSGBOXPARAMS* = PtrMSGBOXPARAMSA; MENUITEMTEMPLATEHEADER* = RECORD [untagged] versionNumber*: SHORTINT; offset*: SHORTINT; END; PtrMENUITEMTEMPLATEHEADER* = POINTER TO MENUITEMTEMPLATEHEADER; MENUITEMTEMPLATE* = RECORD [untagged] mtOption*: SHORTINT; mtID*: SHORTINT; mtString*: ARRAY [untagged] 1 OF CHAR; END; PtrMENUITEMTEMPLATE* = POINTER TO MENUITEMTEMPLATE; ICONINFO* = RECORD [untagged] fIcon*: BOOL; xHotspot*: INTEGER; yHotspot*: INTEGER; hbmMask*: HBITMAP; hbmColor*: HBITMAP; END; PtrICONINFO* = POINTER TO ICONINFO; CURSORSHAPE* = RECORD [untagged] xHotSpot*: INTEGER; yHotSpot*: INTEGER; cx*: INTEGER; cy*: INTEGER; cbWidth*: INTEGER; Planes*: SHORTCHAR; BitsPixel*: SHORTCHAR; END; PtrCURSORSHAPE* = POINTER TO CURSORSHAPE; SCROLLINFO* = RECORD [untagged] cbSize*: INTEGER; fMask*: SET; nMin*: INTEGER; nMax*: INTEGER; nPage*: INTEGER; nPos*: INTEGER; nTrackPos*: INTEGER; END; PtrSCROLLINFO* = POINTER TO SCROLLINFO; MDICREATESTRUCTA* = RECORD [untagged] szClass*: PtrSTR; szTitle*: PtrSTR; hOwner*: HANDLE; x*: INTEGER; y*: INTEGER; cx*: INTEGER; cy*: INTEGER; style*: SET; lParam*: LPARAM; END; PtrMDICREATESTRUCTA* = POINTER TO MDICREATESTRUCTA; MDICREATESTRUCTW* = RECORD [untagged] szClass*: PtrWSTR; szTitle*: PtrWSTR; hOwner*: HANDLE; x*: INTEGER; y*: INTEGER; cx*: INTEGER; cy*: INTEGER; style*: SET; lParam*: LPARAM; END; PtrMDICREATESTRUCTW* = POINTER TO MDICREATESTRUCTW; MDICREATESTRUCT* = MDICREATESTRUCTA; PtrMDICREATESTRUCT* = PtrMDICREATESTRUCTA; CLIENTCREATESTRUCT* = RECORD [untagged] hWindowMenu*: HANDLE; idFirstChild*: INTEGER; END; PtrCLIENTCREATESTRUCT* = POINTER TO CLIENTCREATESTRUCT; HELPPOLY* = INTEGER; MULTIKEYHELPA* = RECORD [untagged] mkSize*: INTEGER; mkKeylist*: SHORTCHAR; szKeyphrase*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrMULTIKEYHELPA* = POINTER TO MULTIKEYHELPA; MULTIKEYHELPW* = RECORD [untagged] mkSize*: INTEGER; mkKeylist*: CHAR; szKeyphrase*: ARRAY [untagged] 1 OF CHAR; END; PtrMULTIKEYHELPW* = POINTER TO MULTIKEYHELPW; MULTIKEYHELP* = MULTIKEYHELPA; PtrMULTIKEYHELP* = PtrMULTIKEYHELPA; HELPWININFOA* = RECORD [untagged] wStructSize*: INTEGER; x*: INTEGER; y*: INTEGER; dx*: INTEGER; dy*: INTEGER; wMax*: INTEGER; rgchMember*: ARRAY [untagged] 2 OF SHORTCHAR; END; PtrHELPWININFOA* = POINTER TO HELPWININFOA; HELPWININFOW* = RECORD [untagged] wStructSize*: INTEGER; x*: INTEGER; y*: INTEGER; dx*: INTEGER; dy*: INTEGER; wMax*: INTEGER; rgchMember*: ARRAY [untagged] 2 OF CHAR; END; PtrHELPWININFOW* = POINTER TO HELPWININFOW; HELPWININFO* = HELPWININFOA; PtrHELPWININFO* = PtrHELPWININFOA; NONCLIENTMETRICSA* = RECORD [untagged] cbSize*: INTEGER; iBorderWidth*: INTEGER; iScrollWidth*: INTEGER; iScrollHeight*: INTEGER; iCaptionWidth*: INTEGER; iCaptionHeight*: INTEGER; lfCaptionFont*: LOGFONTA; iSmCaptionWidth*: INTEGER; iSmCaptionHeight*: INTEGER; lfSmCaptionFont*: LOGFONTA; iMenuWidth*: INTEGER; iMenuHeight*: INTEGER; lfMenuFont*: LOGFONTA; lfStatusFont*: LOGFONTA; lfMessageFont*: LOGFONTA; END; PtrNONCLIENTMETRICSA* = POINTER TO NONCLIENTMETRICSA; NONCLIENTMETRICSW* = RECORD [untagged] cbSize*: INTEGER; iBorderWidth*: INTEGER; iScrollWidth*: INTEGER; iScrollHeight*: INTEGER; iCaptionWidth*: INTEGER; iCaptionHeight*: INTEGER; lfCaptionFont*: LOGFONTW; iSmCaptionWidth*: INTEGER; iSmCaptionHeight*: INTEGER; lfSmCaptionFont*: LOGFONTW; iMenuWidth*: INTEGER; iMenuHeight*: INTEGER; lfMenuFont*: LOGFONTW; lfStatusFont*: LOGFONTW; lfMessageFont*: LOGFONTW; END; PtrNONCLIENTMETRICSW* = POINTER TO NONCLIENTMETRICSW; NONCLIENTMETRICS* = NONCLIENTMETRICSA; PtrNONCLIENTMETRICS* = PtrNONCLIENTMETRICSA; MINIMIZEDMETRICS* = RECORD [untagged] cbSize*: INTEGER; iWidth*: INTEGER; iHorzGap*: INTEGER; iVertGap*: INTEGER; iArrange*: INTEGER; END; PtrMINIMIZEDMETRICS* = POINTER TO MINIMIZEDMETRICS; ICONMETRICSA* = RECORD [untagged] cbSize*: INTEGER; iHorzSpacing*: INTEGER; iVertSpacing*: INTEGER; iTitleWrap*: INTEGER; lfFont*: LOGFONTA; END; PtrICONMETRICSA* = POINTER TO ICONMETRICSA; ICONMETRICSW* = RECORD [untagged] cbSize*: INTEGER; iHorzSpacing*: INTEGER; iVertSpacing*: INTEGER; iTitleWrap*: INTEGER; lfFont*: LOGFONTW; END; PtrICONMETRICSW* = POINTER TO ICONMETRICSW; ICONMETRICS* = ICONMETRICSA; PtrICONMETRICS* = PtrICONMETRICSA; ANIMATIONINFO* = RECORD [untagged] cbSize*: INTEGER; iMinAnimate*: INTEGER; END; PtrANIMATIONINFO* = POINTER TO ANIMATIONINFO; SERIALKEYSA* = RECORD [untagged] cbSize*: INTEGER; dwFlags*: SET; lpszActivePort*: PtrSTR; lpszPort*: PtrSTR; iBaudRate*: INTEGER; iPortState*: INTEGER; iActive*: INTEGER; END; PtrSERIALKEYSA* = POINTER TO SERIALKEYSA; SERIALKEYSW* = RECORD [untagged] cbSize*: INTEGER; dwFlags*: SET; lpszActivePort*: PtrWSTR; lpszPort*: PtrWSTR; iBaudRate*: INTEGER; iPortState*: INTEGER; iActive*: INTEGER; END; PtrSERIALKEYSW* = POINTER TO SERIALKEYSW; SERIALKEYS* = SERIALKEYSA; PtrSERIALKEYS* = PtrSERIALKEYSA; HIGHCONTRASTA* = RECORD [untagged] cbSize*: INTEGER; dwFlags*: SET; lpszDefaultScheme*: PtrSTR; END; PtrHIGHCONTRASTA* = POINTER TO HIGHCONTRASTA; HIGHCONTRASTW* = RECORD [untagged] cbSize*: INTEGER; dwFlags*: SET; lpszDefaultScheme*: PtrWSTR; END; PtrHIGHCONTRASTW* = POINTER TO HIGHCONTRASTW; HIGHCONTRAST* = HIGHCONTRASTA; PtrHIGHCONTRAST* = PtrHIGHCONTRASTA; FILTERKEYS* = RECORD [untagged] cbSize*: INTEGER; dwFlags*: SET; iWaitMSec*: INTEGER; iDelayMSec*: INTEGER; iRepeatMSec*: INTEGER; iBounceMSec*: INTEGER; END; PtrFILTERKEYS* = POINTER TO FILTERKEYS; STICKYKEYS* = RECORD [untagged] cbSize*: INTEGER; dwFlags*: SET; END; PtrSTICKYKEYS* = POINTER TO STICKYKEYS; MOUSEKEYS* = RECORD [untagged] cbSize*: INTEGER; dwFlags*: SET; iMaxSpeed*: INTEGER; iTimeToMaxSpeed*: INTEGER; iCtrlSpeed*: INTEGER; dwReserved1*: INTEGER; dwReserved2*: INTEGER; END; PtrMOUSEKEYS* = POINTER TO MOUSEKEYS; ACCESSTIMEOUT* = RECORD [untagged] cbSize*: INTEGER; dwFlags*: SET; iTimeOutMSec*: INTEGER; END; PtrACCESSTIMEOUT* = POINTER TO ACCESSTIMEOUT; SOUNDSENTRYA* = RECORD [untagged] cbSize*: INTEGER; dwFlags*: SET; iFSTextEffect*: INTEGER; iFSTextEffectMSec*: INTEGER; iFSTextEffectColorBits*: INTEGER; iFSGrafEffect*: INTEGER; iFSGrafEffectMSec*: INTEGER; iFSGrafEffectColor*: INTEGER; iWindowsEffect*: INTEGER; iWindowsEffectMSec*: INTEGER; lpszWindowsEffectDLL*: PtrSTR; iWindowsEffectOrdinal*: INTEGER; END; PtrSOUNDSENTRYA* = POINTER TO SOUNDSENTRYA; SOUNDSENTRYW* = RECORD [untagged] cbSize*: INTEGER; dwFlags*: SET; iFSTextEffect*: INTEGER; iFSTextEffectMSec*: INTEGER; iFSTextEffectColorBits*: INTEGER; iFSGrafEffect*: INTEGER; iFSGrafEffectMSec*: INTEGER; iFSGrafEffectColor*: INTEGER; iWindowsEffect*: INTEGER; iWindowsEffectMSec*: INTEGER; lpszWindowsEffectDLL*: PtrWSTR; iWindowsEffectOrdinal*: INTEGER; END; PtrSOUNDSENTRYW* = POINTER TO SOUNDSENTRYW; SOUNDSENTRY* = SOUNDSENTRYA; PtrSOUNDSENTRY* = PtrSOUNDSENTRYA; TOGGLEKEYS* = RECORD [untagged] cbSize*: INTEGER; dwFlags*: SET; END; PtrTOGGLEKEYS* = POINTER TO TOGGLEKEYS; LCTYPE* = INTEGER; CALTYPE* = INTEGER; CALID* = INTEGER; CPINFO* = RECORD [untagged] MaxCharSize*: INTEGER; DefaultChar*: ARRAY [untagged] 2 OF SHORTCHAR; LeadByte*: ARRAY [untagged] 12 OF SHORTCHAR; END; PtrCPINFO* = POINTER TO CPINFO; NUMBERFMTA* = RECORD [untagged] NumDigits*: INTEGER; LeadingZero*: INTEGER; Grouping*: INTEGER; lpDecimalSep*: PtrSTR; lpThousandSep*: PtrSTR; NegativeOrder*: INTEGER; END; PtrNUMBERFMTA* = POINTER TO NUMBERFMTA; NUMBERFMTW* = RECORD [untagged] NumDigits*: INTEGER; LeadingZero*: INTEGER; Grouping*: INTEGER; lpDecimalSep*: PtrWSTR; lpThousandSep*: PtrWSTR; NegativeOrder*: INTEGER; END; PtrNUMBERFMTW* = POINTER TO NUMBERFMTW; NUMBERFMT* = NUMBERFMTA; PtrNUMBERFMT* = PtrNUMBERFMTA; CURRENCYFMTA* = RECORD [untagged] NumDigits*: INTEGER; LeadingZero*: INTEGER; Grouping*: INTEGER; lpDecimalSep*: PtrSTR; lpThousandSep*: PtrSTR; NegativeOrder*: INTEGER; PositiveOrder*: INTEGER; lpCurrencySymbol*: PtrSTR; END; PtrCURRENCYFMTA* = POINTER TO CURRENCYFMTA; CURRENCYFMTW* = RECORD [untagged] NumDigits*: INTEGER; LeadingZero*: INTEGER; Grouping*: INTEGER; lpDecimalSep*: PtrWSTR; lpThousandSep*: PtrWSTR; NegativeOrder*: INTEGER; PositiveOrder*: INTEGER; lpCurrencySymbol*: PtrWSTR; END; PtrCURRENCYFMTW* = POINTER TO CURRENCYFMTW; CURRENCYFMT* = CURRENCYFMTA; PtrCURRENCYFMT* = PtrCURRENCYFMTA; LOCALE_ENUMPROCA* = PROCEDURE (): INTEGER; CODEPAGE_ENUMPROCA* = PROCEDURE (): INTEGER; DATEFMT_ENUMPROCA* = PROCEDURE (): INTEGER; TIMEFMT_ENUMPROCA* = PROCEDURE (): INTEGER; CALINFO_ENUMPROCA* = PROCEDURE (): INTEGER; LOCALE_ENUMPROCW* = PROCEDURE (): INTEGER; CODEPAGE_ENUMPROCW* = PROCEDURE (): INTEGER; DATEFMT_ENUMPROCW* = PROCEDURE (): INTEGER; TIMEFMT_ENUMPROCW* = PROCEDURE (): INTEGER; CALINFO_ENUMPROCW* = PROCEDURE (): INTEGER; COORD* = RECORD [untagged] X*: SHORTINT; Y*: SHORTINT; END; PtrCOORD* = POINTER TO COORD; SMALL_RECT* = RECORD [untagged] Left*: SHORTINT; Top*: SHORTINT; Right*: SHORTINT; Bottom*: SHORTINT; END; PtrSMALL_RECT* = POINTER TO SMALL_RECT; KEY_EVENT_RECORD* = RECORD [untagged] bKeyDown*: BOOL; wRepeatCount*: SHORTINT; wVirtualKeyCode*: SHORTINT; wVirtualScanCode*: SHORTINT; uChar*: RECORD [union] UnicodeChar*: CHAR; AsciiChar*: SHORTCHAR; END; dwControlKeyState*: SET; END; PtrKEY_EVENT_RECORD* = POINTER TO KEY_EVENT_RECORD; MOUSE_EVENT_RECORD* = RECORD [untagged] dwMousePosition*: COORD; dwButtonState*: SET; dwControlKeyState*: SET; dwEventFlags*: SET; END; PtrMOUSE_EVENT_RECORD* = POINTER TO MOUSE_EVENT_RECORD; WINDOW_BUFFER_SIZE_RECORD* = RECORD [untagged] dwSize*: COORD; END; PtrWINDOW_BUFFER_SIZE_RECORD* = POINTER TO WINDOW_BUFFER_SIZE_RECORD; MENU_EVENT_RECORD* = RECORD [untagged] dwCommandId*: INTEGER; END; PtrMENU_EVENT_RECORD* = POINTER TO MENU_EVENT_RECORD; FOCUS_EVENT_RECORD* = RECORD [untagged] bSetFocus*: BOOL; END; PtrFOCUS_EVENT_RECORD* = POINTER TO FOCUS_EVENT_RECORD; INPUT_RECORD* = RECORD [untagged] EventType*: SHORTINT; Event*: RECORD [union] KeyEvent*: KEY_EVENT_RECORD; MouseEvent*: MOUSE_EVENT_RECORD; WindowBufferSizeEvent*: WINDOW_BUFFER_SIZE_RECORD; MenuEvent*: MENU_EVENT_RECORD; FocusEvent*: FOCUS_EVENT_RECORD; END; END; PtrINPUT_RECORD* = POINTER TO INPUT_RECORD; CHAR_INFO* = RECORD [untagged] Char*: RECORD [union] UnicodeChar*: CHAR; AsciiChar*: SHORTCHAR; END; Attributes*: SHORTINT; END; PtrCHAR_INFO* = POINTER TO CHAR_INFO; CONSOLE_SCREEN_BUFFER_INFO* = RECORD [untagged] dwSize*: COORD; dwCursorPosition*: COORD; wAttributes*: SHORTINT; srWindow*: SMALL_RECT; dwMaximumWindowSize*: COORD; END; PtrCONSOLE_SCREEN_BUFFER_INFO* = POINTER TO CONSOLE_SCREEN_BUFFER_INFO; CONSOLE_CURSOR_INFO* = RECORD [untagged] dwSize*: INTEGER; bVisible*: BOOL; END; PtrCONSOLE_CURSOR_INFO* = POINTER TO CONSOLE_CURSOR_INFO; HANDLER_ROUTINE* = PROCEDURE (CtrlType: INTEGER): BOOL; VS_FIXEDFILEINFO* = RECORD [untagged] dwSignature*: INTEGER; dwStrucVersion*: INTEGER; dwFileVersionMS*: INTEGER; dwFileVersionLS*: INTEGER; dwProductVersionMS*: INTEGER; dwProductVersionLS*: INTEGER; dwFileFlagsMask*: SET; dwFileFlags*: SET; dwFileOS*: SET; dwFileType*: INTEGER; dwFileSubtype*: INTEGER; dwFileDateMS*: INTEGER; dwFileDateLS*: INTEGER; END; REGSAM* = ACCESS_MASK; HKEY* = HANDLE; val_context* = RECORD [untagged] valuelen*: INTEGER; value_context*: PtrVoid; val_buff_ptr*: PtrVoid; END; Ptrval_context* = POINTER TO val_context; PVALUEA* = RECORD [untagged] pv_valuename*: PtrSTR; pv_valuelen*: INTEGER; pv_value_context*: PtrVoid; pv_type*: INTEGER; END; PtrPVALUEA* = POINTER TO PVALUEA; PVALUEW* = RECORD [untagged] pv_valuename*: PtrWSTR; pv_valuelen*: INTEGER; pv_value_context*: PtrVoid; pv_type*: INTEGER; END; PtrPVALUEW* = POINTER TO PVALUEW; PVALUE* = PVALUEA; PtrPVALUE* = PtrPVALUEA; QUERYHANDLER* = PROCEDURE(keycontext: PtrVoid; VAR [nil] val_list: val_context; num_vals: INTEGER; outputbuffer: PtrVoid; VAR [nil] total_outlen: INTEGER; input_blen: INTEGER): INTEGER; REG_PROVIDER* = RECORD [untagged] pi_R0_1val*: QUERYHANDLER; pi_R0_allvals*: QUERYHANDLER; pi_R3_1val*: QUERYHANDLER; pi_R3_allvals*: QUERYHANDLER; pi_flags*: INTEGER; pi_key_context*: PtrVoid; END; PtrREG_PROVIDER* = POINTER TO REG_PROVIDER; VALENTA* = RECORD [untagged] ve_valuename*: PtrSTR; ve_valuelen*: INTEGER; ve_valueptr*: INTEGER; ve_type*: INTEGER; END; PtrVALENTA* = POINTER TO VALENTA; VALENTW* = RECORD [untagged] ve_valuename*: PtrWSTR; ve_valuelen*: INTEGER; ve_valueptr*: INTEGER; ve_type*: INTEGER; END; PtrVALENTW* = POINTER TO VALENTW; VALENT* = VALENTA; PtrVALENT* = PtrVALENTA; DDEACK* = RECORD [untagged] fBits0*: SHORTINT; (* bAppReturnCode*: INTEGER; (8 bits) *) (* reserved*: INTEGER; (6 bits) *) (* fBusy*: INTEGER; (1 bits) *) (* fAck*: INTEGER; (1 bits) *) END; DDEADVISE* = RECORD [untagged] fBits0*: SHORTINT; (* reserved*: INTEGER; (14 bits) *) (* fDeferUpd*: INTEGER; (1 bits) *) (* fAckReq*: INTEGER; (1 bits) *) cfFormat*: SHORTINT; END; DDEDATA* = RECORD [untagged] fBits0*: SHORTINT; (* unused*: INTEGER; (12 bits) *) (* fResponse*: INTEGER; (1 bits) *) (* fRelease*: INTEGER; (1 bits) *) (* reserved*: INTEGER; (1 bits) *) (* fAckReq*: INTEGER; (1 bits) *) cfFormat*: SHORTINT; Value*: ARRAY [untagged] 1 OF SHORTCHAR; END; DDEPOKE* = RECORD [untagged] fBits0*: SHORTINT; (* unused*: INTEGER; (13 bits) *) (* fRelease*: INTEGER; (1 bits) *) (* fReserved*: INTEGER; (2 bits) *) cfFormat*: SHORTINT; Value*: ARRAY [untagged] 1 OF SHORTCHAR; END; DDELN* = RECORD [untagged] fBits0*: SHORTINT; (* unused*: INTEGER; (13 bits) *) (* fRelease*: INTEGER; (1 bits) *) (* fDeferUpd*: INTEGER; (1 bits) *) (* fAckReq*: INTEGER; (1 bits) *) cfFormat*: SHORTINT; END; DDEUP* = RECORD [untagged] fBits0*: SHORTINT; (* unused*: INTEGER; (12 bits) *) (* fAck*: INTEGER; (1 bits) *) (* fRelease*: INTEGER; (1 bits) *) (* fReserved*: INTEGER; (1 bits) *) (* fAckReq*: INTEGER; (1 bits) *) cfFormat*: SHORTINT; rgb*: ARRAY [untagged] 1 OF SHORTCHAR; END; HCONVLIST* = HANDLE; HCONV* = HANDLE; HSZ* = HANDLE; HDDEDATA* = HANDLE; HSZPAIR* = RECORD [untagged] hszSvc*: HSZ; hszTopic*: HSZ; END; PtrHSZPAIR* = POINTER TO HSZPAIR; CONVCONTEXT* = RECORD [untagged] cb*: INTEGER; wFlags*: INTEGER; wCountryID*: INTEGER; iCodePage*: INTEGER; dwLangID*: INTEGER; dwSecurity*: INTEGER; qos*: SECURITY_QUALITY_OF_SERVICE; END; PtrCONVCONTEXT* = POINTER TO CONVCONTEXT; CONVINFO* = RECORD [untagged] cb*: INTEGER; hUser*: INTEGER; hConvPartner*: HCONV; hszSvcPartner*: HSZ; hszServiceReq*: HSZ; hszTopic*: HSZ; hszItem*: HSZ; wFmt*: INTEGER; wType*: INTEGER; wStatus*: SET; wConvst*: INTEGER; wLastError*: INTEGER; hConvList*: HCONVLIST; ConvCtxt*: CONVCONTEXT; hwnd*: HWND; hwndPartner*: HWND; END; PtrCONVINFO* = POINTER TO CONVINFO; FNCALLBACK* = PROCEDURE (wType: INTEGER; wFmt: INTEGER; hConv: HCONV; hsz1: HSZ; hsz2: HSZ; hData: HDDEDATA; dwData1: INTEGER; dwData2: INTEGER): HDDEDATA; DDEML_MSG_HOOK_DATA* = RECORD [untagged] uiLo*: INTEGER; uiHi*: INTEGER; cbData*: INTEGER; Data*: ARRAY [untagged] 8 OF INTEGER; END; PtrDDEML_MSG_HOOK_DATA* = POINTER TO DDEML_MSG_HOOK_DATA; MONMSGSTRUCT* = RECORD [untagged] cb*: INTEGER; hwndTo*: HWND; dwTime*: INTEGER; hTask*: HANDLE; wMsg*: INTEGER; wParam*: WPARAM; lParam*: LPARAM; dmhd*: DDEML_MSG_HOOK_DATA; END; PtrMONMSGSTRUCT* = POINTER TO MONMSGSTRUCT; MONCBSTRUCT* = RECORD [untagged] cb*: INTEGER; dwTime*: INTEGER; hTask*: HANDLE; dwRet*: INTEGER; wType*: INTEGER; wFmt*: INTEGER; hConv*: HCONV; hsz1*: HSZ; hsz2*: HSZ; hData*: HDDEDATA; dwData1*: INTEGER; dwData2*: INTEGER; cc*: CONVCONTEXT; cbData*: INTEGER; Data*: ARRAY [untagged] 8 OF INTEGER; END; PtrMONCBSTRUCT* = POINTER TO MONCBSTRUCT; MONHSZSTRUCTA* = RECORD [untagged] cb*: INTEGER; fsAction*: BOOL; dwTime*: INTEGER; hsz*: HSZ; hTask*: HANDLE; str*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrMONHSZSTRUCTA* = POINTER TO MONHSZSTRUCTA; MONHSZSTRUCTW* = RECORD [untagged] cb*: INTEGER; fsAction*: BOOL; dwTime*: INTEGER; hsz*: HSZ; hTask*: HANDLE; str*: ARRAY [untagged] 1 OF CHAR; END; PtrMONHSZSTRUCTW* = POINTER TO MONHSZSTRUCTW; MONHSZSTRUCT* = MONHSZSTRUCTA; PtrMONHSZSTRUCT* = PtrMONHSZSTRUCTA; MONERRSTRUCT* = RECORD [untagged] cb*: INTEGER; wLastError*: INTEGER; dwTime*: INTEGER; hTask*: HANDLE; END; PtrMONERRSTRUCT* = POINTER TO MONERRSTRUCT; MONLINKSTRUCT* = RECORD [untagged] cb*: INTEGER; dwTime*: INTEGER; hTask*: HANDLE; fEstablished*: BOOL; fNoData*: BOOL; hszSvc*: HSZ; hszTopic*: HSZ; hszItem*: HSZ; wFmt*: INTEGER; fServer*: BOOL; hConvServer*: HCONV; hConvClient*: HCONV; END; PtrMONLINKSTRUCT* = POINTER TO MONLINKSTRUCT; MONCONVSTRUCT* = RECORD [untagged] cb*: INTEGER; fConnect*: BOOL; dwTime*: INTEGER; hTask*: HANDLE; hszSvc*: HSZ; hszTopic*: HSZ; hConvClient*: HCONV; hConvServer*: HCONV; END; PtrMONCONVSTRUCT* = POINTER TO MONCONVSTRUCT; HDROP* = HANDLE; DRAGINFOA* = RECORD [noalign] uSize*: INTEGER; pt*: POINT; fNC*: BOOL; lpFileList*: PtrSTR; grfKeyState*: SET; END; PtrDRAGINFOA* = POINTER TO DRAGINFOA; DRAGINFOW* = RECORD [noalign] uSize*: INTEGER; pt*: POINT; fNC*: BOOL; lpFileList*: PtrWSTR; grfKeyState*: SET; END; PtrDRAGINFOW* = POINTER TO DRAGINFOW; DRAGINFO* = DRAGINFOA; PtrDRAGINFO* = PtrDRAGINFOA; APPBARDATA* = RECORD [noalign] cbSize*: INTEGER; hWnd*: HWND; uCallbackMessage*: INTEGER; uEdge*: INTEGER; rc*: RECT; lParam*: LPARAM; END; PtrAPPBARDATA* = POINTER TO APPBARDATA; FILEOP_FLAGS* = SHORTINT; PRINTEROP_FLAGS* = SHORTINT; SHFILEOPSTRUCTA* = RECORD [noalign] hwnd*: HWND; wFunc*: INTEGER; pFrom*: PtrSTR; pTo*: PtrSTR; fFlags*: FILEOP_FLAGS; fAnyOperationsAborted*: BOOL; hNameMappings*: PtrVoid; lpszProgressTitle*: PtrSTR; END; PtrSHFILEOPSTRUCTA* = POINTER TO SHFILEOPSTRUCTA; SHFILEOPSTRUCTW* = RECORD [noalign] hwnd*: HWND; wFunc*: INTEGER; pFrom*: PtrWSTR; pTo*: PtrWSTR; fFlags*: FILEOP_FLAGS; fAnyOperationsAborted*: BOOL; hNameMappings*: PtrVoid; lpszProgressTitle*: PtrWSTR; END; PtrSHFILEOPSTRUCTW* = POINTER TO SHFILEOPSTRUCTW; SHFILEOPSTRUCT* = SHFILEOPSTRUCTA; PtrSHFILEOPSTRUCT* = PtrSHFILEOPSTRUCTA; SHNAMEMAPPINGA* = RECORD [noalign] pszOldPath*: PtrSTR; pszNewPath*: PtrSTR; cchOldPath*: INTEGER; cchNewPath*: INTEGER; END; PtrSHNAMEMAPPINGA* = POINTER TO SHNAMEMAPPINGA; SHNAMEMAPPINGW* = RECORD [noalign] pszOldPath*: PtrWSTR; pszNewPath*: PtrWSTR; cchOldPath*: INTEGER; cchNewPath*: INTEGER; END; PtrSHNAMEMAPPINGW* = POINTER TO SHNAMEMAPPINGW; SHNAMEMAPPING* = SHNAMEMAPPINGA; PtrSHNAMEMAPPING* = PtrSHNAMEMAPPINGA; SHELLEXECUTEINFOA* = RECORD [noalign] cbSize*: INTEGER; fMask*: SET; hwnd*: HWND; lpVerb*: PtrSTR; lpFile*: PtrSTR; lpParameters*: PtrSTR; lpDirectory*: PtrSTR; nShow*: INTEGER; hInstApp*: HINSTANCE; lpIDList*: PtrVoid; lpClass*: PtrSTR; hkeyClass*: HKEY; dwHotKey*: INTEGER; hIcon*: HANDLE; hProcess*: HANDLE; END; PtrSHELLEXECUTEINFOA* = POINTER TO SHELLEXECUTEINFOA; SHELLEXECUTEINFOW* = RECORD [noalign] cbSize*: INTEGER; fMask*: SET; hwnd*: HWND; lpVerb*: PtrWSTR; lpFile*: PtrWSTR; lpParameters*: PtrWSTR; lpDirectory*: PtrWSTR; nShow*: INTEGER; hInstApp*: HINSTANCE; lpIDList*: PtrVoid; lpClass*: PtrWSTR; hkeyClass*: HKEY; dwHotKey*: INTEGER; hIcon*: HANDLE; hProcess*: HANDLE; END; PtrSHELLEXECUTEINFOW* = POINTER TO SHELLEXECUTEINFOW; SHELLEXECUTEINFO* = SHELLEXECUTEINFOA; PtrSHELLEXECUTEINFO* = PtrSHELLEXECUTEINFOA; NOTIFYICONDATAA* = RECORD [noalign] cbSize*: INTEGER; hWnd*: HWND; uID*: INTEGER; uFlags*: SET; uCallbackMessage*: INTEGER; hIcon*: HICON; szTip*: ARRAY [untagged] 64 OF SHORTCHAR; END; PtrNOTIFYICONDATAA* = POINTER TO NOTIFYICONDATAA; NOTIFYICONDATAW* = RECORD [noalign] cbSize*: INTEGER; hWnd*: HWND; uID*: INTEGER; uFlags*: SET; uCallbackMessage*: INTEGER; hIcon*: HICON; szTip*: ARRAY [untagged] 64 OF CHAR; END; PtrNOTIFYICONDATAW* = POINTER TO NOTIFYICONDATAW; NOTIFYICONDATA* = NOTIFYICONDATAA; PtrNOTIFYICONDATA* = PtrNOTIFYICONDATAA; SHFILEINFOA* = RECORD [noalign] hIcon*: HICON; iIcon*: INTEGER; dwAttributes*: SET; szDisplayName*: ARRAY [untagged] 260 OF SHORTCHAR; szTypeName*: ARRAY [untagged] 80 OF SHORTCHAR; END; PtrSHFILEINFOA* = POINTER TO SHFILEINFOA; SHFILEINFOW* = RECORD [noalign] hIcon*: HICON; iIcon*: INTEGER; dwAttributes*: SET; szDisplayName*: ARRAY [untagged] 260 OF CHAR; szTypeName*: ARRAY [untagged] 80 OF CHAR; END; PtrSHFILEINFOW* = POINTER TO SHFILEINFOW; SHFILEINFO* = SHFILEINFOA; PtrSHFILEINFO* = PtrSHFILEINFOA; PtrPROPSHEETPAGEA* = POINTER TO PROPSHEETPAGEA; FNPSPCALLBACKA* = PROCEDURE (hwnd: HWND; uMsg: INTEGER; ppsp: PtrPROPSHEETPAGEA): INTEGER; PtrPROPSHEETPAGEW* = POINTER TO PROPSHEETPAGEW; FNPSPCALLBACKW* = PROCEDURE (hwnd: HWND; uMsg: INTEGER; ppsp: PtrPROPSHEETPAGEW): INTEGER; PROPSHEETPAGEA* = RECORD [untagged] dwSize*: INTEGER; dwFlags*: SET; hInstance*: HINSTANCE; u*: RECORD [union] pszTemplate*: PtrSTR; pResource*: PtrDLGTEMPLATE; END; u1*: RECORD [union] hIcon*: HICON; pszIcon*: PtrSTR; END; pszTitle*: PtrSTR; pfnDlgProc*: DLGPROC; lParam*: LPARAM; pfnCallback*: FNPSPCALLBACKA; pcRefParent*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; END; PROPSHEETPAGEW* = RECORD [untagged] dwSize*: INTEGER; dwFlags*: SET; hInstance*: HINSTANCE; u*: RECORD [union] pszTemplate*: PtrWSTR; pResource*: PtrDLGTEMPLATE; END; u1*: RECORD [union] hIcon*: HICON; pszIcon*: PtrWSTR; END; pszTitle*: PtrWSTR; pfnDlgProc*: DLGPROC; lParam*: LPARAM; pfnCallback*: FNPSPCALLBACKW; pcRefParent*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; END; PROPSHEETPAGE* = PROPSHEETPAGEA; (*m*) PtrPROPSHEETPAGE* = PtrPROPSHEETPAGEA; FNPROPSHEETCALLBACK* = PROCEDURE (p0: HWND; p1: INTEGER; p2: LPARAM): INTEGER; _PSP* = RECORD [untagged] (*i*) END; Ptr_PSP* = POINTER TO _PSP; PROPSHEETHEADERA* = RECORD [untagged] dwSize*: INTEGER; dwFlags*: SET; hwndParent*: HWND; hInstance*: HINSTANCE; u*: RECORD [union] hIcon*: HICON; pszIcon*: PtrSTR; END; pszCaption*: PtrSTR; nPages*: INTEGER; u1*: RECORD [union] nStartPage*: INTEGER; pStartPage*: PtrSTR; END; u2*: RECORD [union] ppsp*: PtrPROPSHEETPAGEA; phpage*: POINTER TO (*?*) ARRAY [untagged] OF Ptr_PSP; END; pfnCallback*: FNPROPSHEETCALLBACK; END; PtrPROPSHEETHEADERA* = POINTER TO PROPSHEETHEADERA; PROPSHEETHEADERW* = RECORD [untagged] dwSize*: INTEGER; dwFlags*: SET; hwndParent*: HWND; hInstance*: HINSTANCE; u*: RECORD [union] hIcon*: HICON; pszIcon*: PtrWSTR; END; pszCaption*: PtrWSTR; nPages*: INTEGER; u1*: RECORD [union] nStartPage*: INTEGER; pStartPage*: PtrWSTR; END; u2*: RECORD [union] ppsp*: PtrPROPSHEETPAGEW; phpage*: POINTER TO (*?*) ARRAY [untagged] OF Ptr_PSP; END; pfnCallback*: FNPROPSHEETCALLBACK; END; PtrPROPSHEETHEADERW* = POINTER TO PROPSHEETHEADERW; PROPSHEETHEADER* = PROPSHEETHEADERA; (*m*) PtrPROPSHEETHEADER* = PtrPROPSHEETHEADERA; FNADDPROPSHEETPAGE* = PROCEDURE (p0: Ptr_PSP; p1: LPARAM): BOOL; FNADDPROPSHEETPAGES* = PROCEDURE (p0: PtrVoid; p1: FNADDPROPSHEETPAGE; p2: LPARAM): BOOL; PSHNOTIFY* = RECORD [untagged] hdr*: NMHDR; lParam*: LPARAM; END; PtrPSHNOTIFY* = POINTER TO PSHNOTIFY; PRINTER_INFO_1A* = RECORD [untagged] Flags*: SET; pDescription*: PtrSTR; pName*: PtrSTR; pComment*: PtrSTR; END; PtrPRINTER_INFO_1A* = POINTER TO PRINTER_INFO_1A; PRINTER_INFO_1W* = RECORD [untagged] Flags*: SET; pDescription*: PtrWSTR; pName*: PtrWSTR; pComment*: PtrWSTR; END; PtrPRINTER_INFO_1W* = POINTER TO PRINTER_INFO_1W; PRINTER_INFO_1* = PRINTER_INFO_1A; PtrPRINTER_INFO_1* = PtrPRINTER_INFO_1A; PRINTER_INFO_2A* = RECORD [untagged] pServerName*: PtrSTR; pPrinterName*: PtrSTR; pShareName*: PtrSTR; pPortName*: PtrSTR; pDriverName*: PtrSTR; pComment*: PtrSTR; pLocation*: PtrSTR; pDevMode*: PtrDEVMODEA; pSepFile*: PtrSTR; pPrintProcessor*: PtrSTR; pDatatype*: PtrSTR; pParameters*: PtrSTR; pSecurityDescriptor*: PSECURITY_DESCRIPTOR; Attributes*: SET; Priority*: INTEGER; DefaultPriority*: INTEGER; StartTime*: INTEGER; UntilTime*: INTEGER; Status*: SET; cJobs*: INTEGER; AveragePPM*: INTEGER; END; PtrPRINTER_INFO_2A* = POINTER TO PRINTER_INFO_2A; PRINTER_INFO_2W* = RECORD [untagged] pServerName*: PtrWSTR; pPrinterName*: PtrWSTR; pShareName*: PtrWSTR; pPortName*: PtrWSTR; pDriverName*: PtrWSTR; pComment*: PtrWSTR; pLocation*: PtrWSTR; pDevMode*: PtrDEVMODEW; pSepFile*: PtrWSTR; pPrintProcessor*: PtrWSTR; pDatatype*: PtrWSTR; pParameters*: PtrWSTR; pSecurityDescriptor*: PSECURITY_DESCRIPTOR; Attributes*: SET; Priority*: INTEGER; DefaultPriority*: INTEGER; StartTime*: INTEGER; UntilTime*: INTEGER; Status*: SET; cJobs*: INTEGER; AveragePPM*: INTEGER; END; PtrPRINTER_INFO_2W* = POINTER TO PRINTER_INFO_2W; PRINTER_INFO_2* = PRINTER_INFO_2A; PtrPRINTER_INFO_2* = PtrPRINTER_INFO_2A; PRINTER_INFO_3* = RECORD [untagged] pSecurityDescriptor*: PSECURITY_DESCRIPTOR; END; PtrPRINTER_INFO_3* = POINTER TO PRINTER_INFO_3; PRINTER_INFO_4A* = RECORD [untagged] pPrinterName*: PtrSTR; pServerName*: PtrSTR; Attributes*: SET; END; PtrPRINTER_INFO_4A* = POINTER TO PRINTER_INFO_4A; PRINTER_INFO_4W* = RECORD [untagged] pPrinterName*: PtrWSTR; pServerName*: PtrWSTR; Attributes*: SET; END; PtrPRINTER_INFO_4W* = POINTER TO PRINTER_INFO_4W; PRINTER_INFO_4* = PRINTER_INFO_4A; PtrPRINTER_INFO_4* = PtrPRINTER_INFO_4A; PRINTER_INFO_5A* = RECORD [untagged] pPrinterName*: PtrSTR; pPortName*: PtrSTR; Attributes*: SET; DeviceNotSelectedTimeout*: INTEGER; TransmissionRetryTimeout*: INTEGER; END; PtrPRINTER_INFO_5A* = POINTER TO PRINTER_INFO_5A; PRINTER_INFO_5W* = RECORD [untagged] pPrinterName*: PtrWSTR; pPortName*: PtrWSTR; Attributes*: SET; DeviceNotSelectedTimeout*: INTEGER; TransmissionRetryTimeout*: INTEGER; END; PtrPRINTER_INFO_5W* = POINTER TO PRINTER_INFO_5W; PRINTER_INFO_5* = PRINTER_INFO_5A; PtrPRINTER_INFO_5* = PtrPRINTER_INFO_5A; PRINTER_INFO_6* = RECORD [untagged] dwStatus*: SET; END; PtrPRINTER_INFO_6* = POINTER TO PRINTER_INFO_6; JOB_INFO_1A* = RECORD [untagged] JobId*: INTEGER; pPrinterName*: PtrSTR; pMachineName*: PtrSTR; pUserName*: PtrSTR; pDocument*: PtrSTR; pDatatype*: PtrSTR; pStatus*: PtrSTR; Status*: SET; Priority*: INTEGER; Position*: INTEGER; TotalPages*: INTEGER; PagesPrinted*: INTEGER; Submitted*: SYSTEMTIME; END; PtrJOB_INFO_1A* = POINTER TO JOB_INFO_1A; JOB_INFO_1W* = RECORD [untagged] JobId*: INTEGER; pPrinterName*: PtrWSTR; pMachineName*: PtrWSTR; pUserName*: PtrWSTR; pDocument*: PtrWSTR; pDatatype*: PtrWSTR; pStatus*: PtrWSTR; Status*: SET; Priority*: INTEGER; Position*: INTEGER; TotalPages*: INTEGER; PagesPrinted*: INTEGER; Submitted*: SYSTEMTIME; END; PtrJOB_INFO_1W* = POINTER TO JOB_INFO_1W; JOB_INFO_1* = JOB_INFO_1A; PtrJOB_INFO_1* = PtrJOB_INFO_1A; JOB_INFO_2A* = RECORD [untagged] JobId*: INTEGER; pPrinterName*: PtrSTR; pMachineName*: PtrSTR; pUserName*: PtrSTR; pDocument*: PtrSTR; pNotifyName*: PtrSTR; pDatatype*: PtrSTR; pPrintProcessor*: PtrSTR; pParameters*: PtrSTR; pDriverName*: PtrSTR; pDevMode*: PtrDEVMODEA; pStatus*: PtrSTR; pSecurityDescriptor*: PSECURITY_DESCRIPTOR; Status*: SET; Priority*: INTEGER; Position*: INTEGER; StartTime*: INTEGER; UntilTime*: INTEGER; TotalPages*: INTEGER; Size*: INTEGER; Submitted*: SYSTEMTIME; Time*: INTEGER; PagesPrinted*: INTEGER; END; PtrJOB_INFO_2A* = POINTER TO JOB_INFO_2A; JOB_INFO_2W* = RECORD [untagged] JobId*: INTEGER; pPrinterName*: PtrWSTR; pMachineName*: PtrWSTR; pUserName*: PtrWSTR; pDocument*: PtrWSTR; pNotifyName*: PtrWSTR; pDatatype*: PtrWSTR; pPrintProcessor*: PtrWSTR; pParameters*: PtrWSTR; pDriverName*: PtrWSTR; pDevMode*: PtrDEVMODEW; pStatus*: PtrWSTR; pSecurityDescriptor*: PSECURITY_DESCRIPTOR; Status*: SET; Priority*: INTEGER; Position*: INTEGER; StartTime*: INTEGER; UntilTime*: INTEGER; TotalPages*: INTEGER; Size*: INTEGER; Submitted*: SYSTEMTIME; Time*: INTEGER; PagesPrinted*: INTEGER; END; PtrJOB_INFO_2W* = POINTER TO JOB_INFO_2W; JOB_INFO_2* = JOB_INFO_2A; PtrJOB_INFO_2* = PtrJOB_INFO_2A; ADDJOB_INFO_1A* = RECORD [untagged] Path*: PtrSTR; JobId*: INTEGER; END; PtrADDJOB_INFO_1A* = POINTER TO ADDJOB_INFO_1A; ADDJOB_INFO_1W* = RECORD [untagged] Path*: PtrWSTR; JobId*: INTEGER; END; PtrADDJOB_INFO_1W* = POINTER TO ADDJOB_INFO_1W; ADDJOB_INFO_1* = ADDJOB_INFO_1A; PtrADDJOB_INFO_1* = PtrADDJOB_INFO_1A; DRIVER_INFO_1A* = RECORD [untagged] pName*: PtrSTR; END; PtrDRIVER_INFO_1A* = POINTER TO DRIVER_INFO_1A; DRIVER_INFO_1W* = RECORD [untagged] pName*: PtrWSTR; END; PtrDRIVER_INFO_1W* = POINTER TO DRIVER_INFO_1W; DRIVER_INFO_1* = DRIVER_INFO_1A; PtrDRIVER_INFO_1* = PtrDRIVER_INFO_1A; DRIVER_INFO_2A* = RECORD [untagged] cVersion*: INTEGER; pName*: PtrSTR; pEnvironment*: PtrSTR; pDriverPath*: PtrSTR; pDataFile*: PtrSTR; pConfigFile*: PtrSTR; END; PtrDRIVER_INFO_2A* = POINTER TO DRIVER_INFO_2A; DRIVER_INFO_2W* = RECORD [untagged] cVersion*: INTEGER; pName*: PtrWSTR; pEnvironment*: PtrWSTR; pDriverPath*: PtrWSTR; pDataFile*: PtrWSTR; pConfigFile*: PtrWSTR; END; PtrDRIVER_INFO_2W* = POINTER TO DRIVER_INFO_2W; DRIVER_INFO_2* = DRIVER_INFO_2A; PtrDRIVER_INFO_2* = PtrDRIVER_INFO_2A; DRIVER_INFO_3A* = RECORD [untagged] cVersion*: INTEGER; pName*: PtrSTR; pEnvironment*: PtrSTR; pDriverPath*: PtrSTR; pDataFile*: PtrSTR; pConfigFile*: PtrSTR; pHelpFile*: PtrSTR; pDependentFiles*: PtrSTR; pMonitorName*: PtrSTR; pDefaultDataType*: PtrSTR; END; PtrDRIVER_INFO_3A* = POINTER TO DRIVER_INFO_3A; DRIVER_INFO_3W* = RECORD [untagged] cVersion*: INTEGER; pName*: PtrWSTR; pEnvironment*: PtrWSTR; pDriverPath*: PtrWSTR; pDataFile*: PtrWSTR; pConfigFile*: PtrWSTR; pHelpFile*: PtrWSTR; pDependentFiles*: PtrWSTR; pMonitorName*: PtrWSTR; pDefaultDataType*: PtrWSTR; END; PtrDRIVER_INFO_3W* = POINTER TO DRIVER_INFO_3W; DRIVER_INFO_3* = DRIVER_INFO_3A; PtrDRIVER_INFO_3* = PtrDRIVER_INFO_3A; DOC_INFO_1A* = RECORD [untagged] pDocName*: PtrSTR; pOutputFile*: PtrSTR; pDatatype*: PtrSTR; END; PtrDOC_INFO_1A* = POINTER TO DOC_INFO_1A; DOC_INFO_1W* = RECORD [untagged] pDocName*: PtrWSTR; pOutputFile*: PtrWSTR; pDatatype*: PtrWSTR; END; PtrDOC_INFO_1W* = POINTER TO DOC_INFO_1W; DOC_INFO_1* = DOC_INFO_1A; PtrDOC_INFO_1* = PtrDOC_INFO_1A; FORM_INFO_1A* = RECORD [untagged] Flags*: SET; pName*: PtrSTR; Size*: SIZE; ImageableArea*: RECT; END; PtrFORM_INFO_1A* = POINTER TO FORM_INFO_1A; FORM_INFO_1W* = RECORD [untagged] Flags*: SET; pName*: PtrWSTR; Size*: SIZE; ImageableArea*: RECT; END; PtrFORM_INFO_1W* = POINTER TO FORM_INFO_1W; FORM_INFO_1* = FORM_INFO_1A; PtrFORM_INFO_1* = PtrFORM_INFO_1A; DOC_INFO_2A* = RECORD [untagged] pDocName*: PtrSTR; pOutputFile*: PtrSTR; pDatatype*: PtrSTR; dwMode*: SET; JobId*: INTEGER; END; PtrDOC_INFO_2A* = POINTER TO DOC_INFO_2A; DOC_INFO_2W* = RECORD [untagged] pDocName*: PtrWSTR; pOutputFile*: PtrWSTR; pDatatype*: PtrWSTR; dwMode*: SET; JobId*: INTEGER; END; PtrDOC_INFO_2W* = POINTER TO DOC_INFO_2W; DOC_INFO_2* = DOC_INFO_2A; PtrDOC_INFO_2* = PtrDOC_INFO_2A; PRINTPROCESSOR_INFO_1A* = RECORD [untagged] pName*: PtrSTR; END; PtrPRINTPROCESSOR_INFO_1A* = POINTER TO PRINTPROCESSOR_INFO_1A; PRINTPROCESSOR_INFO_1W* = RECORD [untagged] pName*: PtrWSTR; END; PtrPRINTPROCESSOR_INFO_1W* = POINTER TO PRINTPROCESSOR_INFO_1W; PRINTPROCESSOR_INFO_1* = PRINTPROCESSOR_INFO_1A; PtrPRINTPROCESSOR_INFO_1* = PtrPRINTPROCESSOR_INFO_1A; PORT_INFO_1A* = RECORD [untagged] pName*: PtrSTR; END; PtrPORT_INFO_1A* = POINTER TO PORT_INFO_1A; PORT_INFO_1W* = RECORD [untagged] pName*: PtrWSTR; END; PtrPORT_INFO_1W* = POINTER TO PORT_INFO_1W; PORT_INFO_1* = PORT_INFO_1A; PtrPORT_INFO_1* = PtrPORT_INFO_1A; PORT_INFO_2A* = RECORD [untagged] pPortName*: PtrSTR; pMonitorName*: PtrSTR; pDescription*: PtrSTR; fPortType*: INTEGER; Reserved*: INTEGER; END; PtrPORT_INFO_2A* = POINTER TO PORT_INFO_2A; PORT_INFO_2W* = RECORD [untagged] pPortName*: PtrWSTR; pMonitorName*: PtrWSTR; pDescription*: PtrWSTR; fPortType*: INTEGER; Reserved*: INTEGER; END; PtrPORT_INFO_2W* = POINTER TO PORT_INFO_2W; PORT_INFO_2* = PORT_INFO_2A; PtrPORT_INFO_2* = PtrPORT_INFO_2A; MONITOR_INFO_1A* = RECORD [untagged] pName*: PtrSTR; END; PtrMONITOR_INFO_1A* = POINTER TO MONITOR_INFO_1A; MONITOR_INFO_1W* = RECORD [untagged] pName*: PtrWSTR; END; PtrMONITOR_INFO_1W* = POINTER TO MONITOR_INFO_1W; MONITOR_INFO_1* = MONITOR_INFO_1A; PtrMONITOR_INFO_1* = PtrMONITOR_INFO_1A; MONITOR_INFO_2A* = RECORD [untagged] pName*: PtrSTR; pEnvironment*: PtrSTR; pDLLName*: PtrSTR; END; PtrMONITOR_INFO_2A* = POINTER TO MONITOR_INFO_2A; MONITOR_INFO_2W* = RECORD [untagged] pName*: PtrWSTR; pEnvironment*: PtrWSTR; pDLLName*: PtrWSTR; END; PtrMONITOR_INFO_2W* = POINTER TO MONITOR_INFO_2W; MONITOR_INFO_2* = MONITOR_INFO_2A; PtrMONITOR_INFO_2* = PtrMONITOR_INFO_2A; DATATYPES_INFO_1A* = RECORD [untagged] pName*: PtrSTR; END; PtrDATATYPES_INFO_1A* = POINTER TO DATATYPES_INFO_1A; DATATYPES_INFO_1W* = RECORD [untagged] pName*: PtrWSTR; END; PtrDATATYPES_INFO_1W* = POINTER TO DATATYPES_INFO_1W; DATATYPES_INFO_1* = DATATYPES_INFO_1A; PtrDATATYPES_INFO_1* = PtrDATATYPES_INFO_1A; PRINTER_DEFAULTSA* = RECORD [untagged] pDatatype*: PtrSTR; pDevMode*: PtrDEVMODEA; DesiredAccess*: ACCESS_MASK; END; PtrPRINTER_DEFAULTSA* = POINTER TO PRINTER_DEFAULTSA; PRINTER_DEFAULTSW* = RECORD [untagged] pDatatype*: PtrWSTR; pDevMode*: PtrDEVMODEW; DesiredAccess*: ACCESS_MASK; END; PtrPRINTER_DEFAULTSW* = POINTER TO PRINTER_DEFAULTSW; PRINTER_DEFAULTS* = PRINTER_DEFAULTSA; PtrPRINTER_DEFAULTS* = PtrPRINTER_DEFAULTSA; PRINTER_NOTIFY_OPTIONS_TYPE* = RECORD [untagged] Type*: SHORTINT; Reserved0*: SHORTINT; Reserved1*: INTEGER; Reserved2*: INTEGER; Count*: INTEGER; pFields*: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; END; PtrPRINTER_NOTIFY_OPTIONS_TYPE* = POINTER TO PRINTER_NOTIFY_OPTIONS_TYPE; PRINTER_NOTIFY_OPTIONS* = RECORD [untagged] Version*: INTEGER; Flags*: SET; Count*: INTEGER; pTypes*: PtrPRINTER_NOTIFY_OPTIONS_TYPE; END; PtrPRINTER_NOTIFY_OPTIONS* = POINTER TO PRINTER_NOTIFY_OPTIONS; PRINTER_NOTIFY_INFO_DATA* = RECORD [untagged] Type*: SHORTINT; Field*: SHORTINT; Reserved*: INTEGER; Id*: INTEGER; NotifyData*: RECORD [union] adwData*: ARRAY [untagged] 2 OF INTEGER; Data*: RECORD [untagged] cbBuf*: INTEGER; pBuf*: PtrVoid; END; END; END; PtrPRINTER_NOTIFY_INFO_DATA* = POINTER TO PRINTER_NOTIFY_INFO_DATA; PRINTER_NOTIFY_INFO* = RECORD [untagged] Version*: INTEGER; Flags*: SET; Count*: INTEGER; aData*: ARRAY [untagged] 1 OF PRINTER_NOTIFY_INFO_DATA; END; PtrPRINTER_NOTIFY_INFO* = POINTER TO PRINTER_NOTIFY_INFO; PROVIDOR_INFO_1A* = RECORD [untagged] pName*: PtrSTR; pEnvironment*: PtrSTR; pDLLName*: PtrSTR; END; PtrPROVIDOR_INFO_1A* = POINTER TO PROVIDOR_INFO_1A; PROVIDOR_INFO_1W* = RECORD [untagged] pName*: PtrWSTR; pEnvironment*: PtrWSTR; pDLLName*: PtrWSTR; END; PtrPROVIDOR_INFO_1W* = POINTER TO PROVIDOR_INFO_1W; PROVIDOR_INFO_1* = PROVIDOR_INFO_1A; PtrPROVIDOR_INFO_1* = PtrPROVIDOR_INFO_1A; SC_HANDLE* = HANDLE; SERVICE_STATUS_HANDLE* = INTEGER; SERVICE_STATUS* = RECORD [untagged] dwServiceType*: SET; dwCurrentState*: INTEGER; dwControlsAccepted*: INTEGER; dwWin32ExitCode*: INTEGER; dwServiceSpecificExitCode*: INTEGER; dwCheckPoint*: INTEGER; dwWaitHint*: INTEGER; END; PtrSERVICE_STATUS* = POINTER TO SERVICE_STATUS; ENUM_SERVICE_STATUSA* = RECORD [untagged] lpServiceName*: PtrSTR; lpDisplayName*: PtrSTR; ServiceStatus*: SERVICE_STATUS; END; PtrENUM_SERVICE_STATUSA* = POINTER TO ENUM_SERVICE_STATUSA; ENUM_SERVICE_STATUSW* = RECORD [untagged] lpServiceName*: PtrWSTR; lpDisplayName*: PtrWSTR; ServiceStatus*: SERVICE_STATUS; END; PtrENUM_SERVICE_STATUSW* = POINTER TO ENUM_SERVICE_STATUSW; ENUM_SERVICE_STATUS* = ENUM_SERVICE_STATUSA; PtrENUM_SERVICE_STATUS* = PtrENUM_SERVICE_STATUSA; SC_LOCK* = PtrVoid; QUERY_SERVICE_LOCK_STATUSA* = RECORD [untagged] fIsLocked*: INTEGER; lpLockOwner*: PtrSTR; dwLockDuration*: INTEGER; END; PtrQUERY_SERVICE_LOCK_STATUSA* = POINTER TO QUERY_SERVICE_LOCK_STATUSA; QUERY_SERVICE_LOCK_STATUSW* = RECORD [untagged] fIsLocked*: INTEGER; lpLockOwner*: PtrWSTR; dwLockDuration*: INTEGER; END; PtrQUERY_SERVICE_LOCK_STATUSW* = POINTER TO QUERY_SERVICE_LOCK_STATUSW; QUERY_SERVICE_LOCK_STATUS* = QUERY_SERVICE_LOCK_STATUSA; PtrQUERY_SERVICE_LOCK_STATUS* = PtrQUERY_SERVICE_LOCK_STATUSA; QUERY_SERVICE_CONFIGA* = RECORD [untagged] dwServiceType*: SET; dwStartType*: INTEGER; dwErrorControl*: INTEGER; lpBinaryPathName*: PtrSTR; lpLoadOrderGroup*: PtrSTR; dwTagId*: INTEGER; lpDependencies*: PtrSTR; lpServiceStartName*: PtrSTR; lpDisplayName*: PtrSTR; END; PtrQUERY_SERVICE_CONFIGA* = POINTER TO QUERY_SERVICE_CONFIGA; QUERY_SERVICE_CONFIGW* = RECORD [untagged] dwServiceType*: SET; dwStartType*: INTEGER; dwErrorControl*: INTEGER; lpBinaryPathName*: PtrWSTR; lpLoadOrderGroup*: PtrWSTR; dwTagId*: INTEGER; lpDependencies*: PtrWSTR; lpServiceStartName*: PtrWSTR; lpDisplayName*: PtrWSTR; END; PtrQUERY_SERVICE_CONFIGW* = POINTER TO QUERY_SERVICE_CONFIGW; QUERY_SERVICE_CONFIG* = QUERY_SERVICE_CONFIGA; PtrQUERY_SERVICE_CONFIG* = PtrQUERY_SERVICE_CONFIGA; SERVICE_MAIN_FUNCTIONW* = PROCEDURE (dwNumServicesArgs: INTEGER; lpServiceArgVectors: POINTER TO (*?*) ARRAY [untagged] OF PtrWSTR); SERVICE_MAIN_FUNCTIONA* = PROCEDURE (dwNumServicesArgs: INTEGER; lpServiceArgVectors: POINTER TO (*?*) ARRAY [untagged] OF PtrSTR); SERVICE_TABLE_ENTRYA* = RECORD [untagged] lpServiceName*: PtrSTR; lpServiceProc*: SERVICE_MAIN_FUNCTIONA; END; PtrSERVICE_TABLE_ENTRYA* = POINTER TO SERVICE_TABLE_ENTRYA; SERVICE_TABLE_ENTRYW* = RECORD [untagged] lpServiceName*: PtrWSTR; lpServiceProc*: SERVICE_MAIN_FUNCTIONW; END; PtrSERVICE_TABLE_ENTRYW* = POINTER TO SERVICE_TABLE_ENTRYW; SERVICE_TABLE_ENTRY* = SERVICE_TABLE_ENTRYA; PtrSERVICE_TABLE_ENTRY* = PtrSERVICE_TABLE_ENTRYA; HANDLER_FUNCTION* = PROCEDURE (dwControl: INTEGER); MODEMDEVCAPS* = RECORD [untagged] dwActualSize*: INTEGER; dwRequiredSize*: INTEGER; dwDevSpecificOffset*: INTEGER; dwDevSpecificSize*: INTEGER; dwModemProviderVersion*: INTEGER; dwModemManufacturerOffset*: INTEGER; dwModemManufacturerSize*: INTEGER; dwModemModelOffset*: INTEGER; dwModemModelSize*: INTEGER; dwModemVersionOffset*: INTEGER; dwModemVersionSize*: INTEGER; dwDialOptions*: INTEGER; dwCallSetupFailTimer*: INTEGER; dwInactivityTimeout*: INTEGER; dwSpeakerVolume*: SET; dwSpeakerMode*: SET; dwModemOptions*: SET; dwMaxDTERate*: INTEGER; dwMaxDCERate*: INTEGER; abVariablePortion*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrMODEMDEVCAPS* = POINTER TO MODEMDEVCAPS; MODEMSETTINGS* = RECORD [untagged] dwActualSize*: INTEGER; dwRequiredSize*: INTEGER; dwDevSpecificOffset*: INTEGER; dwDevSpecificSize*: INTEGER; dwCallSetupFailTimer*: INTEGER; dwInactivityTimeout*: INTEGER; dwSpeakerVolume*: SET; dwSpeakerMode*: SET; dwPreferredModemOptions*: INTEGER; dwNegotiatedModemOptions*: INTEGER; dwNegotiatedDCERate*: INTEGER; abVariablePortion*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrMODEMSETTINGS* = POINTER TO MODEMSETTINGS; RetGetSidSubAuthority* = POINTER TO (*?*) ARRAY [untagged] OF INTEGER; RetDdeAccessData* = POINTER TO (*?*) ARRAY [untagged] OF SHORTCHAR; RetCommandLineToArgvW* = POINTER TO (*?*) ARRAY [untagged] OF PtrWSTR; PROCEDURE InterlockedIncrement* (VAR [nil] lpAddend: INTEGER): INTEGER; (*END InterlockedIncrement;*) PROCEDURE InterlockedDecrement* (VAR [nil] lpAddend: INTEGER): INTEGER; (*END InterlockedDecrement;*) PROCEDURE InterlockedExchange* (VAR [nil] Target: INTEGER; Value: INTEGER): INTEGER; (*END InterlockedExchange;*) PROCEDURE InterlockedExchangeAdd* (VAR [nil] Addend: INTEGER; Value: INTEGER): INTEGER; (*END InterlockedExchangeAdd;*) PROCEDURE InterlockedCompareExchange* (Destination: POINTER TO (*?*) ARRAY [untagged] OF PtrVoid; Exchange: PtrVoid; Comperand: PtrVoid): PtrVoid; (*END InterlockedCompareExchange;*) PROCEDURE FreeResource* (hResData: HGLOBAL): BOOL; (*END FreeResource;*) PROCEDURE LockResource* (hResData: HGLOBAL): PtrVoid; (*END LockResource;*) PROCEDURE FreeLibrary* (hLibModule: HMODULE): BOOL; (*END FreeLibrary;*) PROCEDURE FreeLibraryAndExitThread* (hLibModule: HMODULE; dwExitCode: INTEGER); (*END FreeLibraryAndExitThread;*) PROCEDURE DisableThreadLibraryCalls* (hLibModule: HMODULE): BOOL; (*END DisableThreadLibraryCalls;*) PROCEDURE GetProcAddress* (hModule: HMODULE; lpProcName: PtrSTR): FARPROC; (*END GetProcAddress;*) PROCEDURE GetVersion* (): INTEGER; (*END GetVersion;*) PROCEDURE GlobalAlloc* (uFlags: SET; dwBytes: INTEGER): HGLOBAL; (*END GlobalAlloc;*) PROCEDURE GlobalReAlloc* (hMem: HGLOBAL; dwBytes: INTEGER; uFlags: SET): HGLOBAL; (*END GlobalReAlloc;*) PROCEDURE GlobalSize* (hMem: HGLOBAL): INTEGER; (*END GlobalSize;*) PROCEDURE GlobalFlags* (hMem: HGLOBAL): INTEGER; (*END GlobalFlags;*) PROCEDURE GlobalLock* (hMem: HGLOBAL): PtrVoid; (*END GlobalLock;*) PROCEDURE GlobalHandle* (pMem: PtrVoid): HGLOBAL; (*END GlobalHandle;*) PROCEDURE GlobalUnlock* (hMem: HGLOBAL): BOOL; (*END GlobalUnlock;*) PROCEDURE GlobalFree* (hMem: HGLOBAL): HGLOBAL; (*END GlobalFree;*) PROCEDURE GlobalCompact* (dwMinFree: INTEGER): INTEGER; (*END GlobalCompact;*) PROCEDURE GlobalFix* (hMem: HGLOBAL); (*END GlobalFix;*) PROCEDURE GlobalUnfix* (hMem: HGLOBAL); (*END GlobalUnfix;*) PROCEDURE GlobalWire* (hMem: HGLOBAL): PtrVoid; (*END GlobalWire;*) PROCEDURE GlobalUnWire* (hMem: HGLOBAL): BOOL; (*END GlobalUnWire;*) PROCEDURE GlobalMemoryStatus* (VAR [nil] lpBuffer: MEMORYSTATUS); (*END GlobalMemoryStatus;*) PROCEDURE LocalAlloc* (uFlags: SET; uBytes: INTEGER): HLOCAL; (*END LocalAlloc;*) PROCEDURE LocalReAlloc* (hMem: HLOCAL; uBytes: INTEGER; uFlags: SET): HLOCAL; (*END LocalReAlloc;*) PROCEDURE LocalLock* (hMem: HLOCAL): PtrVoid; (*END LocalLock;*) PROCEDURE LocalHandle* (pMem: PtrVoid): HLOCAL; (*END LocalHandle;*) PROCEDURE LocalUnlock* (hMem: HLOCAL): BOOL; (*END LocalUnlock;*) PROCEDURE LocalSize* (hMem: HLOCAL): INTEGER; (*END LocalSize;*) PROCEDURE LocalFlags* (hMem: HLOCAL): INTEGER; (*END LocalFlags;*) PROCEDURE LocalFree* (hMem: HLOCAL): HLOCAL; (*END LocalFree;*) PROCEDURE LocalShrink* (hMem: HLOCAL; cbNewSize: INTEGER): INTEGER; (*END LocalShrink;*) PROCEDURE LocalCompact* (uMinFree: INTEGER): INTEGER; (*END LocalCompact;*) PROCEDURE FlushInstructionCache* (hProcess: HANDLE; lpBaseAddress: PtrVoid; dwSize: INTEGER): BOOL; (*END FlushInstructionCache;*) PROCEDURE VirtualAlloc* (lpAddress: PtrVoid; dwSize: INTEGER; flAllocationType: SET; flProtect: SET): PtrVoid; (*END VirtualAlloc;*) PROCEDURE VirtualFree* (lpAddress: PtrVoid; dwSize: INTEGER; dwFreeType: SET): BOOL; (*END VirtualFree;*) PROCEDURE VirtualProtect* (lpAddress: PtrVoid; dwSize: INTEGER; flNewProtect: SET; VAR [nil] lpflOldProtect: INTEGER): BOOL; (*END VirtualProtect;*) PROCEDURE VirtualQuery* (lpAddress: PtrVoid; VAR [nil] lpBuffer: MEMORY_BASIC_INFORMATION; dwLength: INTEGER): INTEGER; (*END VirtualQuery;*) PROCEDURE VirtualProtectEx* (hProcess: HANDLE; lpAddress: PtrVoid; dwSize: INTEGER; flNewProtect: SET; VAR [nil] lpflOldProtect: INTEGER): BOOL; (*END VirtualProtectEx;*) PROCEDURE VirtualQueryEx* (hProcess: HANDLE; lpAddress: PtrVoid; VAR [nil] lpBuffer: MEMORY_BASIC_INFORMATION; dwLength: INTEGER): INTEGER; (*END VirtualQueryEx;*) PROCEDURE HeapCreate* (flOptions: SET; dwInitialSize: INTEGER; dwMaximumSize: INTEGER): HANDLE; (*END HeapCreate;*) PROCEDURE HeapDestroy* (hHeap: HANDLE): BOOL; (*END HeapDestroy;*) PROCEDURE HeapAlloc* (hHeap: HANDLE; dwFlags: SET; dwBytes: INTEGER): PtrVoid; (*END HeapAlloc;*) PROCEDURE HeapReAlloc* (hHeap: HANDLE; dwFlags: SET; lpMem: PtrVoid; dwBytes: INTEGER): PtrVoid; (*END HeapReAlloc;*) PROCEDURE HeapFree* (hHeap: HANDLE; dwFlags: SET; lpMem: PtrVoid): BOOL; (*END HeapFree;*) PROCEDURE HeapSize* (hHeap: HANDLE; dwFlags: SET; lpMem: PtrVoid): INTEGER; (*END HeapSize;*) PROCEDURE HeapValidate* (hHeap: HANDLE; dwFlags: SET; lpMem: PtrVoid): BOOL; (*END HeapValidate;*) PROCEDURE HeapCompact* (hHeap: HANDLE; dwFlags: SET): INTEGER; (*END HeapCompact;*) PROCEDURE GetProcessHeap* (): HANDLE; (*END GetProcessHeap;*) PROCEDURE GetProcessHeaps* (NumberOfHeaps: INTEGER; VAR [nil] ProcessHeaps: HANDLE): INTEGER; (*END GetProcessHeaps;*) PROCEDURE HeapLock* (hHeap: HANDLE): BOOL; (*END HeapLock;*) PROCEDURE HeapUnlock* (hHeap: HANDLE): BOOL; (*END HeapUnlock;*) PROCEDURE HeapWalk* (hHeap: HANDLE; VAR [nil] lpEntry: PROCESS_HEAP_ENTRY): BOOL; (*END HeapWalk;*) PROCEDURE GetBinaryTypeA* (lpApplicationName: PtrSTR; VAR [nil] lpBinaryType: INTEGER): BOOL; (*END GetBinaryTypeA;*) PROCEDURE GetBinaryTypeW* (lpApplicationName: PtrWSTR; VAR [nil] lpBinaryType: INTEGER): BOOL; (*END GetBinaryTypeW;*) PROCEDURE GetBinaryType* ["GetBinaryTypeA"] (lpApplicationName: PtrSTR; VAR [nil] lpBinaryType: INTEGER): BOOL; (*END GetBinaryType;*) PROCEDURE GetShortPathNameA* (lpszLongPath: PtrSTR; lpszShortPath: PtrSTR; cchBuffer: INTEGER): INTEGER; (*END GetShortPathNameA;*) PROCEDURE GetShortPathNameW* (lpszLongPath: PtrWSTR; lpszShortPath: PtrWSTR; cchBuffer: INTEGER): INTEGER; (*END GetShortPathNameW;*) PROCEDURE GetShortPathName* ["GetShortPathNameA"] (lpszLongPath: PtrSTR; lpszShortPath: PtrSTR; cchBuffer: INTEGER): INTEGER; (*END GetShortPathName;*) PROCEDURE GetProcessAffinityMask* (hProcess: HANDLE; VAR [nil] lpProcessAffinityMask: INTEGER; VAR [nil] lpSystemAffinityMask: INTEGER): BOOL; (*END GetProcessAffinityMask;*) PROCEDURE SetProcessAffinityMask* (hProcess: HANDLE; dwProcessAffinityMask: INTEGER): BOOL; (*END SetProcessAffinityMask;*) PROCEDURE GetProcessTimes* (hProcess: HANDLE; VAR [nil] lpCreationTime: FILETIME; VAR [nil] lpExitTime: FILETIME; VAR [nil] lpKernelTime: FILETIME; VAR [nil] lpUserTime: FILETIME): BOOL; (*END GetProcessTimes;*) PROCEDURE GetProcessWorkingSetSize* (hProcess: HANDLE; VAR [nil] lpMinimumWorkingSetSize: INTEGER; VAR [nil] lpMaximumWorkingSetSize: INTEGER): BOOL; (*END GetProcessWorkingSetSize;*) PROCEDURE SetProcessWorkingSetSize* (hProcess: HANDLE; dwMinimumWorkingSetSize: INTEGER; dwMaximumWorkingSetSize: INTEGER): BOOL; (*END SetProcessWorkingSetSize;*) PROCEDURE OpenProcess* (dwDesiredAccess: SET; bInheritHandle: BOOL; dwProcessId: INTEGER): HANDLE; (*END OpenProcess;*) PROCEDURE GetCurrentProcess* (): HANDLE; (*END GetCurrentProcess;*) PROCEDURE GetCurrentProcessId* (): INTEGER; (*END GetCurrentProcessId;*) PROCEDURE ExitProcess* (uExitCode: INTEGER); (*END ExitProcess;*) PROCEDURE TerminateProcess* (hProcess: HANDLE; uExitCode: INTEGER): BOOL; (*END TerminateProcess;*) PROCEDURE GetExitCodeProcess* (hProcess: HANDLE; VAR [nil] lpExitCode: INTEGER): BOOL; (*END GetExitCodeProcess;*) PROCEDURE FatalExit* (ExitCode: INTEGER); (*END FatalExit;*) PROCEDURE GetEnvironmentStrings* (): PtrSTR; (*END GetEnvironmentStrings;*) PROCEDURE GetEnvironmentStringsW* (): PtrWSTR; (*END GetEnvironmentStringsW;*) PROCEDURE GetEnvironmentStringsA* ["GetEnvironmentStrings"] (): PtrSTR; (*END GetEnvironmentStringsA;*) PROCEDURE FreeEnvironmentStringsA* (p0: PtrSTR): BOOL; (*END FreeEnvironmentStringsA;*) PROCEDURE FreeEnvironmentStringsW* (p0: PtrWSTR): BOOL; (*END FreeEnvironmentStringsW;*) PROCEDURE FreeEnvironmentStrings* ["FreeEnvironmentStringsA"] (p0: PtrSTR): BOOL; (*END FreeEnvironmentStrings;*) PROCEDURE RaiseException* (dwExceptionCode: INTEGER; dwExceptionFlags: INTEGER; nNumberOfArguments: INTEGER; VAR [nil] lpArguments: INTEGER); (*END RaiseException;*) PROCEDURE UnhandledExceptionFilter* (VAR [nil] ExceptionInfo: EXCEPTION_POINTERS): INTEGER; (*END UnhandledExceptionFilter;*) PROCEDURE SetUnhandledExceptionFilter* (lpTopLevelExceptionFilter: TOP_LEVEL_EXCEPTION_FILTER): TOP_LEVEL_EXCEPTION_FILTER; (*END SetUnhandledExceptionFilter;*) PROCEDURE CreateFiber* (dwStackSize: INTEGER; lpStartAddress: FIBER_START_ROUTINE; lpParameter: PtrVoid): PtrVoid; (*END CreateFiber;*) PROCEDURE DeleteFiber* (lpFiber: PtrVoid); (*END DeleteFiber;*) PROCEDURE ConvertThreadToFiber* (lpParameter: PtrVoid): PtrVoid; (*END ConvertThreadToFiber;*) PROCEDURE SwitchToFiber* (lpFiber: PtrVoid); (*END SwitchToFiber;*) PROCEDURE CreateThread* (VAR [nil] lpThreadAttributes: SECURITY_ATTRIBUTES; dwStackSize: INTEGER; lpStartAddress: THREAD_START_ROUTINE; lpParameter: PtrVoid; dwCreationFlags: SET; VAR [nil] lpThreadId: INTEGER): HANDLE; (*END CreateThread;*) PROCEDURE CreateRemoteThread* (hProcess: HANDLE; VAR [nil] lpThreadAttributes: SECURITY_ATTRIBUTES; dwStackSize: INTEGER; lpStartAddress: THREAD_START_ROUTINE; lpParameter: PtrVoid; dwCreationFlags: SET; VAR [nil] lpThreadId: INTEGER): HANDLE; (*END CreateRemoteThread;*) PROCEDURE GetCurrentThread* (): HANDLE; (*END GetCurrentThread;*) PROCEDURE GetCurrentThreadId* (): INTEGER; (*END GetCurrentThreadId;*) PROCEDURE SetThreadAffinityMask* (hThread: HANDLE; dwThreadAffinityMask: INTEGER): INTEGER; (*END SetThreadAffinityMask;*) PROCEDURE SetThreadIdealProcessor* (hThread: HANDLE; dwIdealProcessor: INTEGER): INTEGER; (*END SetThreadIdealProcessor;*) PROCEDURE SetThreadPriority* (hThread: HANDLE; nPriority: INTEGER): BOOL; (*END SetThreadPriority;*) PROCEDURE SetThreadPriorityBoost* (hThread: HANDLE; bDisablePriorityBoost: BOOL): BOOL; (*END SetThreadPriorityBoost;*) PROCEDURE GetThreadPriorityBoost* (hThread: HANDLE; VAR [nil] pDisablePriorityBoost: BOOL): BOOL; (*END GetThreadPriorityBoost;*) PROCEDURE GetThreadPriority* (hThread: HANDLE): INTEGER; (*END GetThreadPriority;*) PROCEDURE GetThreadTimes* (hThread: HANDLE; VAR [nil] lpCreationTime: FILETIME; VAR [nil] lpExitTime: FILETIME; VAR [nil] lpKernelTime: FILETIME; VAR [nil] lpUserTime: FILETIME): BOOL; (*END GetThreadTimes;*) PROCEDURE ExitThread* (dwExitCode: INTEGER); (*END ExitThread;*) PROCEDURE TerminateThread* (hThread: HANDLE; dwExitCode: INTEGER): BOOL; (*END TerminateThread;*) PROCEDURE GetExitCodeThread* (hThread: HANDLE; VAR [nil] lpExitCode: INTEGER): BOOL; (*END GetExitCodeThread;*) PROCEDURE GetThreadSelectorEntry* (hThread: HANDLE; dwSelector: INTEGER; VAR [nil] lpSelectorEntry: LDT_ENTRY): BOOL; (*END GetThreadSelectorEntry;*) PROCEDURE GetLastError* (): INTEGER; (*END GetLastError;*) PROCEDURE SetLastError* (dwErrCode: INTEGER); (*END SetLastError;*) PROCEDURE GetOverlappedResult* (hFile: HANDLE; VAR [nil] lpOverlapped: OVERLAPPED; VAR [nil] lpNumberOfBytesTransferred: INTEGER; bWait: BOOL): BOOL; (*END GetOverlappedResult;*) PROCEDURE CreateIoCompletionPort* (FileHandle: HANDLE; ExistingCompletionPort: HANDLE; CompletionKey: INTEGER; NumberOfConcurrentThreads: INTEGER): HANDLE; (*END CreateIoCompletionPort;*) PROCEDURE GetQueuedCompletionStatus* (CompletionPort: HANDLE; VAR [nil] lpNumberOfBytesTransferred: INTEGER; VAR [nil] lpCompletionKey: INTEGER; VAR [nil] lpOverlapped: PtrOVERLAPPED; dwMilliseconds: INTEGER): BOOL; (*END GetQueuedCompletionStatus;*) PROCEDURE PostQueuedCompletionStatus* (CompletionPort: HANDLE; dwNumberOfBytesTransferred: INTEGER; dwCompletionKey: INTEGER; VAR [nil] lpOverlapped: OVERLAPPED): BOOL; (*END PostQueuedCompletionStatus;*) PROCEDURE SetErrorMode* (uMode: SET): INTEGER; (*END SetErrorMode;*) PROCEDURE ReadProcessMemory* (hProcess: HANDLE; lpBaseAddress: PtrVoid; lpBuffer: PtrVoid; nSize: INTEGER; VAR [nil] lpNumberOfBytesRead: INTEGER): BOOL; (*END ReadProcessMemory;*) PROCEDURE WriteProcessMemory* (hProcess: HANDLE; lpBaseAddress: PtrVoid; lpBuffer: PtrVoid; nSize: INTEGER; VAR [nil] lpNumberOfBytesWritten: INTEGER): BOOL; (*END WriteProcessMemory;*) PROCEDURE GetThreadContext* (hThread: HANDLE; VAR [nil] lpContext: CONTEXT): BOOL; (*END GetThreadContext;*) PROCEDURE SetThreadContext* (hThread: HANDLE; VAR [nil] lpContext: CONTEXT): BOOL; (*END SetThreadContext;*) PROCEDURE SuspendThread* (hThread: HANDLE): INTEGER; (*END SuspendThread;*) PROCEDURE ResumeThread* (hThread: HANDLE): INTEGER; (*END ResumeThread;*) PROCEDURE QueueUserAPC* (pfnAPC: APCFUNC; hThread: HANDLE; dwData: INTEGER): INTEGER; (*END QueueUserAPC;*) PROCEDURE DebugBreak* (); (*END DebugBreak;*) PROCEDURE WaitForDebugEvent* (VAR [nil] lpDebugEvent: DEBUG_EVENT; dwMilliseconds: INTEGER): BOOL; (*END WaitForDebugEvent;*) PROCEDURE ContinueDebugEvent* (dwProcessId: INTEGER; dwThreadId: INTEGER; dwContinueStatus: SET): BOOL; (*END ContinueDebugEvent;*) PROCEDURE DebugActiveProcess* (dwProcessId: INTEGER): BOOL; (*END DebugActiveProcess;*) PROCEDURE InitializeCriticalSection* (VAR [nil] lpCriticalSection: RTL_CRITICAL_SECTION); (*END InitializeCriticalSection;*) PROCEDURE EnterCriticalSection* (VAR [nil] lpCriticalSection: RTL_CRITICAL_SECTION); (*END EnterCriticalSection;*) PROCEDURE LeaveCriticalSection* (VAR [nil] lpCriticalSection: RTL_CRITICAL_SECTION); (*END LeaveCriticalSection;*) PROCEDURE TryEnterCriticalSection* (VAR [nil] lpCriticalSection: RTL_CRITICAL_SECTION): BOOL; (*END TryEnterCriticalSection;*) PROCEDURE DeleteCriticalSection* (VAR [nil] lpCriticalSection: RTL_CRITICAL_SECTION); (*END DeleteCriticalSection;*) PROCEDURE SetEvent* (hEvent: HANDLE): BOOL; (*END SetEvent;*) PROCEDURE ResetEvent* (hEvent: HANDLE): BOOL; (*END ResetEvent;*) PROCEDURE PulseEvent* (hEvent: HANDLE): BOOL; (*END PulseEvent;*) PROCEDURE ReleaseSemaphore* (hSemaphore: HANDLE; lReleaseCount: INTEGER; VAR [nil] lpPreviousCount: INTEGER): BOOL; (*END ReleaseSemaphore;*) PROCEDURE ReleaseMutex* (hMutex: HANDLE): BOOL; (*END ReleaseMutex;*) PROCEDURE WaitForSingleObject* (hHandle: HANDLE; dwMilliseconds: INTEGER): INTEGER; (*END WaitForSingleObject;*) PROCEDURE WaitForMultipleObjects* (nCount: INTEGER; VAR [nil] lpHandles: HANDLE; bWaitAll: BOOL; dwMilliseconds: INTEGER): INTEGER; (*END WaitForMultipleObjects;*) PROCEDURE Sleep* (dwMilliseconds: INTEGER); (*END Sleep;*) PROCEDURE LoadResource* (hModule: HMODULE; hResInfo: HRSRC): HGLOBAL; (*END LoadResource;*) PROCEDURE SizeofResource* (hModule: HMODULE; hResInfo: HRSRC): INTEGER; (*END SizeofResource;*) PROCEDURE GlobalDeleteAtom* (nAtom: ATOM): ATOM; (*END GlobalDeleteAtom;*) PROCEDURE InitAtomTable* (nSize: INTEGER): BOOL; (*END InitAtomTable;*) PROCEDURE DeleteAtom* (nAtom: ATOM): ATOM; (*END DeleteAtom;*) PROCEDURE SetHandleCount* (uNumber: INTEGER): INTEGER; (*END SetHandleCount;*) PROCEDURE GetLogicalDrives* (): INTEGER; (*END GetLogicalDrives;*) PROCEDURE LockFile* (hFile: HANDLE; dwFileOffsetLow: INTEGER; dwFileOffsetHigh: INTEGER; nNumberOfBytesToLockLow: INTEGER; nNumberOfBytesToLockHigh: INTEGER): BOOL; (*END LockFile;*) PROCEDURE UnlockFile* (hFile: HANDLE; dwFileOffsetLow: INTEGER; dwFileOffsetHigh: INTEGER; nNumberOfBytesToUnlockLow: INTEGER; nNumberOfBytesToUnlockHigh: INTEGER): BOOL; (*END UnlockFile;*) PROCEDURE LockFileEx* (hFile: HANDLE; dwFlags: SET; dwReserved: INTEGER; nNumberOfBytesToLockLow: INTEGER; nNumberOfBytesToLockHigh: INTEGER; VAR [nil] lpOverlapped: OVERLAPPED): BOOL; (*END LockFileEx;*) PROCEDURE UnlockFileEx* (hFile: HANDLE; dwReserved: INTEGER; nNumberOfBytesToUnlockLow: INTEGER; nNumberOfBytesToUnlockHigh: INTEGER; VAR [nil] lpOverlapped: OVERLAPPED): BOOL; (*END UnlockFileEx;*) PROCEDURE GetFileInformationByHandle* (hFile: HANDLE; VAR [nil] lpFileInformation: BY_HANDLE_FILE_INFORMATION): BOOL; (*END GetFileInformationByHandle;*) PROCEDURE GetFileType* (hFile: HANDLE): INTEGER; (*END GetFileType;*) PROCEDURE GetFileSize* (hFile: HANDLE; VAR [nil] lpFileSizeHigh: INTEGER): INTEGER; (*END GetFileSize;*) PROCEDURE GetFileSizeEx* (hFile: HANDLE; VAR [nil] lpFileSizeHigh: LONGINT): INTEGER; (*END GetFileSize;*) PROCEDURE GetStdHandle* (nStdHandle: INTEGER): HANDLE; (*END GetStdHandle;*) PROCEDURE SetStdHandle* (nStdHandle: INTEGER; hHandle: HANDLE): BOOL; (*END SetStdHandle;*) PROCEDURE WriteFile* (hFile: HANDLE; lpBuffer: PtrVoid; nNumberOfBytesToWrite: INTEGER; VAR [nil] lpNumberOfBytesWritten: INTEGER; VAR [nil] lpOverlapped: OVERLAPPED): BOOL; (*END WriteFile;*) PROCEDURE ReadFile* (hFile: HANDLE; lpBuffer: PtrVoid; nNumberOfBytesToRead: INTEGER; VAR [nil] lpNumberOfBytesRead: INTEGER; VAR [nil] lpOverlapped: OVERLAPPED): BOOL; (*END ReadFile;*) PROCEDURE FlushFileBuffers* (hFile: HANDLE): BOOL; (*END FlushFileBuffers;*) PROCEDURE DeviceIoControl* (hDevice: HANDLE; dwIoControlCode: INTEGER; lpInBuffer: PtrVoid; nInBufferSize: INTEGER; lpOutBuffer: PtrVoid; nOutBufferSize: INTEGER; VAR [nil] lpBytesReturned: INTEGER; VAR [nil] lpOverlapped: OVERLAPPED): BOOL; (*END DeviceIoControl;*) PROCEDURE SetEndOfFile* (hFile: HANDLE): BOOL; (*END SetEndOfFile;*) PROCEDURE SetFilePointer* (hFile: HANDLE; lDistanceToMove: INTEGER; VAR [nil] lpDistanceToMoveHigh: INTEGER; dwMoveMethod: INTEGER): INTEGER; (*END SetFilePointer;*) PROCEDURE FindClose* (hFindFile: HANDLE): BOOL; (*END FindClose;*) PROCEDURE GetFileTime* (hFile: HANDLE; VAR [nil] lpCreationTime: FILETIME; VAR [nil] lpLastAccessTime: FILETIME; VAR [nil] lpLastWriteTime: FILETIME): BOOL; (*END GetFileTime;*) PROCEDURE SetFileTime* (hFile: HANDLE; VAR [nil] lpCreationTime: FILETIME; VAR [nil] lpLastAccessTime: FILETIME; VAR [nil] lpLastWriteTime: FILETIME): BOOL; (*END SetFileTime;*) PROCEDURE CloseHandle* (hObject: HANDLE): BOOL; (*END CloseHandle;*) PROCEDURE DuplicateHandle* (hSourceProcessHandle: HANDLE; hSourceHandle: HANDLE; hTargetProcessHandle: HANDLE; VAR [nil] lpTargetHandle: HANDLE; dwDesiredAccess: SET; bInheritHandle: BOOL; dwOptions: SET): BOOL; (*END DuplicateHandle;*) PROCEDURE GetHandleInformation* (hObject: HANDLE; VAR [nil] lpdwFlags: SET): BOOL; (*END GetHandleInformation;*) PROCEDURE SetHandleInformation* (hObject: HANDLE; dwMask: INTEGER; dwFlags: SET): BOOL; (*END SetHandleInformation;*) PROCEDURE LoadModule* (lpModuleName: PtrSTR; lpParameterBlock: PtrVoid): INTEGER; (*END LoadModule;*) PROCEDURE WinExec* (lpCmdLine: PtrSTR; uCmdShow: INTEGER): INTEGER; (*END WinExec;*) PROCEDURE ClearCommBreak* (hFile: HANDLE): BOOL; (*END ClearCommBreak;*) PROCEDURE ClearCommError* (hFile: HANDLE; VAR [nil] lpErrors: SET; VAR [nil] lpStat: COMSTAT): BOOL; (*END ClearCommError;*) PROCEDURE SetupComm* (hFile: HANDLE; dwInQueue: INTEGER; dwOutQueue: INTEGER): BOOL; (*END SetupComm;*) PROCEDURE EscapeCommFunction* (hFile: HANDLE; dwFunc: INTEGER): BOOL; (*END EscapeCommFunction;*) PROCEDURE GetCommConfig* (hCommDev: HANDLE; VAR [nil] lpCC: COMMCONFIG; VAR [nil] lpdwSize: INTEGER): BOOL; (*END GetCommConfig;*) PROCEDURE GetCommMask* (hFile: HANDLE; VAR [nil] lpEvtMask: SET): BOOL; (*END GetCommMask;*) PROCEDURE GetCommProperties* (hFile: HANDLE; VAR [nil] lpCommProp: COMMPROP): BOOL; (*END GetCommProperties;*) PROCEDURE GetCommModemStatus* (hFile: HANDLE; VAR [nil] lpModemStat: SET): BOOL; (*END GetCommModemStatus;*) PROCEDURE GetCommState* (hFile: HANDLE; VAR [nil] lpDCB: DCB): BOOL; (*END GetCommState;*) PROCEDURE GetCommTimeouts* (hFile: HANDLE; VAR [nil] lpCommTimeouts: COMMTIMEOUTS): BOOL; (*END GetCommTimeouts;*) PROCEDURE PurgeComm* (hFile: HANDLE; dwFlags: SET): BOOL; (*END PurgeComm;*) PROCEDURE SetCommBreak* (hFile: HANDLE): BOOL; (*END SetCommBreak;*) PROCEDURE SetCommConfig* (hCommDev: HANDLE; VAR [nil] lpCC: COMMCONFIG; dwSize: INTEGER): BOOL; (*END SetCommConfig;*) PROCEDURE SetCommMask* (hFile: HANDLE; dwEvtMask: SET): BOOL; (*END SetCommMask;*) PROCEDURE SetCommState* (hFile: HANDLE; VAR [nil] lpDCB: DCB): BOOL; (*END SetCommState;*) PROCEDURE SetCommTimeouts* (hFile: HANDLE; VAR [nil] lpCommTimeouts: COMMTIMEOUTS): BOOL; (*END SetCommTimeouts;*) PROCEDURE TransmitCommChar* (hFile: HANDLE; cChar: SHORTCHAR): BOOL; (*END TransmitCommChar;*) PROCEDURE WaitCommEvent* (hFile: HANDLE; VAR [nil] lpEvtMask: SET; VAR [nil] lpOverlapped: OVERLAPPED): BOOL; (*END WaitCommEvent;*) PROCEDURE SetTapePosition* (hDevice: HANDLE; dwPositionMethod: INTEGER; dwPartition: INTEGER; dwOffsetLow: INTEGER; dwOffsetHigh: INTEGER; bImmediate: BOOL): INTEGER; (*END SetTapePosition;*) PROCEDURE GetTapePosition* (hDevice: HANDLE; dwPositionType: INTEGER; VAR [nil] lpdwPartition: INTEGER; VAR [nil] lpdwOffsetLow: INTEGER; VAR [nil] lpdwOffsetHigh: INTEGER): INTEGER; (*END GetTapePosition;*) PROCEDURE PrepareTape* (hDevice: HANDLE; dwOperation: INTEGER; bImmediate: BOOL): INTEGER; (*END PrepareTape;*) PROCEDURE EraseTape* (hDevice: HANDLE; dwEraseType: INTEGER; bImmediate: BOOL): INTEGER; (*END EraseTape;*) PROCEDURE CreateTapePartition* (hDevice: HANDLE; dwPartitionMethod: INTEGER; dwCount: INTEGER; dwSize: INTEGER): INTEGER; (*END CreateTapePartition;*) PROCEDURE WriteTapemark* (hDevice: HANDLE; dwTapemarkType: INTEGER; dwTapemarkCount: INTEGER; bImmediate: BOOL): INTEGER; (*END WriteTapemark;*) PROCEDURE GetTapeStatus* (hDevice: HANDLE): INTEGER; (*END GetTapeStatus;*) PROCEDURE GetTapeParameters* (hDevice: HANDLE; dwOperation: INTEGER; VAR [nil] lpdwSize: INTEGER; lpTapeInformation: PtrVoid): INTEGER; (*END GetTapeParameters;*) PROCEDURE SetTapeParameters* (hDevice: HANDLE; dwOperation: INTEGER; lpTapeInformation: PtrVoid): INTEGER; (*END SetTapeParameters;*) PROCEDURE Beep* (dwFreq: INTEGER; dwDuration: INTEGER): BOOL; (*END Beep;*) PROCEDURE MulDiv* (nNumber: INTEGER; nNumerator: INTEGER; nDenominator: INTEGER): INTEGER; (*END MulDiv;*) PROCEDURE GetSystemTime* (VAR [nil] lpSystemTime: SYSTEMTIME); (*END GetSystemTime;*) PROCEDURE GetSystemTimeAsFileTime* (VAR [nil] lpSystemTimeAsFileTime: FILETIME); (*END GetSystemTimeAsFileTime;*) PROCEDURE SetSystemTime* (VAR [nil] lpSystemTime: SYSTEMTIME): BOOL; (*END SetSystemTime;*) PROCEDURE GetLocalTime* (VAR [nil] lpSystemTime: SYSTEMTIME); (*END GetLocalTime;*) PROCEDURE SetLocalTime* (VAR [nil] lpSystemTime: SYSTEMTIME): BOOL; (*END SetLocalTime;*) PROCEDURE GetSystemInfo* (VAR [nil] lpSystemInfo: SYSTEM_INFO); (*END GetSystemInfo;*) PROCEDURE SystemTimeToTzSpecificLocalTime* (VAR [nil] lpTimeZoneInformation: TIME_ZONE_INFORMATION; VAR [nil] lpUniversalTime: SYSTEMTIME; VAR [nil] lpLocalTime: SYSTEMTIME): BOOL; (*END SystemTimeToTzSpecificLocalTime;*) PROCEDURE GetTimeZoneInformation* (VAR [nil] lpTimeZoneInformation: TIME_ZONE_INFORMATION): INTEGER; (*END GetTimeZoneInformation;*) PROCEDURE SetTimeZoneInformation* (VAR [nil] lpTimeZoneInformation: TIME_ZONE_INFORMATION): BOOL; (*END SetTimeZoneInformation;*) PROCEDURE SystemTimeToFileTime* (VAR [nil] lpSystemTime: SYSTEMTIME; VAR [nil] lpFileTime: FILETIME): BOOL; (*END SystemTimeToFileTime;*) PROCEDURE FileTimeToLocalFileTime* (VAR [nil] lpFileTime: FILETIME; VAR [nil] lpLocalFileTime: FILETIME): BOOL; (*END FileTimeToLocalFileTime;*) PROCEDURE LocalFileTimeToFileTime* (VAR [nil] lpLocalFileTime: FILETIME; VAR [nil] lpFileTime: FILETIME): BOOL; (*END LocalFileTimeToFileTime;*) PROCEDURE FileTimeToSystemTime* (VAR [nil] lpFileTime: FILETIME; VAR [nil] lpSystemTime: SYSTEMTIME): BOOL; (*END FileTimeToSystemTime;*) PROCEDURE CompareFileTime* (VAR [nil] lpFileTime1: FILETIME; VAR [nil] lpFileTime2: FILETIME): INTEGER; (*END CompareFileTime;*) PROCEDURE FileTimeToDosDateTime* (VAR [nil] lpFileTime: FILETIME; VAR [nil] lpFatDate: SHORTINT; VAR [nil] lpFatTime: SHORTINT): BOOL; (*END FileTimeToDosDateTime;*) PROCEDURE DosDateTimeToFileTime* (wFatDate: SHORTINT; wFatTime: SHORTINT; VAR [nil] lpFileTime: FILETIME): BOOL; (*END DosDateTimeToFileTime;*) PROCEDURE GetTickCount* (): INTEGER; (*END GetTickCount;*) PROCEDURE SetSystemTimeAdjustment* (dwTimeAdjustment: INTEGER; bTimeAdjustmentDisabled: BOOL): BOOL; (*END SetSystemTimeAdjustment;*) PROCEDURE GetSystemTimeAdjustment* (VAR [nil] lpTimeAdjustment: INTEGER; VAR [nil] lpTimeIncrement: INTEGER; VAR [nil] lpTimeAdjustmentDisabled: BOOL): BOOL; (*END GetSystemTimeAdjustment;*) PROCEDURE FormatMessageA* (dwFlags: SET; lpSource: PtrVoid; dwMessageId: INTEGER; dwLanguageId: INTEGER; lpBuffer: PtrSTR; nSize: INTEGER; VAR [nil] Arguments: PtrSTR): INTEGER; (*END FormatMessageA;*) PROCEDURE FormatMessageW* (dwFlags: SET; lpSource: PtrVoid; dwMessageId: INTEGER; dwLanguageId: INTEGER; lpBuffer: PtrWSTR; nSize: INTEGER; VAR [nil] Arguments: PtrSTR): INTEGER; (*END FormatMessageW;*) PROCEDURE FormatMessage* ["FormatMessageA"] (dwFlags: SET; lpSource: PtrVoid; dwMessageId: INTEGER; dwLanguageId: INTEGER; lpBuffer: PtrSTR; nSize: INTEGER; VAR [nil] Arguments: PtrSTR): INTEGER; (*END FormatMessage;*) PROCEDURE CreatePipe* (VAR [nil] hReadPipe: HANDLE; VAR [nil] hWritePipe: HANDLE; VAR [nil] lpPipeAttributes: SECURITY_ATTRIBUTES; nSize: INTEGER): BOOL; (*END CreatePipe;*) PROCEDURE ConnectNamedPipe* (hNamedPipe: HANDLE; VAR [nil] lpOverlapped: OVERLAPPED): BOOL; (*END ConnectNamedPipe;*) PROCEDURE DisconnectNamedPipe* (hNamedPipe: HANDLE): BOOL; (*END DisconnectNamedPipe;*) PROCEDURE SetNamedPipeHandleState* (hNamedPipe: HANDLE; VAR [nil] lpMode: INTEGER; VAR [nil] lpMaxCollectionCount: INTEGER; VAR [nil] lpCollectDataTimeout: INTEGER): BOOL; (*END SetNamedPipeHandleState;*) PROCEDURE GetNamedPipeInfo* (hNamedPipe: HANDLE; VAR [nil] lpFlags: INTEGER; VAR [nil] lpOutBufferSize: INTEGER; VAR [nil] lpInBufferSize: INTEGER; VAR [nil] lpMaxInstances: INTEGER): BOOL; (*END GetNamedPipeInfo;*) PROCEDURE PeekNamedPipe* (hNamedPipe: HANDLE; lpBuffer: PtrVoid; nBufferSize: INTEGER; VAR [nil] lpBytesRead: INTEGER; VAR [nil] lpTotalBytesAvail: INTEGER; VAR [nil] lpBytesLeftThisMessage: INTEGER): BOOL; (*END PeekNamedPipe;*) PROCEDURE TransactNamedPipe* (hNamedPipe: HANDLE; lpInBuffer: PtrVoid; nInBufferSize: INTEGER; lpOutBuffer: PtrVoid; nOutBufferSize: INTEGER; VAR [nil] lpBytesRead: INTEGER; VAR [nil] lpOverlapped: OVERLAPPED): BOOL; (*END TransactNamedPipe;*) PROCEDURE CreateMailslotA* (lpName: PtrSTR; nMaxMessageSize: INTEGER; lReadTimeout: INTEGER; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): HANDLE; (*END CreateMailslotA;*) PROCEDURE CreateMailslotW* (lpName: PtrWSTR; nMaxMessageSize: INTEGER; lReadTimeout: INTEGER; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): HANDLE; (*END CreateMailslotW;*) PROCEDURE CreateMailslot* ["CreateMailslotA"] (lpName: PtrSTR; nMaxMessageSize: INTEGER; lReadTimeout: INTEGER; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): HANDLE; (*END CreateMailslot;*) PROCEDURE GetMailslotInfo* (hMailslot: HANDLE; VAR [nil] lpMaxMessageSize: INTEGER; VAR [nil] lpNextSize: INTEGER; VAR [nil] lpMessageCount: INTEGER; VAR [nil] lpReadTimeout: INTEGER): BOOL; (*END GetMailslotInfo;*) PROCEDURE SetMailslotInfo* (hMailslot: HANDLE; lReadTimeout: INTEGER): BOOL; (*END SetMailslotInfo;*) PROCEDURE MapViewOfFile* (hFileMappingObject: HANDLE; dwDesiredAccess: SET; dwFileOffsetHigh: INTEGER; dwFileOffsetLow: INTEGER; dwNumberOfBytesToMap: INTEGER): PtrVoid; (*END MapViewOfFile;*) PROCEDURE FlushViewOfFile* (lpBaseAddress: PtrVoid; dwNumberOfBytesToFlush: INTEGER): BOOL; (*END FlushViewOfFile;*) PROCEDURE UnmapViewOfFile* (lpBaseAddress: PtrVoid): BOOL; (*END UnmapViewOfFile;*) PROCEDURE lstrcmpA* (lpString1: PtrSTR; lpString2: PtrSTR): INTEGER; (*END lstrcmpA;*) PROCEDURE lstrcmpW* (lpString1: PtrWSTR; lpString2: PtrWSTR): INTEGER; (*END lstrcmpW;*) PROCEDURE lstrcmp* ["lstrcmpA"] (lpString1: PtrSTR; lpString2: PtrSTR): INTEGER; (*END lstrcmp;*) PROCEDURE lstrcmpiA* (lpString1: PtrSTR; lpString2: PtrSTR): INTEGER; (*END lstrcmpiA;*) PROCEDURE lstrcmpiW* (lpString1: PtrWSTR; lpString2: PtrWSTR): INTEGER; (*END lstrcmpiW;*) PROCEDURE lstrcmpi* ["lstrcmpiA"] (lpString1: PtrSTR; lpString2: PtrSTR): INTEGER; (*END lstrcmpi;*) PROCEDURE lstrcpynA* (lpString1: PtrSTR; lpString2: PtrSTR; iMaxLength: INTEGER): PtrSTR; (*END lstrcpynA;*) PROCEDURE lstrcpynW* (lpString1: PtrWSTR; lpString2: PtrWSTR; iMaxLength: INTEGER): PtrWSTR; (*END lstrcpynW;*) PROCEDURE lstrcpyn* ["lstrcpynA"] (lpString1: PtrSTR; lpString2: PtrSTR; iMaxLength: INTEGER): PtrSTR; (*END lstrcpyn;*) PROCEDURE lstrcpyA* (lpString1: PtrSTR; lpString2: PtrSTR): PtrSTR; (*END lstrcpyA;*) PROCEDURE lstrcpyW* (lpString1: PtrWSTR; lpString2: PtrWSTR): PtrWSTR; (*END lstrcpyW;*) PROCEDURE lstrcpy* ["lstrcpyA"] (lpString1: PtrSTR; lpString2: PtrSTR): PtrSTR; (*END lstrcpy;*) PROCEDURE lstrcatA* (lpString1: PtrSTR; lpString2: PtrSTR): PtrSTR; (*END lstrcatA;*) PROCEDURE lstrcatW* (lpString1: PtrWSTR; lpString2: PtrWSTR): PtrWSTR; (*END lstrcatW;*) PROCEDURE lstrcat* ["lstrcatA"] (lpString1: PtrSTR; lpString2: PtrSTR): PtrSTR; (*END lstrcat;*) PROCEDURE lstrlenA* (lpString: PtrSTR): INTEGER; (*END lstrlenA;*) PROCEDURE lstrlenW* (lpString: PtrWSTR): INTEGER; (*END lstrlenW;*) PROCEDURE lstrlen* ["lstrlenA"] (lpString: PtrSTR): INTEGER; (*END lstrlen;*) PROCEDURE OpenFile* (lpFileName: PtrSTR; VAR [nil] lpReOpenBuff: OFSTRUCT; uStyle: SET): HFILE; (*END OpenFile;*) PROCEDURE _lopen* (lpPathName: PtrSTR; iReadWrite: INTEGER): HFILE; (*END _lopen;*) PROCEDURE _lcreat* (lpPathName: PtrSTR; iAttribute: INTEGER): HFILE; (*END _lcreat;*) PROCEDURE _lread* (hFile: HFILE; lpBuffer: PtrVoid; uBytes: INTEGER): INTEGER; (*END _lread;*) PROCEDURE _lwrite* (hFile: HFILE; lpBuffer: PtrSTR; uBytes: INTEGER): INTEGER; (*END _lwrite;*) PROCEDURE _hread* (hFile: HFILE; lpBuffer: PtrVoid; lBytes: INTEGER): INTEGER; (*END _hread;*) PROCEDURE _hwrite* (hFile: HFILE; lpBuffer: PtrSTR; lBytes: INTEGER): INTEGER; (*END _hwrite;*) PROCEDURE _lclose* (hFile: HFILE): HFILE; (*END _lclose;*) PROCEDURE _llseek* (hFile: HFILE; lOffset: INTEGER; iOrigin: INTEGER): INTEGER; (*END _llseek;*) PROCEDURE IsTextUnicode* ["ADVAPI32.dll", ""] (lpBuffer: PtrVoid; cb: INTEGER; VAR [nil] lpi: SET): BOOL; (*END IsTextUnicode;*) PROCEDURE TlsAlloc* (): INTEGER; (*END TlsAlloc;*) PROCEDURE TlsGetValue* (dwTlsIndex: INTEGER): PtrVoid; (*END TlsGetValue;*) PROCEDURE TlsSetValue* (dwTlsIndex: INTEGER; lpTlsValue: PtrVoid): BOOL; (*END TlsSetValue;*) PROCEDURE TlsFree* (dwTlsIndex: INTEGER): BOOL; (*END TlsFree;*) PROCEDURE SleepEx* (dwMilliseconds: INTEGER; bAlertable: BOOL): INTEGER; (*END SleepEx;*) PROCEDURE WaitForSingleObjectEx* (hHandle: HANDLE; dwMilliseconds: INTEGER; bAlertable: BOOL): INTEGER; (*END WaitForSingleObjectEx;*) PROCEDURE WaitForMultipleObjectsEx* (nCount: INTEGER; VAR [nil] lpHandles: HANDLE; bWaitAll: BOOL; dwMilliseconds: INTEGER; bAlertable: BOOL): INTEGER; (*END WaitForMultipleObjectsEx;*) PROCEDURE SignalObjectAndWait* (hObjectToSignal: HANDLE; hObjectToWaitOn: HANDLE; dwMilliseconds: INTEGER; bAlertable: BOOL): INTEGER; (*END SignalObjectAndWait;*) PROCEDURE ReadFileEx* (hFile: HANDLE; lpBuffer: PtrVoid; nNumberOfBytesToRead: INTEGER; VAR [nil] lpOverlapped: OVERLAPPED; lpCompletionRoutine: OVERLAPPED_COMPLETION_ROUTINE): BOOL; (*END ReadFileEx;*) PROCEDURE WriteFileEx* (hFile: HANDLE; lpBuffer: PtrVoid; nNumberOfBytesToWrite: INTEGER; VAR [nil] lpOverlapped: OVERLAPPED; lpCompletionRoutine: OVERLAPPED_COMPLETION_ROUTINE): BOOL; (*END WriteFileEx;*) PROCEDURE BackupRead* (hFile: HANDLE; VAR [nil] lpBuffer: SHORTCHAR; nNumberOfBytesToRead: INTEGER; VAR [nil] lpNumberOfBytesRead: INTEGER; bAbort: BOOL; bProcessSecurity: BOOL; lpContext: POINTER TO (*?*) ARRAY [untagged] OF PtrVoid): BOOL; (*END BackupRead;*) PROCEDURE BackupSeek* (hFile: HANDLE; dwLowBytesToSeek: INTEGER; dwHighBytesToSeek: INTEGER; VAR [nil] lpdwLowByteSeeked: INTEGER; VAR [nil] lpdwHighByteSeeked: INTEGER; lpContext: POINTER TO (*?*) ARRAY [untagged] OF PtrVoid): BOOL; (*END BackupSeek;*) PROCEDURE BackupWrite* (hFile: HANDLE; VAR [nil] lpBuffer: SHORTCHAR; nNumberOfBytesToWrite: INTEGER; VAR [nil] lpNumberOfBytesWritten: INTEGER; bAbort: BOOL; bProcessSecurity: BOOL; lpContext: POINTER TO (*?*) ARRAY [untagged] OF PtrVoid): BOOL; (*END BackupWrite;*) PROCEDURE CreateMutexA* (VAR [nil] lpMutexAttributes: SECURITY_ATTRIBUTES; bInitialOwner: BOOL; lpName: PtrSTR): HANDLE; (*END CreateMutexA;*) PROCEDURE CreateMutexW* (VAR [nil] lpMutexAttributes: SECURITY_ATTRIBUTES; bInitialOwner: BOOL; lpName: PtrWSTR): HANDLE; (*END CreateMutexW;*) PROCEDURE CreateMutex* ["CreateMutexA"] (VAR [nil] lpMutexAttributes: SECURITY_ATTRIBUTES; bInitialOwner: BOOL; lpName: PtrSTR): HANDLE; (*END CreateMutex;*) PROCEDURE OpenMutexA* (dwDesiredAccess: SET; bInheritHandle: BOOL; lpName: PtrSTR): HANDLE; (*END OpenMutexA;*) PROCEDURE OpenMutexW* (dwDesiredAccess: SET; bInheritHandle: BOOL; lpName: PtrWSTR): HANDLE; (*END OpenMutexW;*) PROCEDURE OpenMutex* ["OpenMutexA"] (dwDesiredAccess: SET; bInheritHandle: BOOL; lpName: PtrSTR): HANDLE; (*END OpenMutex;*) PROCEDURE CreateEventA* (VAR [nil] lpEventAttributes: SECURITY_ATTRIBUTES; bManualReset: BOOL; bInitialState: BOOL; lpName: PtrSTR): HANDLE; (*END CreateEventA;*) PROCEDURE CreateEventW* (VAR [nil] lpEventAttributes: SECURITY_ATTRIBUTES; bManualReset: BOOL; bInitialState: BOOL; lpName: PtrWSTR): HANDLE; (*END CreateEventW;*) PROCEDURE CreateEvent* ["CreateEventA"] (VAR [nil] lpEventAttributes: SECURITY_ATTRIBUTES; bManualReset: BOOL; bInitialState: BOOL; lpName: PtrSTR): HANDLE; (*END CreateEvent;*) PROCEDURE OpenEventA* (dwDesiredAccess: SET; bInheritHandle: BOOL; lpName: PtrSTR): HANDLE; (*END OpenEventA;*) PROCEDURE OpenEventW* (dwDesiredAccess: SET; bInheritHandle: BOOL; lpName: PtrWSTR): HANDLE; (*END OpenEventW;*) PROCEDURE OpenEvent* ["OpenEventA"] (dwDesiredAccess: SET; bInheritHandle: BOOL; lpName: PtrSTR): HANDLE; (*END OpenEvent;*) PROCEDURE CreateSemaphoreA* (VAR [nil] lpSemaphoreAttributes: SECURITY_ATTRIBUTES; lInitialCount: INTEGER; lMaximumCount: INTEGER; lpName: PtrSTR): HANDLE; (*END CreateSemaphoreA;*) PROCEDURE CreateSemaphoreW* (VAR [nil] lpSemaphoreAttributes: SECURITY_ATTRIBUTES; lInitialCount: INTEGER; lMaximumCount: INTEGER; lpName: PtrWSTR): HANDLE; (*END CreateSemaphoreW;*) PROCEDURE CreateSemaphore* ["CreateSemaphoreA"] (VAR [nil] lpSemaphoreAttributes: SECURITY_ATTRIBUTES; lInitialCount: INTEGER; lMaximumCount: INTEGER; lpName: PtrSTR): HANDLE; (*END CreateSemaphore;*) PROCEDURE OpenSemaphoreA* (dwDesiredAccess: SET; bInheritHandle: BOOL; lpName: PtrSTR): HANDLE; (*END OpenSemaphoreA;*) PROCEDURE OpenSemaphoreW* (dwDesiredAccess: SET; bInheritHandle: BOOL; lpName: PtrWSTR): HANDLE; (*END OpenSemaphoreW;*) PROCEDURE OpenSemaphore* ["OpenSemaphoreA"] (dwDesiredAccess: SET; bInheritHandle: BOOL; lpName: PtrSTR): HANDLE; (*END OpenSemaphore;*) PROCEDURE CreateWaitableTimerA* (VAR [nil] lpTimerAttributes: SECURITY_ATTRIBUTES; bManualReset: BOOL; lpTimerName: PtrSTR): HANDLE; (*END CreateWaitableTimerA;*) PROCEDURE CreateWaitableTimerW* (VAR [nil] lpTimerAttributes: SECURITY_ATTRIBUTES; bManualReset: BOOL; lpTimerName: PtrWSTR): HANDLE; (*END CreateWaitableTimerW;*) PROCEDURE CreateWaitableTimer* ["CreateWaitableTimerA"] (VAR [nil] lpTimerAttributes: SECURITY_ATTRIBUTES; bManualReset: BOOL; lpTimerName: PtrSTR): HANDLE; (*END CreateWaitableTimer;*) PROCEDURE OpenWaitableTimerA* (dwDesiredAccess: SET; bInheritHandle: BOOL; lpTimerName: PtrSTR): HANDLE; (*END OpenWaitableTimerA;*) PROCEDURE OpenWaitableTimerW* (dwDesiredAccess: SET; bInheritHandle: BOOL; lpTimerName: PtrWSTR): HANDLE; (*END OpenWaitableTimerW;*) PROCEDURE OpenWaitableTimer* ["OpenWaitableTimerA"] (dwDesiredAccess: SET; bInheritHandle: BOOL; lpTimerName: PtrSTR): HANDLE; (*END OpenWaitableTimer;*) PROCEDURE SetWaitableTimer* (hTimer: HANDLE; VAR [nil] lpDueTime: LONGINT; lPeriod: INTEGER; pfnCompletionRoutine: TIMERAPCROUTINE; lpArgToCompletionRoutine: PtrVoid; fResume: BOOL): BOOL; (*END SetWaitableTimer;*) PROCEDURE CancelWaitableTimer* (hTimer: HANDLE): BOOL; (*END CancelWaitableTimer;*) PROCEDURE CreateFileMappingA* (hFile: HANDLE; VAR [nil] lpFileMappingAttributes: SECURITY_ATTRIBUTES; flProtect: SET; dwMaximumSizeHigh: INTEGER; dwMaximumSizeLow: INTEGER; lpName: PtrSTR): HANDLE; (*END CreateFileMappingA;*) PROCEDURE CreateFileMappingW* (hFile: HANDLE; VAR [nil] lpFileMappingAttributes: SECURITY_ATTRIBUTES; flProtect: SET; dwMaximumSizeHigh: INTEGER; dwMaximumSizeLow: INTEGER; lpName: PtrWSTR): HANDLE; (*END CreateFileMappingW;*) PROCEDURE CreateFileMapping* ["CreateFileMappingA"] (hFile: HANDLE; VAR [nil] lpFileMappingAttributes: SECURITY_ATTRIBUTES; flProtect: SET; dwMaximumSizeHigh: INTEGER; dwMaximumSizeLow: INTEGER; lpName: PtrSTR): HANDLE; (*END CreateFileMapping;*) PROCEDURE OpenFileMappingA* (dwDesiredAccess: SET; bInheritHandle: BOOL; lpName: PtrSTR): HANDLE; (*END OpenFileMappingA;*) PROCEDURE OpenFileMappingW* (dwDesiredAccess: SET; bInheritHandle: BOOL; lpName: PtrWSTR): HANDLE; (*END OpenFileMappingW;*) PROCEDURE OpenFileMapping* ["OpenFileMappingA"] (dwDesiredAccess: SET; bInheritHandle: BOOL; lpName: PtrSTR): HANDLE; (*END OpenFileMapping;*) PROCEDURE GetLogicalDriveStringsA* (nBufferLength: INTEGER; lpBuffer: PtrSTR): INTEGER; (*END GetLogicalDriveStringsA;*) PROCEDURE GetLogicalDriveStringsW* (nBufferLength: INTEGER; lpBuffer: PtrWSTR): INTEGER; (*END GetLogicalDriveStringsW;*) PROCEDURE GetLogicalDriveStrings* ["GetLogicalDriveStringsA"] (nBufferLength: INTEGER; lpBuffer: PtrSTR): INTEGER; (*END GetLogicalDriveStrings;*) PROCEDURE LoadLibraryA* (lpLibFileName: PtrSTR): HMODULE; (*END LoadLibraryA;*) PROCEDURE LoadLibraryW* (lpLibFileName: PtrWSTR): HMODULE; (*END LoadLibraryW;*) PROCEDURE LoadLibrary* ["LoadLibraryA"] (lpLibFileName: PtrSTR): HMODULE; (*END LoadLibrary;*) PROCEDURE LoadLibraryExA* (lpLibFileName: PtrSTR; hFile: HANDLE; dwFlags: SET): HMODULE; (*END LoadLibraryExA;*) PROCEDURE LoadLibraryExW* (lpLibFileName: PtrWSTR; hFile: HANDLE; dwFlags: SET): HMODULE; (*END LoadLibraryExW;*) PROCEDURE LoadLibraryEx* ["LoadLibraryExA"] (lpLibFileName: PtrSTR; hFile: HANDLE; dwFlags: SET): HMODULE; (*END LoadLibraryEx;*) PROCEDURE GetModuleFileNameA* (hModule: HMODULE; lpFilename: PtrSTR; nSize: INTEGER): INTEGER; (*END GetModuleFileNameA;*) PROCEDURE GetModuleFileNameW* (hModule: HMODULE; lpFilename: PtrWSTR; nSize: INTEGER): INTEGER; (*END GetModuleFileNameW;*) PROCEDURE GetModuleFileName* ["GetModuleFileNameA"] (hModule: HMODULE; lpFilename: PtrSTR; nSize: INTEGER): INTEGER; (*END GetModuleFileName;*) PROCEDURE GetModuleHandleA* (lpModuleName: PtrSTR): HMODULE; (*END GetModuleHandleA;*) PROCEDURE GetModuleHandleW* (lpModuleName: PtrWSTR): HMODULE; (*END GetModuleHandleW;*) PROCEDURE GetModuleHandle* ["GetModuleHandleA"] (lpModuleName: PtrSTR): HMODULE; (*END GetModuleHandle;*) PROCEDURE CreateProcessA* (lpApplicationName: PtrSTR; lpCommandLine: PtrSTR; VAR [nil] lpProcessAttributes: SECURITY_ATTRIBUTES; VAR [nil] lpThreadAttributes: SECURITY_ATTRIBUTES; bInheritHandles: BOOL; dwCreationFlags: SET; lpEnvironment: PtrVoid; lpCurrentDirectory: PtrSTR; VAR [nil] lpStartupInfo: STARTUPINFOA; VAR [nil] lpProcessInformation: PROCESS_INFORMATION): BOOL; (*END CreateProcessA;*) PROCEDURE CreateProcessW* (lpApplicationName: PtrWSTR; lpCommandLine: PtrWSTR; VAR [nil] lpProcessAttributes: SECURITY_ATTRIBUTES; VAR [nil] lpThreadAttributes: SECURITY_ATTRIBUTES; bInheritHandles: BOOL; dwCreationFlags: SET; lpEnvironment: PtrVoid; lpCurrentDirectory: PtrWSTR; VAR [nil] lpStartupInfo: STARTUPINFOW; VAR [nil] lpProcessInformation: PROCESS_INFORMATION): BOOL; (*END CreateProcessW;*) PROCEDURE CreateProcess* ["CreateProcessA"] (lpApplicationName: PtrSTR; lpCommandLine: PtrSTR; VAR [nil] lpProcessAttributes: SECURITY_ATTRIBUTES; VAR [nil] lpThreadAttributes: SECURITY_ATTRIBUTES; bInheritHandles: BOOL; dwCreationFlags: SET; lpEnvironment: PtrVoid; lpCurrentDirectory: PtrSTR; VAR [nil] lpStartupInfo: STARTUPINFOA; VAR [nil] lpProcessInformation: PROCESS_INFORMATION): BOOL; (*END CreateProcess;*) PROCEDURE SetProcessShutdownParameters* (dwLevel: INTEGER; dwFlags: SET): BOOL; (*END SetProcessShutdownParameters;*) PROCEDURE GetProcessShutdownParameters* (VAR [nil] lpdwLevel: INTEGER; VAR [nil] lpdwFlags: SET): BOOL; (*END GetProcessShutdownParameters;*) PROCEDURE GetProcessVersion* (ProcessId: INTEGER): INTEGER; (*END GetProcessVersion;*) PROCEDURE FatalAppExitA* (uAction: INTEGER; lpMessageText: PtrSTR); (*END FatalAppExitA;*) PROCEDURE FatalAppExitW* (uAction: INTEGER; lpMessageText: PtrWSTR); (*END FatalAppExitW;*) PROCEDURE FatalAppExit* ["FatalAppExitA"] (uAction: INTEGER; lpMessageText: PtrSTR); (*END FatalAppExit;*) PROCEDURE GetStartupInfoA* (VAR [nil] lpStartupInfo: STARTUPINFOA); (*END GetStartupInfoA;*) PROCEDURE GetStartupInfoW* (VAR [nil] lpStartupInfo: STARTUPINFOW); (*END GetStartupInfoW;*) PROCEDURE GetStartupInfo* ["GetStartupInfoA"] (VAR [nil] lpStartupInfo: STARTUPINFOA); (*END GetStartupInfo;*) PROCEDURE GetCommandLineA* (): PtrSTR; (*END GetCommandLineA;*) PROCEDURE GetCommandLineW* (): PtrWSTR; (*END GetCommandLineW;*) PROCEDURE GetCommandLine* ["GetCommandLineA"] (): PtrSTR; (*END GetCommandLine;*) PROCEDURE GetEnvironmentVariableA* (lpName: PtrSTR; lpBuffer: PtrSTR; nSize: INTEGER): INTEGER; (*END GetEnvironmentVariableA;*) PROCEDURE GetEnvironmentVariableW* (lpName: PtrWSTR; lpBuffer: PtrWSTR; nSize: INTEGER): INTEGER; (*END GetEnvironmentVariableW;*) PROCEDURE GetEnvironmentVariable* ["GetEnvironmentVariableA"] (lpName: PtrSTR; lpBuffer: PtrSTR; nSize: INTEGER): INTEGER; (*END GetEnvironmentVariable;*) PROCEDURE SetEnvironmentVariableA* (lpName: PtrSTR; lpValue: PtrSTR): BOOL; (*END SetEnvironmentVariableA;*) PROCEDURE SetEnvironmentVariableW* (lpName: PtrWSTR; lpValue: PtrWSTR): BOOL; (*END SetEnvironmentVariableW;*) PROCEDURE SetEnvironmentVariable* ["SetEnvironmentVariableA"] (lpName: PtrSTR; lpValue: PtrSTR): BOOL; (*END SetEnvironmentVariable;*) PROCEDURE ExpandEnvironmentStringsA* (lpSrc: PtrSTR; lpDst: PtrSTR; nSize: INTEGER): INTEGER; (*END ExpandEnvironmentStringsA;*) PROCEDURE ExpandEnvironmentStringsW* (lpSrc: PtrWSTR; lpDst: PtrWSTR; nSize: INTEGER): INTEGER; (*END ExpandEnvironmentStringsW;*) PROCEDURE ExpandEnvironmentStrings* ["ExpandEnvironmentStringsA"] (lpSrc: PtrSTR; lpDst: PtrSTR; nSize: INTEGER): INTEGER; (*END ExpandEnvironmentStrings;*) PROCEDURE OutputDebugStringA* (lpOutputString: PtrSTR); (*END OutputDebugStringA;*) PROCEDURE OutputDebugStringW* (lpOutputString: PtrWSTR); (*END OutputDebugStringW;*) PROCEDURE OutputDebugString* ["OutputDebugStringA"] (lpOutputString: PtrSTR); (*END OutputDebugString;*) PROCEDURE FindResourceA* (hModule: HMODULE; lpName: PtrSTR; lpType: PtrSTR): HRSRC; (*END FindResourceA;*) PROCEDURE FindResourceW* (hModule: HMODULE; lpName: PtrWSTR; lpType: PtrWSTR): HRSRC; (*END FindResourceW;*) PROCEDURE FindResource* ["FindResourceA"] (hModule: HMODULE; lpName: PtrSTR; lpType: PtrSTR): HRSRC; (*END FindResource;*) PROCEDURE FindResourceExA* (hModule: HMODULE; lpType: PtrSTR; lpName: PtrSTR; wLanguage: SHORTINT): HRSRC; (*END FindResourceExA;*) PROCEDURE FindResourceExW* (hModule: HMODULE; lpType: PtrWSTR; lpName: PtrWSTR; wLanguage: SHORTINT): HRSRC; (*END FindResourceExW;*) PROCEDURE FindResourceEx* ["FindResourceExA"] (hModule: HMODULE; lpType: PtrSTR; lpName: PtrSTR; wLanguage: SHORTINT): HRSRC; (*END FindResourceEx;*) PROCEDURE EnumResourceTypesA* (hModule: HMODULE; lpEnumFunc: ENUMRESTYPEPROC; lParam: INTEGER): BOOL; (*END EnumResourceTypesA;*) PROCEDURE EnumResourceTypesW* (hModule: HMODULE; lpEnumFunc: ENUMRESTYPEPROC; lParam: INTEGER): BOOL; (*END EnumResourceTypesW;*) PROCEDURE EnumResourceTypes* ["EnumResourceTypesA"] (hModule: HMODULE; lpEnumFunc: ENUMRESTYPEPROC; lParam: INTEGER): BOOL; (*END EnumResourceTypes;*) PROCEDURE EnumResourceNamesA* (hModule: HMODULE; lpType: PtrSTR; lpEnumFunc: ENUMRESNAMEPROC; lParam: INTEGER): BOOL; (*END EnumResourceNamesA;*) PROCEDURE EnumResourceNamesW* (hModule: HMODULE; lpType: PtrWSTR; lpEnumFunc: ENUMRESNAMEPROC; lParam: INTEGER): BOOL; (*END EnumResourceNamesW;*) PROCEDURE EnumResourceNames* ["EnumResourceNamesA"] (hModule: HMODULE; lpType: PtrSTR; lpEnumFunc: ENUMRESNAMEPROC; lParam: INTEGER): BOOL; (*END EnumResourceNames;*) PROCEDURE EnumResourceLanguagesA* (hModule: HMODULE; lpType: PtrSTR; lpName: PtrSTR; lpEnumFunc: ENUMRESLANGPROC; lParam: INTEGER): BOOL; (*END EnumResourceLanguagesA;*) PROCEDURE EnumResourceLanguagesW* (hModule: HMODULE; lpType: PtrWSTR; lpName: PtrWSTR; lpEnumFunc: ENUMRESLANGPROC; lParam: INTEGER): BOOL; (*END EnumResourceLanguagesW;*) PROCEDURE EnumResourceLanguages* ["EnumResourceLanguagesA"] (hModule: HMODULE; lpType: PtrSTR; lpName: PtrSTR; lpEnumFunc: ENUMRESLANGPROC; lParam: INTEGER): BOOL; (*END EnumResourceLanguages;*) PROCEDURE BeginUpdateResourceA* (pFileName: PtrSTR; bDeleteExistingResources: BOOL): HANDLE; (*END BeginUpdateResourceA;*) PROCEDURE BeginUpdateResourceW* (pFileName: PtrWSTR; bDeleteExistingResources: BOOL): HANDLE; (*END BeginUpdateResourceW;*) PROCEDURE BeginUpdateResource* ["BeginUpdateResourceA"] (pFileName: PtrSTR; bDeleteExistingResources: BOOL): HANDLE; (*END BeginUpdateResource;*) PROCEDURE UpdateResourceA* (hUpdate: HANDLE; lpType: PtrSTR; lpName: PtrSTR; wLanguage: SHORTINT; lpData: PtrVoid; cbData: INTEGER): BOOL; (*END UpdateResourceA;*) PROCEDURE UpdateResourceW* (hUpdate: HANDLE; lpType: PtrWSTR; lpName: PtrWSTR; wLanguage: SHORTINT; lpData: PtrVoid; cbData: INTEGER): BOOL; (*END UpdateResourceW;*) PROCEDURE UpdateResource* ["UpdateResourceA"] (hUpdate: HANDLE; lpType: PtrSTR; lpName: PtrSTR; wLanguage: SHORTINT; lpData: PtrVoid; cbData: INTEGER): BOOL; (*END UpdateResource;*) PROCEDURE EndUpdateResourceA* (hUpdate: HANDLE; fDiscard: BOOL): BOOL; (*END EndUpdateResourceA;*) PROCEDURE EndUpdateResourceW* (hUpdate: HANDLE; fDiscard: BOOL): BOOL; (*END EndUpdateResourceW;*) PROCEDURE EndUpdateResource* ["EndUpdateResourceA"] (hUpdate: HANDLE; fDiscard: BOOL): BOOL; (*END EndUpdateResource;*) PROCEDURE GlobalAddAtomA* (lpString: PtrSTR): ATOM; (*END GlobalAddAtomA;*) PROCEDURE GlobalAddAtomW* (lpString: PtrWSTR): ATOM; (*END GlobalAddAtomW;*) PROCEDURE GlobalAddAtom* ["GlobalAddAtomA"] (lpString: PtrSTR): ATOM; (*END GlobalAddAtom;*) PROCEDURE GlobalFindAtomA* (lpString: PtrSTR): ATOM; (*END GlobalFindAtomA;*) PROCEDURE GlobalFindAtomW* (lpString: PtrWSTR): ATOM; (*END GlobalFindAtomW;*) PROCEDURE GlobalFindAtom* ["GlobalFindAtomA"] (lpString: PtrSTR): ATOM; (*END GlobalFindAtom;*) PROCEDURE GlobalGetAtomNameA* (nAtom: ATOM; lpBuffer: PtrSTR; nSize: INTEGER): INTEGER; (*END GlobalGetAtomNameA;*) PROCEDURE GlobalGetAtomNameW* (nAtom: ATOM; lpBuffer: PtrWSTR; nSize: INTEGER): INTEGER; (*END GlobalGetAtomNameW;*) PROCEDURE GlobalGetAtomName* ["GlobalGetAtomNameA"] (nAtom: ATOM; lpBuffer: PtrSTR; nSize: INTEGER): INTEGER; (*END GlobalGetAtomName;*) PROCEDURE AddAtomA* (lpString: PtrSTR): ATOM; (*END AddAtomA;*) PROCEDURE AddAtomW* (lpString: PtrWSTR): ATOM; (*END AddAtomW;*) PROCEDURE AddAtom* ["AddAtomA"] (lpString: PtrSTR): ATOM; (*END AddAtom;*) PROCEDURE FindAtomA* (lpString: PtrSTR): ATOM; (*END FindAtomA;*) PROCEDURE FindAtomW* (lpString: PtrWSTR): ATOM; (*END FindAtomW;*) PROCEDURE FindAtom* ["FindAtomA"] (lpString: PtrSTR): ATOM; (*END FindAtom;*) PROCEDURE GetAtomNameA* (nAtom: ATOM; lpBuffer: PtrSTR; nSize: INTEGER): INTEGER; (*END GetAtomNameA;*) PROCEDURE GetAtomNameW* (nAtom: ATOM; lpBuffer: PtrWSTR; nSize: INTEGER): INTEGER; (*END GetAtomNameW;*) PROCEDURE GetAtomName* ["GetAtomNameA"] (nAtom: ATOM; lpBuffer: PtrSTR; nSize: INTEGER): INTEGER; (*END GetAtomName;*) PROCEDURE GetProfileIntA* (lpAppName: PtrSTR; lpKeyName: PtrSTR; nDefault: INTEGER): INTEGER; (*END GetProfileIntA;*) PROCEDURE GetProfileIntW* (lpAppName: PtrWSTR; lpKeyName: PtrWSTR; nDefault: INTEGER): INTEGER; (*END GetProfileIntW;*) PROCEDURE GetProfileInt* ["GetProfileIntA"] (lpAppName: PtrSTR; lpKeyName: PtrSTR; nDefault: INTEGER): INTEGER; (*END GetProfileInt;*) PROCEDURE GetProfileStringA* (lpAppName: PtrSTR; lpKeyName: PtrSTR; lpDefault: PtrSTR; lpReturnedString: PtrSTR; nSize: INTEGER): INTEGER; (*END GetProfileStringA;*) PROCEDURE GetProfileStringW* (lpAppName: PtrWSTR; lpKeyName: PtrWSTR; lpDefault: PtrWSTR; lpReturnedString: PtrWSTR; nSize: INTEGER): INTEGER; (*END GetProfileStringW;*) PROCEDURE GetProfileString* ["GetProfileStringA"] (lpAppName: PtrSTR; lpKeyName: PtrSTR; lpDefault: PtrSTR; lpReturnedString: PtrSTR; nSize: INTEGER): INTEGER; (*END GetProfileString;*) PROCEDURE WriteProfileStringA* (lpAppName: PtrSTR; lpKeyName: PtrSTR; lpString: PtrSTR): BOOL; (*END WriteProfileStringA;*) PROCEDURE WriteProfileStringW* (lpAppName: PtrWSTR; lpKeyName: PtrWSTR; lpString: PtrWSTR): BOOL; (*END WriteProfileStringW;*) PROCEDURE WriteProfileString* ["WriteProfileStringA"] (lpAppName: PtrSTR; lpKeyName: PtrSTR; lpString: PtrSTR): BOOL; (*END WriteProfileString;*) PROCEDURE GetProfileSectionA* (lpAppName: PtrSTR; lpReturnedString: PtrSTR; nSize: INTEGER): INTEGER; (*END GetProfileSectionA;*) PROCEDURE GetProfileSectionW* (lpAppName: PtrWSTR; lpReturnedString: PtrWSTR; nSize: INTEGER): INTEGER; (*END GetProfileSectionW;*) PROCEDURE GetProfileSection* ["GetProfileSectionA"] (lpAppName: PtrSTR; lpReturnedString: PtrSTR; nSize: INTEGER): INTEGER; (*END GetProfileSection;*) PROCEDURE WriteProfileSectionA* (lpAppName: PtrSTR; lpString: PtrSTR): BOOL; (*END WriteProfileSectionA;*) PROCEDURE WriteProfileSectionW* (lpAppName: PtrWSTR; lpString: PtrWSTR): BOOL; (*END WriteProfileSectionW;*) PROCEDURE WriteProfileSection* ["WriteProfileSectionA"] (lpAppName: PtrSTR; lpString: PtrSTR): BOOL; (*END WriteProfileSection;*) PROCEDURE GetPrivateProfileIntA* (lpAppName: PtrSTR; lpKeyName: PtrSTR; nDefault: INTEGER; lpFileName: PtrSTR): INTEGER; (*END GetPrivateProfileIntA;*) PROCEDURE GetPrivateProfileIntW* (lpAppName: PtrWSTR; lpKeyName: PtrWSTR; nDefault: INTEGER; lpFileName: PtrWSTR): INTEGER; (*END GetPrivateProfileIntW;*) PROCEDURE GetPrivateProfileInt* ["GetPrivateProfileIntA"] (lpAppName: PtrSTR; lpKeyName: PtrSTR; nDefault: INTEGER; lpFileName: PtrSTR): INTEGER; (*END GetPrivateProfileInt;*) PROCEDURE GetPrivateProfileStringA* (lpAppName: PtrSTR; lpKeyName: PtrSTR; lpDefault: PtrSTR; lpReturnedString: PtrSTR; nSize: INTEGER; lpFileName: PtrSTR): INTEGER; (*END GetPrivateProfileStringA;*) PROCEDURE GetPrivateProfileStringW* (lpAppName: PtrWSTR; lpKeyName: PtrWSTR; lpDefault: PtrWSTR; lpReturnedString: PtrWSTR; nSize: INTEGER; lpFileName: PtrWSTR): INTEGER; (*END GetPrivateProfileStringW;*) PROCEDURE GetPrivateProfileString* ["GetPrivateProfileStringA"] (lpAppName: PtrSTR; lpKeyName: PtrSTR; lpDefault: PtrSTR; lpReturnedString: PtrSTR; nSize: INTEGER; lpFileName: PtrSTR): INTEGER; (*END GetPrivateProfileString;*) PROCEDURE WritePrivateProfileStringA* (lpAppName: PtrSTR; lpKeyName: PtrSTR; lpString: PtrSTR; lpFileName: PtrSTR): BOOL; (*END WritePrivateProfileStringA;*) PROCEDURE WritePrivateProfileStringW* (lpAppName: PtrWSTR; lpKeyName: PtrWSTR; lpString: PtrWSTR; lpFileName: PtrWSTR): BOOL; (*END WritePrivateProfileStringW;*) PROCEDURE WritePrivateProfileString* ["WritePrivateProfileStringA"] (lpAppName: PtrSTR; lpKeyName: PtrSTR; lpString: PtrSTR; lpFileName: PtrSTR): BOOL; (*END WritePrivateProfileString;*) PROCEDURE GetPrivateProfileSectionA* (lpAppName: PtrSTR; lpReturnedString: PtrSTR; nSize: INTEGER; lpFileName: PtrSTR): INTEGER; (*END GetPrivateProfileSectionA;*) PROCEDURE GetPrivateProfileSectionW* (lpAppName: PtrWSTR; lpReturnedString: PtrWSTR; nSize: INTEGER; lpFileName: PtrWSTR): INTEGER; (*END GetPrivateProfileSectionW;*) PROCEDURE GetPrivateProfileSection* ["GetPrivateProfileSectionA"] (lpAppName: PtrSTR; lpReturnedString: PtrSTR; nSize: INTEGER; lpFileName: PtrSTR): INTEGER; (*END GetPrivateProfileSection;*) PROCEDURE WritePrivateProfileSectionA* (lpAppName: PtrSTR; lpString: PtrSTR; lpFileName: PtrSTR): BOOL; (*END WritePrivateProfileSectionA;*) PROCEDURE WritePrivateProfileSectionW* (lpAppName: PtrWSTR; lpString: PtrWSTR; lpFileName: PtrWSTR): BOOL; (*END WritePrivateProfileSectionW;*) PROCEDURE WritePrivateProfileSection* ["WritePrivateProfileSectionA"] (lpAppName: PtrSTR; lpString: PtrSTR; lpFileName: PtrSTR): BOOL; (*END WritePrivateProfileSection;*) PROCEDURE GetPrivateProfileSectionNamesA* (lpszReturnBuffer: PtrSTR; nSize: INTEGER; lpFileName: PtrSTR): INTEGER; (*END GetPrivateProfileSectionNamesA;*) PROCEDURE GetPrivateProfileSectionNamesW* (lpszReturnBuffer: PtrWSTR; nSize: INTEGER; lpFileName: PtrWSTR): INTEGER; (*END GetPrivateProfileSectionNamesW;*) PROCEDURE GetPrivateProfileSectionNames* ["GetPrivateProfileSectionNamesA"] (lpszReturnBuffer: PtrSTR; nSize: INTEGER; lpFileName: PtrSTR): INTEGER; (*END GetPrivateProfileSectionNames;*) PROCEDURE GetPrivateProfileStructA* (lpszSection: PtrSTR; lpszKey: PtrSTR; lpStruct: PtrVoid; uSizeStruct: INTEGER; szFile: PtrSTR): BOOL; (*END GetPrivateProfileStructA;*) PROCEDURE GetPrivateProfileStructW* (lpszSection: PtrWSTR; lpszKey: PtrWSTR; lpStruct: PtrVoid; uSizeStruct: INTEGER; szFile: PtrWSTR): BOOL; (*END GetPrivateProfileStructW;*) PROCEDURE GetPrivateProfileStruct* ["GetPrivateProfileStructA"] (lpszSection: PtrSTR; lpszKey: PtrSTR; lpStruct: PtrVoid; uSizeStruct: INTEGER; szFile: PtrSTR): BOOL; (*END GetPrivateProfileStruct;*) PROCEDURE WritePrivateProfileStructA* (lpszSection: PtrSTR; lpszKey: PtrSTR; lpStruct: PtrVoid; uSizeStruct: INTEGER; szFile: PtrSTR): BOOL; (*END WritePrivateProfileStructA;*) PROCEDURE WritePrivateProfileStructW* (lpszSection: PtrWSTR; lpszKey: PtrWSTR; lpStruct: PtrVoid; uSizeStruct: INTEGER; szFile: PtrWSTR): BOOL; (*END WritePrivateProfileStructW;*) PROCEDURE WritePrivateProfileStruct* ["WritePrivateProfileStructA"] (lpszSection: PtrSTR; lpszKey: PtrSTR; lpStruct: PtrVoid; uSizeStruct: INTEGER; szFile: PtrSTR): BOOL; (*END WritePrivateProfileStruct;*) PROCEDURE GetDriveTypeA* (lpRootPathName: PtrSTR): INTEGER; (*END GetDriveTypeA;*) PROCEDURE GetDriveTypeW* (lpRootPathName: PtrWSTR): INTEGER; (*END GetDriveTypeW;*) PROCEDURE GetDriveType* ["GetDriveTypeA"] (lpRootPathName: PtrSTR): INTEGER; (*END GetDriveType;*) PROCEDURE GetSystemDirectoryA* (lpBuffer: PtrSTR; uSize: INTEGER): INTEGER; (*END GetSystemDirectoryA;*) PROCEDURE GetSystemDirectoryW* (lpBuffer: PtrWSTR; uSize: INTEGER): INTEGER; (*END GetSystemDirectoryW;*) PROCEDURE GetSystemDirectory* ["GetSystemDirectoryA"] (lpBuffer: PtrSTR; uSize: INTEGER): INTEGER; (*END GetSystemDirectory;*) PROCEDURE GetTempPathA* (nBufferLength: INTEGER; lpBuffer: PtrSTR): INTEGER; (*END GetTempPathA;*) PROCEDURE GetTempPathW* (nBufferLength: INTEGER; lpBuffer: PtrWSTR): INTEGER; (*END GetTempPathW;*) PROCEDURE GetTempPath* ["GetTempPathA"] (nBufferLength: INTEGER; lpBuffer: PtrSTR): INTEGER; (*END GetTempPath;*) PROCEDURE GetTempFileNameA* (lpPathName: PtrSTR; lpPrefixString: PtrSTR; uUnique: INTEGER; lpTempFileName: PtrSTR): INTEGER; (*END GetTempFileNameA;*) PROCEDURE GetTempFileNameW* (lpPathName: PtrWSTR; lpPrefixString: PtrWSTR; uUnique: INTEGER; lpTempFileName: PtrWSTR): INTEGER; (*END GetTempFileNameW;*) PROCEDURE GetTempFileName* ["GetTempFileNameA"] (lpPathName: PtrSTR; lpPrefixString: PtrSTR; uUnique: INTEGER; lpTempFileName: PtrSTR): INTEGER; (*END GetTempFileName;*) PROCEDURE GetWindowsDirectoryA* (lpBuffer: PtrSTR; uSize: INTEGER): INTEGER; (*END GetWindowsDirectoryA;*) PROCEDURE GetWindowsDirectoryW* (lpBuffer: PtrWSTR; uSize: INTEGER): INTEGER; (*END GetWindowsDirectoryW;*) PROCEDURE GetWindowsDirectory* ["GetWindowsDirectoryA"] (lpBuffer: PtrSTR; uSize: INTEGER): INTEGER; (*END GetWindowsDirectory;*) PROCEDURE SetCurrentDirectoryA* (lpPathName: PtrSTR): BOOL; (*END SetCurrentDirectoryA;*) PROCEDURE SetCurrentDirectoryW* (lpPathName: PtrWSTR): BOOL; (*END SetCurrentDirectoryW;*) PROCEDURE SetCurrentDirectory* ["SetCurrentDirectoryA"] (lpPathName: PtrSTR): BOOL; (*END SetCurrentDirectory;*) PROCEDURE GetCurrentDirectoryA* (nBufferLength: INTEGER; lpBuffer: PtrSTR): INTEGER; (*END GetCurrentDirectoryA;*) PROCEDURE GetCurrentDirectoryW* (nBufferLength: INTEGER; lpBuffer: PtrWSTR): INTEGER; (*END GetCurrentDirectoryW;*) PROCEDURE GetCurrentDirectory* ["GetCurrentDirectoryA"] (nBufferLength: INTEGER; lpBuffer: PtrSTR): INTEGER; (*END GetCurrentDirectory;*) PROCEDURE GetDiskFreeSpaceA* (lpRootPathName: PtrSTR; VAR [nil] lpSectorsPerCluster: INTEGER; VAR [nil] lpBytesPerSector: INTEGER; VAR [nil] lpNumberOfFreeClusters: INTEGER; VAR [nil] lpTotalNumberOfClusters: INTEGER): BOOL; (*END GetDiskFreeSpaceA;*) PROCEDURE GetDiskFreeSpaceW* (lpRootPathName: PtrWSTR; VAR [nil] lpSectorsPerCluster: INTEGER; VAR [nil] lpBytesPerSector: INTEGER; VAR [nil] lpNumberOfFreeClusters: INTEGER; VAR [nil] lpTotalNumberOfClusters: INTEGER): BOOL; (*END GetDiskFreeSpaceW;*) PROCEDURE GetDiskFreeSpace* ["GetDiskFreeSpaceA"] (lpRootPathName: PtrSTR; VAR [nil] lpSectorsPerCluster: INTEGER; VAR [nil] lpBytesPerSector: INTEGER; VAR [nil] lpNumberOfFreeClusters: INTEGER; VAR [nil] lpTotalNumberOfClusters: INTEGER): BOOL; (*END GetDiskFreeSpace;*) PROCEDURE CreateDirectoryA* (lpPathName: PtrSTR; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): BOOL; (*END CreateDirectoryA;*) PROCEDURE CreateDirectoryW* (lpPathName: PtrWSTR; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): BOOL; (*END CreateDirectoryW;*) PROCEDURE CreateDirectory* ["CreateDirectoryA"] (lpPathName: PtrSTR; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): BOOL; (*END CreateDirectory;*) PROCEDURE CreateDirectoryExA* (lpTemplateDirectory: PtrSTR; lpNewDirectory: PtrSTR; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): BOOL; (*END CreateDirectoryExA;*) PROCEDURE CreateDirectoryExW* (lpTemplateDirectory: PtrWSTR; lpNewDirectory: PtrWSTR; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): BOOL; (*END CreateDirectoryExW;*) PROCEDURE CreateDirectoryEx* ["CreateDirectoryExA"] (lpTemplateDirectory: PtrSTR; lpNewDirectory: PtrSTR; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): BOOL; (*END CreateDirectoryEx;*) PROCEDURE RemoveDirectoryA* (lpPathName: PtrSTR): BOOL; (*END RemoveDirectoryA;*) PROCEDURE RemoveDirectoryW* (lpPathName: PtrWSTR): BOOL; (*END RemoveDirectoryW;*) PROCEDURE RemoveDirectory* ["RemoveDirectoryA"] (lpPathName: PtrSTR): BOOL; (*END RemoveDirectory;*) PROCEDURE GetFullPathNameA* (lpFileName: PtrSTR; nBufferLength: INTEGER; lpBuffer: PtrSTR; VAR [nil] lpFilePart: PtrSTR): INTEGER; (*END GetFullPathNameA;*) PROCEDURE GetFullPathNameW* (lpFileName: PtrWSTR; nBufferLength: INTEGER; lpBuffer: PtrWSTR; VAR [nil] lpFilePart: PtrWSTR): INTEGER; (*END GetFullPathNameW;*) PROCEDURE GetFullPathName* ["GetFullPathNameA"] (lpFileName: PtrSTR; nBufferLength: INTEGER; lpBuffer: PtrSTR; VAR [nil] lpFilePart: PtrSTR): INTEGER; (*END GetFullPathName;*) PROCEDURE DefineDosDeviceA* (dwFlags: SET; lpDeviceName: PtrSTR; lpTargetPath: PtrSTR): BOOL; (*END DefineDosDeviceA;*) PROCEDURE DefineDosDeviceW* (dwFlags: SET; lpDeviceName: PtrWSTR; lpTargetPath: PtrWSTR): BOOL; (*END DefineDosDeviceW;*) PROCEDURE DefineDosDevice* ["DefineDosDeviceA"] (dwFlags: SET; lpDeviceName: PtrSTR; lpTargetPath: PtrSTR): BOOL; (*END DefineDosDevice;*) PROCEDURE QueryDosDeviceA* (lpDeviceName: PtrSTR; lpTargetPath: PtrSTR; ucchMax: INTEGER): INTEGER; (*END QueryDosDeviceA;*) PROCEDURE QueryDosDeviceW* (lpDeviceName: PtrWSTR; lpTargetPath: PtrWSTR; ucchMax: INTEGER): INTEGER; (*END QueryDosDeviceW;*) PROCEDURE QueryDosDevice* ["QueryDosDeviceA"] (lpDeviceName: PtrSTR; lpTargetPath: PtrSTR; ucchMax: INTEGER): INTEGER; (*END QueryDosDevice;*) PROCEDURE CreateFileA* (lpFileName: PtrSTR; dwDesiredAccess: SET; dwShareMode: SET; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES; dwCreationDisposition: INTEGER; dwFlagsAndAttributes: SET; hTemplateFile: HANDLE): HANDLE; (*END CreateFileA;*) PROCEDURE CreateFileW* (lpFileName: PtrWSTR; dwDesiredAccess: SET; dwShareMode: SET; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES; dwCreationDisposition: INTEGER; dwFlagsAndAttributes: SET; hTemplateFile: HANDLE): HANDLE; (*END CreateFileW;*) PROCEDURE CreateFile* ["CreateFileA"] (lpFileName: PtrSTR; dwDesiredAccess: SET; dwShareMode: SET; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES; dwCreationDisposition: INTEGER; dwFlagsAndAttributes: SET; hTemplateFile: HANDLE): HANDLE; (*END CreateFile;*) PROCEDURE SetFileAttributesA* (lpFileName: PtrSTR; dwFileAttributes: SET): BOOL; (*END SetFileAttributesA;*) PROCEDURE SetFileAttributesW* (lpFileName: PtrWSTR; dwFileAttributes: SET): BOOL; (*END SetFileAttributesW;*) PROCEDURE SetFileAttributes* ["SetFileAttributesA"] (lpFileName: PtrSTR; dwFileAttributes: SET): BOOL; (*END SetFileAttributes;*) PROCEDURE GetFileAttributesA* (lpFileName: PtrSTR): INTEGER; (*END GetFileAttributesA;*) PROCEDURE GetFileAttributesW* (lpFileName: PtrWSTR): INTEGER; (*END GetFileAttributesW;*) PROCEDURE GetFileAttributes* ["GetFileAttributesA"] (lpFileName: PtrSTR): INTEGER; (*END GetFileAttributes;*) PROCEDURE GetCompressedFileSizeA* (lpFileName: PtrSTR; VAR [nil] lpFileSizeHigh: INTEGER): INTEGER; (*END GetCompressedFileSizeA;*) PROCEDURE GetCompressedFileSizeW* (lpFileName: PtrWSTR; VAR [nil] lpFileSizeHigh: INTEGER): INTEGER; (*END GetCompressedFileSizeW;*) PROCEDURE GetCompressedFileSize* ["GetCompressedFileSizeA"] (lpFileName: PtrSTR; VAR [nil] lpFileSizeHigh: INTEGER): INTEGER; (*END GetCompressedFileSize;*) PROCEDURE DeleteFileA* (lpFileName: PtrSTR): BOOL; (*END DeleteFileA;*) PROCEDURE DeleteFileW* (lpFileName: PtrWSTR): BOOL; (*END DeleteFileW;*) PROCEDURE DeleteFile* ["DeleteFileA"] (lpFileName: PtrSTR): BOOL; (*END DeleteFile;*) PROCEDURE FindFirstFileExA* (lpFileName: PtrSTR; fInfoLevelId: FINDEX_INFO_LEVELS; lpFindFileData: PtrVoid; fSearchOp: FINDEX_SEARCH_OPS; lpSearchFilter: PtrVoid; dwAdditionalFlags: INTEGER): HANDLE; (*END FindFirstFileExA;*) PROCEDURE FindFirstFileExW* (lpFileName: PtrWSTR; fInfoLevelId: FINDEX_INFO_LEVELS; lpFindFileData: PtrVoid; fSearchOp: FINDEX_SEARCH_OPS; lpSearchFilter: PtrVoid; dwAdditionalFlags: INTEGER): HANDLE; (*END FindFirstFileExW;*) PROCEDURE FindFirstFileEx* ["FindFirstFileExA"] (lpFileName: PtrSTR; fInfoLevelId: FINDEX_INFO_LEVELS; lpFindFileData: PtrVoid; fSearchOp: FINDEX_SEARCH_OPS; lpSearchFilter: PtrVoid; dwAdditionalFlags: INTEGER): HANDLE; (*END FindFirstFileEx;*) PROCEDURE FindFirstFileA* (lpFileName: PtrSTR; VAR [nil] lpFindFileData: WIN32_FIND_DATAA): HANDLE; (*END FindFirstFileA;*) PROCEDURE FindFirstFileW* (lpFileName: PtrWSTR; VAR [nil] lpFindFileData: WIN32_FIND_DATAW): HANDLE; (*END FindFirstFileW;*) PROCEDURE FindFirstFile* ["FindFirstFileA"] (lpFileName: PtrSTR; VAR [nil] lpFindFileData: WIN32_FIND_DATAA): HANDLE; (*END FindFirstFile;*) PROCEDURE FindNextFileA* (hFindFile: HANDLE; VAR [nil] lpFindFileData: WIN32_FIND_DATAA): BOOL; (*END FindNextFileA;*) PROCEDURE FindNextFileW* (hFindFile: HANDLE; VAR [nil] lpFindFileData: WIN32_FIND_DATAW): BOOL; (*END FindNextFileW;*) PROCEDURE FindNextFile* ["FindNextFileA"] (hFindFile: HANDLE; VAR [nil] lpFindFileData: WIN32_FIND_DATAA): BOOL; (*END FindNextFile;*) PROCEDURE SearchPathA* (lpPath: PtrSTR; lpFileName: PtrSTR; lpExtension: PtrSTR; nBufferLength: INTEGER; lpBuffer: PtrSTR; VAR [nil] lpFilePart: PtrSTR): INTEGER; (*END SearchPathA;*) PROCEDURE SearchPathW* (lpPath: PtrWSTR; lpFileName: PtrWSTR; lpExtension: PtrWSTR; nBufferLength: INTEGER; lpBuffer: PtrWSTR; VAR [nil] lpFilePart: PtrWSTR): INTEGER; (*END SearchPathW;*) PROCEDURE SearchPath* ["SearchPathA"] (lpPath: PtrSTR; lpFileName: PtrSTR; lpExtension: PtrSTR; nBufferLength: INTEGER; lpBuffer: PtrSTR; lpFilePart: POINTER TO (*?*) ARRAY [untagged] OF PtrSTR): INTEGER; (*END SearchPath;*) PROCEDURE CopyFileA* (lpExistingFileName: PtrSTR; lpNewFileName: PtrSTR; bFailIfExists: BOOL): BOOL; (*END CopyFileA;*) PROCEDURE CopyFileW* (lpExistingFileName: PtrWSTR; lpNewFileName: PtrWSTR; bFailIfExists: BOOL): BOOL; (*END CopyFileW;*) PROCEDURE CopyFile* ["CopyFileA"] (lpExistingFileName: PtrSTR; lpNewFileName: PtrSTR; bFailIfExists: BOOL): BOOL; (*END CopyFile;*) PROCEDURE CopyFileExA* (lpExistingFileName: PtrSTR; lpNewFileName: PtrSTR; lpProgressRoutine: PROGRESS_ROUTINE; lpData: PtrVoid; VAR [nil] pbCancel: BOOL; dwCopyFlags: INTEGER): BOOL; (*END CopyFileExA;*) PROCEDURE CopyFileExW* (lpExistingFileName: PtrWSTR; lpNewFileName: PtrWSTR; lpProgressRoutine: PROGRESS_ROUTINE; lpData: PtrVoid; VAR [nil] pbCancel: BOOL; dwCopyFlags: INTEGER): BOOL; (*END CopyFileExW;*) PROCEDURE CopyFileEx* ["CopyFileExA"] (lpExistingFileName: PtrSTR; lpNewFileName: PtrSTR; lpProgressRoutine: PROGRESS_ROUTINE; lpData: PtrVoid; VAR [nil] pbCancel: BOOL; dwCopyFlags: INTEGER): BOOL; (*END CopyFileEx;*) PROCEDURE MoveFileA* (lpExistingFileName: PtrSTR; lpNewFileName: PtrSTR): BOOL; (*END MoveFileA;*) PROCEDURE MoveFileW* (lpExistingFileName: PtrWSTR; lpNewFileName: PtrWSTR): BOOL; (*END MoveFileW;*) PROCEDURE MoveFile* ["MoveFileA"] (lpExistingFileName: PtrSTR; lpNewFileName: PtrSTR): BOOL; (*END MoveFile;*) PROCEDURE MoveFileExA* (lpExistingFileName: PtrSTR; lpNewFileName: PtrSTR; dwFlags: SET): BOOL; (*END MoveFileExA;*) PROCEDURE MoveFileExW* (lpExistingFileName: PtrWSTR; lpNewFileName: PtrWSTR; dwFlags: SET): BOOL; (*END MoveFileExW;*) PROCEDURE MoveFileEx* ["MoveFileExA"] (lpExistingFileName: PtrSTR; lpNewFileName: PtrSTR; dwFlags: SET): BOOL; (*END MoveFileEx;*) PROCEDURE CreateNamedPipeA* (lpName: PtrSTR; dwOpenMode: INTEGER; dwPipeMode: INTEGER; nMaxInstances: INTEGER; nOutBufferSize: INTEGER; nInBufferSize: INTEGER; nDefaultTimeOut: INTEGER; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): HANDLE; (*END CreateNamedPipeA;*) PROCEDURE CreateNamedPipeW* (lpName: PtrWSTR; dwOpenMode: INTEGER; dwPipeMode: INTEGER; nMaxInstances: INTEGER; nOutBufferSize: INTEGER; nInBufferSize: INTEGER; nDefaultTimeOut: INTEGER; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): HANDLE; (*END CreateNamedPipeW;*) PROCEDURE CreateNamedPipe* ["CreateNamedPipeA"] (lpName: PtrSTR; dwOpenMode: INTEGER; dwPipeMode: INTEGER; nMaxInstances: INTEGER; nOutBufferSize: INTEGER; nInBufferSize: INTEGER; nDefaultTimeOut: INTEGER; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): HANDLE; (*END CreateNamedPipe;*) PROCEDURE GetNamedPipeHandleStateA* (hNamedPipe: HANDLE; VAR [nil] lpState: INTEGER; VAR [nil] lpCurInstances: INTEGER; VAR [nil] lpMaxCollectionCount: INTEGER; VAR [nil] lpCollectDataTimeout: INTEGER; lpUserName: PtrSTR; nMaxUserNameSize: INTEGER): BOOL; (*END GetNamedPipeHandleStateA;*) PROCEDURE GetNamedPipeHandleStateW* (hNamedPipe: HANDLE; VAR [nil] lpState: INTEGER; VAR [nil] lpCurInstances: INTEGER; VAR [nil] lpMaxCollectionCount: INTEGER; VAR [nil] lpCollectDataTimeout: INTEGER; lpUserName: PtrWSTR; nMaxUserNameSize: INTEGER): BOOL; (*END GetNamedPipeHandleStateW;*) PROCEDURE GetNamedPipeHandleState* ["GetNamedPipeHandleStateA"] (hNamedPipe: HANDLE; VAR [nil] lpState: INTEGER; VAR [nil] lpCurInstances: INTEGER; VAR [nil] lpMaxCollectionCount: INTEGER; VAR [nil] lpCollectDataTimeout: INTEGER; lpUserName: PtrSTR; nMaxUserNameSize: INTEGER): BOOL; (*END GetNamedPipeHandleState;*) PROCEDURE CallNamedPipeA* (lpNamedPipeName: PtrSTR; lpInBuffer: PtrVoid; nInBufferSize: INTEGER; lpOutBuffer: PtrVoid; nOutBufferSize: INTEGER; VAR [nil] lpBytesRead: INTEGER; nTimeOut: INTEGER): BOOL; (*END CallNamedPipeA;*) PROCEDURE CallNamedPipeW* (lpNamedPipeName: PtrWSTR; lpInBuffer: PtrVoid; nInBufferSize: INTEGER; lpOutBuffer: PtrVoid; nOutBufferSize: INTEGER; VAR [nil] lpBytesRead: INTEGER; nTimeOut: INTEGER): BOOL; (*END CallNamedPipeW;*) PROCEDURE CallNamedPipe* ["CallNamedPipeA"] (lpNamedPipeName: PtrSTR; lpInBuffer: PtrVoid; nInBufferSize: INTEGER; lpOutBuffer: PtrVoid; nOutBufferSize: INTEGER; VAR [nil] lpBytesRead: INTEGER; nTimeOut: INTEGER): BOOL; (*END CallNamedPipe;*) PROCEDURE WaitNamedPipeA* (lpNamedPipeName: PtrSTR; nTimeOut: INTEGER): BOOL; (*END WaitNamedPipeA;*) PROCEDURE WaitNamedPipeW* (lpNamedPipeName: PtrWSTR; nTimeOut: INTEGER): BOOL; (*END WaitNamedPipeW;*) PROCEDURE WaitNamedPipe* ["WaitNamedPipeA"] (lpNamedPipeName: PtrSTR; nTimeOut: INTEGER): BOOL; (*END WaitNamedPipe;*) PROCEDURE SetVolumeLabelA* (lpRootPathName: PtrSTR; lpVolumeName: PtrSTR): BOOL; (*END SetVolumeLabelA;*) PROCEDURE SetVolumeLabelW* (lpRootPathName: PtrWSTR; lpVolumeName: PtrWSTR): BOOL; (*END SetVolumeLabelW;*) PROCEDURE SetVolumeLabel* ["SetVolumeLabelA"] (lpRootPathName: PtrSTR; lpVolumeName: PtrSTR): BOOL; (*END SetVolumeLabel;*) PROCEDURE SetFileApisToOEM* (); (*END SetFileApisToOEM;*) PROCEDURE SetFileApisToANSI* (); (*END SetFileApisToANSI;*) PROCEDURE AreFileApisANSI* (): BOOL; (*END AreFileApisANSI;*) PROCEDURE GetVolumeInformationA* (lpRootPathName: PtrSTR; lpVolumeNameBuffer: PtrSTR; nVolumeNameSize: INTEGER; VAR [nil] lpVolumeSerialNumber: INTEGER; VAR [nil] lpMaximumComponentLength: INTEGER; VAR [nil] lpFileSystemFlags: SET; lpFileSystemNameBuffer: PtrSTR; nFileSystemNameSize: INTEGER): BOOL; (*END GetVolumeInformationA;*) PROCEDURE GetVolumeInformationW* (lpRootPathName: PtrWSTR; lpVolumeNameBuffer: PtrWSTR; nVolumeNameSize: INTEGER; VAR [nil] lpVolumeSerialNumber: INTEGER; VAR [nil] lpMaximumComponentLength: INTEGER; VAR [nil] lpFileSystemFlags: SET; lpFileSystemNameBuffer: PtrWSTR; nFileSystemNameSize: INTEGER): BOOL; (*END GetVolumeInformationW;*) PROCEDURE GetVolumeInformation* ["GetVolumeInformationA"] (lpRootPathName: PtrSTR; lpVolumeNameBuffer: PtrSTR; nVolumeNameSize: INTEGER; VAR [nil] lpVolumeSerialNumber: INTEGER; VAR [nil] lpMaximumComponentLength: INTEGER; VAR [nil] lpFileSystemFlags: SET; lpFileSystemNameBuffer: PtrSTR; nFileSystemNameSize: INTEGER): BOOL; (*END GetVolumeInformation;*) PROCEDURE ClearEventLogA* ["ADVAPI32.dll", ""] (hEventLog: HANDLE; lpBackupFileName: PtrSTR): BOOL; (*END ClearEventLogA;*) PROCEDURE ClearEventLogW* ["ADVAPI32.dll", ""] (hEventLog: HANDLE; lpBackupFileName: PtrWSTR): BOOL; (*END ClearEventLogW;*) PROCEDURE ClearEventLog* ["ADVAPI32.dll", "ClearEventLogA"] (hEventLog: HANDLE; lpBackupFileName: PtrSTR): BOOL; (*END ClearEventLog;*) PROCEDURE BackupEventLogA* ["ADVAPI32.dll", ""] (hEventLog: HANDLE; lpBackupFileName: PtrSTR): BOOL; (*END BackupEventLogA;*) PROCEDURE BackupEventLogW* ["ADVAPI32.dll", ""] (hEventLog: HANDLE; lpBackupFileName: PtrWSTR): BOOL; (*END BackupEventLogW;*) PROCEDURE BackupEventLog* ["ADVAPI32.dll", "BackupEventLogA"] (hEventLog: HANDLE; lpBackupFileName: PtrSTR): BOOL; (*END BackupEventLog;*) PROCEDURE CloseEventLog* ["ADVAPI32.dll", ""] (hEventLog: HANDLE): BOOL; (*END CloseEventLog;*) PROCEDURE DeregisterEventSource* ["ADVAPI32.dll", ""] (hEventLog: HANDLE): BOOL; (*END DeregisterEventSource;*) PROCEDURE NotifyChangeEventLog* ["ADVAPI32.dll", ""] (hEventLog: HANDLE; hEvent: HANDLE): BOOL; (*END NotifyChangeEventLog;*) PROCEDURE GetNumberOfEventLogRecords* ["ADVAPI32.dll", ""] (hEventLog: HANDLE; VAR [nil] NumberOfRecords: INTEGER): BOOL; (*END GetNumberOfEventLogRecords;*) PROCEDURE GetOldestEventLogRecord* ["ADVAPI32.dll", ""] (hEventLog: HANDLE; VAR [nil] OldestRecord: INTEGER): BOOL; (*END GetOldestEventLogRecord;*) PROCEDURE OpenEventLogA* ["ADVAPI32.dll", ""] (lpUNCServerName: PtrSTR; lpSourceName: PtrSTR): HANDLE; (*END OpenEventLogA;*) PROCEDURE OpenEventLogW* ["ADVAPI32.dll", ""] (lpUNCServerName: PtrWSTR; lpSourceName: PtrWSTR): HANDLE; (*END OpenEventLogW;*) PROCEDURE OpenEventLog* ["ADVAPI32.dll", "OpenEventLogA"] (lpUNCServerName: PtrSTR; lpSourceName: PtrSTR): HANDLE; (*END OpenEventLog;*) PROCEDURE RegisterEventSourceA* ["ADVAPI32.dll", ""] (lpUNCServerName: PtrSTR; lpSourceName: PtrSTR): HANDLE; (*END RegisterEventSourceA;*) PROCEDURE RegisterEventSourceW* ["ADVAPI32.dll", ""] (lpUNCServerName: PtrWSTR; lpSourceName: PtrWSTR): HANDLE; (*END RegisterEventSourceW;*) PROCEDURE RegisterEventSource* ["ADVAPI32.dll", "RegisterEventSourceA"] (lpUNCServerName: PtrSTR; lpSourceName: PtrSTR): HANDLE; (*END RegisterEventSource;*) PROCEDURE OpenBackupEventLogA* ["ADVAPI32.dll", ""] (lpUNCServerName: PtrSTR; lpFileName: PtrSTR): HANDLE; (*END OpenBackupEventLogA;*) PROCEDURE OpenBackupEventLogW* ["ADVAPI32.dll", ""] (lpUNCServerName: PtrWSTR; lpFileName: PtrWSTR): HANDLE; (*END OpenBackupEventLogW;*) PROCEDURE OpenBackupEventLog* ["ADVAPI32.dll", "OpenBackupEventLogA"] (lpUNCServerName: PtrSTR; lpFileName: PtrSTR): HANDLE; (*END OpenBackupEventLog;*) PROCEDURE ReadEventLogA* ["ADVAPI32.dll", ""] (hEventLog: HANDLE; dwReadFlags: SET; dwRecordOffset: INTEGER; lpBuffer: PtrVoid; nNumberOfBytesToRead: INTEGER; VAR [nil] pnBytesRead: INTEGER; VAR [nil] pnMinNumberOfBytesNeeded: INTEGER): BOOL; (*END ReadEventLogA;*) PROCEDURE ReadEventLogW* ["ADVAPI32.dll", ""] (hEventLog: HANDLE; dwReadFlags: SET; dwRecordOffset: INTEGER; lpBuffer: PtrVoid; nNumberOfBytesToRead: INTEGER; VAR [nil] pnBytesRead: INTEGER; VAR [nil] pnMinNumberOfBytesNeeded: INTEGER): BOOL; (*END ReadEventLogW;*) PROCEDURE ReadEventLog* ["ADVAPI32.dll", "ReadEventLogA"] (hEventLog: HANDLE; dwReadFlags: SET; dwRecordOffset: INTEGER; lpBuffer: PtrVoid; nNumberOfBytesToRead: INTEGER; VAR [nil] pnBytesRead: INTEGER; VAR [nil] pnMinNumberOfBytesNeeded: INTEGER): BOOL; (*END ReadEventLog;*) PROCEDURE ReportEventA* ["ADVAPI32.dll", ""] (hEventLog: HANDLE; wType: SHORTINT; wCategory: SHORTINT; dwEventID: INTEGER; lpUserSid: PSID; wNumStrings: SHORTINT; dwDataSize: INTEGER; VAR [nil] lpStrings: PtrSTR; lpRawData: PtrVoid): BOOL; (*END ReportEventA;*) PROCEDURE ReportEventW* ["ADVAPI32.dll", ""] (hEventLog: HANDLE; wType: SHORTINT; wCategory: SHORTINT; dwEventID: INTEGER; lpUserSid: PSID; wNumStrings: SHORTINT; dwDataSize: INTEGER; lpStrings: POINTER TO (*?*) ARRAY [untagged] OF PtrWSTR; lpRawData: PtrVoid): BOOL; (*END ReportEventW;*) PROCEDURE ReportEvent* ["ADVAPI32.dll", "ReportEventA"] (hEventLog: HANDLE; wType: SHORTINT; wCategory: SHORTINT; dwEventID: INTEGER; lpUserSid: PSID; wNumStrings: SHORTINT; dwDataSize: INTEGER; VAR [nil] lpStrings: PtrSTR; lpRawData: PtrVoid): BOOL; (*END ReportEvent;*) PROCEDURE DuplicateToken* ["ADVAPI32.dll", ""] (ExistingTokenHandle: HANDLE; ImpersonationLevel: SECURITY_IMPERSONATION_LEVEL; VAR [nil] DuplicateTokenHandle: HANDLE): BOOL; (*END DuplicateToken;*) PROCEDURE GetKernelObjectSecurity* ["ADVAPI32.dll", ""] (Handle: HANDLE; RequestedInformation: SECURITY_INFORMATION; pSecurityDescriptor: PSECURITY_DESCRIPTOR; nLength: INTEGER; VAR [nil] lpnLengthNeeded: INTEGER): BOOL; (*END GetKernelObjectSecurity;*) PROCEDURE ImpersonateNamedPipeClient* ["ADVAPI32.dll", ""] (hNamedPipe: HANDLE): BOOL; (*END ImpersonateNamedPipeClient;*) PROCEDURE ImpersonateSelf* ["ADVAPI32.dll", ""] (ImpersonationLevel: SECURITY_IMPERSONATION_LEVEL): BOOL; (*END ImpersonateSelf;*) PROCEDURE RevertToSelf* ["ADVAPI32.dll", ""] (): BOOL; (*END RevertToSelf;*) PROCEDURE SetThreadToken* ["ADVAPI32.dll", ""] (VAR [nil] Thread: HANDLE; Token: HANDLE): BOOL; (*END SetThreadToken;*) PROCEDURE AccessCheck* ["ADVAPI32.dll", ""] (pSecurityDescriptor: PSECURITY_DESCRIPTOR; ClientToken: HANDLE; DesiredAccess: SET; VAR [nil] GenericMapping: GENERIC_MAPPING; VAR [nil] PrivilegeSet: PRIVILEGE_SET; VAR [nil] PrivilegeSetLength: INTEGER; VAR [nil] GrantedAccess: INTEGER; VAR [nil] AccessStatus: BOOL): BOOL; (*END AccessCheck;*) PROCEDURE OpenProcessToken* ["ADVAPI32.dll", ""] (ProcessHandle: HANDLE; DesiredAccess: SET; VAR [nil] TokenHandle: HANDLE): BOOL; (*END OpenProcessToken;*) PROCEDURE OpenThreadToken* ["ADVAPI32.dll", ""] (ThreadHandle: HANDLE; DesiredAccess: SET; OpenAsSelf: BOOL; VAR [nil] TokenHandle: HANDLE): BOOL; (*END OpenThreadToken;*) PROCEDURE GetTokenInformation* ["ADVAPI32.dll", ""] (TokenHandle: HANDLE; TokenInformationClass: TOKEN_INFORMATION_CLASS; TokenInformation: PtrVoid; TokenInformationLength: INTEGER; VAR [nil] ReturnLength: INTEGER): BOOL; (*END GetTokenInformation;*) PROCEDURE SetTokenInformation* ["ADVAPI32.dll", ""] (TokenHandle: HANDLE; TokenInformationClass: TOKEN_INFORMATION_CLASS; TokenInformation: PtrVoid; TokenInformationLength: INTEGER): BOOL; (*END SetTokenInformation;*) PROCEDURE AdjustTokenPrivileges* ["ADVAPI32.dll", ""] (TokenHandle: HANDLE; DisableAllPrivileges: BOOL; VAR [nil] NewState: TOKEN_PRIVILEGES; BufferLength: INTEGER; VAR [nil] PreviousState: TOKEN_PRIVILEGES; VAR [nil] ReturnLength: INTEGER): BOOL; (*END AdjustTokenPrivileges;*) PROCEDURE AdjustTokenGroups* ["ADVAPI32.dll", ""] (TokenHandle: HANDLE; ResetToDefault: BOOL; VAR [nil] NewState: TOKEN_GROUPS; BufferLength: INTEGER; VAR [nil] PreviousState: TOKEN_GROUPS; VAR [nil] ReturnLength: INTEGER): BOOL; (*END AdjustTokenGroups;*) PROCEDURE PrivilegeCheck* ["ADVAPI32.dll", ""] (ClientToken: HANDLE; VAR [nil] RequiredPrivileges: PRIVILEGE_SET; VAR [nil] pfResult: BOOL): BOOL; (*END PrivilegeCheck;*) PROCEDURE AccessCheckAndAuditAlarmA* ["ADVAPI32.dll", ""] (SubsystemName: PtrSTR; HandleId: PtrVoid; ObjectTypeName: PtrSTR; ObjectName: PtrSTR; SecurityDescriptor: PSECURITY_DESCRIPTOR; DesiredAccess: SET; VAR [nil] GenericMapping: GENERIC_MAPPING; ObjectCreation: BOOL; VAR [nil] GrantedAccess: INTEGER; VAR [nil] AccessStatus: BOOL; VAR [nil] pfGenerateOnClose: BOOL): BOOL; (*END AccessCheckAndAuditAlarmA;*) PROCEDURE AccessCheckAndAuditAlarmW* ["ADVAPI32.dll", ""] (SubsystemName: PtrWSTR; HandleId: PtrVoid; ObjectTypeName: PtrWSTR; ObjectName: PtrWSTR; SecurityDescriptor: PSECURITY_DESCRIPTOR; DesiredAccess: SET; VAR [nil] GenericMapping: GENERIC_MAPPING; ObjectCreation: BOOL; VAR [nil] GrantedAccess: INTEGER; VAR [nil] AccessStatus: BOOL; VAR [nil] pfGenerateOnClose: BOOL): BOOL; (*END AccessCheckAndAuditAlarmW;*) PROCEDURE AccessCheckAndAuditAlarm* ["ADVAPI32.dll", "AccessCheckAndAuditAlarmA"] (SubsystemName: PtrSTR; HandleId: PtrVoid; ObjectTypeName: PtrSTR; ObjectName: PtrSTR; SecurityDescriptor: PSECURITY_DESCRIPTOR; DesiredAccess: SET; VAR [nil] GenericMapping: GENERIC_MAPPING; ObjectCreation: BOOL; VAR [nil] GrantedAccess: INTEGER; VAR [nil] AccessStatus: BOOL; VAR [nil] pfGenerateOnClose: BOOL): BOOL; (*END AccessCheckAndAuditAlarm;*) PROCEDURE ObjectOpenAuditAlarmA* ["ADVAPI32.dll", ""] (SubsystemName: PtrSTR; HandleId: PtrVoid; ObjectTypeName: PtrSTR; ObjectName: PtrSTR; pSecurityDescriptor: PSECURITY_DESCRIPTOR; ClientToken: HANDLE; DesiredAccess: SET; GrantedAccess: INTEGER; VAR [nil] Privileges: PRIVILEGE_SET; ObjectCreation: BOOL; AccessGranted: BOOL; VAR [nil] GenerateOnClose: BOOL): BOOL; (*END ObjectOpenAuditAlarmA;*) PROCEDURE ObjectOpenAuditAlarmW* ["ADVAPI32.dll", ""] (SubsystemName: PtrWSTR; HandleId: PtrVoid; ObjectTypeName: PtrWSTR; ObjectName: PtrWSTR; pSecurityDescriptor: PSECURITY_DESCRIPTOR; ClientToken: HANDLE; DesiredAccess: SET; GrantedAccess: INTEGER; VAR [nil] Privileges: PRIVILEGE_SET; ObjectCreation: BOOL; AccessGranted: BOOL; VAR [nil] GenerateOnClose: BOOL): BOOL; (*END ObjectOpenAuditAlarmW;*) PROCEDURE ObjectOpenAuditAlarm* ["ADVAPI32.dll", "ObjectOpenAuditAlarmA"] (SubsystemName: PtrSTR; HandleId: PtrVoid; ObjectTypeName: PtrSTR; ObjectName: PtrSTR; pSecurityDescriptor: PSECURITY_DESCRIPTOR; ClientToken: HANDLE; DesiredAccess: SET; GrantedAccess: INTEGER; VAR [nil] Privileges: PRIVILEGE_SET; ObjectCreation: BOOL; AccessGranted: BOOL; VAR [nil] GenerateOnClose: BOOL): BOOL; (*END ObjectOpenAuditAlarm;*) PROCEDURE ObjectPrivilegeAuditAlarmA* ["ADVAPI32.dll", ""] (SubsystemName: PtrSTR; HandleId: PtrVoid; ClientToken: HANDLE; DesiredAccess: SET; VAR [nil] Privileges: PRIVILEGE_SET; AccessGranted: BOOL): BOOL; (*END ObjectPrivilegeAuditAlarmA;*) PROCEDURE ObjectPrivilegeAuditAlarmW* ["ADVAPI32.dll", ""] (SubsystemName: PtrWSTR; HandleId: PtrVoid; ClientToken: HANDLE; DesiredAccess: SET; VAR [nil] Privileges: PRIVILEGE_SET; AccessGranted: BOOL): BOOL; (*END ObjectPrivilegeAuditAlarmW;*) PROCEDURE ObjectPrivilegeAuditAlarm* ["ADVAPI32.dll", "ObjectPrivilegeAuditAlarmA"] (SubsystemName: PtrSTR; HandleId: PtrVoid; ClientToken: HANDLE; DesiredAccess: SET; VAR [nil] Privileges: PRIVILEGE_SET; AccessGranted: BOOL): BOOL; (*END ObjectPrivilegeAuditAlarm;*) PROCEDURE ObjectCloseAuditAlarmA* ["ADVAPI32.dll", ""] (SubsystemName: PtrSTR; HandleId: PtrVoid; GenerateOnClose: BOOL): BOOL; (*END ObjectCloseAuditAlarmA;*) PROCEDURE ObjectCloseAuditAlarmW* ["ADVAPI32.dll", ""] (SubsystemName: PtrWSTR; HandleId: PtrVoid; GenerateOnClose: BOOL): BOOL; (*END ObjectCloseAuditAlarmW;*) PROCEDURE ObjectCloseAuditAlarm* ["ADVAPI32.dll", "ObjectCloseAuditAlarmA"] (SubsystemName: PtrSTR; HandleId: PtrVoid; GenerateOnClose: BOOL): BOOL; (*END ObjectCloseAuditAlarm;*) PROCEDURE PrivilegedServiceAuditAlarmA* ["ADVAPI32.dll", ""] (SubsystemName: PtrSTR; ServiceName: PtrSTR; ClientToken: HANDLE; VAR [nil] Privileges: PRIVILEGE_SET; AccessGranted: BOOL): BOOL; (*END PrivilegedServiceAuditAlarmA;*) PROCEDURE PrivilegedServiceAuditAlarmW* ["ADVAPI32.dll", ""] (SubsystemName: PtrWSTR; ServiceName: PtrWSTR; ClientToken: HANDLE; VAR [nil] Privileges: PRIVILEGE_SET; AccessGranted: BOOL): BOOL; (*END PrivilegedServiceAuditAlarmW;*) PROCEDURE PrivilegedServiceAuditAlarm* ["ADVAPI32.dll", "PrivilegedServiceAuditAlarmA"] (SubsystemName: PtrSTR; ServiceName: PtrSTR; ClientToken: HANDLE; VAR [nil] Privileges: PRIVILEGE_SET; AccessGranted: BOOL): BOOL; (*END PrivilegedServiceAuditAlarm;*) PROCEDURE IsValidSid* ["ADVAPI32.dll", ""] (pSid: PSID): BOOL; (*END IsValidSid;*) PROCEDURE EqualSid* ["ADVAPI32.dll", ""] (pSid1: PSID; pSid2: PSID): BOOL; (*END EqualSid;*) PROCEDURE EqualPrefixSid* ["ADVAPI32.dll", ""] (pSid1: PSID; pSid2: PSID): BOOL; (*END EqualPrefixSid;*) PROCEDURE GetSidLengthRequired* ["ADVAPI32.dll", ""] (nSubAuthorityCount: SHORTCHAR): INTEGER; (*END GetSidLengthRequired;*) PROCEDURE AllocateAndInitializeSid* ["ADVAPI32.dll", ""] (VAR [nil] pIdentifierAuthority: SID_IDENTIFIER_AUTHORITY; nSubAuthorityCount: SHORTCHAR; nSubAuthority0: INTEGER; nSubAuthority1: INTEGER; nSubAuthority2: INTEGER; nSubAuthority3: INTEGER; nSubAuthority4: INTEGER; nSubAuthority5: INTEGER; nSubAuthority6: INTEGER; nSubAuthority7: INTEGER; VAR [nil] pSid: PSID): BOOL; (*END AllocateAndInitializeSid;*) PROCEDURE FreeSid* ["ADVAPI32.dll", ""] (pSid: PSID): PtrVoid; (*END FreeSid;*) PROCEDURE InitializeSid* ["ADVAPI32.dll", ""] (Sid: PSID; VAR [nil] pIdentifierAuthority: SID_IDENTIFIER_AUTHORITY; nSubAuthorityCount: SHORTCHAR): BOOL; (*END InitializeSid;*) PROCEDURE GetSidIdentifierAuthority* ["ADVAPI32.dll", ""] (pSid: PSID): PtrSID_IDENTIFIER_AUTHORITY; (*END GetSidIdentifierAuthority;*) PROCEDURE GetSidSubAuthority* ["ADVAPI32.dll", ""] (pSid: PSID; nSubAuthority: INTEGER): RetGetSidSubAuthority; (*END GetSidSubAuthority;*) PROCEDURE GetSidSubAuthorityCount* ["ADVAPI32.dll", ""] (pSid: PSID): PtrSTR; (*END GetSidSubAuthorityCount;*) PROCEDURE GetLengthSid* ["ADVAPI32.dll", ""] (pSid: PSID): INTEGER; (*END GetLengthSid;*) PROCEDURE CopySid* ["ADVAPI32.dll", ""] (nDestinationSidLength: INTEGER; pDestinationSid: PSID; pSourceSid: PSID): BOOL; (*END CopySid;*) PROCEDURE AreAllAccessesGranted* ["ADVAPI32.dll", ""] (GrantedAccess: INTEGER; DesiredAccess: SET): BOOL; (*END AreAllAccessesGranted;*) PROCEDURE AreAnyAccessesGranted* ["ADVAPI32.dll", ""] (GrantedAccess: INTEGER; DesiredAccess: SET): BOOL; (*END AreAnyAccessesGranted;*) PROCEDURE MapGenericMask* ["ADVAPI32.dll", ""] (VAR [nil] AccessMask: INTEGER; VAR [nil] GenericMapping: GENERIC_MAPPING); (*END MapGenericMask;*) PROCEDURE IsValidAcl* ["ADVAPI32.dll", ""] (VAR [nil] pAcl: ACL): BOOL; (*END IsValidAcl;*) PROCEDURE InitializeAcl* ["ADVAPI32.dll", ""] (VAR [nil] pAcl: ACL; nAclLength: INTEGER; dwAclRevision: INTEGER): BOOL; (*END InitializeAcl;*) PROCEDURE GetAclInformation* ["ADVAPI32.dll", ""] (VAR [nil] pAcl: ACL; pAclInformation: PtrVoid; nAclInformationLength: INTEGER; dwAclInformationClass: ACL_INFORMATION_CLASS): BOOL; (*END GetAclInformation;*) PROCEDURE SetAclInformation* ["ADVAPI32.dll", ""] (VAR [nil] pAcl: ACL; pAclInformation: PtrVoid; nAclInformationLength: INTEGER; dwAclInformationClass: ACL_INFORMATION_CLASS): BOOL; (*END SetAclInformation;*) PROCEDURE AddAce* ["ADVAPI32.dll", ""] (VAR [nil] pAcl: ACL; dwAceRevision: INTEGER; dwStartingAceIndex: INTEGER; pAceList: PtrVoid; nAceListLength: INTEGER): BOOL; (*END AddAce;*) PROCEDURE DeleteAce* ["ADVAPI32.dll", ""] (VAR [nil] pAcl: ACL; dwAceIndex: INTEGER): BOOL; (*END DeleteAce;*) PROCEDURE GetAce* ["ADVAPI32.dll", ""] (VAR [nil] pAcl: ACL; dwAceIndex: INTEGER; pAce: POINTER TO (*?*) ARRAY [untagged] OF PtrVoid): BOOL; (*END GetAce;*) PROCEDURE AddAccessAllowedAce* ["ADVAPI32.dll", ""] (VAR [nil] pAcl: ACL; dwAceRevision: INTEGER; AccessMask: INTEGER; pSid: PSID): BOOL; (*END AddAccessAllowedAce;*) PROCEDURE AddAccessDeniedAce* ["ADVAPI32.dll", ""] (VAR [nil] pAcl: ACL; dwAceRevision: INTEGER; AccessMask: INTEGER; pSid: PSID): BOOL; (*END AddAccessDeniedAce;*) PROCEDURE AddAuditAccessAce* ["ADVAPI32.dll", ""] (VAR [nil] pAcl: ACL; dwAceRevision: INTEGER; dwAccessMask: INTEGER; pSid: PSID; bAuditSuccess: BOOL; bAuditFailure: BOOL): BOOL; (*END AddAuditAccessAce;*) PROCEDURE FindFirstFreeAce* ["ADVAPI32.dll", ""] (VAR [nil] pAcl: ACL; pAce: POINTER TO (*?*) ARRAY [untagged] OF PtrVoid): BOOL; (*END FindFirstFreeAce;*) PROCEDURE InitializeSecurityDescriptor* ["ADVAPI32.dll", ""] (pSecurityDescriptor: PSECURITY_DESCRIPTOR; dwRevision: INTEGER): BOOL; (*END InitializeSecurityDescriptor;*) PROCEDURE IsValidSecurityDescriptor* ["ADVAPI32.dll", ""] (pSecurityDescriptor: PSECURITY_DESCRIPTOR): BOOL; (*END IsValidSecurityDescriptor;*) PROCEDURE GetSecurityDescriptorLength* ["ADVAPI32.dll", ""] (pSecurityDescriptor: PSECURITY_DESCRIPTOR): INTEGER; (*END GetSecurityDescriptorLength;*) PROCEDURE GetSecurityDescriptorControl* ["ADVAPI32.dll", ""] (pSecurityDescriptor: PSECURITY_DESCRIPTOR; VAR [nil] pControl: SHORTINT; VAR [nil] lpdwRevision: INTEGER): BOOL; (*END GetSecurityDescriptorControl;*) PROCEDURE SetSecurityDescriptorDacl* ["ADVAPI32.dll", ""] (pSecurityDescriptor: PSECURITY_DESCRIPTOR; bDaclPresent: BOOL; VAR [nil] pDacl: ACL; bDaclDefaulted: BOOL): BOOL; (*END SetSecurityDescriptorDacl;*) PROCEDURE GetSecurityDescriptorDacl* ["ADVAPI32.dll", ""] (pSecurityDescriptor: PSECURITY_DESCRIPTOR; VAR [nil] lpbDaclPresent: BOOL; VAR [nil] pDacl: PtrACL; VAR [nil] lpbDaclDefaulted: BOOL): BOOL; (*END GetSecurityDescriptorDacl;*) PROCEDURE SetSecurityDescriptorSacl* ["ADVAPI32.dll", ""] (pSecurityDescriptor: PSECURITY_DESCRIPTOR; bSaclPresent: BOOL; VAR [nil] pSacl: ACL; bSaclDefaulted: BOOL): BOOL; (*END SetSecurityDescriptorSacl;*) PROCEDURE GetSecurityDescriptorSacl* ["ADVAPI32.dll", ""] (pSecurityDescriptor: PSECURITY_DESCRIPTOR; VAR [nil] lpbSaclPresent: BOOL; VAR [nil] pSacl: PtrACL; VAR [nil] lpbSaclDefaulted: BOOL): BOOL; (*END GetSecurityDescriptorSacl;*) PROCEDURE SetSecurityDescriptorOwner* ["ADVAPI32.dll", ""] (pSecurityDescriptor: PSECURITY_DESCRIPTOR; pOwner: PSID; bOwnerDefaulted: BOOL): BOOL; (*END SetSecurityDescriptorOwner;*) PROCEDURE GetSecurityDescriptorOwner* ["ADVAPI32.dll", ""] (pSecurityDescriptor: PSECURITY_DESCRIPTOR; VAR [nil] pOwner: PSID; VAR [nil] lpbOwnerDefaulted: BOOL): BOOL; (*END GetSecurityDescriptorOwner;*) PROCEDURE SetSecurityDescriptorGroup* ["ADVAPI32.dll", ""] (pSecurityDescriptor: PSECURITY_DESCRIPTOR; pGroup: PSID; bGroupDefaulted: BOOL): BOOL; (*END SetSecurityDescriptorGroup;*) PROCEDURE GetSecurityDescriptorGroup* ["ADVAPI32.dll", ""] (pSecurityDescriptor: PSECURITY_DESCRIPTOR; VAR [nil] pGroup: PSID; VAR [nil] lpbGroupDefaulted: BOOL): BOOL; (*END GetSecurityDescriptorGroup;*) PROCEDURE CreatePrivateObjectSecurity* ["ADVAPI32.dll", ""] (ParentDescriptor: PSECURITY_DESCRIPTOR; CreatorDescriptor: PSECURITY_DESCRIPTOR; VAR [nil] NewDescriptor: PSECURITY_DESCRIPTOR; IsDirectoryObject: BOOL; Token: HANDLE; VAR [nil] GenericMapping: GENERIC_MAPPING): BOOL; (*END CreatePrivateObjectSecurity;*) PROCEDURE SetPrivateObjectSecurity* ["ADVAPI32.dll", ""] (SecurityInformation: SECURITY_INFORMATION; ModificationDescriptor: PSECURITY_DESCRIPTOR; VAR [nil] ObjectsSecurityDescriptor: PSECURITY_DESCRIPTOR; VAR [nil] GenericMapping: GENERIC_MAPPING; Token: HANDLE): BOOL; (*END SetPrivateObjectSecurity;*) PROCEDURE GetPrivateObjectSecurity* ["ADVAPI32.dll", ""] (ObjectDescriptor: PSECURITY_DESCRIPTOR; SecurityInformation: SECURITY_INFORMATION; ResultantDescriptor: PSECURITY_DESCRIPTOR; DescriptorLength: INTEGER; VAR [nil] ReturnLength: INTEGER): BOOL; (*END GetPrivateObjectSecurity;*) PROCEDURE DestroyPrivateObjectSecurity* ["ADVAPI32.dll", ""] (VAR [nil] ObjectDescriptor: PSECURITY_DESCRIPTOR): BOOL; (*END DestroyPrivateObjectSecurity;*) PROCEDURE MakeSelfRelativeSD* ["ADVAPI32.dll", ""] (pAbsoluteSecurityDescriptor: PSECURITY_DESCRIPTOR; pSelfRelativeSecurityDescriptor: PSECURITY_DESCRIPTOR; VAR [nil] lpdwBufferLength: INTEGER): BOOL; (*END MakeSelfRelativeSD;*) PROCEDURE MakeAbsoluteSD* ["ADVAPI32.dll", ""] (pSelfRelativeSecurityDescriptor: PSECURITY_DESCRIPTOR; pAbsoluteSecurityDescriptor: PSECURITY_DESCRIPTOR; VAR [nil] lpdwAbsoluteSecurityDescriptorSize: INTEGER; VAR [nil] pDacl: ACL; VAR [nil] lpdwDaclSize: INTEGER; VAR [nil] pSacl: ACL; VAR [nil] lpdwSaclSize: INTEGER; pOwner: PSID; VAR [nil] lpdwOwnerSize: INTEGER; pPrimaryGroup: PSID; VAR [nil] lpdwPrimaryGroupSize: INTEGER): BOOL; (*END MakeAbsoluteSD;*) PROCEDURE SetFileSecurityA* ["ADVAPI32.dll", ""] (lpFileName: PtrSTR; SecurityInformation: SECURITY_INFORMATION; pSecurityDescriptor: PSECURITY_DESCRIPTOR): BOOL; (*END SetFileSecurityA;*) PROCEDURE SetFileSecurityW* ["ADVAPI32.dll", ""] (lpFileName: PtrWSTR; SecurityInformation: SECURITY_INFORMATION; pSecurityDescriptor: PSECURITY_DESCRIPTOR): BOOL; (*END SetFileSecurityW;*) PROCEDURE SetFileSecurity* ["ADVAPI32.dll", "SetFileSecurityA"] (lpFileName: PtrSTR; SecurityInformation: SECURITY_INFORMATION; pSecurityDescriptor: PSECURITY_DESCRIPTOR): BOOL; (*END SetFileSecurity;*) PROCEDURE GetFileSecurityA* ["ADVAPI32.dll", ""] (lpFileName: PtrSTR; RequestedInformation: SECURITY_INFORMATION; pSecurityDescriptor: PSECURITY_DESCRIPTOR; nLength: INTEGER; VAR [nil] lpnLengthNeeded: INTEGER): BOOL; (*END GetFileSecurityA;*) PROCEDURE GetFileSecurityW* ["ADVAPI32.dll", ""] (lpFileName: PtrWSTR; RequestedInformation: SECURITY_INFORMATION; pSecurityDescriptor: PSECURITY_DESCRIPTOR; nLength: INTEGER; VAR [nil] lpnLengthNeeded: INTEGER): BOOL; (*END GetFileSecurityW;*) PROCEDURE GetFileSecurity* ["ADVAPI32.dll", "GetFileSecurityA"] (lpFileName: PtrSTR; RequestedInformation: SECURITY_INFORMATION; pSecurityDescriptor: PSECURITY_DESCRIPTOR; nLength: INTEGER; VAR [nil] lpnLengthNeeded: INTEGER): BOOL; (*END GetFileSecurity;*) PROCEDURE SetKernelObjectSecurity* ["ADVAPI32.dll", ""] (Handle: HANDLE; SecurityInformation: SECURITY_INFORMATION; SecurityDescriptor: PSECURITY_DESCRIPTOR): BOOL; (*END SetKernelObjectSecurity;*) PROCEDURE FindFirstChangeNotificationA* (lpPathName: PtrSTR; bWatchSubtree: BOOL; dwNotifyFilter: SET): HANDLE; (*END FindFirstChangeNotificationA;*) PROCEDURE FindFirstChangeNotificationW* (lpPathName: PtrWSTR; bWatchSubtree: BOOL; dwNotifyFilter: SET): HANDLE; (*END FindFirstChangeNotificationW;*) PROCEDURE FindFirstChangeNotification* ["FindFirstChangeNotificationA"] (lpPathName: PtrSTR; bWatchSubtree: BOOL; dwNotifyFilter: SET): HANDLE; (*END FindFirstChangeNotification;*) PROCEDURE FindNextChangeNotification* (hChangeHandle: HANDLE): BOOL; (*END FindNextChangeNotification;*) PROCEDURE FindCloseChangeNotification* (hChangeHandle: HANDLE): BOOL; (*END FindCloseChangeNotification;*) PROCEDURE ReadDirectoryChangesW* (hDirectory: HANDLE; lpBuffer: PtrVoid; nBufferLength: INTEGER; bWatchSubtree: BOOL; dwNotifyFilter: SET; VAR [nil] lpBytesReturned: INTEGER; VAR [nil] lpOverlapped: OVERLAPPED; lpCompletionRoutine: OVERLAPPED_COMPLETION_ROUTINE): BOOL; (*END ReadDirectoryChangesW;*) PROCEDURE VirtualLock* (lpAddress: PtrVoid; dwSize: INTEGER): BOOL; (*END VirtualLock;*) PROCEDURE VirtualUnlock* (lpAddress: PtrVoid; dwSize: INTEGER): BOOL; (*END VirtualUnlock;*) PROCEDURE MapViewOfFileEx* (hFileMappingObject: HANDLE; dwDesiredAccess: SET; dwFileOffsetHigh: INTEGER; dwFileOffsetLow: INTEGER; dwNumberOfBytesToMap: INTEGER; lpBaseAddress: PtrVoid): PtrVoid; (*END MapViewOfFileEx;*) PROCEDURE SetPriorityClass* (hProcess: HANDLE; dwPriorityClass: INTEGER): BOOL; (*END SetPriorityClass;*) PROCEDURE GetPriorityClass* (hProcess: HANDLE): INTEGER; (*END GetPriorityClass;*) PROCEDURE IsBadReadPtr* (lp: PtrVoid; ucb: INTEGER): BOOL; (*END IsBadReadPtr;*) PROCEDURE IsBadWritePtr* (lp: PtrVoid; ucb: INTEGER): BOOL; (*END IsBadWritePtr;*) PROCEDURE IsBadHugeReadPtr* (lp: PtrVoid; ucb: INTEGER): BOOL; (*END IsBadHugeReadPtr;*) PROCEDURE IsBadHugeWritePtr* (lp: PtrVoid; ucb: INTEGER): BOOL; (*END IsBadHugeWritePtr;*) PROCEDURE IsBadCodePtr* (lpfn: FARPROC): BOOL; (*END IsBadCodePtr;*) PROCEDURE IsBadStringPtrA* (lpsz: PtrSTR; ucchMax: INTEGER): BOOL; (*END IsBadStringPtrA;*) PROCEDURE IsBadStringPtrW* (lpsz: PtrWSTR; ucchMax: INTEGER): BOOL; (*END IsBadStringPtrW;*) PROCEDURE IsBadStringPtr* ["IsBadStringPtrA"] (lpsz: PtrSTR; ucchMax: INTEGER): BOOL; (*END IsBadStringPtr;*) PROCEDURE LookupAccountSidA* ["ADVAPI32.dll", ""] (lpSystemName: PtrSTR; Sid: PSID; Name: PtrSTR; VAR [nil] cbName: INTEGER; ReferencedDomainName: PtrSTR; VAR [nil] cbReferencedDomainName: INTEGER; VAR [nil] peUse: SID_NAME_USE): BOOL; (*END LookupAccountSidA;*) PROCEDURE LookupAccountSidW* ["ADVAPI32.dll", ""] (lpSystemName: PtrWSTR; Sid: PSID; Name: PtrWSTR; VAR [nil] cbName: INTEGER; ReferencedDomainName: PtrWSTR; VAR [nil] cbReferencedDomainName: INTEGER; VAR [nil] peUse: SID_NAME_USE): BOOL; (*END LookupAccountSidW;*) PROCEDURE LookupAccountSid* ["ADVAPI32.dll", "LookupAccountSidA"] (lpSystemName: PtrSTR; Sid: PSID; Name: PtrSTR; VAR [nil] cbName: INTEGER; ReferencedDomainName: PtrSTR; VAR [nil] cbReferencedDomainName: INTEGER; VAR [nil] peUse: SID_NAME_USE): BOOL; (*END LookupAccountSid;*) PROCEDURE LookupAccountNameA* ["ADVAPI32.dll", ""] (lpSystemName: PtrSTR; lpAccountName: PtrSTR; Sid: PSID; VAR [nil] cbSid: INTEGER; ReferencedDomainName: PtrSTR; VAR [nil] cbReferencedDomainName: INTEGER; VAR [nil] peUse: SID_NAME_USE): BOOL; (*END LookupAccountNameA;*) PROCEDURE LookupAccountNameW* ["ADVAPI32.dll", ""] (lpSystemName: PtrWSTR; lpAccountName: PtrWSTR; Sid: PSID; VAR [nil] cbSid: INTEGER; ReferencedDomainName: PtrWSTR; VAR [nil] cbReferencedDomainName: INTEGER; VAR [nil] peUse: SID_NAME_USE): BOOL; (*END LookupAccountNameW;*) PROCEDURE LookupAccountName* ["ADVAPI32.dll", "LookupAccountNameA"] (lpSystemName: PtrSTR; lpAccountName: PtrSTR; Sid: PSID; VAR [nil] cbSid: INTEGER; ReferencedDomainName: PtrSTR; VAR [nil] cbReferencedDomainName: INTEGER; VAR [nil] peUse: SID_NAME_USE): BOOL; (*END LookupAccountName;*) PROCEDURE LookupPrivilegeValueA* ["ADVAPI32.dll", ""] (lpSystemName: PtrSTR; lpName: PtrSTR; VAR [nil] lpLuid: LONGINT): BOOL; (*END LookupPrivilegeValueA;*) PROCEDURE LookupPrivilegeValueW* ["ADVAPI32.dll", ""] (lpSystemName: PtrWSTR; lpName: PtrWSTR; VAR [nil] lpLuid: LONGINT): BOOL; (*END LookupPrivilegeValueW;*) PROCEDURE LookupPrivilegeValue* ["ADVAPI32.dll", "LookupPrivilegeValueA"] (lpSystemName: PtrSTR; lpName: PtrSTR; VAR [nil] lpLuid: LONGINT): BOOL; (*END LookupPrivilegeValue;*) PROCEDURE LookupPrivilegeNameA* ["ADVAPI32.dll", ""] (lpSystemName: PtrSTR; VAR [nil] lpLuid: LONGINT; lpName: PtrSTR; VAR [nil] cbName: INTEGER): BOOL; (*END LookupPrivilegeNameA;*) PROCEDURE LookupPrivilegeNameW* ["ADVAPI32.dll", ""] (lpSystemName: PtrWSTR; VAR [nil] lpLuid: LONGINT; lpName: PtrWSTR; VAR [nil] cbName: INTEGER): BOOL; (*END LookupPrivilegeNameW;*) PROCEDURE LookupPrivilegeName* ["ADVAPI32.dll", "LookupPrivilegeNameA"] (lpSystemName: PtrSTR; VAR [nil] lpLuid: LONGINT; lpName: PtrSTR; VAR [nil] cbName: INTEGER): BOOL; (*END LookupPrivilegeName;*) PROCEDURE LookupPrivilegeDisplayNameA* ["ADVAPI32.dll", ""] (lpSystemName: PtrSTR; lpName: PtrSTR; lpDisplayName: PtrSTR; VAR [nil] cbDisplayName: INTEGER; VAR [nil] lpLanguageId: INTEGER): BOOL; (*END LookupPrivilegeDisplayNameA;*) PROCEDURE LookupPrivilegeDisplayNameW* ["ADVAPI32.dll", ""] (lpSystemName: PtrWSTR; lpName: PtrWSTR; lpDisplayName: PtrWSTR; VAR [nil] cbDisplayName: INTEGER; VAR [nil] lpLanguageId: INTEGER): BOOL; (*END LookupPrivilegeDisplayNameW;*) PROCEDURE LookupPrivilegeDisplayName* ["ADVAPI32.dll", "LookupPrivilegeDisplayNameA"] (lpSystemName: PtrSTR; lpName: PtrSTR; lpDisplayName: PtrSTR; VAR [nil] cbDisplayName: INTEGER; VAR [nil] lpLanguageId: INTEGER): BOOL; (*END LookupPrivilegeDisplayName;*) PROCEDURE AllocateLocallyUniqueId* ["ADVAPI32.dll", ""] (VAR [nil] Luid: LONGINT): BOOL; (*END AllocateLocallyUniqueId;*) PROCEDURE BuildCommDCBA* (lpDef: PtrSTR; VAR [nil] lpDCB: DCB): BOOL; (*END BuildCommDCBA;*) PROCEDURE BuildCommDCBW* (lpDef: PtrWSTR; VAR [nil] lpDCB: DCB): BOOL; (*END BuildCommDCBW;*) PROCEDURE BuildCommDCB* ["BuildCommDCBA"] (lpDef: PtrSTR; VAR [nil] lpDCB: DCB): BOOL; (*END BuildCommDCB;*) PROCEDURE BuildCommDCBAndTimeoutsA* (lpDef: PtrSTR; VAR [nil] lpDCB: DCB; VAR [nil] lpCommTimeouts: COMMTIMEOUTS): BOOL; (*END BuildCommDCBAndTimeoutsA;*) PROCEDURE BuildCommDCBAndTimeoutsW* (lpDef: PtrWSTR; VAR [nil] lpDCB: DCB; VAR [nil] lpCommTimeouts: COMMTIMEOUTS): BOOL; (*END BuildCommDCBAndTimeoutsW;*) PROCEDURE BuildCommDCBAndTimeouts* ["BuildCommDCBAndTimeoutsA"] (lpDef: PtrSTR; VAR [nil] lpDCB: DCB; VAR [nil] lpCommTimeouts: COMMTIMEOUTS): BOOL; (*END BuildCommDCBAndTimeouts;*) PROCEDURE CommConfigDialogA* (lpszName: PtrSTR; hWnd: HWND; VAR [nil] lpCC: COMMCONFIG): BOOL; (*END CommConfigDialogA;*) PROCEDURE CommConfigDialogW* (lpszName: PtrWSTR; hWnd: HWND; VAR [nil] lpCC: COMMCONFIG): BOOL; (*END CommConfigDialogW;*) PROCEDURE CommConfigDialog* ["CommConfigDialogA"] (lpszName: PtrSTR; hWnd: HWND; VAR [nil] lpCC: COMMCONFIG): BOOL; (*END CommConfigDialog;*) PROCEDURE GetDefaultCommConfigA* (lpszName: PtrSTR; VAR [nil] lpCC: COMMCONFIG; VAR [nil] lpdwSize: INTEGER): BOOL; (*END GetDefaultCommConfigA;*) PROCEDURE GetDefaultCommConfigW* (lpszName: PtrWSTR; VAR [nil] lpCC: COMMCONFIG; VAR [nil] lpdwSize: INTEGER): BOOL; (*END GetDefaultCommConfigW;*) PROCEDURE GetDefaultCommConfig* ["GetDefaultCommConfigA"] (lpszName: PtrSTR; VAR [nil] lpCC: COMMCONFIG; VAR [nil] lpdwSize: INTEGER): BOOL; (*END GetDefaultCommConfig;*) PROCEDURE SetDefaultCommConfigA* (lpszName: PtrSTR; VAR [nil] lpCC: COMMCONFIG; dwSize: INTEGER): BOOL; (*END SetDefaultCommConfigA;*) PROCEDURE SetDefaultCommConfigW* (lpszName: PtrWSTR; VAR [nil] lpCC: COMMCONFIG; dwSize: INTEGER): BOOL; (*END SetDefaultCommConfigW;*) PROCEDURE SetDefaultCommConfig* ["SetDefaultCommConfigA"] (lpszName: PtrSTR; VAR [nil] lpCC: COMMCONFIG; dwSize: INTEGER): BOOL; (*END SetDefaultCommConfig;*) PROCEDURE GetComputerNameA* (lpBuffer: PtrSTR; VAR [nil] nSize: INTEGER): BOOL; (*END GetComputerNameA;*) PROCEDURE GetComputerNameW* (lpBuffer: PtrWSTR; VAR [nil] nSize: INTEGER): BOOL; (*END GetComputerNameW;*) PROCEDURE GetComputerName* ["GetComputerNameA"] (lpBuffer: PtrSTR; VAR [nil] nSize: INTEGER): BOOL; (*END GetComputerName;*) PROCEDURE SetComputerNameA* (lpComputerName: PtrSTR): BOOL; (*END SetComputerNameA;*) PROCEDURE SetComputerNameW* (lpComputerName: PtrWSTR): BOOL; (*END SetComputerNameW;*) PROCEDURE SetComputerName* ["SetComputerNameA"] (lpComputerName: PtrSTR): BOOL; (*END SetComputerName;*) PROCEDURE GetUserNameA* ["ADVAPI32.dll", ""] (lpBuffer: PtrSTR; VAR [nil] nSize: INTEGER): BOOL; (*END GetUserNameA;*) PROCEDURE GetUserNameW* ["ADVAPI32.dll", ""] (lpBuffer: PtrWSTR; VAR [nil] nSize: INTEGER): BOOL; (*END GetUserNameW;*) PROCEDURE GetUserName* ["ADVAPI32.dll", "GetUserNameA"] (lpBuffer: PtrSTR; VAR [nil] nSize: INTEGER): BOOL; (*END GetUserName;*) PROCEDURE LogonUserA* ["ADVAPI32.dll", ""] (lpszUsername: PtrSTR; lpszDomain: PtrSTR; lpszPassword: PtrSTR; dwLogonType: INTEGER; dwLogonProvider: INTEGER; VAR [nil] phToken: HANDLE): BOOL; (*END LogonUserA;*) PROCEDURE LogonUserW* ["ADVAPI32.dll", ""] (lpszUsername: PtrWSTR; lpszDomain: PtrWSTR; lpszPassword: PtrWSTR; dwLogonType: INTEGER; dwLogonProvider: INTEGER; VAR [nil] phToken: HANDLE): BOOL; (*END LogonUserW;*) PROCEDURE LogonUser* ["ADVAPI32.dll", "LogonUserA"] (lpszUsername: PtrSTR; lpszDomain: PtrSTR; lpszPassword: PtrSTR; dwLogonType: INTEGER; dwLogonProvider: INTEGER; VAR [nil] phToken: HANDLE): BOOL; (*END LogonUser;*) PROCEDURE ImpersonateLoggedOnUser* ["ADVAPI32.dll", ""] (hToken: HANDLE): BOOL; (*END ImpersonateLoggedOnUser;*) PROCEDURE CreateProcessAsUserA* ["ADVAPI32.dll", ""] (hToken: HANDLE; lpApplicationName: PtrSTR; lpCommandLine: PtrSTR; VAR [nil] lpProcessAttributes: SECURITY_ATTRIBUTES; VAR [nil] lpThreadAttributes: SECURITY_ATTRIBUTES; bInheritHandles: BOOL; dwCreationFlags: SET; lpEnvironment: PtrVoid; lpCurrentDirectory: PtrSTR; VAR [nil] lpStartupInfo: STARTUPINFOA; VAR [nil] lpProcessInformation: PROCESS_INFORMATION): BOOL; (*END CreateProcessAsUserA;*) PROCEDURE CreateProcessAsUserW* ["ADVAPI32.dll", ""] (hToken: HANDLE; lpApplicationName: PtrWSTR; lpCommandLine: PtrWSTR; VAR [nil] lpProcessAttributes: SECURITY_ATTRIBUTES; VAR [nil] lpThreadAttributes: SECURITY_ATTRIBUTES; bInheritHandles: BOOL; dwCreationFlags: SET; lpEnvironment: PtrVoid; lpCurrentDirectory: PtrWSTR; VAR [nil] lpStartupInfo: STARTUPINFOW; VAR [nil] lpProcessInformation: PROCESS_INFORMATION): BOOL; (*END CreateProcessAsUserW;*) PROCEDURE CreateProcessAsUser* ["ADVAPI32.dll", "CreateProcessAsUserA"] (hToken: HANDLE; lpApplicationName: PtrSTR; lpCommandLine: PtrSTR; VAR [nil] lpProcessAttributes: SECURITY_ATTRIBUTES; VAR [nil] lpThreadAttributes: SECURITY_ATTRIBUTES; bInheritHandles: BOOL; dwCreationFlags: SET; lpEnvironment: PtrVoid; lpCurrentDirectory: PtrSTR; VAR [nil] lpStartupInfo: STARTUPINFOA; VAR [nil] lpProcessInformation: PROCESS_INFORMATION): BOOL; (*END CreateProcessAsUser;*) PROCEDURE GetCurrentHwProfileA* ["ADVAPI32.dll", ""] (VAR [nil] lpHwProfileInfo: HW_PROFILE_INFOA): BOOL; (*END GetCurrentHwProfileA;*) PROCEDURE GetCurrentHwProfileW* ["ADVAPI32.dll", ""] (VAR [nil] lpHwProfileInfo: HW_PROFILE_INFOW): BOOL; (*END GetCurrentHwProfileW;*) PROCEDURE GetCurrentHwProfile* ["ADVAPI32.dll", "GetCurrentHwProfileA"] (VAR [nil] lpHwProfileInfo: HW_PROFILE_INFOA): BOOL; (*END GetCurrentHwProfile;*) PROCEDURE QueryPerformanceCounter* (VAR [nil] lpPerformanceCount: LONGINT): BOOL; (*END QueryPerformanceCounter;*) PROCEDURE QueryPerformanceFrequency* (VAR [nil] lpFrequency: LONGINT): BOOL; (*END QueryPerformanceFrequency;*) PROCEDURE GetVersionExA* (VAR [nil] lpVersionInformation: OSVERSIONINFOA): BOOL; (*END GetVersionExA;*) PROCEDURE GetVersionExW* (VAR [nil] lpVersionInformation: OSVERSIONINFOW): BOOL; (*END GetVersionExW;*) PROCEDURE GetVersionEx* ["GetVersionExA"] (VAR [nil] lpVersionInformation: OSVERSIONINFOA): BOOL; (*END GetVersionEx;*) PROCEDURE GetSystemPowerStatus* (VAR [nil] lpSystemPowerStatus: SYSTEM_POWER_STATUS): BOOL; (*END GetSystemPowerStatus;*) PROCEDURE SetSystemPowerState* (fSuspend: BOOL; fForce: BOOL): BOOL; (*END SetSystemPowerState;*) PROCEDURE AddFontResourceA* ["GDI32.dll", ""] (p0: PtrSTR): INTEGER; (*END AddFontResourceA;*) PROCEDURE AddFontResourceW* ["GDI32.dll", ""] (p0: PtrWSTR): INTEGER; (*END AddFontResourceW;*) PROCEDURE AddFontResource* ["GDI32.dll", "AddFontResourceA"] (p0: PtrSTR): INTEGER; (*END AddFontResource;*) PROCEDURE AnimatePalette* ["GDI32.dll", ""] (p0: HPALETTE; p1: INTEGER; p2: INTEGER; VAR [nil] p3: PALETTEENTRY): BOOL; (*END AnimatePalette;*) PROCEDURE Arc* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER; p6: INTEGER; p7: INTEGER; p8: INTEGER): BOOL; (*END Arc;*) PROCEDURE BitBlt* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: HDC; p6: INTEGER; p7: INTEGER; p8: INTEGER): BOOL; (*END BitBlt;*) PROCEDURE CancelDC* ["GDI32.dll", ""] (p0: HDC): BOOL; (*END CancelDC;*) PROCEDURE Chord* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER; p6: INTEGER; p7: INTEGER; p8: INTEGER): BOOL; (*END Chord;*) PROCEDURE ChoosePixelFormat* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: PIXELFORMATDESCRIPTOR): INTEGER; (*END ChoosePixelFormat;*) PROCEDURE CloseMetaFile* ["GDI32.dll", ""] (p0: HDC): HMETAFILE; (*END CloseMetaFile;*) PROCEDURE CombineRgn* ["GDI32.dll", ""] (p0: HRGN; p1: HRGN; p2: HRGN; p3: INTEGER): INTEGER; (*END CombineRgn;*) PROCEDURE CopyMetaFileA* ["GDI32.dll", ""] (p0: HMETAFILE; p1: PtrSTR): HMETAFILE; (*END CopyMetaFileA;*) PROCEDURE CopyMetaFileW* ["GDI32.dll", ""] (p0: HMETAFILE; p1: PtrWSTR): HMETAFILE; (*END CopyMetaFileW;*) PROCEDURE CopyMetaFile* ["GDI32.dll", "CopyMetaFileA"] (p0: HMETAFILE; p1: PtrSTR): HMETAFILE; (*END CopyMetaFile;*) PROCEDURE CreateBitmap* ["GDI32.dll", ""] (p0: INTEGER; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: PtrVoid): HBITMAP; (*END CreateBitmap;*) PROCEDURE CreateBitmapIndirect* ["GDI32.dll", ""] (VAR [nil] p0: BITMAP): HBITMAP; (*END CreateBitmapIndirect;*) PROCEDURE CreateBrushIndirect* ["GDI32.dll", ""] (VAR [nil] p0: LOGBRUSH): HBRUSH; (*END CreateBrushIndirect;*) PROCEDURE CreateCompatibleBitmap* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER): HBITMAP; (*END CreateCompatibleBitmap;*) PROCEDURE CreateDiscardableBitmap* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER): HBITMAP; (*END CreateDiscardableBitmap;*) PROCEDURE CreateCompatibleDC* ["GDI32.dll", ""] (p0: HDC): HDC; (*END CreateCompatibleDC;*) PROCEDURE CreateDCA* ["GDI32.dll", ""] (p0: PtrSTR; p1: PtrSTR; p2: PtrSTR; VAR [nil] p3: DEVMODEA): HDC; (*END CreateDCA;*) PROCEDURE CreateDCW* ["GDI32.dll", ""] (p0: PtrWSTR; p1: PtrWSTR; p2: PtrWSTR; VAR [nil] p3: DEVMODEW): HDC; (*END CreateDCW;*) PROCEDURE CreateDC* ["GDI32.dll", "CreateDCA"] (p0: PtrSTR; p1: PtrSTR; p2: PtrSTR; VAR [nil] p3: DEVMODEA): HDC; (*END CreateDC;*) PROCEDURE CreateDIBitmap* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: BITMAPINFOHEADER; p2: INTEGER; p3: PtrVoid; VAR [nil] p4: BITMAPINFO; p5: INTEGER): HBITMAP; (*END CreateDIBitmap;*) PROCEDURE CreateDIBPatternBrush* ["GDI32.dll", ""] (p0: HGLOBAL; p1: INTEGER): HBRUSH; (*END CreateDIBPatternBrush;*) PROCEDURE CreateDIBPatternBrushPt* ["GDI32.dll", ""] (p0: PtrVoid; p1: INTEGER): HBRUSH; (*END CreateDIBPatternBrushPt;*) PROCEDURE CreateEllipticRgn* ["GDI32.dll", ""] (p0: INTEGER; p1: INTEGER; p2: INTEGER; p3: INTEGER): HRGN; (*END CreateEllipticRgn;*) PROCEDURE CreateEllipticRgnIndirect* ["GDI32.dll", ""] (VAR [nil] p0: RECT): HRGN; (*END CreateEllipticRgnIndirect;*) PROCEDURE CreateFontIndirectA* ["GDI32.dll", ""] (VAR [nil] p0: LOGFONTA): HFONT; (*END CreateFontIndirectA;*) PROCEDURE CreateFontIndirectW* ["GDI32.dll", ""] (VAR [nil] p0: LOGFONTW): HFONT; (*END CreateFontIndirectW;*) PROCEDURE CreateFontIndirect* ["GDI32.dll", "CreateFontIndirectA"] (VAR [nil] p0: LOGFONTA): HFONT; (*END CreateFontIndirect;*) PROCEDURE CreateFontA* ["GDI32.dll", ""] (p0: INTEGER; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER; p6: INTEGER; p7: INTEGER; p8: INTEGER; p9: INTEGER; p10: INTEGER; p11: INTEGER; p12: INTEGER; p13: PtrSTR): HFONT; (*END CreateFontA;*) PROCEDURE CreateFontW* ["GDI32.dll", ""] (p0: INTEGER; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER; p6: INTEGER; p7: INTEGER; p8: INTEGER; p9: INTEGER; p10: INTEGER; p11: INTEGER; p12: INTEGER; p13: PtrWSTR): HFONT; (*END CreateFontW;*) PROCEDURE CreateFont* ["GDI32.dll", "CreateFontA"] (p0: INTEGER; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER; p6: INTEGER; p7: INTEGER; p8: INTEGER; p9: INTEGER; p10: INTEGER; p11: INTEGER; p12: INTEGER; p13: PtrSTR): HFONT; (*END CreateFont;*) PROCEDURE CreateHatchBrush* ["GDI32.dll", ""] (p0: INTEGER; p1: COLORREF): HBRUSH; (*END CreateHatchBrush;*) PROCEDURE CreateICA* ["GDI32.dll", ""] (p0: PtrSTR; p1: PtrSTR; p2: PtrSTR; VAR [nil] p3: DEVMODEA): HDC; (*END CreateICA;*) PROCEDURE CreateICW* ["GDI32.dll", ""] (p0: PtrWSTR; p1: PtrWSTR; p2: PtrWSTR; VAR [nil] p3: DEVMODEW): HDC; (*END CreateICW;*) PROCEDURE CreateIC* ["GDI32.dll", "CreateICA"] (p0: PtrSTR; p1: PtrSTR; p2: PtrSTR; VAR [nil] p3: DEVMODEA): HDC; (*END CreateIC;*) PROCEDURE CreateMetaFileA* ["GDI32.dll", ""] (p0: PtrSTR): HDC; (*END CreateMetaFileA;*) PROCEDURE CreateMetaFileW* ["GDI32.dll", ""] (p0: PtrWSTR): HDC; (*END CreateMetaFileW;*) PROCEDURE CreateMetaFile* ["GDI32.dll", "CreateMetaFileA"] (p0: PtrSTR): HDC; (*END CreateMetaFile;*) PROCEDURE CreatePalette* ["GDI32.dll", ""] (VAR [nil] p0: LOGPALETTE): HPALETTE; (*END CreatePalette;*) PROCEDURE CreatePen* ["GDI32.dll", ""] (p0: INTEGER; p1: INTEGER; p2: COLORREF): HPEN; (*END CreatePen;*) PROCEDURE CreatePenIndirect* ["GDI32.dll", ""] (VAR [nil] p0: LOGPEN): HPEN; (*END CreatePenIndirect;*) PROCEDURE CreatePolyPolygonRgn* ["GDI32.dll", ""] (VAR [nil] p0: POINT; VAR [nil] p1: INTEGER; p2: INTEGER; p3: INTEGER): HRGN; (*END CreatePolyPolygonRgn;*) PROCEDURE CreatePatternBrush* ["GDI32.dll", ""] (p0: HBITMAP): HBRUSH; (*END CreatePatternBrush;*) PROCEDURE CreateRectRgn* ["GDI32.dll", ""] (p0: INTEGER; p1: INTEGER; p2: INTEGER; p3: INTEGER): HRGN; (*END CreateRectRgn;*) PROCEDURE CreateRectRgnIndirect* ["GDI32.dll", ""] (VAR [nil] p0: RECT): HRGN; (*END CreateRectRgnIndirect;*) PROCEDURE CreateRoundRectRgn* ["GDI32.dll", ""] (p0: INTEGER; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER): HRGN; (*END CreateRoundRectRgn;*) PROCEDURE CreateScalableFontResourceA* ["GDI32.dll", ""] (p0: INTEGER; p1: PtrSTR; p2: PtrSTR; p3: PtrSTR): BOOL; (*END CreateScalableFontResourceA;*) PROCEDURE CreateScalableFontResourceW* ["GDI32.dll", ""] (p0: INTEGER; p1: PtrWSTR; p2: PtrWSTR; p3: PtrWSTR): BOOL; (*END CreateScalableFontResourceW;*) PROCEDURE CreateScalableFontResource* ["GDI32.dll", "CreateScalableFontResourceA"] (p0: INTEGER; p1: PtrSTR; p2: PtrSTR; p3: PtrSTR): BOOL; (*END CreateScalableFontResource;*) PROCEDURE CreateSolidBrush* ["GDI32.dll", ""] (p0: COLORREF): HBRUSH; (*END CreateSolidBrush;*) PROCEDURE DeleteDC* ["GDI32.dll", ""] (p0: HDC): BOOL; (*END DeleteDC;*) PROCEDURE DeleteMetaFile* ["GDI32.dll", ""] (p0: HMETAFILE): BOOL; (*END DeleteMetaFile;*) PROCEDURE DeleteObject* ["GDI32.dll", ""] (p0: HGDIOBJ): BOOL; (*END DeleteObject;*) PROCEDURE DescribePixelFormat* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: PIXELFORMATDESCRIPTOR): INTEGER; (*END DescribePixelFormat;*) PROCEDURE DeviceCapabilitiesA* ["WINSPOOL.drv", ""] (p0: PtrSTR; p1: PtrSTR; p2: SHORTINT; p3: PtrSTR; VAR [nil] p4: DEVMODEA): INTEGER; (*END DeviceCapabilitiesA;*) PROCEDURE DeviceCapabilitiesW* ["WINSPOOL.drv", ""] (p0: PtrWSTR; p1: PtrWSTR; p2: SHORTINT; p3: PtrWSTR; VAR [nil] p4: DEVMODEW): INTEGER; (*END DeviceCapabilitiesW;*) PROCEDURE DeviceCapabilities* ["WINSPOOL.drv", "DeviceCapabilitiesA"] (p0: PtrSTR; p1: PtrSTR; p2: SHORTINT; p3: PtrSTR; VAR [nil] p4: DEVMODEA): INTEGER; (*END DeviceCapabilities;*) PROCEDURE DrawEscape* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: PtrSTR): INTEGER; (*END DrawEscape;*) PROCEDURE Ellipse* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER): BOOL; (*END Ellipse;*) PROCEDURE EnumFontFamiliesExA* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: LOGFONTA; p2: FONTENUMPROCEXA; p3: LPARAM; p4: INTEGER): INTEGER; (*END EnumFontFamiliesExA;*) PROCEDURE EnumFontFamiliesExW* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: LOGFONTW; p2: FONTENUMPROCEXW; p3: LPARAM; p4: INTEGER): INTEGER; (*END EnumFontFamiliesExW;*) PROCEDURE EnumFontFamiliesEx* ["GDI32.dll", "EnumFontFamiliesExA"] (p0: HDC; VAR [nil] p1: LOGFONTA; p2: FONTENUMPROCEXA; p3: LPARAM; p4: INTEGER): INTEGER; (*END EnumFontFamiliesEx;*) PROCEDURE EnumFontFamiliesA* ["GDI32.dll", ""] (p0: HDC; p1: PtrSTR; p2: NEWFONTENUMPROCA; p3: LPARAM): INTEGER; (*END EnumFontFamiliesA;*) PROCEDURE EnumFontFamiliesW* ["GDI32.dll", ""] (p0: HDC; p1: PtrWSTR; p2: NEWFONTENUMPROCW; p3: LPARAM): INTEGER; (*END EnumFontFamiliesW;*) PROCEDURE EnumFontFamilies* ["GDI32.dll", "EnumFontFamiliesA"] (p0: HDC; p1: PtrSTR; p2: NEWFONTENUMPROCA; p3: LPARAM): INTEGER; (*END EnumFontFamilies;*) PROCEDURE EnumFontsA* ["GDI32.dll", ""] (p0: HDC; p1: PtrSTR; p2: FONTENUMPROCA; p3: LPARAM): INTEGER; (*END EnumFontsA;*) PROCEDURE EnumFontsW* ["GDI32.dll", ""] (p0: HDC; p1: PtrWSTR; p2: FONTENUMPROCW; p3: LPARAM): INTEGER; (*END EnumFontsW;*) PROCEDURE EnumFonts* ["GDI32.dll", "EnumFontsA"] (p0: HDC; p1: PtrSTR; p2: FONTENUMPROCA; p3: LPARAM): INTEGER; (*END EnumFonts;*) PROCEDURE EnumObjects* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: GOBJENUMPROC; p3: PtrVoid): INTEGER; (*END EnumObjects;*) PROCEDURE EqualRgn* ["GDI32.dll", ""] (p0: HRGN; p1: HRGN): BOOL; (*END EqualRgn;*) PROCEDURE Escape* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: PtrSTR; p4: PtrVoid): INTEGER; (*END Escape;*) PROCEDURE ExtEscape* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: PtrSTR; p4: INTEGER; p5: PtrSTR): INTEGER; (*END ExtEscape;*) PROCEDURE ExcludeClipRect* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER): INTEGER; (*END ExcludeClipRect;*) PROCEDURE ExtCreateRegion* ["GDI32.dll", ""] (VAR [nil] p0: XFORM; p1: INTEGER; VAR [nil] p2: RGNDATA): HRGN; (*END ExtCreateRegion;*) PROCEDURE ExtFloodFill* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: COLORREF; p4: INTEGER): BOOL; (*END ExtFloodFill;*) PROCEDURE FillRgn* ["GDI32.dll", ""] (p0: HDC; p1: HRGN; p2: HBRUSH): BOOL; (*END FillRgn;*) PROCEDURE FloodFill* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: COLORREF): BOOL; (*END FloodFill;*) PROCEDURE FrameRgn* ["GDI32.dll", ""] (p0: HDC; p1: HRGN; p2: HBRUSH; p3: INTEGER; p4: INTEGER): BOOL; (*END FrameRgn;*) PROCEDURE GetROP2* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END GetROP2;*) PROCEDURE GetAspectRatioFilterEx* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: SIZE): BOOL; (*END GetAspectRatioFilterEx;*) PROCEDURE GetBkColor* ["GDI32.dll", ""] (p0: HDC): COLORREF; (*END GetBkColor;*) PROCEDURE GetBkMode* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END GetBkMode;*) PROCEDURE GetBitmapBits* ["GDI32.dll", ""] (p0: HBITMAP; p1: INTEGER; p2: PtrVoid): INTEGER; (*END GetBitmapBits;*) PROCEDURE GetBitmapDimensionEx* ["GDI32.dll", ""] (p0: HBITMAP; VAR [nil] p1: SIZE): BOOL; (*END GetBitmapDimensionEx;*) PROCEDURE GetBoundsRect* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: RECT; p2: SET): SET; (*END GetBoundsRect;*) PROCEDURE GetBrushOrgEx* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT): BOOL; (*END GetBrushOrgEx;*) PROCEDURE GetCharWidthA* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: INTEGER): BOOL; (*END GetCharWidthA;*) PROCEDURE GetCharWidthW* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: INTEGER): BOOL; (*END GetCharWidthW;*) PROCEDURE GetCharWidth* ["GDI32.dll", "GetCharWidthA"] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: INTEGER): BOOL; (*END GetCharWidth;*) PROCEDURE GetCharWidth32A* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: INTEGER): BOOL; (*END GetCharWidth32A;*) PROCEDURE GetCharWidth32W* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: INTEGER): BOOL; (*END GetCharWidth32W;*) PROCEDURE GetCharWidth32* ["GDI32.dll", "GetCharWidth32A"] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: INTEGER): BOOL; (*END GetCharWidth32;*) PROCEDURE GetCharWidthFloatA* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: SHORTREAL): BOOL; (*END GetCharWidthFloatA;*) PROCEDURE GetCharWidthFloatW* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: SHORTREAL): BOOL; (*END GetCharWidthFloatW;*) PROCEDURE GetCharWidthFloat* ["GDI32.dll", "GetCharWidthFloatA"] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: SHORTREAL): BOOL; (*END GetCharWidthFloat;*) PROCEDURE GetCharABCWidthsA* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: ABC): BOOL; (*END GetCharABCWidthsA;*) PROCEDURE GetCharABCWidthsW* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: ABC): BOOL; (*END GetCharABCWidthsW;*) PROCEDURE GetCharABCWidths* ["GDI32.dll", "GetCharABCWidthsA"] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: ABC): BOOL; (*END GetCharABCWidths;*) PROCEDURE GetCharABCWidthsFloatA* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: ABCFLOAT): BOOL; (*END GetCharABCWidthsFloatA;*) PROCEDURE GetCharABCWidthsFloatW* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: ABCFLOAT): BOOL; (*END GetCharABCWidthsFloatW;*) PROCEDURE GetCharABCWidthsFloat* ["GDI32.dll", "GetCharABCWidthsFloatA"] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: ABCFLOAT): BOOL; (*END GetCharABCWidthsFloat;*) PROCEDURE GetClipBox* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: RECT): INTEGER; (*END GetClipBox;*) PROCEDURE GetClipRgn* ["GDI32.dll", ""] (p0: HDC; p1: HRGN): INTEGER; (*END GetClipRgn;*) PROCEDURE GetMetaRgn* ["GDI32.dll", ""] (p0: HDC; p1: HRGN): INTEGER; (*END GetMetaRgn;*) PROCEDURE GetCurrentObject* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER): HGDIOBJ; (*END GetCurrentObject;*) PROCEDURE GetCurrentPositionEx* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT): BOOL; (*END GetCurrentPositionEx;*) PROCEDURE GetDeviceCaps* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER): INTEGER; (*END GetDeviceCaps;*) PROCEDURE GetDIBits* ["GDI32.dll", ""] (p0: HDC; p1: HBITMAP; p2: INTEGER; p3: INTEGER; p4: PtrVoid; VAR [nil] p5: BITMAPINFO; p6: INTEGER): INTEGER; (*END GetDIBits;*) PROCEDURE GetFontData* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: PtrVoid; p4: INTEGER): INTEGER; (*END GetFontData;*) PROCEDURE GetGlyphOutlineA* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: GLYPHMETRICS; p4: INTEGER; p5: PtrVoid; VAR [nil] p6: MAT2): INTEGER; (*END GetGlyphOutlineA;*) PROCEDURE GetGlyphOutlineW* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: GLYPHMETRICS; p4: INTEGER; p5: PtrVoid; VAR [nil] p6: MAT2): INTEGER; (*END GetGlyphOutlineW;*) PROCEDURE GetGlyphOutline* ["GDI32.dll", "GetGlyphOutlineA"] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: GLYPHMETRICS; p4: INTEGER; p5: PtrVoid; VAR [nil] p6: MAT2): INTEGER; (*END GetGlyphOutline;*) PROCEDURE GetGraphicsMode* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END GetGraphicsMode;*) PROCEDURE GetMapMode* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END GetMapMode;*) PROCEDURE GetMetaFileBitsEx* ["GDI32.dll", ""] (p0: HMETAFILE; p1: INTEGER; VAR [nil] p2: ARRAY [untagged] OF BYTE): INTEGER; (*END GetMetaFileBitsEx;*) PROCEDURE GetMetaFileA* ["GDI32.dll", ""] (p0: PtrSTR): HMETAFILE; (*END GetMetaFileA;*) PROCEDURE GetMetaFileW* ["GDI32.dll", ""] (p0: PtrWSTR): HMETAFILE; (*END GetMetaFileW;*) PROCEDURE GetMetaFile* ["GDI32.dll", "GetMetaFileA"] (p0: PtrSTR): HMETAFILE; (*END GetMetaFile;*) PROCEDURE GetNearestColor* ["GDI32.dll", ""] (p0: HDC; p1: COLORREF): COLORREF; (*END GetNearestColor;*) PROCEDURE GetNearestPaletteIndex* ["GDI32.dll", ""] (p0: HPALETTE; p1: COLORREF): INTEGER; (*END GetNearestPaletteIndex;*) PROCEDURE GetObjectType* ["GDI32.dll", ""] (h: HGDIOBJ): INTEGER; (*END GetObjectType;*) PROCEDURE GetOutlineTextMetricsA* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; VAR [nil] p2: OUTLINETEXTMETRICA): INTEGER; (*END GetOutlineTextMetricsA;*) PROCEDURE GetOutlineTextMetricsW* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; VAR [nil] p2: OUTLINETEXTMETRICW): INTEGER; (*END GetOutlineTextMetricsW;*) PROCEDURE GetOutlineTextMetrics* ["GDI32.dll", "GetOutlineTextMetricsA"] (p0: HDC; p1: INTEGER; VAR [nil] p2: OUTLINETEXTMETRICA): INTEGER; (*END GetOutlineTextMetrics;*) PROCEDURE GetPaletteEntries* ["GDI32.dll", ""] (p0: HPALETTE; p1: INTEGER; p2: INTEGER; VAR [nil] p3: PALETTEENTRY): INTEGER; (*END GetPaletteEntries;*) PROCEDURE GetPixel* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER): COLORREF; (*END GetPixel;*) PROCEDURE GetPixelFormat* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END GetPixelFormat;*) PROCEDURE GetPolyFillMode* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END GetPolyFillMode;*) PROCEDURE GetRasterizerCaps* ["GDI32.dll", ""] (VAR [nil] p0: RASTERIZER_STATUS; p1: INTEGER): BOOL; (*END GetRasterizerCaps;*) PROCEDURE GetRegionData* ["GDI32.dll", ""] (p0: HRGN; p1: INTEGER; VAR [nil] p2: RGNDATA): INTEGER; (*END GetRegionData;*) PROCEDURE GetRgnBox* ["GDI32.dll", ""] (p0: HRGN; VAR [nil] p1: RECT): INTEGER; (*END GetRgnBox;*) PROCEDURE GetStockObject* ["GDI32.dll", ""] (p0: INTEGER): HGDIOBJ; (*END GetStockObject;*) PROCEDURE GetStretchBltMode* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END GetStretchBltMode;*) PROCEDURE GetSystemPaletteEntries* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: PALETTEENTRY): INTEGER; (*END GetSystemPaletteEntries;*) PROCEDURE GetSystemPaletteUse* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END GetSystemPaletteUse;*) PROCEDURE GetTextCharacterExtra* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END GetTextCharacterExtra;*) PROCEDURE GetTextAlign* ["GDI32.dll", ""] (p0: HDC): SET; (*END GetTextAlign;*) PROCEDURE GetTextColor* ["GDI32.dll", ""] (p0: HDC): COLORREF; (*END GetTextColor;*) PROCEDURE GetTextExtentPointA* ["GDI32.dll", ""] (p0: HDC; p1: PtrSTR; p2: INTEGER; VAR [nil] p3: SIZE): BOOL; (*END GetTextExtentPointA;*) PROCEDURE GetTextExtentPointW* ["GDI32.dll", ""] (p0: HDC; p1: PtrWSTR; p2: INTEGER; VAR [nil] p3: SIZE): BOOL; (*END GetTextExtentPointW;*) PROCEDURE GetTextExtentPoint* ["GDI32.dll", "GetTextExtentPointA"] (p0: HDC; p1: PtrSTR; p2: INTEGER; VAR [nil] p3: SIZE): BOOL; (*END GetTextExtentPoint;*) PROCEDURE GetTextExtentPoint32A* ["GDI32.dll", ""] (p0: HDC; p1: PtrSTR; p2: INTEGER; VAR [nil] p3: SIZE): BOOL; (*END GetTextExtentPoint32A;*) PROCEDURE GetTextExtentPoint32W* ["GDI32.dll", ""] (p0: HDC; p1: PtrWSTR; p2: INTEGER; VAR [nil] p3: SIZE): BOOL; (*END GetTextExtentPoint32W;*) PROCEDURE GetTextExtentPoint32* ["GDI32.dll", "GetTextExtentPoint32A"] (p0: HDC; p1: PtrSTR; p2: INTEGER; VAR [nil] p3: SIZE): BOOL; (*END GetTextExtentPoint32;*) PROCEDURE GetTextExtentExPointA* ["GDI32.dll", ""] (p0: HDC; p1: PtrSTR; p2: INTEGER; p3: INTEGER; VAR [nil] p4: INTEGER; VAR [nil] p5: INTEGER; VAR [nil] p6: SIZE): BOOL; (*END GetTextExtentExPointA;*) PROCEDURE GetTextExtentExPointW* ["GDI32.dll", ""] (p0: HDC; p1: PtrWSTR; p2: INTEGER; p3: INTEGER; VAR [nil] p4: INTEGER; VAR [nil] p5: INTEGER; VAR [nil] p6: SIZE): BOOL; (*END GetTextExtentExPointW;*) PROCEDURE GetTextExtentExPoint* ["GDI32.dll", "GetTextExtentExPointA"] (p0: HDC; p1: PtrSTR; p2: INTEGER; p3: INTEGER; VAR [nil] p4: INTEGER; VAR [nil] p5: INTEGER; VAR [nil] p6: SIZE): BOOL; (*END GetTextExtentExPoint;*) PROCEDURE GetTextCharset* ["GDI32.dll", ""] (hdc: HDC): INTEGER; (*END GetTextCharset;*) PROCEDURE GetTextCharsetInfo* ["GDI32.dll", ""] (hdc: HDC; VAR [nil] lpSig: FONTSIGNATURE; dwFlags: SET): INTEGER; (*END GetTextCharsetInfo;*) PROCEDURE TranslateCharsetInfo* ["GDI32.dll", ""] (VAR [nil] lpSrc: INTEGER; VAR [nil] lpCs: CHARSETINFO; dwFlags: SET): BOOL; (*END TranslateCharsetInfo;*) PROCEDURE GetFontLanguageInfo* ["GDI32.dll", ""] (p0: HDC): SET; (*END GetFontLanguageInfo;*) PROCEDURE GetCharacterPlacementA* ["GDI32.dll", ""] (p0: HDC; p1: PtrSTR; p2: INTEGER; p3: INTEGER; VAR [nil] p4: GCP_RESULTSA; p5: INTEGER): INTEGER; (*END GetCharacterPlacementA;*) PROCEDURE GetCharacterPlacementW* ["GDI32.dll", ""] (p0: HDC; p1: PtrWSTR; p2: INTEGER; p3: INTEGER; VAR [nil] p4: GCP_RESULTSW; p5: INTEGER): INTEGER; (*END GetCharacterPlacementW;*) PROCEDURE GetCharacterPlacement* ["GDI32.dll", "GetCharacterPlacementA"] (p0: HDC; p1: PtrSTR; p2: INTEGER; p3: INTEGER; VAR [nil] p4: GCP_RESULTSA; p5: INTEGER): INTEGER; (*END GetCharacterPlacement;*) PROCEDURE GetViewportExtEx* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: SIZE): BOOL; (*END GetViewportExtEx;*) PROCEDURE GetViewportOrgEx* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT): BOOL; (*END GetViewportOrgEx;*) PROCEDURE GetWindowExtEx* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: SIZE): BOOL; (*END GetWindowExtEx;*) PROCEDURE GetWindowOrgEx* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT): BOOL; (*END GetWindowOrgEx;*) PROCEDURE IntersectClipRect* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER): INTEGER; (*END IntersectClipRect;*) PROCEDURE InvertRgn* ["GDI32.dll", ""] (p0: HDC; p1: HRGN): BOOL; (*END InvertRgn;*) PROCEDURE LineDDA* ["GDI32.dll", ""] (p0: INTEGER; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: LINEDDAPROC; p5: LPARAM): BOOL; (*END LineDDA;*) PROCEDURE LineTo* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER): BOOL; (*END LineTo;*) PROCEDURE MaskBlt* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: HDC; p6: INTEGER; p7: INTEGER; p8: HBITMAP; p9: INTEGER; p10: INTEGER; p11: INTEGER): BOOL; (*END MaskBlt;*) PROCEDURE PlgBlt* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT; p2: HDC; p3: INTEGER; p4: INTEGER; p5: INTEGER; p6: INTEGER; p7: HBITMAP; p8: INTEGER; p9: INTEGER): BOOL; (*END PlgBlt;*) PROCEDURE OffsetClipRgn* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER): INTEGER; (*END OffsetClipRgn;*) PROCEDURE OffsetRgn* ["GDI32.dll", ""] (p0: HRGN; p1: INTEGER; p2: INTEGER): INTEGER; (*END OffsetRgn;*) PROCEDURE PatBlt* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER): BOOL; (*END PatBlt;*) PROCEDURE Pie* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER; p6: INTEGER; p7: INTEGER; p8: INTEGER): BOOL; (*END Pie;*) PROCEDURE PlayMetaFile* ["GDI32.dll", ""] (p0: HDC; p1: HMETAFILE): BOOL; (*END PlayMetaFile;*) PROCEDURE PaintRgn* ["GDI32.dll", ""] (p0: HDC; p1: HRGN): BOOL; (*END PaintRgn;*) PROCEDURE PolyPolygon* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT; VAR [nil] p2: INTEGER; p3: INTEGER): BOOL; (*END PolyPolygon;*) PROCEDURE PtInRegion* ["GDI32.dll", ""] (p0: HRGN; p1: INTEGER; p2: INTEGER): BOOL; (*END PtInRegion;*) PROCEDURE PtVisible* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER): BOOL; (*END PtVisible;*) PROCEDURE RectInRegion* ["GDI32.dll", ""] (p0: HRGN; VAR [nil] p1: RECT): BOOL; (*END RectInRegion;*) PROCEDURE RectVisible* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: RECT): BOOL; (*END RectVisible;*) PROCEDURE Rectangle* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER): BOOL; (*END Rectangle;*) PROCEDURE RestoreDC* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER): BOOL; (*END RestoreDC;*) PROCEDURE ResetDCA* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: DEVMODEA): HDC; (*END ResetDCA;*) PROCEDURE ResetDCW* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: DEVMODEW): HDC; (*END ResetDCW;*) PROCEDURE ResetDC* ["GDI32.dll", "ResetDCA"] (p0: HDC; VAR [nil] p1: DEVMODEA): HDC; (*END ResetDC;*) PROCEDURE RealizePalette* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END RealizePalette;*) PROCEDURE RemoveFontResourceA* ["GDI32.dll", ""] (p0: PtrSTR): BOOL; (*END RemoveFontResourceA;*) PROCEDURE RemoveFontResourceW* ["GDI32.dll", ""] (p0: PtrWSTR): BOOL; (*END RemoveFontResourceW;*) PROCEDURE RemoveFontResource* ["GDI32.dll", "RemoveFontResourceA"] (p0: PtrSTR): BOOL; (*END RemoveFontResource;*) PROCEDURE RoundRect* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER; p6: INTEGER): BOOL; (*END RoundRect;*) PROCEDURE ResizePalette* ["GDI32.dll", ""] (p0: HPALETTE; p1: INTEGER): BOOL; (*END ResizePalette;*) PROCEDURE SaveDC* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END SaveDC;*) PROCEDURE SelectClipRgn* ["GDI32.dll", ""] (p0: HDC; p1: HRGN): INTEGER; (*END SelectClipRgn;*) PROCEDURE ExtSelectClipRgn* ["GDI32.dll", ""] (p0: HDC; p1: HRGN; p2: INTEGER): INTEGER; (*END ExtSelectClipRgn;*) PROCEDURE SetMetaRgn* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END SetMetaRgn;*) PROCEDURE SelectObject* ["GDI32.dll", ""] (p0: HDC; p1: HGDIOBJ): HGDIOBJ; (*END SelectObject;*) PROCEDURE SelectPalette* ["GDI32.dll", ""] (p0: HDC; p1: HPALETTE; p2: BOOL): HPALETTE; (*END SelectPalette;*) PROCEDURE SetBkColor* ["GDI32.dll", ""] (p0: HDC; p1: COLORREF): COLORREF; (*END SetBkColor;*) PROCEDURE SetBkMode* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER): INTEGER; (*END SetBkMode;*) PROCEDURE SetBitmapBits* ["GDI32.dll", ""] (p0: HBITMAP; p1: INTEGER; p2: PtrVoid): INTEGER; (*END SetBitmapBits;*) PROCEDURE SetBoundsRect* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: RECT; p2: SET): SET; (*END SetBoundsRect;*) PROCEDURE SetDIBits* ["GDI32.dll", ""] (p0: HDC; p1: HBITMAP; p2: INTEGER; p3: INTEGER; p4: PtrVoid; VAR [nil] p5: BITMAPINFO; p6: INTEGER): INTEGER; (*END SetDIBits;*) PROCEDURE SetDIBitsToDevice* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER; p6: INTEGER; p7: INTEGER; p8: INTEGER; p9: PtrVoid; VAR [nil] p10: BITMAPINFO; p11: INTEGER): INTEGER; (*END SetDIBitsToDevice;*) PROCEDURE SetMapperFlags* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER): INTEGER; (*END SetMapperFlags;*) PROCEDURE SetGraphicsMode* ["GDI32.dll", ""] (hdc: HDC; iMode: INTEGER): INTEGER; (*END SetGraphicsMode;*) PROCEDURE SetMapMode* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER): INTEGER; (*END SetMapMode;*) PROCEDURE SetMetaFileBitsEx* ["GDI32.dll", ""] (p0: INTEGER; VAR [nil] p1: ARRAY [untagged] OF BYTE): HMETAFILE; (*END SetMetaFileBitsEx;*) PROCEDURE SetPaletteEntries* ["GDI32.dll", ""] (p0: HPALETTE; p1: INTEGER; p2: INTEGER; VAR [nil] p3: PALETTEENTRY): INTEGER; (*END SetPaletteEntries;*) PROCEDURE SetPixel* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: COLORREF): COLORREF; (*END SetPixel;*) PROCEDURE SetPixelV* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: COLORREF): BOOL; (*END SetPixelV;*) PROCEDURE SetPixelFormat* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; VAR [nil] p2: PIXELFORMATDESCRIPTOR): BOOL; (*END SetPixelFormat;*) PROCEDURE SetPolyFillMode* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER): INTEGER; (*END SetPolyFillMode;*) PROCEDURE StretchBlt* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: HDC; p6: INTEGER; p7: INTEGER; p8: INTEGER; p9: INTEGER; p10: INTEGER): BOOL; (*END StretchBlt;*) PROCEDURE SetRectRgn* ["GDI32.dll", ""] (p0: HRGN; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER): BOOL; (*END SetRectRgn;*) PROCEDURE StretchDIBits* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER; p6: INTEGER; p7: INTEGER; p8: INTEGER; p9: PtrVoid; VAR [nil] p10: BITMAPINFO; p11: INTEGER; p12: INTEGER): INTEGER; (*END StretchDIBits;*) PROCEDURE SetROP2* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER): INTEGER; (*END SetROP2;*) PROCEDURE SetStretchBltMode* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER): INTEGER; (*END SetStretchBltMode;*) PROCEDURE SetSystemPaletteUse* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER): INTEGER; (*END SetSystemPaletteUse;*) PROCEDURE SetTextCharacterExtra* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER): INTEGER; (*END SetTextCharacterExtra;*) PROCEDURE SetTextColor* ["GDI32.dll", ""] (p0: HDC; p1: COLORREF): COLORREF; (*END SetTextColor;*) PROCEDURE SetTextAlign* ["GDI32.dll", ""] (p0: HDC; p1: SET): SET; (*END SetTextAlign;*) PROCEDURE SetTextJustification* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER): BOOL; (*END SetTextJustification;*) PROCEDURE UpdateColors* ["GDI32.dll", ""] (p0: HDC): BOOL; (*END UpdateColors;*) PROCEDURE PlayMetaFileRecord* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: HANDLETABLE; VAR [nil] p2: METARECORD; p3: INTEGER): BOOL; (*END PlayMetaFileRecord;*) PROCEDURE EnumMetaFile* ["GDI32.dll", ""] (p0: HDC; p1: HMETAFILE; p2: MFENUMPROC; p3: LPARAM): BOOL; (*END EnumMetaFile;*) PROCEDURE CloseEnhMetaFile* ["GDI32.dll", ""] (p0: HDC): HENHMETAFILE; (*END CloseEnhMetaFile;*) PROCEDURE CopyEnhMetaFileA* ["GDI32.dll", ""] (p0: HENHMETAFILE; p1: PtrSTR): HENHMETAFILE; (*END CopyEnhMetaFileA;*) PROCEDURE CopyEnhMetaFileW* ["GDI32.dll", ""] (p0: HENHMETAFILE; p1: PtrWSTR): HENHMETAFILE; (*END CopyEnhMetaFileW;*) PROCEDURE CopyEnhMetaFile* ["GDI32.dll", "CopyEnhMetaFileA"] (p0: HENHMETAFILE; p1: PtrSTR): HENHMETAFILE; (*END CopyEnhMetaFile;*) PROCEDURE CreateEnhMetaFileA* ["GDI32.dll", ""] (p0: HDC; p1: PtrSTR; VAR [nil] p2: RECT; p3: PtrSTR): HDC; (*END CreateEnhMetaFileA;*) PROCEDURE CreateEnhMetaFileW* ["GDI32.dll", ""] (p0: HDC; p1: PtrWSTR; VAR [nil] p2: RECT; p3: PtrWSTR): HDC; (*END CreateEnhMetaFileW;*) PROCEDURE CreateEnhMetaFile* ["GDI32.dll", "CreateEnhMetaFileA"] (p0: HDC; p1: PtrSTR; VAR [nil] p2: RECT; p3: PtrSTR): HDC; (*END CreateEnhMetaFile;*) PROCEDURE DeleteEnhMetaFile* ["GDI32.dll", ""] (p0: HENHMETAFILE): BOOL; (*END DeleteEnhMetaFile;*) PROCEDURE EnumEnhMetaFile* ["GDI32.dll", ""] (p0: HDC; p1: HENHMETAFILE; p2: ENHMFENUMPROC; p3: PtrVoid; VAR [nil] p4: RECT): BOOL; (*END EnumEnhMetaFile;*) PROCEDURE GetEnhMetaFileA* ["GDI32.dll", ""] (p0: PtrSTR): HENHMETAFILE; (*END GetEnhMetaFileA;*) PROCEDURE GetEnhMetaFileW* ["GDI32.dll", ""] (p0: PtrWSTR): HENHMETAFILE; (*END GetEnhMetaFileW;*) PROCEDURE GetEnhMetaFile* ["GDI32.dll", "GetEnhMetaFileA"] (p0: PtrSTR): HENHMETAFILE; (*END GetEnhMetaFile;*) PROCEDURE GetEnhMetaFileBits* ["GDI32.dll", ""] (p0: HENHMETAFILE; p1: INTEGER; VAR [nil] p2: SHORTCHAR): INTEGER; (*END GetEnhMetaFileBits;*) PROCEDURE GetEnhMetaFileDescriptionA* ["GDI32.dll", ""] (p0: HENHMETAFILE; p1: INTEGER; p2: PtrSTR): INTEGER; (*END GetEnhMetaFileDescriptionA;*) PROCEDURE GetEnhMetaFileDescriptionW* ["GDI32.dll", ""] (p0: HENHMETAFILE; p1: INTEGER; p2: PtrWSTR): INTEGER; (*END GetEnhMetaFileDescriptionW;*) PROCEDURE GetEnhMetaFileDescription* ["GDI32.dll", "GetEnhMetaFileDescriptionA"] (p0: HENHMETAFILE; p1: INTEGER; p2: PtrSTR): INTEGER; (*END GetEnhMetaFileDescription;*) PROCEDURE GetEnhMetaFileHeader* ["GDI32.dll", ""] (p0: HENHMETAFILE; p1: INTEGER; VAR [nil] p2: ENHMETAHEADER): INTEGER; (*END GetEnhMetaFileHeader;*) PROCEDURE GetEnhMetaFilePaletteEntries* ["GDI32.dll", ""] (p0: HENHMETAFILE; p1: INTEGER; VAR [nil] p2: PALETTEENTRY): INTEGER; (*END GetEnhMetaFilePaletteEntries;*) PROCEDURE GetEnhMetaFilePixelFormat* ["GDI32.dll", ""] (p0: HENHMETAFILE; p1: INTEGER; VAR [nil] p2: PIXELFORMATDESCRIPTOR): INTEGER; (*END GetEnhMetaFilePixelFormat;*) PROCEDURE GetWinMetaFileBits* ["GDI32.dll", ""] (p0: HENHMETAFILE; p1: INTEGER; VAR [nil] p2: SHORTCHAR; p3: INTEGER; p4: HDC): INTEGER; (*END GetWinMetaFileBits;*) PROCEDURE PlayEnhMetaFile* ["GDI32.dll", ""] (p0: HDC; p1: HENHMETAFILE; VAR [nil] p2: RECT): BOOL; (*END PlayEnhMetaFile;*) PROCEDURE PlayEnhMetaFileRecord* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: HANDLETABLE; VAR [nil] p2: ENHMETARECORD; p3: INTEGER): BOOL; (*END PlayEnhMetaFileRecord;*) PROCEDURE SetEnhMetaFileBits* ["GDI32.dll", ""] (p0: INTEGER; VAR [nil] p1: SHORTCHAR): HENHMETAFILE; (*END SetEnhMetaFileBits;*) PROCEDURE SetWinMetaFileBits* ["GDI32.dll", ""] (p0: INTEGER; VAR [nil] p1: SHORTCHAR; p2: HDC; VAR [nil] p3: METAFILEPICT): HENHMETAFILE; (*END SetWinMetaFileBits;*) PROCEDURE GdiComment* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; VAR [nil] p2: SHORTCHAR): BOOL; (*END GdiComment;*) PROCEDURE GetTextMetricsA* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: TEXTMETRICA): BOOL; (*END GetTextMetricsA;*) PROCEDURE GetTextMetricsW* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: TEXTMETRICW): BOOL; (*END GetTextMetricsW;*) PROCEDURE GetTextMetrics* ["GDI32.dll", "GetTextMetricsA"] (p0: HDC; VAR [nil] p1: TEXTMETRICA): BOOL; (*END GetTextMetrics;*) PROCEDURE AngleArc* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: SHORTREAL; p5: SHORTREAL): BOOL; (*END AngleArc;*) PROCEDURE PolyPolyline* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT; VAR [nil] p2: INTEGER; p3: INTEGER): BOOL; (*END PolyPolyline;*) PROCEDURE GetWorldTransform* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: XFORM): BOOL; (*END GetWorldTransform;*) PROCEDURE SetWorldTransform* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: XFORM): BOOL; (*END SetWorldTransform;*) PROCEDURE ModifyWorldTransform* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: XFORM; p2: INTEGER): BOOL; (*END ModifyWorldTransform;*) PROCEDURE CombineTransform* ["GDI32.dll", ""] (VAR [nil] p0: XFORM; VAR [nil] p1: XFORM; VAR [nil] p2: XFORM): BOOL; (*END CombineTransform;*) PROCEDURE CreateDIBSection* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: BITMAPINFO; p2: INTEGER; VAR [nil] p3: PtrVoid; p4: HANDLE; p5: INTEGER): HBITMAP; (*END CreateDIBSection;*) PROCEDURE GetDIBColorTable* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: RGBQUAD): INTEGER; (*END GetDIBColorTable;*) PROCEDURE SetDIBColorTable* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: ARRAY OF RGBQUAD): INTEGER; (*END SetDIBColorTable;*) PROCEDURE SetColorAdjustment* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: COLORADJUSTMENT): BOOL; (*END SetColorAdjustment;*) PROCEDURE GetColorAdjustment* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: COLORADJUSTMENT): BOOL; (*END GetColorAdjustment;*) PROCEDURE CreateHalftonePalette* ["GDI32.dll", ""] (p0: HDC): HPALETTE; (*END CreateHalftonePalette;*) PROCEDURE StartDocA* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: DOCINFOA): INTEGER; (*END StartDocA;*) PROCEDURE StartDocW* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: DOCINFOW): INTEGER; (*END StartDocW;*) PROCEDURE StartDoc* ["GDI32.dll", "StartDocA"] (p0: HDC; VAR [nil] p1: DOCINFOA): INTEGER; (*END StartDoc;*) PROCEDURE EndDoc* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END EndDoc;*) PROCEDURE StartPage* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END StartPage;*) PROCEDURE EndPage* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END EndPage;*) PROCEDURE AbortDoc* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END AbortDoc;*) PROCEDURE SetAbortProc* ["GDI32.dll", ""] (p0: HDC; p1: ABORTPROC): INTEGER; (*END SetAbortProc;*) PROCEDURE AbortPath* ["GDI32.dll", ""] (p0: HDC): BOOL; (*END AbortPath;*) PROCEDURE ArcTo* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER; p6: INTEGER; p7: INTEGER; p8: INTEGER): BOOL; (*END ArcTo;*) PROCEDURE BeginPath* ["GDI32.dll", ""] (p0: HDC): BOOL; (*END BeginPath;*) PROCEDURE CloseFigure* ["GDI32.dll", ""] (p0: HDC): BOOL; (*END CloseFigure;*) PROCEDURE EndPath* ["GDI32.dll", ""] (p0: HDC): BOOL; (*END EndPath;*) PROCEDURE FillPath* ["GDI32.dll", ""] (p0: HDC): BOOL; (*END FillPath;*) PROCEDURE FlattenPath* ["GDI32.dll", ""] (p0: HDC): BOOL; (*END FlattenPath;*) PROCEDURE GetPath* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT; VAR [nil] p2: SHORTCHAR; p3: INTEGER): INTEGER; (*END GetPath;*) PROCEDURE PathToRegion* ["GDI32.dll", ""] (p0: HDC): HRGN; (*END PathToRegion;*) PROCEDURE PolyDraw* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT; VAR [nil] p2: SHORTCHAR; p3: INTEGER): BOOL; (*END PolyDraw;*) PROCEDURE SelectClipPath* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER): BOOL; (*END SelectClipPath;*) PROCEDURE SetArcDirection* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER): INTEGER; (*END SetArcDirection;*) PROCEDURE SetMiterLimit* ["GDI32.dll", ""] (p0: HDC; p1: SHORTREAL; VAR [nil] p2: SHORTREAL): BOOL; (*END SetMiterLimit;*) PROCEDURE StrokeAndFillPath* ["GDI32.dll", ""] (p0: HDC): BOOL; (*END StrokeAndFillPath;*) PROCEDURE StrokePath* ["GDI32.dll", ""] (p0: HDC): BOOL; (*END StrokePath;*) PROCEDURE WidenPath* ["GDI32.dll", ""] (p0: HDC): BOOL; (*END WidenPath;*) PROCEDURE ExtCreatePen* ["GDI32.dll", ""] (p0: INTEGER; p1: INTEGER; VAR [nil] p2: LOGBRUSH; p3: INTEGER; VAR [nil] p4: INTEGER): HPEN; (*END ExtCreatePen;*) PROCEDURE GetMiterLimit* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: SHORTREAL): BOOL; (*END GetMiterLimit;*) PROCEDURE GetArcDirection* ["GDI32.dll", ""] (p0: HDC): INTEGER; (*END GetArcDirection;*) PROCEDURE GetObjectA* ["GDI32.dll", ""] (p0: HGDIOBJ; p1: INTEGER; p2: PtrVoid): INTEGER; (*END GetObjectA;*) PROCEDURE GetObjectW* ["GDI32.dll", ""] (p0: HGDIOBJ; p1: INTEGER; p2: PtrVoid): INTEGER; (*END GetObjectW;*) PROCEDURE GetObject* ["GDI32.dll", "GetObjectA"] (p0: HGDIOBJ; p1: INTEGER; p2: PtrVoid): INTEGER; (*END GetObject;*) PROCEDURE MoveToEx* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: POINT): BOOL; (*END MoveToEx;*) PROCEDURE TextOutA* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: PtrSTR; p4: INTEGER): BOOL; (*END TextOutA;*) PROCEDURE TextOutW* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: PtrWSTR; p4: INTEGER): BOOL; (*END TextOutW;*) PROCEDURE TextOut* ["GDI32.dll", "TextOutA"] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: PtrSTR; p4: INTEGER): BOOL; (*END TextOut;*) PROCEDURE ExtTextOutA* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; VAR [nil] p4: RECT; p5: PtrSTR; p6: INTEGER; VAR [nil] p7: INTEGER): BOOL; (*END ExtTextOutA;*) PROCEDURE ExtTextOutW* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; VAR [nil] p4: RECT; p5: PtrWSTR; p6: INTEGER; VAR [nil] p7: INTEGER): BOOL; (*END ExtTextOutW;*) PROCEDURE ExtTextOut* ["GDI32.dll", "ExtTextOutA"] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; VAR [nil] p4: RECT; p5: PtrSTR; p6: INTEGER; VAR [nil] p7: INTEGER): BOOL; (*END ExtTextOut;*) PROCEDURE PolyTextOutA* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POLYTEXTA; p2: INTEGER): BOOL; (*END PolyTextOutA;*) PROCEDURE PolyTextOutW* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POLYTEXTW; p2: INTEGER): BOOL; (*END PolyTextOutW;*) PROCEDURE PolyTextOut* ["GDI32.dll", "PolyTextOutA"] (p0: HDC; VAR [nil] p1: POLYTEXTA; p2: INTEGER): BOOL; (*END PolyTextOut;*) PROCEDURE CreatePolygonRgn* ["GDI32.dll", ""] (VAR [nil] p0: POINT; p1: INTEGER; p2: INTEGER): HRGN; (*END CreatePolygonRgn;*) PROCEDURE DPtoLP* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT; p2: INTEGER): BOOL; (*END DPtoLP;*) PROCEDURE LPtoDP* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT; p2: INTEGER): BOOL; (*END LPtoDP;*) PROCEDURE Polygon* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT; p2: INTEGER): BOOL; (*END Polygon;*) PROCEDURE Polyline* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT; p2: INTEGER): BOOL; (*END Polyline;*) PROCEDURE PolyBezier* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT; p2: INTEGER): BOOL; (*END PolyBezier;*) PROCEDURE PolyBezierTo* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT; p2: INTEGER): BOOL; (*END PolyBezierTo;*) PROCEDURE PolylineTo* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT; p2: INTEGER): BOOL; (*END PolylineTo;*) PROCEDURE SetViewportExtEx* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: SIZE): BOOL; (*END SetViewportExtEx;*) PROCEDURE SetViewportOrgEx* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: POINT): BOOL; (*END SetViewportOrgEx;*) PROCEDURE SetWindowExtEx* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: SIZE): BOOL; (*END SetWindowExtEx;*) PROCEDURE SetWindowOrgEx* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: POINT): BOOL; (*END SetWindowOrgEx;*) PROCEDURE OffsetViewportOrgEx* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: POINT): BOOL; (*END OffsetViewportOrgEx;*) PROCEDURE OffsetWindowOrgEx* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: POINT): BOOL; (*END OffsetWindowOrgEx;*) PROCEDURE ScaleViewportExtEx* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; VAR [nil] p5: SIZE): BOOL; (*END ScaleViewportExtEx;*) PROCEDURE ScaleWindowExtEx* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER; VAR [nil] p5: SIZE): BOOL; (*END ScaleWindowExtEx;*) PROCEDURE SetBitmapDimensionEx* ["GDI32.dll", ""] (p0: HBITMAP; p1: INTEGER; p2: INTEGER; VAR [nil] p3: SIZE): BOOL; (*END SetBitmapDimensionEx;*) PROCEDURE SetBrushOrgEx* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: POINT): BOOL; (*END SetBrushOrgEx;*) PROCEDURE GetTextFaceA* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: PtrSTR): INTEGER; (*END GetTextFaceA;*) PROCEDURE GetTextFaceW* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: PtrWSTR): INTEGER; (*END GetTextFaceW;*) PROCEDURE GetTextFace* ["GDI32.dll", "GetTextFaceA"] (p0: HDC; p1: INTEGER; p2: PtrSTR): INTEGER; (*END GetTextFace;*) PROCEDURE GetKerningPairsA* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; VAR [nil] p2: KERNINGPAIR): INTEGER; (*END GetKerningPairsA;*) PROCEDURE GetKerningPairsW* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; VAR [nil] p2: KERNINGPAIR): INTEGER; (*END GetKerningPairsW;*) PROCEDURE GetKerningPairs* ["GDI32.dll", "GetKerningPairsA"] (p0: HDC; p1: INTEGER; VAR [nil] p2: KERNINGPAIR): INTEGER; (*END GetKerningPairs;*) PROCEDURE GetDCOrgEx* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: POINT): BOOL; (*END GetDCOrgEx;*) PROCEDURE FixBrushOrgEx* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; VAR [nil] p3: POINT): BOOL; (*END FixBrushOrgEx;*) PROCEDURE UnrealizeObject* ["GDI32.dll", ""] (p0: HGDIOBJ): BOOL; (*END UnrealizeObject;*) PROCEDURE GdiFlush* ["GDI32.dll", ""] (): BOOL; (*END GdiFlush;*) PROCEDURE GdiSetBatchLimit* ["GDI32.dll", ""] (p0: INTEGER): INTEGER; (*END GdiSetBatchLimit;*) PROCEDURE GdiGetBatchLimit* ["GDI32.dll", ""] (): INTEGER; (*END GdiGetBatchLimit;*) PROCEDURE SetICMMode* ["GDI32.dll", ""] (p0: HDC; p1: INTEGER): INTEGER; (*END SetICMMode;*) PROCEDURE CheckColorsInGamut* ["GDI32.dll", ""] (p0: HDC; p1: PtrVoid; p2: PtrVoid; p3: INTEGER): BOOL; (*END CheckColorsInGamut;*) PROCEDURE GetColorSpace* ["GDI32.dll", ""] (p0: HDC): HANDLE; (*END GetColorSpace;*) PROCEDURE GetLogColorSpaceA* ["GDI32.dll", ""] (p0: HCOLORSPACE; VAR [nil] p1: LOGCOLORSPACEA; p2: INTEGER): BOOL; (*END GetLogColorSpaceA;*) PROCEDURE GetLogColorSpaceW* ["GDI32.dll", ""] (p0: HCOLORSPACE; VAR [nil] p1: LOGCOLORSPACEW; p2: INTEGER): BOOL; (*END GetLogColorSpaceW;*) PROCEDURE GetLogColorSpace* ["GDI32.dll", "GetLogColorSpaceA"] (p0: HCOLORSPACE; VAR [nil] p1: LOGCOLORSPACEA; p2: INTEGER): BOOL; (*END GetLogColorSpace;*) PROCEDURE CreateColorSpaceA* ["GDI32.dll", ""] (VAR [nil] p0: LOGCOLORSPACEA): HCOLORSPACE; (*END CreateColorSpaceA;*) PROCEDURE CreateColorSpaceW* ["GDI32.dll", ""] (VAR [nil] p0: LOGCOLORSPACEW): HCOLORSPACE; (*END CreateColorSpaceW;*) PROCEDURE CreateColorSpace* ["GDI32.dll", "CreateColorSpaceA"] (VAR [nil] p0: LOGCOLORSPACEA): HCOLORSPACE; (*END CreateColorSpace;*) PROCEDURE SetColorSpace* ["GDI32.dll", ""] (p0: HDC; p1: HCOLORSPACE): BOOL; (*END SetColorSpace;*) PROCEDURE DeleteColorSpace* ["GDI32.dll", ""] (p0: HCOLORSPACE): BOOL; (*END DeleteColorSpace;*) PROCEDURE GetICMProfileA* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: INTEGER; p2: PtrSTR): BOOL; (*END GetICMProfileA;*) PROCEDURE GetICMProfileW* ["GDI32.dll", ""] (p0: HDC; VAR [nil] p1: INTEGER; p2: PtrWSTR): BOOL; (*END GetICMProfileW;*) PROCEDURE GetICMProfile* ["GDI32.dll", "GetICMProfileA"] (p0: HDC; VAR [nil] p1: INTEGER; p2: PtrSTR): BOOL; (*END GetICMProfile;*) PROCEDURE SetICMProfileA* ["GDI32.dll", ""] (p0: HDC; p1: PtrSTR): BOOL; (*END SetICMProfileA;*) PROCEDURE SetICMProfileW* ["GDI32.dll", ""] (p0: HDC; p1: PtrWSTR): BOOL; (*END SetICMProfileW;*) PROCEDURE SetICMProfile* ["GDI32.dll", "SetICMProfileA"] (p0: HDC; p1: PtrSTR): BOOL; (*END SetICMProfile;*) PROCEDURE GetDeviceGammaRamp* ["GDI32.dll", ""] (p0: HDC; p1: PtrVoid): BOOL; (*END GetDeviceGammaRamp;*) PROCEDURE SetDeviceGammaRamp* ["GDI32.dll", ""] (p0: HDC; p1: PtrVoid): BOOL; (*END SetDeviceGammaRamp;*) PROCEDURE ColorMatchToTarget* ["GDI32.dll", ""] (p0: HDC; p1: HDC; p2: INTEGER): BOOL; (*END ColorMatchToTarget;*) PROCEDURE EnumICMProfilesA* ["GDI32.dll", ""] (p0: HDC; p1: ICMENUMPROCA; p2: LPARAM): INTEGER; (*END EnumICMProfilesA;*) PROCEDURE EnumICMProfilesW* ["GDI32.dll", ""] (p0: HDC; p1: ICMENUMPROCW; p2: LPARAM): INTEGER; (*END EnumICMProfilesW;*) PROCEDURE EnumICMProfiles* ["GDI32.dll", "EnumICMProfilesA"] (p0: HDC; p1: ICMENUMPROCA; p2: LPARAM): INTEGER; (*END EnumICMProfiles;*) PROCEDURE wglCopyContext* ["OPENGL32.dll", ""] (p0: HGLRC; p1: HGLRC; p2: INTEGER): BOOL; (*END wglCopyContext;*) PROCEDURE wglCreateContext* ["OPENGL32.dll", ""] (p0: HDC): HGLRC; (*END wglCreateContext;*) PROCEDURE wglCreateLayerContext* ["OPENGL32.dll", ""] (p0: HDC; p1: INTEGER): HGLRC; (*END wglCreateLayerContext;*) PROCEDURE wglDeleteContext* ["OPENGL32.dll", ""] (p0: HGLRC): BOOL; (*END wglDeleteContext;*) PROCEDURE wglGetCurrentContext* ["OPENGL32.dll", ""] (): HGLRC; (*END wglGetCurrentContext;*) PROCEDURE wglGetCurrentDC* ["OPENGL32.dll", ""] (): HDC; (*END wglGetCurrentDC;*) PROCEDURE wglGetProcAddress* ["OPENGL32.dll", ""] (p0: PtrSTR): ROC; (*END wglGetProcAddress;*) PROCEDURE wglMakeCurrent* ["OPENGL32.dll", ""] (p0: HDC; p1: HGLRC): BOOL; (*END wglMakeCurrent;*) PROCEDURE wglShareLists* ["OPENGL32.dll", ""] (p0: HGLRC; p1: HGLRC): BOOL; (*END wglShareLists;*) PROCEDURE wglUseFontBitmapsA* ["OPENGL32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER): BOOL; (*END wglUseFontBitmapsA;*) PROCEDURE wglUseFontBitmapsW* ["OPENGL32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER): BOOL; (*END wglUseFontBitmapsW;*) PROCEDURE wglUseFontBitmaps* ["OPENGL32.dll", "wglUseFontBitmapsA"] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER): BOOL; (*END wglUseFontBitmaps;*) PROCEDURE SwapBuffers* ["GDI32.dll", ""] (p0: HDC): BOOL; (*END SwapBuffers;*) PROCEDURE wglUseFontOutlinesA* ["OPENGL32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: SHORTREAL; p5: SHORTREAL; p6: INTEGER; VAR [nil] p7: GLYPHMETRICSFLOAT): BOOL; (*END wglUseFontOutlinesA;*) PROCEDURE wglUseFontOutlinesW* ["OPENGL32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: SHORTREAL; p5: SHORTREAL; p6: INTEGER; VAR [nil] p7: GLYPHMETRICSFLOAT): BOOL; (*END wglUseFontOutlinesW;*) PROCEDURE wglUseFontOutlines* ["OPENGL32.dll", "wglUseFontOutlinesA"] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: SHORTREAL; p5: SHORTREAL; p6: INTEGER; VAR [nil] p7: GLYPHMETRICSFLOAT): BOOL; (*END wglUseFontOutlines;*) PROCEDURE wglDescribeLayerPlane* ["OPENGL32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; VAR [nil] p4: LAYERPLANEDESCRIPTOR): BOOL; (*END wglDescribeLayerPlane;*) PROCEDURE wglSetLayerPaletteEntries* ["OPENGL32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; VAR [nil] p4: COLORREF): INTEGER; (*END wglSetLayerPaletteEntries;*) PROCEDURE wglGetLayerPaletteEntries* ["OPENGL32.dll", ""] (p0: HDC; p1: INTEGER; p2: INTEGER; p3: INTEGER; VAR [nil] p4: COLORREF): INTEGER; (*END wglGetLayerPaletteEntries;*) PROCEDURE wglRealizeLayerPalette* ["OPENGL32.dll", ""] (p0: HDC; p1: INTEGER; p2: BOOL): BOOL; (*END wglRealizeLayerPalette;*) PROCEDURE wglSwapLayerBuffers* ["OPENGL32.dll", ""] (p0: HDC; p1: INTEGER): BOOL; (*END wglSwapLayerBuffers;*) PROCEDURE wvsprintfA* ["USER32.dll", ""] (p0: PtrSTR; p1: PtrSTR; arglist: PtrSTR): INTEGER; (*END wvsprintfA;*) PROCEDURE wvsprintfW* ["USER32.dll", ""] (p0: PtrWSTR; p1: PtrWSTR; arglist: PtrSTR): INTEGER; (*END wvsprintfW;*) PROCEDURE wvsprintf* ["USER32.dll", "wvsprintfA"] (p0: PtrSTR; p1: PtrSTR; arglist: PtrSTR): INTEGER; (*END wvsprintf;*) PROCEDURE [ccall] wsprintfA* ["USER32.dll", ""] (p0: PtrSTR; p1: PtrSTR): INTEGER; (*END wsprintfA;*) PROCEDURE [ccall] wsprintfW* ["USER32.dll", ""] (p0: PtrWSTR; p1: PtrWSTR): INTEGER; (*END wsprintfW;*) PROCEDURE [ccall] wsprintf* ["USER32.dll", "wsprintfA"] (p0: PtrSTR; p1: PtrSTR): INTEGER; (*END wsprintf;*) PROCEDURE LoadKeyboardLayoutA* ["USER32.dll", ""] (pwszKLID: PtrSTR; Flags: SET): HKL; (*END LoadKeyboardLayoutA;*) PROCEDURE LoadKeyboardLayoutW* ["USER32.dll", ""] (pwszKLID: PtrWSTR; Flags: SET): HKL; (*END LoadKeyboardLayoutW;*) PROCEDURE LoadKeyboardLayout* ["USER32.dll", "LoadKeyboardLayoutA"] (pwszKLID: PtrSTR; Flags: SET): HKL; (*END LoadKeyboardLayout;*) PROCEDURE ActivateKeyboardLayout* ["USER32.dll", ""] (hkl: HKL; Flags: SET): HKL; (*END ActivateKeyboardLayout;*) PROCEDURE ToUnicodeEx* ["USER32.dll", ""] (wVirtKey: INTEGER; wScanCode: INTEGER; VAR [nil] lpKeyState: SHORTCHAR; pwszBuff: PtrWSTR; cchBuff: INTEGER; wFlags: INTEGER; dwhkl: HKL): INTEGER; (*END ToUnicodeEx;*) PROCEDURE UnloadKeyboardLayout* ["USER32.dll", ""] (hkl: HKL): BOOL; (*END UnloadKeyboardLayout;*) PROCEDURE GetKeyboardLayoutNameA* ["USER32.dll", ""] (pwszKLID: PtrSTR): BOOL; (*END GetKeyboardLayoutNameA;*) PROCEDURE GetKeyboardLayoutNameW* ["USER32.dll", ""] (pwszKLID: PtrWSTR): BOOL; (*END GetKeyboardLayoutNameW;*) PROCEDURE GetKeyboardLayoutName* ["USER32.dll", "GetKeyboardLayoutNameA"] (pwszKLID: PtrSTR): BOOL; (*END GetKeyboardLayoutName;*) PROCEDURE GetKeyboardLayoutList* ["USER32.dll", ""] (nBuff: INTEGER; VAR [nil] lpList: HKL): INTEGER; (*END GetKeyboardLayoutList;*) PROCEDURE GetKeyboardLayout* ["USER32.dll", ""] (dwLayout: INTEGER): HKL; (*END GetKeyboardLayout;*) PROCEDURE CreateDesktopA* ["USER32.dll", ""] (lpszDesktop: PtrSTR; lpszDevice: PtrSTR; VAR [nil] pDevmode: DEVMODEA; dwFlags: SET; dwDesiredAccess: SET; VAR [nil] lpsa: SECURITY_ATTRIBUTES): HDESK; (*END CreateDesktopA;*) PROCEDURE CreateDesktopW* ["USER32.dll", ""] (lpszDesktop: PtrWSTR; lpszDevice: PtrWSTR; VAR [nil] pDevmode: DEVMODEW; dwFlags: SET; dwDesiredAccess: SET; VAR [nil] lpsa: SECURITY_ATTRIBUTES): HDESK; (*END CreateDesktopW;*) PROCEDURE CreateDesktop* ["USER32.dll", "CreateDesktopA"] (lpszDesktop: PtrSTR; lpszDevice: PtrSTR; VAR [nil] pDevmode: DEVMODEA; dwFlags: SET; dwDesiredAccess: SET; VAR [nil] lpsa: SECURITY_ATTRIBUTES): HDESK; (*END CreateDesktop;*) PROCEDURE OpenDesktopA* ["USER32.dll", ""] (lpszDesktop: PtrSTR; dwFlags: SET; fInherit: BOOL; dwDesiredAccess: SET): HDESK; (*END OpenDesktopA;*) PROCEDURE OpenDesktopW* ["USER32.dll", ""] (lpszDesktop: PtrWSTR; dwFlags: SET; fInherit: BOOL; dwDesiredAccess: SET): HDESK; (*END OpenDesktopW;*) PROCEDURE OpenDesktop* ["USER32.dll", "OpenDesktopA"] (lpszDesktop: PtrSTR; dwFlags: SET; fInherit: BOOL; dwDesiredAccess: SET): HDESK; (*END OpenDesktop;*) PROCEDURE OpenInputDesktop* ["USER32.dll", ""] (dwFlags: SET; fInherit: BOOL; dwDesiredAccess: SET): HDESK; (*END OpenInputDesktop;*) PROCEDURE EnumDesktopsA* ["USER32.dll", ""] (hwinsta: HWINSTA; lpEnumFunc: DESKTOPENUMPROCA; lParam: LPARAM): BOOL; (*END EnumDesktopsA;*) PROCEDURE EnumDesktopsW* ["USER32.dll", ""] (hwinsta: HWINSTA; lpEnumFunc: DESKTOPENUMPROCW; lParam: LPARAM): BOOL; (*END EnumDesktopsW;*) PROCEDURE EnumDesktops* ["USER32.dll", "EnumDesktopsA"] (hwinsta: HWINSTA; lpEnumFunc: DESKTOPENUMPROCA; lParam: LPARAM): BOOL; (*END EnumDesktops;*) PROCEDURE EnumDesktopWindows* ["USER32.dll", ""] (hDesktop: HDESK; lpfn: WNDENUMPROC; lParam: LPARAM): BOOL; (*END EnumDesktopWindows;*) PROCEDURE SwitchDesktop* ["USER32.dll", ""] (hDesktop: HDESK): BOOL; (*END SwitchDesktop;*) PROCEDURE SetThreadDesktop* ["USER32.dll", ""] (hDesktop: HDESK): BOOL; (*END SetThreadDesktop;*) PROCEDURE CloseDesktop* ["USER32.dll", ""] (hDesktop: HDESK): BOOL; (*END CloseDesktop;*) PROCEDURE GetThreadDesktop* ["USER32.dll", ""] (dwThreadId: INTEGER): HDESK; (*END GetThreadDesktop;*) PROCEDURE CreateWindowStationA* ["USER32.dll", ""] (lpwinsta: PtrSTR; dwReserved: INTEGER; dwDesiredAccess: SET; VAR [nil] lpsa: SECURITY_ATTRIBUTES): HWINSTA; (*END CreateWindowStationA;*) PROCEDURE CreateWindowStationW* ["USER32.dll", ""] (lpwinsta: PtrWSTR; dwReserved: INTEGER; dwDesiredAccess: SET; VAR [nil] lpsa: SECURITY_ATTRIBUTES): HWINSTA; (*END CreateWindowStationW;*) PROCEDURE CreateWindowStation* ["USER32.dll", "CreateWindowStationA"] (lpwinsta: PtrSTR; dwReserved: INTEGER; dwDesiredAccess: SET; VAR [nil] lpsa: SECURITY_ATTRIBUTES): HWINSTA; (*END CreateWindowStation;*) PROCEDURE OpenWindowStationA* ["USER32.dll", ""] (lpszWinSta: PtrSTR; fInherit: BOOL; dwDesiredAccess: SET): HWINSTA; (*END OpenWindowStationA;*) PROCEDURE OpenWindowStationW* ["USER32.dll", ""] (lpszWinSta: PtrWSTR; fInherit: BOOL; dwDesiredAccess: SET): HWINSTA; (*END OpenWindowStationW;*) PROCEDURE OpenWindowStation* ["USER32.dll", "OpenWindowStationA"] (lpszWinSta: PtrSTR; fInherit: BOOL; dwDesiredAccess: SET): HWINSTA; (*END OpenWindowStation;*) PROCEDURE EnumWindowStationsA* ["USER32.dll", ""] (lpEnumFunc: WINSTAENUMPROCA; lParam: LPARAM): BOOL; (*END EnumWindowStationsA;*) PROCEDURE EnumWindowStationsW* ["USER32.dll", ""] (lpEnumFunc: WINSTAENUMPROCW; lParam: LPARAM): BOOL; (*END EnumWindowStationsW;*) PROCEDURE EnumWindowStations* ["USER32.dll", "EnumWindowStationsA"] (lpEnumFunc: WINSTAENUMPROCA; lParam: LPARAM): BOOL; (*END EnumWindowStations;*) PROCEDURE CloseWindowStation* ["USER32.dll", ""] (hWinSta: HWINSTA): BOOL; (*END CloseWindowStation;*) PROCEDURE SetProcessWindowStation* ["USER32.dll", ""] (hWinSta: HWINSTA): BOOL; (*END SetProcessWindowStation;*) PROCEDURE GetProcessWindowStation* ["USER32.dll", ""] (): HWINSTA; (*END GetProcessWindowStation;*) PROCEDURE SetUserObjectSecurity* ["USER32.dll", ""] (hObj: HANDLE; VAR [nil] pSIRequested: INTEGER; pSID: PSECURITY_DESCRIPTOR): BOOL; (*END SetUserObjectSecurity;*) PROCEDURE GetUserObjectSecurity* ["USER32.dll", ""] (hObj: HANDLE; VAR [nil] pSIRequested: INTEGER; pSID: PSECURITY_DESCRIPTOR; nLength: INTEGER; VAR [nil] lpnLengthNeeded: INTEGER): BOOL; (*END GetUserObjectSecurity;*) PROCEDURE GetUserObjectInformationA* ["USER32.dll", ""] (hObj: HANDLE; nIndex: INTEGER; pvInfo: PtrVoid; nLength: INTEGER; VAR [nil] lpnLengthNeeded: INTEGER): BOOL; (*END GetUserObjectInformationA;*) PROCEDURE GetUserObjectInformationW* ["USER32.dll", ""] (hObj: HANDLE; nIndex: INTEGER; pvInfo: PtrVoid; nLength: INTEGER; VAR [nil] lpnLengthNeeded: INTEGER): BOOL; (*END GetUserObjectInformationW;*) PROCEDURE GetUserObjectInformation* ["USER32.dll", "GetUserObjectInformationA"] (hObj: HANDLE; nIndex: INTEGER; pvInfo: PtrVoid; nLength: INTEGER; VAR [nil] lpnLengthNeeded: INTEGER): BOOL; (*END GetUserObjectInformation;*) PROCEDURE SetUserObjectInformationA* ["USER32.dll", ""] (hObj: HANDLE; nIndex: INTEGER; pvInfo: PtrVoid; nLength: INTEGER): BOOL; (*END SetUserObjectInformationA;*) PROCEDURE SetUserObjectInformationW* ["USER32.dll", ""] (hObj: HANDLE; nIndex: INTEGER; pvInfo: PtrVoid; nLength: INTEGER): BOOL; (*END SetUserObjectInformationW;*) PROCEDURE SetUserObjectInformation* ["USER32.dll", "SetUserObjectInformationA"] (hObj: HANDLE; nIndex: INTEGER; pvInfo: PtrVoid; nLength: INTEGER): BOOL; (*END SetUserObjectInformation;*) PROCEDURE RegisterWindowMessageA* ["USER32.dll", ""] (lpString: PtrSTR): INTEGER; (*END RegisterWindowMessageA;*) PROCEDURE RegisterWindowMessageW* ["USER32.dll", ""] (lpString: PtrWSTR): INTEGER; (*END RegisterWindowMessageW;*) PROCEDURE RegisterWindowMessage* ["USER32.dll", "RegisterWindowMessageA"] (lpString: PtrSTR): INTEGER; (*END RegisterWindowMessage;*) PROCEDURE DrawEdge* ["USER32.dll", ""] (hdc: HDC; VAR [nil] qrc: RECT; edge: SET; grfFlags: SET): BOOL; (*END DrawEdge;*) PROCEDURE DrawFrameControl* ["USER32.dll", ""] (p0: HDC; VAR [nil] p1: RECT; p2: INTEGER; p3: SET): BOOL; (*END DrawFrameControl;*) PROCEDURE DrawCaption* ["USER32.dll", ""] (p0: HWND; p1: HDC; VAR [nil] p2: RECT; p3: INTEGER): BOOL; (*END DrawCaption;*) PROCEDURE DrawAnimatedRects* ["USER32.dll", ""] (hwnd: HWND; idAni: INTEGER; VAR [nil] lprcFrom: RECT; VAR [nil] lprcTo: RECT): BOOL; (*END DrawAnimatedRects;*) PROCEDURE GetMessageA* ["USER32.dll", ""] (VAR [nil] lpMsg: MSG; hWnd: HWND; wMsgFilterMin: INTEGER; wMsgFilterMax: INTEGER): BOOL; (*END GetMessageA;*) PROCEDURE GetMessageW* ["USER32.dll", ""] (VAR [nil] lpMsg: MSG; hWnd: HWND; wMsgFilterMin: INTEGER; wMsgFilterMax: INTEGER): BOOL; (*END GetMessageW;*) PROCEDURE GetMessage* ["USER32.dll", "GetMessageA"] (VAR [nil] lpMsg: MSG; hWnd: HWND; wMsgFilterMin: INTEGER; wMsgFilterMax: INTEGER): BOOL; (*END GetMessage;*) PROCEDURE TranslateMessage* ["USER32.dll", ""] (VAR [nil] lpMsg: MSG): BOOL; (*END TranslateMessage;*) PROCEDURE DispatchMessageA* ["USER32.dll", ""] (VAR [nil] lpMsg: MSG): INTEGER; (*END DispatchMessageA;*) PROCEDURE DispatchMessageW* ["USER32.dll", ""] (VAR [nil] lpMsg: MSG): INTEGER; (*END DispatchMessageW;*) PROCEDURE DispatchMessage* ["USER32.dll", "DispatchMessageA"] (VAR [nil] lpMsg: MSG): INTEGER; (*END DispatchMessage;*) PROCEDURE SetMessageQueue* ["USER32.dll", ""] (cMessagesMax: INTEGER): BOOL; (*END SetMessageQueue;*) PROCEDURE PeekMessageA* ["USER32.dll", ""] (VAR [nil] lpMsg: MSG; hWnd: HWND; wMsgFilterMin: INTEGER; wMsgFilterMax: INTEGER; wRemoveMsg: INTEGER): BOOL; (*END PeekMessageA;*) PROCEDURE PeekMessageW* ["USER32.dll", ""] (VAR [nil] lpMsg: MSG; hWnd: HWND; wMsgFilterMin: INTEGER; wMsgFilterMax: INTEGER; wRemoveMsg: INTEGER): BOOL; (*END PeekMessageW;*) PROCEDURE PeekMessage* ["USER32.dll", "PeekMessageA"] (VAR [nil] lpMsg: MSG; hWnd: HWND; wMsgFilterMin: INTEGER; wMsgFilterMax: INTEGER; wRemoveMsg: INTEGER): BOOL; (*END PeekMessage;*) PROCEDURE RegisterHotKey* ["USER32.dll", ""] (hWnd: HWND; id: INTEGER; fsModifiers: INTEGER; vk: INTEGER): BOOL; (*END RegisterHotKey;*) PROCEDURE UnregisterHotKey* ["USER32.dll", ""] (hWnd: HWND; id: INTEGER): BOOL; (*END UnregisterHotKey;*) PROCEDURE ExitWindowsEx* ["USER32.dll", ""] (uFlags: SET; dwReserved: INTEGER): BOOL; (*END ExitWindowsEx;*) PROCEDURE SwapMouseButton* ["USER32.dll", ""] (fSwap: BOOL): BOOL; (*END SwapMouseButton;*) PROCEDURE GetMessagePos* ["USER32.dll", ""] (): INTEGER; (*END GetMessagePos;*) PROCEDURE GetMessageTime* ["USER32.dll", ""] (): INTEGER; (*END GetMessageTime;*) PROCEDURE GetMessageExtraInfo* ["USER32.dll", ""] (): INTEGER; (*END GetMessageExtraInfo;*) PROCEDURE SetMessageExtraInfo* ["USER32.dll", ""] (lParam: LPARAM): LPARAM; (*END SetMessageExtraInfo;*) PROCEDURE SendMessageA* ["USER32.dll", ""] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END SendMessageA;*) PROCEDURE SendMessageW* ["USER32.dll", ""] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END SendMessageW;*) PROCEDURE SendMessage* ["USER32.dll", "SendMessageA"] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END SendMessage;*) PROCEDURE SendMessageTimeoutA* ["USER32.dll", ""] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM; fuFlags: SET; uTimeout: INTEGER; VAR [nil] lpdwResult: INTEGER): LRESULT; (*END SendMessageTimeoutA;*) PROCEDURE SendMessageTimeoutW* ["USER32.dll", ""] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM; fuFlags: SET; uTimeout: INTEGER; VAR [nil] lpdwResult: INTEGER): LRESULT; (*END SendMessageTimeoutW;*) PROCEDURE SendMessageTimeout* ["USER32.dll", "SendMessageTimeoutA"] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM; fuFlags: SET; uTimeout: INTEGER; VAR [nil] lpdwResult: INTEGER): LRESULT; (*END SendMessageTimeout;*) PROCEDURE SendNotifyMessageA* ["USER32.dll", ""] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): BOOL; (*END SendNotifyMessageA;*) PROCEDURE SendNotifyMessageW* ["USER32.dll", ""] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): BOOL; (*END SendNotifyMessageW;*) PROCEDURE SendNotifyMessage* ["USER32.dll", "SendNotifyMessageA"] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): BOOL; (*END SendNotifyMessage;*) PROCEDURE SendMessageCallbackA* ["USER32.dll", ""] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM; lpResultCallBack: SENDASYNCPROC; dwData: INTEGER): BOOL; (*END SendMessageCallbackA;*) PROCEDURE SendMessageCallbackW* ["USER32.dll", ""] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM; lpResultCallBack: SENDASYNCPROC; dwData: INTEGER): BOOL; (*END SendMessageCallbackW;*) PROCEDURE SendMessageCallback* ["USER32.dll", "SendMessageCallbackA"] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM; lpResultCallBack: SENDASYNCPROC; dwData: INTEGER): BOOL; (*END SendMessageCallback;*) PROCEDURE BroadcastSystemMessageA* ["USER32.dll", ""] (p0: SET; VAR [nil] p1: SET; p2: INTEGER; p3: WPARAM; p4: LPARAM): INTEGER; (*END BroadcastSystemMessageA;*) PROCEDURE BroadcastSystemMessageW* ["USER32.dll", ""] (p0: SET; VAR [nil] p1: SET; p2: INTEGER; p3: WPARAM; p4: LPARAM): INTEGER; (*END BroadcastSystemMessageW;*) PROCEDURE BroadcastSystemMessage* ["USER32.dll", "BroadcastSystemMessageA"] (p0: SET; VAR [nil] p1: SET; p2: INTEGER; p3: WPARAM; p4: LPARAM): INTEGER; (*END BroadcastSystemMessage;*) PROCEDURE PostMessageA* ["USER32.dll", ""] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): BOOL; (*END PostMessageA;*) PROCEDURE PostMessageW* ["USER32.dll", ""] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): BOOL; (*END PostMessageW;*) PROCEDURE PostMessage* ["USER32.dll", "PostMessageA"] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): BOOL; (*END PostMessage;*) PROCEDURE PostThreadMessageA* ["USER32.dll", ""] (idThread: INTEGER; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): BOOL; (*END PostThreadMessageA;*) PROCEDURE PostThreadMessageW* ["USER32.dll", ""] (idThread: INTEGER; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): BOOL; (*END PostThreadMessageW;*) PROCEDURE PostThreadMessage* ["USER32.dll", "PostThreadMessageA"] (idThread: INTEGER; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): BOOL; (*END PostThreadMessage;*) PROCEDURE AttachThreadInput* ["USER32.dll", ""] (idAttach: INTEGER; idAttachTo: INTEGER; fAttach: BOOL): BOOL; (*END AttachThreadInput;*) PROCEDURE ReplyMessage* ["USER32.dll", ""] (lResult: LRESULT): BOOL; (*END ReplyMessage;*) PROCEDURE WaitMessage* ["USER32.dll", ""] (): BOOL; (*END WaitMessage;*) PROCEDURE WaitForInputIdle* ["USER32.dll", ""] (hProcess: HANDLE; dwMilliseconds: INTEGER): INTEGER; (*END WaitForInputIdle;*) PROCEDURE DefWindowProcA* ["USER32.dll", ""] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END DefWindowProcA;*) PROCEDURE DefWindowProcW* ["USER32.dll", ""] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END DefWindowProcW;*) PROCEDURE DefWindowProc* ["USER32.dll", "DefWindowProcA"] (hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END DefWindowProc;*) PROCEDURE PostQuitMessage* ["USER32.dll", ""] (nExitCode: INTEGER); (*END PostQuitMessage;*) PROCEDURE CallWindowProcA* ["USER32.dll", ""] (lpPrevWndFunc: FARPROC; hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END CallWindowProcA;*) PROCEDURE CallWindowProcW* ["USER32.dll", ""] (lpPrevWndFunc: FARPROC; hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END CallWindowProcW;*) PROCEDURE CallWindowProc* ["USER32.dll", "CallWindowProcA"] (lpPrevWndFunc: FARPROC; hWnd: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END CallWindowProc;*) PROCEDURE InSendMessage* ["USER32.dll", ""] (): BOOL; (*END InSendMessage;*) PROCEDURE GetDoubleClickTime* ["USER32.dll", ""] (): INTEGER; (*END GetDoubleClickTime;*) PROCEDURE SetDoubleClickTime* ["USER32.dll", ""] (p0: INTEGER): BOOL; (*END SetDoubleClickTime;*) PROCEDURE RegisterClassA* ["USER32.dll", ""] (VAR [nil] lpWndClass: WNDCLASSA): ATOM; (*END RegisterClassA;*) PROCEDURE RegisterClassW* ["USER32.dll", ""] (VAR [nil] lpWndClass: WNDCLASSW): ATOM; (*END RegisterClassW;*) PROCEDURE RegisterClass* ["USER32.dll", "RegisterClassA"] (VAR [nil] lpWndClass: WNDCLASSA): ATOM; (*END RegisterClass;*) PROCEDURE UnregisterClassA* ["USER32.dll", ""] (lpClassName: PtrSTR; hInstance: HINSTANCE): BOOL; (*END UnregisterClassA;*) PROCEDURE UnregisterClassW* ["USER32.dll", ""] (lpClassName: PtrWSTR; hInstance: HINSTANCE): BOOL; (*END UnregisterClassW;*) PROCEDURE UnregisterClass* ["USER32.dll", "UnregisterClassA"] (lpClassName: PtrSTR; hInstance: HINSTANCE): BOOL; (*END UnregisterClass;*) PROCEDURE GetClassInfoA* ["USER32.dll", ""] (hInstance: HINSTANCE; lpClassName: PtrSTR; VAR [nil] lpWndClass: WNDCLASSA): BOOL; (*END GetClassInfoA;*) PROCEDURE GetClassInfoW* ["USER32.dll", ""] (hInstance: HINSTANCE; lpClassName: PtrWSTR; VAR [nil] lpWndClass: WNDCLASSW): BOOL; (*END GetClassInfoW;*) PROCEDURE GetClassInfo* ["USER32.dll", "GetClassInfoA"] (hInstance: HINSTANCE; lpClassName: PtrSTR; VAR [nil] lpWndClass: WNDCLASSA): BOOL; (*END GetClassInfo;*) PROCEDURE RegisterClassExA* ["USER32.dll", ""] (VAR [nil] p0: WNDCLASSEXA): ATOM; (*END RegisterClassExA;*) PROCEDURE RegisterClassExW* ["USER32.dll", ""] (VAR [nil] p0: WNDCLASSEXW): ATOM; (*END RegisterClassExW;*) PROCEDURE RegisterClassEx* ["USER32.dll", "RegisterClassExA"] (VAR [nil] p0: WNDCLASSEXA): ATOM; (*END RegisterClassEx;*) PROCEDURE GetClassInfoExA* ["USER32.dll", ""] (p0: HINSTANCE; p1: PtrSTR; VAR [nil] p2: WNDCLASSEXA): BOOL; (*END GetClassInfoExA;*) PROCEDURE GetClassInfoExW* ["USER32.dll", ""] (p0: HINSTANCE; p1: PtrWSTR; VAR [nil] p2: WNDCLASSEXW): BOOL; (*END GetClassInfoExW;*) PROCEDURE GetClassInfoEx* ["USER32.dll", "GetClassInfoExA"] (p0: HINSTANCE; p1: PtrSTR; VAR [nil] p2: WNDCLASSEXA): BOOL; (*END GetClassInfoEx;*) PROCEDURE CreateWindowExA* ["USER32.dll", ""] (dwExStyle: SET; lpClassName: PtrSTR; lpWindowName: PtrSTR; dwStyle: SET; X: INTEGER; Y: INTEGER; nWidth: INTEGER; nHeight: INTEGER; hWndParent: HWND; hMenu: HMENU; hInstance: HINSTANCE; lpParam: PtrVoid): HWND; (*END CreateWindowExA;*) PROCEDURE CreateWindowExW* ["USER32.dll", ""] (dwExStyle: SET; lpClassName: PtrWSTR; lpWindowName: PtrWSTR; dwStyle: SET; X: INTEGER; Y: INTEGER; nWidth: INTEGER; nHeight: INTEGER; hWndParent: HWND; hMenu: HMENU; hInstance: HINSTANCE; lpParam: PtrVoid): HWND; (*END CreateWindowExW;*) PROCEDURE CreateWindowEx* ["USER32.dll", "CreateWindowExA"] (dwExStyle: SET; lpClassName: PtrSTR; lpWindowName: PtrSTR; dwStyle: SET; X: INTEGER; Y: INTEGER; nWidth: INTEGER; nHeight: INTEGER; hWndParent: HWND; hMenu: HMENU; hInstance: HINSTANCE; lpParam: PtrVoid): HWND; (*END CreateWindowEx;*) PROCEDURE IsWindow* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END IsWindow;*) PROCEDURE IsMenu* ["USER32.dll", ""] (hMenu: HMENU): BOOL; (*END IsMenu;*) PROCEDURE IsChild* ["USER32.dll", ""] (hWndParent: HWND; hWnd: HWND): BOOL; (*END IsChild;*) PROCEDURE DestroyWindow* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END DestroyWindow;*) PROCEDURE ShowWindow* ["USER32.dll", ""] (hWnd: HWND; nCmdShow: INTEGER): BOOL; (*END ShowWindow;*) PROCEDURE ShowWindowAsync* ["USER32.dll", ""] (hWnd: HWND; nCmdShow: INTEGER): BOOL; (*END ShowWindowAsync;*) PROCEDURE FlashWindow* ["USER32.dll", ""] (hWnd: HWND; bInvert: BOOL): BOOL; (*END FlashWindow;*) PROCEDURE ShowOwnedPopups* ["USER32.dll", ""] (hWnd: HWND; fShow: BOOL): BOOL; (*END ShowOwnedPopups;*) PROCEDURE OpenIcon* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END OpenIcon;*) PROCEDURE CloseWindow* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END CloseWindow;*) PROCEDURE MoveWindow* ["USER32.dll", ""] (hWnd: HWND; X: INTEGER; Y: INTEGER; nWidth: INTEGER; nHeight: INTEGER; bRepaint: BOOL): BOOL; (*END MoveWindow;*) PROCEDURE SetWindowPos* ["USER32.dll", ""] (hWnd: HWND; hWndInsertAfter: HWND; X: INTEGER; Y: INTEGER; cx: INTEGER; cy: INTEGER; uFlags: SET): BOOL; (*END SetWindowPos;*) PROCEDURE GetWindowPlacement* ["USER32.dll", ""] (hWnd: HWND; VAR [nil] lpwndpl: WINDOWPLACEMENT): BOOL; (*END GetWindowPlacement;*) PROCEDURE SetWindowPlacement* ["USER32.dll", ""] (hWnd: HWND; VAR [nil] lpwndpl: WINDOWPLACEMENT): BOOL; (*END SetWindowPlacement;*) PROCEDURE BeginDeferWindowPos* ["USER32.dll", ""] (nNumWindows: INTEGER): HDWP; (*END BeginDeferWindowPos;*) PROCEDURE DeferWindowPos* ["USER32.dll", ""] (hWinPosInfo: HDWP; hWnd: HWND; hWndInsertAfter: HWND; x: INTEGER; y: INTEGER; cx: INTEGER; cy: INTEGER; uFlags: SET): HDWP; (*END DeferWindowPos;*) PROCEDURE EndDeferWindowPos* ["USER32.dll", ""] (hWinPosInfo: HDWP): BOOL; (*END EndDeferWindowPos;*) PROCEDURE IsWindowVisible* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END IsWindowVisible;*) PROCEDURE IsIconic* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END IsIconic;*) PROCEDURE AnyPopup* ["USER32.dll", ""] (): BOOL; (*END AnyPopup;*) PROCEDURE BringWindowToTop* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END BringWindowToTop;*) PROCEDURE IsZoomed* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END IsZoomed;*) PROCEDURE CreateDialogParamA* ["USER32.dll", ""] (hInstance: HINSTANCE; lpTemplateName: PtrSTR; hWndParent: HWND; lpDialogFunc: DLGPROC; dwInitParam: LPARAM): HWND; (*END CreateDialogParamA;*) PROCEDURE CreateDialogParamW* ["USER32.dll", ""] (hInstance: HINSTANCE; lpTemplateName: PtrWSTR; hWndParent: HWND; lpDialogFunc: DLGPROC; dwInitParam: LPARAM): HWND; (*END CreateDialogParamW;*) PROCEDURE CreateDialogParam* ["USER32.dll", "CreateDialogParamA"] (hInstance: HINSTANCE; lpTemplateName: PtrSTR; hWndParent: HWND; lpDialogFunc: DLGPROC; dwInitParam: LPARAM): HWND; (*END CreateDialogParam;*) PROCEDURE CreateDialogIndirectParamA* ["USER32.dll", ""] (hInstance: HINSTANCE; VAR [nil] lpTemplate: DLGTEMPLATE; hWndParent: HWND; lpDialogFunc: DLGPROC; dwInitParam: LPARAM): HWND; (*END CreateDialogIndirectParamA;*) PROCEDURE CreateDialogIndirectParamW* ["USER32.dll", ""] (hInstance: HINSTANCE; VAR [nil] lpTemplate: DLGTEMPLATE; hWndParent: HWND; lpDialogFunc: DLGPROC; dwInitParam: LPARAM): HWND; (*END CreateDialogIndirectParamW;*) PROCEDURE CreateDialogIndirectParam* ["USER32.dll", "CreateDialogIndirectParamA"] (hInstance: HINSTANCE; VAR [nil] lpTemplate: DLGTEMPLATE; hWndParent: HWND; lpDialogFunc: DLGPROC; dwInitParam: LPARAM): HWND; (*END CreateDialogIndirectParam;*) PROCEDURE DialogBoxParamA* ["USER32.dll", ""] (hInstance: HINSTANCE; lpTemplateName: PtrSTR; hWndParent: HWND; lpDialogFunc: DLGPROC; dwInitParam: LPARAM): INTEGER; (*END DialogBoxParamA;*) PROCEDURE DialogBoxParamW* ["USER32.dll", ""] (hInstance: HINSTANCE; lpTemplateName: PtrWSTR; hWndParent: HWND; lpDialogFunc: DLGPROC; dwInitParam: LPARAM): INTEGER; (*END DialogBoxParamW;*) PROCEDURE DialogBoxParam* ["USER32.dll", "DialogBoxParamA"] (hInstance: HINSTANCE; lpTemplateName: PtrSTR; hWndParent: HWND; lpDialogFunc: DLGPROC; dwInitParam: LPARAM): INTEGER; (*END DialogBoxParam;*) PROCEDURE DialogBoxIndirectParamA* ["USER32.dll", ""] (hInstance: HINSTANCE; VAR [nil] hDialogTemplate: DLGTEMPLATE; hWndParent: HWND; lpDialogFunc: DLGPROC; dwInitParam: LPARAM): INTEGER; (*END DialogBoxIndirectParamA;*) PROCEDURE DialogBoxIndirectParamW* ["USER32.dll", ""] (hInstance: HINSTANCE; VAR [nil] hDialogTemplate: DLGTEMPLATE; hWndParent: HWND; lpDialogFunc: DLGPROC; dwInitParam: LPARAM): INTEGER; (*END DialogBoxIndirectParamW;*) PROCEDURE DialogBoxIndirectParam* ["USER32.dll", "DialogBoxIndirectParamA"] (hInstance: HINSTANCE; VAR [nil] hDialogTemplate: DLGTEMPLATE; hWndParent: HWND; lpDialogFunc: DLGPROC; dwInitParam: LPARAM): INTEGER; (*END DialogBoxIndirectParam;*) PROCEDURE EndDialog* ["USER32.dll", ""] (hDlg: HWND; nResult: INTEGER): BOOL; (*END EndDialog;*) PROCEDURE GetDlgItem* ["USER32.dll", ""] (hDlg: HWND; nIDDlgItem: INTEGER): HWND; (*END GetDlgItem;*) PROCEDURE SetDlgItemInt* ["USER32.dll", ""] (hDlg: HWND; nIDDlgItem: INTEGER; uValue: INTEGER; bSigned: BOOL): BOOL; (*END SetDlgItemInt;*) PROCEDURE GetDlgItemInt* ["USER32.dll", ""] (hDlg: HWND; nIDDlgItem: INTEGER; VAR [nil] lpTranslated: BOOL; bSigned: BOOL): INTEGER; (*END GetDlgItemInt;*) PROCEDURE SetDlgItemTextA* ["USER32.dll", ""] (hDlg: HWND; nIDDlgItem: INTEGER; lpString: PtrSTR): BOOL; (*END SetDlgItemTextA;*) PROCEDURE SetDlgItemTextW* ["USER32.dll", ""] (hDlg: HWND; nIDDlgItem: INTEGER; lpString: PtrWSTR): BOOL; (*END SetDlgItemTextW;*) PROCEDURE SetDlgItemText* ["USER32.dll", "SetDlgItemTextA"] (hDlg: HWND; nIDDlgItem: INTEGER; lpString: PtrSTR): BOOL; (*END SetDlgItemText;*) PROCEDURE GetDlgItemTextA* ["USER32.dll", ""] (hDlg: HWND; nIDDlgItem: INTEGER; lpString: PtrSTR; nMaxCount: INTEGER): INTEGER; (*END GetDlgItemTextA;*) PROCEDURE GetDlgItemTextW* ["USER32.dll", ""] (hDlg: HWND; nIDDlgItem: INTEGER; lpString: PtrWSTR; nMaxCount: INTEGER): INTEGER; (*END GetDlgItemTextW;*) PROCEDURE GetDlgItemText* ["USER32.dll", "GetDlgItemTextA"] (hDlg: HWND; nIDDlgItem: INTEGER; lpString: PtrSTR; nMaxCount: INTEGER): INTEGER; (*END GetDlgItemText;*) PROCEDURE CheckDlgButton* ["USER32.dll", ""] (hDlg: HWND; nIDButton: INTEGER; uCheck: SET): BOOL; (*END CheckDlgButton;*) PROCEDURE CheckRadioButton* ["USER32.dll", ""] (hDlg: HWND; nIDFirstButton: INTEGER; nIDLastButton: INTEGER; nIDCheckButton: INTEGER): BOOL; (*END CheckRadioButton;*) PROCEDURE IsDlgButtonChecked* ["USER32.dll", ""] (hDlg: HWND; nIDButton: INTEGER): INTEGER; (*END IsDlgButtonChecked;*) PROCEDURE SendDlgItemMessageA* ["USER32.dll", ""] (hDlg: HWND; nIDDlgItem: INTEGER; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): INTEGER; (*END SendDlgItemMessageA;*) PROCEDURE SendDlgItemMessageW* ["USER32.dll", ""] (hDlg: HWND; nIDDlgItem: INTEGER; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): INTEGER; (*END SendDlgItemMessageW;*) PROCEDURE SendDlgItemMessage* ["USER32.dll", "SendDlgItemMessageA"] (hDlg: HWND; nIDDlgItem: INTEGER; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): INTEGER; (*END SendDlgItemMessage;*) PROCEDURE GetNextDlgGroupItem* ["USER32.dll", ""] (hDlg: HWND; hCtl: HWND; bPrevious: BOOL): HWND; (*END GetNextDlgGroupItem;*) PROCEDURE GetNextDlgTabItem* ["USER32.dll", ""] (hDlg: HWND; hCtl: HWND; bPrevious: BOOL): HWND; (*END GetNextDlgTabItem;*) PROCEDURE GetDlgCtrlID* ["USER32.dll", ""] (hWnd: HWND): INTEGER; (*END GetDlgCtrlID;*) PROCEDURE GetDialogBaseUnits* ["USER32.dll", ""] (): INTEGER; (*END GetDialogBaseUnits;*) PROCEDURE DefDlgProcA* ["USER32.dll", ""] (hDlg: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END DefDlgProcA;*) PROCEDURE DefDlgProcW* ["USER32.dll", ""] (hDlg: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END DefDlgProcW;*) PROCEDURE DefDlgProc* ["USER32.dll", "DefDlgProcA"] (hDlg: HWND; Msg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END DefDlgProc;*) PROCEDURE CallMsgFilterA* ["USER32.dll", ""] (VAR [nil] lpMsg: MSG; nCode: INTEGER): BOOL; (*END CallMsgFilterA;*) PROCEDURE CallMsgFilterW* ["USER32.dll", ""] (VAR [nil] lpMsg: MSG; nCode: INTEGER): BOOL; (*END CallMsgFilterW;*) PROCEDURE CallMsgFilter* ["USER32.dll", "CallMsgFilterA"] (VAR [nil] lpMsg: MSG; nCode: INTEGER): BOOL; (*END CallMsgFilter;*) PROCEDURE OpenClipboard* ["USER32.dll", ""] (hWndNewOwner: HWND): BOOL; (*END OpenClipboard;*) PROCEDURE CloseClipboard* ["USER32.dll", ""] (): BOOL; (*END CloseClipboard;*) PROCEDURE GetClipboardOwner* ["USER32.dll", ""] (): HWND; (*END GetClipboardOwner;*) PROCEDURE SetClipboardViewer* ["USER32.dll", ""] (hWndNewViewer: HWND): HWND; (*END SetClipboardViewer;*) PROCEDURE GetClipboardViewer* ["USER32.dll", ""] (): HWND; (*END GetClipboardViewer;*) PROCEDURE ChangeClipboardChain* ["USER32.dll", ""] (hWndRemove: HWND; hWndNewNext: HWND): BOOL; (*END ChangeClipboardChain;*) PROCEDURE SetClipboardData* ["USER32.dll", ""] (uFormat: INTEGER; hMem: HANDLE): HANDLE; (*END SetClipboardData;*) PROCEDURE GetClipboardData* ["USER32.dll", ""] (uFormat: INTEGER): HANDLE; (*END GetClipboardData;*) PROCEDURE RegisterClipboardFormatA* ["USER32.dll", ""] (lpszFormat: PtrSTR): INTEGER; (*END RegisterClipboardFormatA;*) PROCEDURE RegisterClipboardFormatW* ["USER32.dll", ""] (lpszFormat: PtrWSTR): INTEGER; (*END RegisterClipboardFormatW;*) PROCEDURE RegisterClipboardFormat* ["USER32.dll", "RegisterClipboardFormatA"] (lpszFormat: PtrSTR): INTEGER; (*END RegisterClipboardFormat;*) PROCEDURE CountClipboardFormats* ["USER32.dll", ""] (): INTEGER; (*END CountClipboardFormats;*) PROCEDURE EnumClipboardFormats* ["USER32.dll", ""] (format: INTEGER): INTEGER; (*END EnumClipboardFormats;*) PROCEDURE GetClipboardFormatNameA* ["USER32.dll", ""] (format: INTEGER; lpszFormatName: PtrSTR; cchMaxCount: INTEGER): INTEGER; (*END GetClipboardFormatNameA;*) PROCEDURE GetClipboardFormatNameW* ["USER32.dll", ""] (format: INTEGER; lpszFormatName: PtrWSTR; cchMaxCount: INTEGER): INTEGER; (*END GetClipboardFormatNameW;*) PROCEDURE GetClipboardFormatName* ["USER32.dll", "GetClipboardFormatNameA"] (format: INTEGER; lpszFormatName: PtrSTR; cchMaxCount: INTEGER): INTEGER; (*END GetClipboardFormatName;*) PROCEDURE EmptyClipboard* ["USER32.dll", ""] (): BOOL; (*END EmptyClipboard;*) PROCEDURE IsClipboardFormatAvailable* ["USER32.dll", ""] (format: INTEGER): BOOL; (*END IsClipboardFormatAvailable;*) PROCEDURE GetPriorityClipboardFormat* ["USER32.dll", ""] (VAR [nil] paFormatPriorityList: INTEGER; cFormats: INTEGER): INTEGER; (*END GetPriorityClipboardFormat;*) PROCEDURE GetOpenClipboardWindow* ["USER32.dll", ""] (): HWND; (*END GetOpenClipboardWindow;*) PROCEDURE CharToOemA* ["USER32.dll", ""] (lpszSrc: PtrSTR; lpszDst: PtrSTR): BOOL; (*END CharToOemA;*) PROCEDURE CharToOemW* ["USER32.dll", ""] (lpszSrc: PtrWSTR; lpszDst: PtrSTR): BOOL; (*END CharToOemW;*) PROCEDURE CharToOem* ["USER32.dll", "CharToOemA"] (lpszSrc: PtrSTR; lpszDst: PtrSTR): BOOL; (*END CharToOem;*) PROCEDURE OemToCharA* ["USER32.dll", ""] (lpszSrc: PtrSTR; lpszDst: PtrSTR): BOOL; (*END OemToCharA;*) PROCEDURE OemToCharW* ["USER32.dll", ""] (lpszSrc: PtrSTR; lpszDst: PtrWSTR): BOOL; (*END OemToCharW;*) PROCEDURE OemToChar* ["USER32.dll", "OemToCharA"] (lpszSrc: PtrSTR; lpszDst: PtrSTR): BOOL; (*END OemToChar;*) PROCEDURE CharToOemBuffA* ["USER32.dll", ""] (lpszSrc: PtrSTR; lpszDst: PtrSTR; cchDstLength: INTEGER): BOOL; (*END CharToOemBuffA;*) PROCEDURE CharToOemBuffW* ["USER32.dll", ""] (lpszSrc: PtrWSTR; lpszDst: PtrSTR; cchDstLength: INTEGER): BOOL; (*END CharToOemBuffW;*) PROCEDURE CharToOemBuff* ["USER32.dll", "CharToOemBuffA"] (lpszSrc: PtrSTR; lpszDst: PtrSTR; cchDstLength: INTEGER): BOOL; (*END CharToOemBuff;*) PROCEDURE OemToCharBuffA* ["USER32.dll", ""] (lpszSrc: PtrSTR; lpszDst: PtrSTR; cchDstLength: INTEGER): BOOL; (*END OemToCharBuffA;*) PROCEDURE OemToCharBuffW* ["USER32.dll", ""] (lpszSrc: PtrSTR; lpszDst: PtrWSTR; cchDstLength: INTEGER): BOOL; (*END OemToCharBuffW;*) PROCEDURE OemToCharBuff* ["USER32.dll", "OemToCharBuffA"] (lpszSrc: PtrSTR; lpszDst: PtrSTR; cchDstLength: INTEGER): BOOL; (*END OemToCharBuff;*) PROCEDURE CharUpperA* ["USER32.dll", ""] (lpsz: PtrSTR): PtrSTR; (*END CharUpperA;*) PROCEDURE CharUpperW* ["USER32.dll", ""] (lpsz: PtrWSTR): PtrWSTR; (*END CharUpperW;*) PROCEDURE CharUpper* ["USER32.dll", "CharUpperA"] (lpsz: PtrSTR): PtrSTR; (*END CharUpper;*) PROCEDURE CharUpperBuffA* ["USER32.dll", ""] (lpsz: PtrSTR; cchLength: INTEGER): INTEGER; (*END CharUpperBuffA;*) PROCEDURE CharUpperBuffW* ["USER32.dll", ""] (lpsz: PtrWSTR; cchLength: INTEGER): INTEGER; (*END CharUpperBuffW;*) PROCEDURE CharUpperBuff* ["USER32.dll", "CharUpperBuffA"] (lpsz: PtrSTR; cchLength: INTEGER): INTEGER; (*END CharUpperBuff;*) PROCEDURE CharLowerA* ["USER32.dll", ""] (lpsz: PtrSTR): PtrSTR; (*END CharLowerA;*) PROCEDURE CharLowerW* ["USER32.dll", ""] (lpsz: PtrWSTR): PtrWSTR; (*END CharLowerW;*) PROCEDURE CharLower* ["USER32.dll", "CharLowerA"] (lpsz: PtrSTR): PtrSTR; (*END CharLower;*) PROCEDURE CharLowerBuffA* ["USER32.dll", ""] (lpsz: PtrSTR; cchLength: INTEGER): INTEGER; (*END CharLowerBuffA;*) PROCEDURE CharLowerBuffW* ["USER32.dll", ""] (lpsz: PtrWSTR; cchLength: INTEGER): INTEGER; (*END CharLowerBuffW;*) PROCEDURE CharLowerBuff* ["USER32.dll", "CharLowerBuffA"] (lpsz: PtrSTR; cchLength: INTEGER): INTEGER; (*END CharLowerBuff;*) PROCEDURE CharNextA* ["USER32.dll", ""] (lpsz: PtrSTR): PtrSTR; (*END CharNextA;*) PROCEDURE CharNextW* ["USER32.dll", ""] (lpsz: PtrWSTR): PtrWSTR; (*END CharNextW;*) PROCEDURE CharNext* ["USER32.dll", "CharNextA"] (lpsz: PtrSTR): PtrSTR; (*END CharNext;*) PROCEDURE CharPrevA* ["USER32.dll", ""] (lpszStart: PtrSTR; lpszCurrent: PtrSTR): PtrSTR; (*END CharPrevA;*) PROCEDURE CharPrevW* ["USER32.dll", ""] (lpszStart: PtrWSTR; lpszCurrent: PtrWSTR): PtrWSTR; (*END CharPrevW;*) PROCEDURE CharPrev* ["USER32.dll", "CharPrevA"] (lpszStart: PtrSTR; lpszCurrent: PtrSTR): PtrSTR; (*END CharPrev;*) PROCEDURE CharNextExA* ["USER32.dll", ""] (CodePage: SHORTINT; lpCurrentChar: PtrSTR; dwFlags: SET): PtrSTR; (*END CharNextExA;*) PROCEDURE CharPrevExA* ["USER32.dll", ""] (CodePage: SHORTINT; lpStart: PtrSTR; lpCurrentChar: PtrSTR; dwFlags: SET): PtrSTR; (*END CharPrevExA;*) PROCEDURE AnsiToOem* ["USER32.dll", "CharToOemA"] (lpszSrc: PtrSTR; lpszDst: PtrSTR): BOOL; (*END AnsiToOem;*) PROCEDURE OemToAnsi* ["USER32.dll", "OemToCharA"] (lpszSrc: PtrSTR; lpszDst: PtrSTR): BOOL; (*END OemToAnsi;*) PROCEDURE AnsiToOemBuff* ["USER32.dll", "CharToOemBuffA"] (lpszSrc: PtrSTR; lpszDst: PtrSTR; cchDstLength: INTEGER): BOOL; (*END AnsiToOemBuff;*) PROCEDURE OemToAnsiBuff* ["USER32.dll", "OemToCharBuffA"] (lpszSrc: PtrSTR; lpszDst: PtrSTR; cchDstLength: INTEGER): BOOL; (*END OemToAnsiBuff;*) PROCEDURE AnsiUpper* ["USER32.dll", "CharUpperA"] (lpsz: PtrSTR): PtrSTR; (*END AnsiUpper;*) PROCEDURE AnsiUpperBuff* ["USER32.dll", "CharUpperBuffA"] (lpsz: PtrSTR; cchLength: INTEGER): INTEGER; (*END AnsiUpperBuff;*) PROCEDURE AnsiLower* ["USER32.dll", "CharLowerA"] (lpsz: PtrSTR): PtrSTR; (*END AnsiLower;*) PROCEDURE AnsiLowerBuff* ["USER32.dll", "CharLowerBuffA"] (lpsz: PtrSTR; cchLength: INTEGER): INTEGER; (*END AnsiLowerBuff;*) PROCEDURE AnsiNext* ["USER32.dll", "CharNextA"] (lpsz: PtrSTR): PtrSTR; (*END AnsiNext;*) PROCEDURE AnsiPrev* ["USER32.dll", "CharPrevA"] (lpszStart: PtrSTR; lpszCurrent: PtrSTR): PtrSTR; (*END AnsiPrev;*) PROCEDURE IsCharAlphaA* ["USER32.dll", ""] (ch: SHORTCHAR): BOOL; (*END IsCharAlphaA;*) PROCEDURE IsCharAlphaW* ["USER32.dll", ""] (ch: CHAR): BOOL; (*END IsCharAlphaW;*) PROCEDURE IsCharAlpha* ["USER32.dll", "IsCharAlphaA"] (ch: SHORTCHAR): BOOL; (*END IsCharAlpha;*) PROCEDURE IsCharAlphaNumericA* ["USER32.dll", ""] (ch: SHORTCHAR): BOOL; (*END IsCharAlphaNumericA;*) PROCEDURE IsCharAlphaNumericW* ["USER32.dll", ""] (ch: CHAR): BOOL; (*END IsCharAlphaNumericW;*) PROCEDURE IsCharAlphaNumeric* ["USER32.dll", "IsCharAlphaNumericA"] (ch: SHORTCHAR): BOOL; (*END IsCharAlphaNumeric;*) PROCEDURE IsCharUpperA* ["USER32.dll", ""] (ch: SHORTCHAR): BOOL; (*END IsCharUpperA;*) PROCEDURE IsCharUpperW* ["USER32.dll", ""] (ch: CHAR): BOOL; (*END IsCharUpperW;*) PROCEDURE IsCharUpper* ["USER32.dll", "IsCharUpperA"] (ch: SHORTCHAR): BOOL; (*END IsCharUpper;*) PROCEDURE IsCharLowerA* ["USER32.dll", ""] (ch: SHORTCHAR): BOOL; (*END IsCharLowerA;*) PROCEDURE IsCharLowerW* ["USER32.dll", ""] (ch: CHAR): BOOL; (*END IsCharLowerW;*) PROCEDURE IsCharLower* ["USER32.dll", "IsCharLowerA"] (ch: SHORTCHAR): BOOL; (*END IsCharLower;*) PROCEDURE SetFocus* ["USER32.dll", ""] (hWnd: HWND): HWND; (*END SetFocus;*) PROCEDURE GetActiveWindow* ["USER32.dll", ""] (): HWND; (*END GetActiveWindow;*) PROCEDURE GetFocus* ["USER32.dll", ""] (): HWND; (*END GetFocus;*) PROCEDURE GetKBCodePage* ["USER32.dll", ""] (): INTEGER; (*END GetKBCodePage;*) PROCEDURE GetKeyState* ["USER32.dll", ""] (nVirtKey: INTEGER): SHORTINT; (*END GetKeyState;*) PROCEDURE GetAsyncKeyState* ["USER32.dll", ""] (vKey: INTEGER): SHORTINT; (*END GetAsyncKeyState;*) PROCEDURE GetKeyboardState* ["USER32.dll", ""] (VAR [nil] lpKeyState: SHORTCHAR): BOOL; (*END GetKeyboardState;*) PROCEDURE SetKeyboardState* ["USER32.dll", ""] (VAR [nil] lpKeyState: SHORTCHAR): BOOL; (*END SetKeyboardState;*) PROCEDURE GetKeyNameTextA* ["USER32.dll", ""] (lParam: INTEGER; lpString: PtrSTR; nSize: INTEGER): INTEGER; (*END GetKeyNameTextA;*) PROCEDURE GetKeyNameTextW* ["USER32.dll", ""] (lParam: INTEGER; lpString: PtrWSTR; nSize: INTEGER): INTEGER; (*END GetKeyNameTextW;*) PROCEDURE GetKeyNameText* ["USER32.dll", "GetKeyNameTextA"] (lParam: INTEGER; lpString: PtrSTR; nSize: INTEGER): INTEGER; (*END GetKeyNameText;*) PROCEDURE GetKeyboardType* ["USER32.dll", ""] (nTypeFlag: INTEGER): INTEGER; (*END GetKeyboardType;*) PROCEDURE ToAscii* ["USER32.dll", ""] (uVirtKey: INTEGER; uScanCode: INTEGER; VAR [nil] lpKeyState: SHORTCHAR; VAR [nil] lpChar: SHORTINT; uFlags: SET): INTEGER; (*END ToAscii;*) PROCEDURE ToAsciiEx* ["USER32.dll", ""] (uVirtKey: INTEGER; uScanCode: INTEGER; VAR [nil] lpKeyState: SHORTCHAR; VAR [nil] lpChar: SHORTINT; uFlags: SET; dwhkl: HKL): INTEGER; (*END ToAsciiEx;*) PROCEDURE ToUnicode* ["USER32.dll", ""] (wVirtKey: INTEGER; wScanCode: INTEGER; VAR [nil] lpKeyState: SHORTCHAR; pwszBuff: PtrWSTR; cchBuff: INTEGER; wFlags: INTEGER): INTEGER; (*END ToUnicode;*) PROCEDURE OemKeyScan* ["USER32.dll", ""] (wOemChar: SHORTINT): INTEGER; (*END OemKeyScan;*) PROCEDURE VkKeyScanA* ["USER32.dll", ""] (ch: SHORTCHAR): SHORTINT; (*END VkKeyScanA;*) PROCEDURE VkKeyScanW* ["USER32.dll", ""] (ch: CHAR): SHORTINT; (*END VkKeyScanW;*) PROCEDURE VkKeyScan* ["USER32.dll", "VkKeyScanA"] (ch: SHORTCHAR): SHORTINT; (*END VkKeyScan;*) PROCEDURE VkKeyScanExA* ["USER32.dll", ""] (ch: SHORTCHAR; dwhkl: HKL): SHORTINT; (*END VkKeyScanExA;*) PROCEDURE VkKeyScanExW* ["USER32.dll", ""] (ch: CHAR; dwhkl: HKL): SHORTINT; (*END VkKeyScanExW;*) PROCEDURE VkKeyScanEx* ["USER32.dll", "VkKeyScanExA"] (ch: SHORTCHAR; dwhkl: HKL): SHORTINT; (*END VkKeyScanEx;*) PROCEDURE keybd_event* ["USER32.dll", ""] (bVk: SHORTCHAR; bScan: SHORTCHAR; dwFlags: SET; dwExtraInfo: INTEGER); (*END keybd_event;*) PROCEDURE mouse_event* ["USER32.dll", ""] (dwFlags: SET; dx: INTEGER; dy: INTEGER; cButtons: INTEGER; dwExtraInfo: INTEGER); (*END mouse_event;*) PROCEDURE MapVirtualKeyA* ["USER32.dll", ""] (uCode: INTEGER; uMapType: INTEGER): INTEGER; (*END MapVirtualKeyA;*) PROCEDURE MapVirtualKeyW* ["USER32.dll", ""] (uCode: INTEGER; uMapType: INTEGER): INTEGER; (*END MapVirtualKeyW;*) PROCEDURE MapVirtualKey* ["USER32.dll", "MapVirtualKeyA"] (uCode: INTEGER; uMapType: INTEGER): INTEGER; (*END MapVirtualKey;*) PROCEDURE MapVirtualKeyExA* ["USER32.dll", ""] (uCode: INTEGER; uMapType: INTEGER; dwhkl: HKL): INTEGER; (*END MapVirtualKeyExA;*) PROCEDURE MapVirtualKeyExW* ["USER32.dll", ""] (uCode: INTEGER; uMapType: INTEGER; dwhkl: HKL): INTEGER; (*END MapVirtualKeyExW;*) PROCEDURE MapVirtualKeyEx* ["USER32.dll", "MapVirtualKeyExA"] (uCode: INTEGER; uMapType: INTEGER; dwhkl: HKL): INTEGER; (*END MapVirtualKeyEx;*) PROCEDURE GetInputState* ["USER32.dll", ""] (): BOOL; (*END GetInputState;*) PROCEDURE GetQueueStatus* ["USER32.dll", ""] (flags: SET): INTEGER; (*END GetQueueStatus;*) PROCEDURE GetCapture* ["USER32.dll", ""] (): HWND; (*END GetCapture;*) PROCEDURE SetCapture* ["USER32.dll", ""] (hWnd: HWND): HWND; (*END SetCapture;*) PROCEDURE ReleaseCapture* ["USER32.dll", ""] (): BOOL; (*END ReleaseCapture;*) PROCEDURE MsgWaitForMultipleObjects* ["USER32.dll", ""] (nCount: INTEGER; VAR [nil] pHandles: HANDLE; fWaitAll: BOOL; dwMilliseconds: INTEGER; dwWakeMask: INTEGER): INTEGER; (*END MsgWaitForMultipleObjects;*) PROCEDURE MsgWaitForMultipleObjectsEx* ["USER32.dll", ""] (nCount: INTEGER; VAR [nil] pHandles: HANDLE; dwMilliseconds: INTEGER; dwWakeMask: INTEGER; dwFlags: SET): INTEGER; (*END MsgWaitForMultipleObjectsEx;*) PROCEDURE SetTimer* ["USER32.dll", ""] (hWnd: HWND; nIDEvent: INTEGER; uElapse: INTEGER; lpTimerFunc: TIMERPROC): INTEGER; (*END SetTimer;*) PROCEDURE KillTimer* ["USER32.dll", ""] (hWnd: HWND; uIDEvent: INTEGER): BOOL; (*END KillTimer;*) PROCEDURE IsWindowUnicode* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END IsWindowUnicode;*) PROCEDURE EnableWindow* ["USER32.dll", ""] (hWnd: HWND; bEnable: BOOL): BOOL; (*END EnableWindow;*) PROCEDURE IsWindowEnabled* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END IsWindowEnabled;*) PROCEDURE LoadAcceleratorsA* ["USER32.dll", ""] (hInstance: HINSTANCE; lpTableName: PtrSTR): HACCEL; (*END LoadAcceleratorsA;*) PROCEDURE LoadAcceleratorsW* ["USER32.dll", ""] (hInstance: HINSTANCE; lpTableName: PtrWSTR): HACCEL; (*END LoadAcceleratorsW;*) PROCEDURE LoadAccelerators* ["USER32.dll", "LoadAcceleratorsA"] (hInstance: HINSTANCE; lpTableName: PtrSTR): HACCEL; (*END LoadAccelerators;*) PROCEDURE CreateAcceleratorTableA* ["USER32.dll", ""] (VAR [nil] p0: ACCEL; p1: INTEGER): HACCEL; (*END CreateAcceleratorTableA;*) PROCEDURE CreateAcceleratorTableW* ["USER32.dll", ""] (VAR [nil] p0: ACCEL; p1: INTEGER): HACCEL; (*END CreateAcceleratorTableW;*) PROCEDURE CreateAcceleratorTable* ["USER32.dll", "CreateAcceleratorTableA"] (VAR [nil] p0: ACCEL; p1: INTEGER): HACCEL; (*END CreateAcceleratorTable;*) PROCEDURE DestroyAcceleratorTable* ["USER32.dll", ""] (hAccel: HACCEL): BOOL; (*END DestroyAcceleratorTable;*) PROCEDURE CopyAcceleratorTableA* ["USER32.dll", ""] (hAccelSrc: HACCEL; VAR [nil] lpAccelDst: ACCEL; cAccelEntries: INTEGER): INTEGER; (*END CopyAcceleratorTableA;*) PROCEDURE CopyAcceleratorTableW* ["USER32.dll", ""] (hAccelSrc: HACCEL; VAR [nil] lpAccelDst: ACCEL; cAccelEntries: INTEGER): INTEGER; (*END CopyAcceleratorTableW;*) PROCEDURE CopyAcceleratorTable* ["USER32.dll", "CopyAcceleratorTableA"] (hAccelSrc: HACCEL; VAR [nil] lpAccelDst: ACCEL; cAccelEntries: INTEGER): INTEGER; (*END CopyAcceleratorTable;*) PROCEDURE TranslateAcceleratorA* ["USER32.dll", ""] (hWnd: HWND; hAccTable: HACCEL; VAR [nil] lpMsg: MSG): INTEGER; (*END TranslateAcceleratorA;*) PROCEDURE TranslateAcceleratorW* ["USER32.dll", ""] (hWnd: HWND; hAccTable: HACCEL; VAR [nil] lpMsg: MSG): INTEGER; (*END TranslateAcceleratorW;*) PROCEDURE TranslateAccelerator* ["USER32.dll", "TranslateAcceleratorA"] (hWnd: HWND; hAccTable: HACCEL; VAR [nil] lpMsg: MSG): INTEGER; (*END TranslateAccelerator;*) PROCEDURE GetSystemMetrics* ["USER32.dll", ""] (nIndex: INTEGER): INTEGER; (*END GetSystemMetrics;*) PROCEDURE LoadMenuA* ["USER32.dll", ""] (hInstance: HINSTANCE; lpMenuName: PtrSTR): HMENU; (*END LoadMenuA;*) PROCEDURE LoadMenuW* ["USER32.dll", ""] (hInstance: HINSTANCE; lpMenuName: PtrWSTR): HMENU; (*END LoadMenuW;*) PROCEDURE LoadMenu* ["USER32.dll", "LoadMenuA"] (hInstance: HINSTANCE; lpMenuName: PtrSTR): HMENU; (*END LoadMenu;*) PROCEDURE LoadMenuIndirectA* ["USER32.dll", ""] (lpMenuTemplate: PtrMENUTEMPLATEA): HMENU; (*END LoadMenuIndirectA;*) PROCEDURE LoadMenuIndirectW* ["USER32.dll", ""] (lpMenuTemplate: PtrMENUTEMPLATEW): HMENU; (*END LoadMenuIndirectW;*) PROCEDURE LoadMenuIndirect* ["USER32.dll", "LoadMenuIndirectA"] (lpMenuTemplate: PtrMENUTEMPLATEA): HMENU; (*END LoadMenuIndirect;*) PROCEDURE GetMenu* ["USER32.dll", ""] (hWnd: HWND): HMENU; (*END GetMenu;*) PROCEDURE SetMenu* ["USER32.dll", ""] (hWnd: HWND; hMenu: HMENU): BOOL; (*END SetMenu;*) PROCEDURE ChangeMenuA* ["USER32.dll", ""] (hMenu: HMENU; cmd: INTEGER; lpszNewItem: PtrSTR; cmdInsert: INTEGER; flags: SET): BOOL; (*END ChangeMenuA;*) PROCEDURE ChangeMenuW* ["USER32.dll", ""] (hMenu: HMENU; cmd: INTEGER; lpszNewItem: PtrWSTR; cmdInsert: INTEGER; flags: SET): BOOL; (*END ChangeMenuW;*) PROCEDURE ChangeMenu* ["USER32.dll", "ChangeMenuA"] (hMenu: HMENU; cmd: INTEGER; lpszNewItem: PtrSTR; cmdInsert: INTEGER; flags: SET): BOOL; (*END ChangeMenu;*) PROCEDURE HiliteMenuItem* ["USER32.dll", ""] (hWnd: HWND; hMenu: HMENU; uIDHiliteItem: INTEGER; uHilite: INTEGER): BOOL; (*END HiliteMenuItem;*) PROCEDURE GetMenuStringA* ["USER32.dll", ""] (hMenu: HMENU; uIDItem: INTEGER; lpString: PtrSTR; nMaxCount: INTEGER; uFlag: SET): INTEGER; (*END GetMenuStringA;*) PROCEDURE GetMenuStringW* ["USER32.dll", ""] (hMenu: HMENU; uIDItem: INTEGER; lpString: PtrWSTR; nMaxCount: INTEGER; uFlag: SET): INTEGER; (*END GetMenuStringW;*) PROCEDURE GetMenuString* ["USER32.dll", "GetMenuStringA"] (hMenu: HMENU; uIDItem: INTEGER; lpString: PtrSTR; nMaxCount: INTEGER; uFlag: SET): INTEGER; (*END GetMenuString;*) PROCEDURE GetMenuState* ["USER32.dll", ""] (hMenu: HMENU; uId: INTEGER; uFlags: SET): INTEGER; (*END GetMenuState;*) PROCEDURE DrawMenuBar* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END DrawMenuBar;*) PROCEDURE GetSystemMenu* ["USER32.dll", ""] (hWnd: HWND; bRevert: BOOL): HMENU; (*END GetSystemMenu;*) PROCEDURE CreateMenu* ["USER32.dll", ""] (): HMENU; (*END CreateMenu;*) PROCEDURE CreatePopupMenu* ["USER32.dll", ""] (): HMENU; (*END CreatePopupMenu;*) PROCEDURE DestroyMenu* ["USER32.dll", ""] (hMenu: HMENU): BOOL; (*END DestroyMenu;*) PROCEDURE CheckMenuItem* ["USER32.dll", ""] (hMenu: HMENU; uIDCheckItem: INTEGER; uCheck: SET): INTEGER; (*END CheckMenuItem;*) PROCEDURE EnableMenuItem* ["USER32.dll", ""] (hMenu: HMENU; uIDEnableItem: INTEGER; uEnable: SET): BOOL; (*END EnableMenuItem;*) PROCEDURE GetSubMenu* ["USER32.dll", ""] (hMenu: HMENU; nPos: INTEGER): HMENU; (*END GetSubMenu;*) PROCEDURE GetMenuItemID* ["USER32.dll", ""] (hMenu: HMENU; nPos: INTEGER): INTEGER; (*END GetMenuItemID;*) PROCEDURE GetMenuItemCount* ["USER32.dll", ""] (hMenu: HMENU): INTEGER; (*END GetMenuItemCount;*) PROCEDURE InsertMenuA* ["USER32.dll", ""] (hMenu: HMENU; uPosition: INTEGER; uFlags: SET; uIDNewItem: INTEGER; lpNewItem: PtrSTR): BOOL; (*END InsertMenuA;*) PROCEDURE InsertMenuW* ["USER32.dll", ""] (hMenu: HMENU; uPosition: INTEGER; uFlags: SET; uIDNewItem: INTEGER; lpNewItem: PtrWSTR): BOOL; (*END InsertMenuW;*) PROCEDURE InsertMenu* ["USER32.dll", "InsertMenuA"] (hMenu: HMENU; uPosition: INTEGER; uFlags: SET; uIDNewItem: INTEGER; lpNewItem: PtrSTR): BOOL; (*END InsertMenu;*) PROCEDURE AppendMenuA* ["USER32.dll", ""] (hMenu: HMENU; uFlags: SET; uIDNewItem: INTEGER; lpNewItem: PtrSTR): BOOL; (*END AppendMenuA;*) PROCEDURE AppendMenuW* ["USER32.dll", ""] (hMenu: HMENU; uFlags: SET; uIDNewItem: INTEGER; lpNewItem: PtrWSTR): BOOL; (*END AppendMenuW;*) PROCEDURE AppendMenu* ["USER32.dll", "AppendMenuA"] (hMenu: HMENU; uFlags: SET; uIDNewItem: INTEGER; lpNewItem: PtrSTR): BOOL; (*END AppendMenu;*) PROCEDURE ModifyMenuA* ["USER32.dll", ""] (hMnu: HMENU; uPosition: INTEGER; uFlags: SET; uIDNewItem: INTEGER; lpNewItem: PtrSTR): BOOL; (*END ModifyMenuA;*) PROCEDURE ModifyMenuW* ["USER32.dll", ""] (hMnu: HMENU; uPosition: INTEGER; uFlags: SET; uIDNewItem: INTEGER; lpNewItem: PtrWSTR): BOOL; (*END ModifyMenuW;*) PROCEDURE ModifyMenu* ["USER32.dll", "ModifyMenuA"] (hMnu: HMENU; uPosition: INTEGER; uFlags: SET; uIDNewItem: INTEGER; lpNewItem: PtrSTR): BOOL; (*END ModifyMenu;*) PROCEDURE RemoveMenu* ["USER32.dll", ""] (hMenu: HMENU; uPosition: INTEGER; uFlags: SET): BOOL; (*END RemoveMenu;*) PROCEDURE DeleteMenu* ["USER32.dll", ""] (hMenu: HMENU; uPosition: INTEGER; uFlags: SET): BOOL; (*END DeleteMenu;*) PROCEDURE SetMenuItemBitmaps* ["USER32.dll", ""] (hMenu: HMENU; uPosition: INTEGER; uFlags: SET; hBitmapUnchecked: HBITMAP; hBitmapChecked: HBITMAP): BOOL; (*END SetMenuItemBitmaps;*) PROCEDURE GetMenuCheckMarkDimensions* ["USER32.dll", ""] (): INTEGER; (*END GetMenuCheckMarkDimensions;*) PROCEDURE TrackPopupMenu* ["USER32.dll", ""] (hMenu: HMENU; uFlags: SET; x: INTEGER; y: INTEGER; nReserved: INTEGER; hWnd: HWND; VAR [nil] prcRect: RECT): BOOL; (*END TrackPopupMenu;*) PROCEDURE TrackPopupMenuEx* ["USER32.dll", ""] (p0: HMENU; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: HWND; VAR [nil] p5: TPMPARAMS): BOOL; (*END TrackPopupMenuEx;*) PROCEDURE InsertMenuItemA* ["USER32.dll", ""] (p0: HMENU; p1: INTEGER; p2: BOOL; VAR [nil] p3: MENUITEMINFOA): BOOL; (*END InsertMenuItemA;*) PROCEDURE InsertMenuItemW* ["USER32.dll", ""] (p0: HMENU; p1: INTEGER; p2: BOOL; VAR [nil] p3: MENUITEMINFOW): BOOL; (*END InsertMenuItemW;*) PROCEDURE InsertMenuItem* ["USER32.dll", "InsertMenuItemA"] (p0: HMENU; p1: INTEGER; p2: BOOL; VAR [nil] p3: MENUITEMINFOA): BOOL; (*END InsertMenuItem;*) PROCEDURE GetMenuItemInfoA* ["USER32.dll", ""] (p0: HMENU; p1: INTEGER; p2: BOOL; VAR [nil] p3: MENUITEMINFOA): BOOL; (*END GetMenuItemInfoA;*) PROCEDURE GetMenuItemInfoW* ["USER32.dll", ""] (p0: HMENU; p1: INTEGER; p2: BOOL; VAR [nil] p3: MENUITEMINFOW): BOOL; (*END GetMenuItemInfoW;*) PROCEDURE GetMenuItemInfo* ["USER32.dll", "GetMenuItemInfoA"] (p0: HMENU; p1: INTEGER; p2: BOOL; VAR [nil] p3: MENUITEMINFOA): BOOL; (*END GetMenuItemInfo;*) PROCEDURE SetMenuItemInfoA* ["USER32.dll", ""] (p0: HMENU; p1: INTEGER; p2: BOOL; VAR [nil] p3: MENUITEMINFOA): BOOL; (*END SetMenuItemInfoA;*) PROCEDURE SetMenuItemInfoW* ["USER32.dll", ""] (p0: HMENU; p1: INTEGER; p2: BOOL; VAR [nil] p3: MENUITEMINFOW): BOOL; (*END SetMenuItemInfoW;*) PROCEDURE SetMenuItemInfo* ["USER32.dll", "SetMenuItemInfoA"] (p0: HMENU; p1: INTEGER; p2: BOOL; VAR [nil] p3: MENUITEMINFOA): BOOL; (*END SetMenuItemInfo;*) PROCEDURE GetMenuDefaultItem* ["USER32.dll", ""] (hMenu: HMENU; fByPos: INTEGER; gmdiFlags: SET): INTEGER; (*END GetMenuDefaultItem;*) PROCEDURE SetMenuDefaultItem* ["USER32.dll", ""] (hMenu: HMENU; uItem: INTEGER; fByPos: INTEGER): BOOL; (*END SetMenuDefaultItem;*) PROCEDURE GetMenuItemRect* ["USER32.dll", ""] (hWnd: HWND; hMenu: HMENU; uItem: INTEGER; VAR [nil] lprcItem: RECT): BOOL; (*END GetMenuItemRect;*) PROCEDURE MenuItemFromPoint* ["USER32.dll", ""] (hWnd: HWND; hMenu: HMENU; ptScreen: POINT): INTEGER; (*END MenuItemFromPoint;*) PROCEDURE DragObject* ["USER32.dll", ""] (p0: HWND; p1: HWND; p2: INTEGER; p3: INTEGER; p4: HCURSOR): INTEGER; (*END DragObject;*) PROCEDURE DragDetect* ["USER32.dll", ""] (p0: HWND; p1: POINT): BOOL; (*END DragDetect;*) PROCEDURE DrawIcon* ["USER32.dll", ""] (hDC: HDC; X: INTEGER; Y: INTEGER; hIcon: HICON): BOOL; (*END DrawIcon;*) PROCEDURE DrawTextA* ["USER32.dll", ""] (hDC: HDC; lpString: PtrSTR; nCount: INTEGER; VAR [nil] lpRect: RECT; uFormat: SET): INTEGER; (*END DrawTextA;*) PROCEDURE DrawTextW* ["USER32.dll", ""] (hDC: HDC; lpString: PtrWSTR; nCount: INTEGER; VAR [nil] lpRect: RECT; uFormat: SET): INTEGER; (*END DrawTextW;*) PROCEDURE DrawText* ["USER32.dll", "DrawTextA"] (hDC: HDC; lpString: PtrSTR; nCount: INTEGER; VAR [nil] lpRect: RECT; uFormat: SET): INTEGER; (*END DrawText;*) PROCEDURE DrawTextExA* ["USER32.dll", ""] (p0: HDC; p1: PtrSTR; p2: INTEGER; VAR [nil] p3: RECT; p4: INTEGER; VAR [nil] p5: DRAWTEXTPARAMS): INTEGER; (*END DrawTextExA;*) PROCEDURE DrawTextExW* ["USER32.dll", ""] (p0: HDC; p1: PtrWSTR; p2: INTEGER; VAR [nil] p3: RECT; p4: INTEGER; VAR [nil] p5: DRAWTEXTPARAMS): INTEGER; (*END DrawTextExW;*) PROCEDURE DrawTextEx* ["USER32.dll", "DrawTextExA"] (p0: HDC; p1: PtrSTR; p2: INTEGER; VAR [nil] p3: RECT; p4: INTEGER; VAR [nil] p5: DRAWTEXTPARAMS): INTEGER; (*END DrawTextEx;*) PROCEDURE GrayStringA* ["USER32.dll", ""] (hDC: HDC; hBrush: HBRUSH; lpOutputFunc: GRAYSTRINGPROC; lpData: LPARAM; nCount: INTEGER; X: INTEGER; Y: INTEGER; nWidth: INTEGER; nHeight: INTEGER): BOOL; (*END GrayStringA;*) PROCEDURE GrayStringW* ["USER32.dll", ""] (hDC: HDC; hBrush: HBRUSH; lpOutputFunc: GRAYSTRINGPROC; lpData: LPARAM; nCount: INTEGER; X: INTEGER; Y: INTEGER; nWidth: INTEGER; nHeight: INTEGER): BOOL; (*END GrayStringW;*) PROCEDURE GrayString* ["USER32.dll", "GrayStringA"] (hDC: HDC; hBrush: HBRUSH; lpOutputFunc: GRAYSTRINGPROC; lpData: LPARAM; nCount: INTEGER; X: INTEGER; Y: INTEGER; nWidth: INTEGER; nHeight: INTEGER): BOOL; (*END GrayString;*) PROCEDURE DrawStateA* ["USER32.dll", ""] (p0: HDC; p1: HBRUSH; p2: DRAWSTATEPROC; p3: LPARAM; p4: WPARAM; p5: INTEGER; p6: INTEGER; p7: INTEGER; p8: INTEGER; p9: SET): BOOL; (*END DrawStateA;*) PROCEDURE DrawStateW* ["USER32.dll", ""] (p0: HDC; p1: HBRUSH; p2: DRAWSTATEPROC; p3: LPARAM; p4: WPARAM; p5: INTEGER; p6: INTEGER; p7: INTEGER; p8: INTEGER; p9: SET): BOOL; (*END DrawStateW;*) PROCEDURE DrawState* ["USER32.dll", "DrawStateA"] (p0: HDC; p1: HBRUSH; p2: DRAWSTATEPROC; p3: LPARAM; p4: WPARAM; p5: INTEGER; p6: INTEGER; p7: INTEGER; p8: INTEGER; p9: SET): BOOL; (*END DrawState;*) PROCEDURE TabbedTextOutA* ["USER32.dll", ""] (hDC: HDC; X: INTEGER; Y: INTEGER; lpString: PtrSTR; nCount: INTEGER; nTabPositions: INTEGER; VAR [nil] lpnTabStopPositions: INTEGER; nTabOrigin: INTEGER): INTEGER; (*END TabbedTextOutA;*) PROCEDURE TabbedTextOutW* ["USER32.dll", ""] (hDC: HDC; X: INTEGER; Y: INTEGER; lpString: PtrWSTR; nCount: INTEGER; nTabPositions: INTEGER; VAR [nil] lpnTabStopPositions: INTEGER; nTabOrigin: INTEGER): INTEGER; (*END TabbedTextOutW;*) PROCEDURE TabbedTextOut* ["USER32.dll", "TabbedTextOutA"] (hDC: HDC; X: INTEGER; Y: INTEGER; lpString: PtrSTR; nCount: INTEGER; nTabPositions: INTEGER; VAR [nil] lpnTabStopPositions: INTEGER; nTabOrigin: INTEGER): INTEGER; (*END TabbedTextOut;*) PROCEDURE GetTabbedTextExtentA* ["USER32.dll", ""] (hDC: HDC; lpString: PtrSTR; nCount: INTEGER; nTabPositions: INTEGER; VAR [nil] lpnTabStopPositions: INTEGER): INTEGER; (*END GetTabbedTextExtentA;*) PROCEDURE GetTabbedTextExtentW* ["USER32.dll", ""] (hDC: HDC; lpString: PtrWSTR; nCount: INTEGER; nTabPositions: INTEGER; VAR [nil] lpnTabStopPositions: INTEGER): INTEGER; (*END GetTabbedTextExtentW;*) PROCEDURE GetTabbedTextExtent* ["USER32.dll", "GetTabbedTextExtentA"] (hDC: HDC; lpString: PtrSTR; nCount: INTEGER; nTabPositions: INTEGER; VAR [nil] lpnTabStopPositions: INTEGER): INTEGER; (*END GetTabbedTextExtent;*) PROCEDURE UpdateWindow* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END UpdateWindow;*) PROCEDURE SetActiveWindow* ["USER32.dll", ""] (hWnd: HWND): HWND; (*END SetActiveWindow;*) PROCEDURE GetForegroundWindow* ["USER32.dll", ""] (): HWND; (*END GetForegroundWindow;*) PROCEDURE PaintDesktop* ["USER32.dll", ""] (hdc: HDC): BOOL; (*END PaintDesktop;*) PROCEDURE SetForegroundWindow* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END SetForegroundWindow;*) PROCEDURE WindowFromDC* ["USER32.dll", ""] (hDC: HDC): HWND; (*END WindowFromDC;*) PROCEDURE GetDC* ["USER32.dll", ""] (hWnd: HWND): HDC; (*END GetDC;*) PROCEDURE GetDCEx* ["USER32.dll", ""] (hWnd: HWND; hrgnClip: HRGN; flags: SET): HDC; (*END GetDCEx;*) PROCEDURE GetWindowDC* ["USER32.dll", ""] (hWnd: HWND): HDC; (*END GetWindowDC;*) PROCEDURE ReleaseDC* ["USER32.dll", ""] (hWnd: HWND; hDC: HDC): INTEGER; (*END ReleaseDC;*) PROCEDURE BeginPaint* ["USER32.dll", ""] (hWnd: HWND; VAR [nil] lpPaint: PAINTSTRUCT): HDC; (*END BeginPaint;*) PROCEDURE EndPaint* ["USER32.dll", ""] (hWnd: HWND; VAR [nil] lpPaint: PAINTSTRUCT): BOOL; (*END EndPaint;*) PROCEDURE GetUpdateRect* ["USER32.dll", ""] (hWnd: HWND; VAR [nil] lpRect: RECT; bErase: BOOL): BOOL; (*END GetUpdateRect;*) PROCEDURE GetUpdateRgn* ["USER32.dll", ""] (hWnd: HWND; hRgn: HRGN; bErase: BOOL): INTEGER; (*END GetUpdateRgn;*) PROCEDURE SetWindowRgn* ["USER32.dll", ""] (hWnd: HWND; hRgn: HRGN; bRedraw: BOOL): INTEGER; (*END SetWindowRgn;*) PROCEDURE GetWindowRgn* ["USER32.dll", ""] (hWnd: HWND; hRgn: HRGN): INTEGER; (*END GetWindowRgn;*) PROCEDURE ExcludeUpdateRgn* ["USER32.dll", ""] (hDC: HDC; hWnd: HWND): INTEGER; (*END ExcludeUpdateRgn;*) PROCEDURE InvalidateRect* ["USER32.dll", ""] (hWnd: HWND; VAR [nil] lpRect: RECT; bErase: BOOL): BOOL; (*END InvalidateRect;*) PROCEDURE ValidateRect* ["USER32.dll", ""] (hWnd: HWND; VAR [nil] lpRect: RECT): BOOL; (*END ValidateRect;*) PROCEDURE InvalidateRgn* ["USER32.dll", ""] (hWnd: HWND; hRgn: HRGN; bErase: BOOL): BOOL; (*END InvalidateRgn;*) PROCEDURE ValidateRgn* ["USER32.dll", ""] (hWnd: HWND; hRgn: HRGN): BOOL; (*END ValidateRgn;*) PROCEDURE RedrawWindow* ["USER32.dll", ""] (hWnd: HWND; VAR [nil] lprcUpdate: RECT; hrgnUpdate: HRGN; flags: SET): BOOL; (*END RedrawWindow;*) PROCEDURE LockWindowUpdate* ["USER32.dll", ""] (hWndLock: HWND): BOOL; (*END LockWindowUpdate;*) PROCEDURE ScrollWindow* ["USER32.dll", ""] (hWnd: HWND; XAmount: INTEGER; YAmount: INTEGER; VAR [nil] lpRect: RECT; VAR [nil] lpClipRect: RECT): BOOL; (*END ScrollWindow;*) PROCEDURE ScrollDC* ["USER32.dll", ""] (hDC: HDC; dx: INTEGER; dy: INTEGER; VAR [nil] lprcScroll: RECT; VAR [nil] lprcClip: RECT; hrgnUpdate: HRGN; VAR [nil] lprcUpdate: RECT): BOOL; (*END ScrollDC;*) PROCEDURE ScrollWindowEx* ["USER32.dll", ""] (hWnd: HWND; dx: INTEGER; dy: INTEGER; VAR [nil] prcScroll: RECT; VAR [nil] prcClip: RECT; hrgnUpdate: HRGN; VAR [nil] prcUpdate: RECT; flags: SET): INTEGER; (*END ScrollWindowEx;*) PROCEDURE SetScrollPos* ["USER32.dll", ""] (hWnd: HWND; nBar: INTEGER; nPos: INTEGER; bRedraw: BOOL): INTEGER; (*END SetScrollPos;*) PROCEDURE GetScrollPos* ["USER32.dll", ""] (hWnd: HWND; nBar: INTEGER): INTEGER; (*END GetScrollPos;*) PROCEDURE SetScrollRange* ["USER32.dll", ""] (hWnd: HWND; nBar: INTEGER; nMinPos: INTEGER; nMaxPos: INTEGER; bRedraw: BOOL): BOOL; (*END SetScrollRange;*) PROCEDURE GetScrollRange* ["USER32.dll", ""] (hWnd: HWND; nBar: INTEGER; VAR [nil] lpMinPos: INTEGER; VAR [nil] lpMaxPos: INTEGER): BOOL; (*END GetScrollRange;*) PROCEDURE ShowScrollBar* ["USER32.dll", ""] (hWnd: HWND; wBar: INTEGER; bShow: BOOL): BOOL; (*END ShowScrollBar;*) PROCEDURE EnableScrollBar* ["USER32.dll", ""] (hWnd: HWND; wSBflags: INTEGER; wArrows: INTEGER): BOOL; (*END EnableScrollBar;*) PROCEDURE SetPropA* ["USER32.dll", ""] (hWnd: HWND; lpString: PtrSTR; hData: HANDLE): BOOL; (*END SetPropA;*) PROCEDURE SetPropW* ["USER32.dll", ""] (hWnd: HWND; lpString: PtrWSTR; hData: HANDLE): BOOL; (*END SetPropW;*) PROCEDURE SetProp* ["USER32.dll", "SetPropA"] (hWnd: HWND; lpString: PtrSTR; hData: HANDLE): BOOL; (*END SetProp;*) PROCEDURE GetPropA* ["USER32.dll", ""] (hWnd: HWND; lpString: PtrSTR): HANDLE; (*END GetPropA;*) PROCEDURE GetPropW* ["USER32.dll", ""] (hWnd: HWND; lpString: PtrWSTR): HANDLE; (*END GetPropW;*) PROCEDURE GetProp* ["USER32.dll", "GetPropA"] (hWnd: HWND; lpString: PtrSTR): HANDLE; (*END GetProp;*) PROCEDURE RemovePropA* ["USER32.dll", ""] (hWnd: HWND; lpString: PtrSTR): HANDLE; (*END RemovePropA;*) PROCEDURE RemovePropW* ["USER32.dll", ""] (hWnd: HWND; lpString: PtrWSTR): HANDLE; (*END RemovePropW;*) PROCEDURE RemoveProp* ["USER32.dll", "RemovePropA"] (hWnd: HWND; lpString: PtrSTR): HANDLE; (*END RemoveProp;*) PROCEDURE EnumPropsExA* ["USER32.dll", ""] (hWnd: HWND; lpEnumFunc: ROPENUMPROCEXA; lParam: LPARAM): INTEGER; (*END EnumPropsExA;*) PROCEDURE EnumPropsExW* ["USER32.dll", ""] (hWnd: HWND; lpEnumFunc: ROPENUMPROCEXW; lParam: LPARAM): INTEGER; (*END EnumPropsExW;*) PROCEDURE EnumPropsEx* ["USER32.dll", "EnumPropsExA"] (hWnd: HWND; lpEnumFunc: ROPENUMPROCEXA; lParam: LPARAM): INTEGER; (*END EnumPropsEx;*) PROCEDURE EnumPropsA* ["USER32.dll", ""] (hWnd: HWND; lpEnumFunc: ROPENUMPROCA): INTEGER; (*END EnumPropsA;*) PROCEDURE EnumPropsW* ["USER32.dll", ""] (hWnd: HWND; lpEnumFunc: ROPENUMPROCW): INTEGER; (*END EnumPropsW;*) PROCEDURE EnumProps* ["USER32.dll", "EnumPropsA"] (hWnd: HWND; lpEnumFunc: ROPENUMPROCA): INTEGER; (*END EnumProps;*) PROCEDURE SetWindowTextA* ["USER32.dll", ""] (hWnd: HWND; lpString: PtrSTR): BOOL; (*END SetWindowTextA;*) PROCEDURE SetWindowTextW* ["USER32.dll", ""] (hWnd: HWND; lpString: PtrWSTR): BOOL; (*END SetWindowTextW;*) PROCEDURE SetWindowText* ["USER32.dll", "SetWindowTextA"] (hWnd: HWND; lpString: PtrSTR): BOOL; (*END SetWindowText;*) PROCEDURE GetWindowTextA* ["USER32.dll", ""] (hWnd: HWND; lpString: PtrSTR; nMaxCount: INTEGER): INTEGER; (*END GetWindowTextA;*) PROCEDURE GetWindowTextW* ["USER32.dll", ""] (hWnd: HWND; lpString: PtrWSTR; nMaxCount: INTEGER): INTEGER; (*END GetWindowTextW;*) PROCEDURE GetWindowText* ["USER32.dll", "GetWindowTextA"] (hWnd: HWND; lpString: PtrSTR; nMaxCount: INTEGER): INTEGER; (*END GetWindowText;*) PROCEDURE GetWindowTextLengthA* ["USER32.dll", ""] (hWnd: HWND): INTEGER; (*END GetWindowTextLengthA;*) PROCEDURE GetWindowTextLengthW* ["USER32.dll", ""] (hWnd: HWND): INTEGER; (*END GetWindowTextLengthW;*) PROCEDURE GetWindowTextLength* ["USER32.dll", "GetWindowTextLengthA"] (hWnd: HWND): INTEGER; (*END GetWindowTextLength;*) PROCEDURE GetClientRect* ["USER32.dll", ""] (hWnd: HWND; VAR [nil] lpRect: RECT): BOOL; (*END GetClientRect;*) PROCEDURE GetWindowRect* ["USER32.dll", ""] (hWnd: HWND; VAR [nil] lpRect: RECT): BOOL; (*END GetWindowRect;*) PROCEDURE AdjustWindowRect* ["USER32.dll", ""] (VAR [nil] lpRect: RECT; dwStyle: SET; bMenu: BOOL): BOOL; (*END AdjustWindowRect;*) PROCEDURE AdjustWindowRectEx* ["USER32.dll", ""] (VAR [nil] lpRect: RECT; dwStyle: SET; bMenu: BOOL; dwExStyle: SET): BOOL; (*END AdjustWindowRectEx;*) PROCEDURE SetWindowContextHelpId* ["USER32.dll", ""] (p0: HWND; p1: INTEGER): BOOL; (*END SetWindowContextHelpId;*) PROCEDURE GetWindowContextHelpId* ["USER32.dll", ""] (p0: HWND): INTEGER; (*END GetWindowContextHelpId;*) PROCEDURE SetMenuContextHelpId* ["USER32.dll", ""] (p0: HMENU; p1: INTEGER): BOOL; (*END SetMenuContextHelpId;*) PROCEDURE GetMenuContextHelpId* ["USER32.dll", ""] (p0: HMENU): INTEGER; (*END GetMenuContextHelpId;*) PROCEDURE MessageBoxA* ["USER32.dll", ""] (hWnd: HWND; lpText: PtrSTR; lpCaption: PtrSTR; uType: SET): INTEGER; (*END MessageBoxA;*) PROCEDURE MessageBoxW* ["USER32.dll", ""] (hWnd: HWND; lpText: PtrWSTR; lpCaption: PtrWSTR; uType: SET): INTEGER; (*END MessageBoxW;*) PROCEDURE MessageBox* ["USER32.dll", "MessageBoxA"] (hWnd: HWND; lpText: PtrSTR; lpCaption: PtrSTR; uType: SET): INTEGER; (*END MessageBox;*) PROCEDURE MessageBoxExA* ["USER32.dll", ""] (hWnd: HWND; lpText: PtrSTR; lpCaption: PtrSTR; uType: SET; wLanguageId: SHORTINT): INTEGER; (*END MessageBoxExA;*) PROCEDURE MessageBoxExW* ["USER32.dll", ""] (hWnd: HWND; lpText: PtrWSTR; lpCaption: PtrWSTR; uType: SET; wLanguageId: SHORTINT): INTEGER; (*END MessageBoxExW;*) PROCEDURE MessageBoxEx* ["USER32.dll", "MessageBoxExA"] (hWnd: HWND; lpText: PtrSTR; lpCaption: PtrSTR; uType: SET; wLanguageId: SHORTINT): INTEGER; (*END MessageBoxEx;*) PROCEDURE MessageBoxIndirectA* ["USER32.dll", ""] (VAR [nil] p0: MSGBOXPARAMSA): INTEGER; (*END MessageBoxIndirectA;*) PROCEDURE MessageBoxIndirectW* ["USER32.dll", ""] (VAR [nil] p0: MSGBOXPARAMSW): INTEGER; (*END MessageBoxIndirectW;*) PROCEDURE MessageBoxIndirect* ["USER32.dll", "MessageBoxIndirectA"] (VAR [nil] p0: MSGBOXPARAMSA): INTEGER; (*END MessageBoxIndirect;*) PROCEDURE MessageBeep* ["USER32.dll", ""] (uType: SET): BOOL; (*END MessageBeep;*) PROCEDURE ShowCursor* ["USER32.dll", ""] (bShow: BOOL): INTEGER; (*END ShowCursor;*) PROCEDURE SetCursorPos* ["USER32.dll", ""] (X: INTEGER; Y: INTEGER): BOOL; (*END SetCursorPos;*) PROCEDURE SetCursor* ["USER32.dll", ""] (hCursor: HCURSOR): HCURSOR; (*END SetCursor;*) PROCEDURE GetCursorPos* ["USER32.dll", ""] (VAR [nil] lpPoint: POINT): BOOL; (*END GetCursorPos;*) PROCEDURE ClipCursor* ["USER32.dll", ""] (VAR [nil] lpRect: RECT): BOOL; (*END ClipCursor;*) PROCEDURE GetClipCursor* ["USER32.dll", ""] (VAR [nil] lpRect: RECT): BOOL; (*END GetClipCursor;*) PROCEDURE GetCursor* ["USER32.dll", ""] (): HCURSOR; (*END GetCursor;*) PROCEDURE CreateCaret* ["USER32.dll", ""] (hWnd: HWND; hBitmap: HBITMAP; nWidth: INTEGER; nHeight: INTEGER): BOOL; (*END CreateCaret;*) PROCEDURE GetCaretBlinkTime* ["USER32.dll", ""] (): INTEGER; (*END GetCaretBlinkTime;*) PROCEDURE SetCaretBlinkTime* ["USER32.dll", ""] (uMSeconds: INTEGER): BOOL; (*END SetCaretBlinkTime;*) PROCEDURE DestroyCaret* ["USER32.dll", ""] (): BOOL; (*END DestroyCaret;*) PROCEDURE HideCaret* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END HideCaret;*) PROCEDURE ShowCaret* ["USER32.dll", ""] (hWnd: HWND): BOOL; (*END ShowCaret;*) PROCEDURE SetCaretPos* ["USER32.dll", ""] (X: INTEGER; Y: INTEGER): BOOL; (*END SetCaretPos;*) PROCEDURE GetCaretPos* ["USER32.dll", ""] (VAR [nil] lpPoint: POINT): BOOL; (*END GetCaretPos;*) PROCEDURE ClientToScreen* ["USER32.dll", ""] (hWnd: HWND; VAR [nil] lpPoint: POINT): BOOL; (*END ClientToScreen;*) PROCEDURE ScreenToClient* ["USER32.dll", ""] (hWnd: HWND; VAR [nil] lpPoint: POINT): BOOL; (*END ScreenToClient;*) PROCEDURE MapWindowPoints* ["USER32.dll", ""] (hWndFrom: HWND; hWndTo: HWND; VAR [nil] lpPoints: POINT; cPoints: INTEGER): INTEGER; (*END MapWindowPoints;*) PROCEDURE WindowFromPoint* ["USER32.dll", ""] (Point: POINT): HWND; (*END WindowFromPoint;*) PROCEDURE ChildWindowFromPoint* ["USER32.dll", ""] (hWndParent: HWND; Point: POINT): HWND; (*END ChildWindowFromPoint;*) PROCEDURE ChildWindowFromPointEx* ["USER32.dll", ""] (p0: HWND; p1: POINT; p2: SET): HWND; (*END ChildWindowFromPointEx;*) PROCEDURE GetSysColor* ["USER32.dll", ""] (nIndex: INTEGER): INTEGER; (*END GetSysColor;*) PROCEDURE GetSysColorBrush* ["USER32.dll", ""] (nIndex: INTEGER): HBRUSH; (*END GetSysColorBrush;*) PROCEDURE SetSysColors* ["USER32.dll", ""] (cElements: INTEGER; VAR [nil] lpaElements: INTEGER; VAR [nil] lpaRgbValues: COLORREF): BOOL; (*END SetSysColors;*) PROCEDURE DrawFocusRect* ["USER32.dll", ""] (hDC: HDC; VAR [nil] lprc: RECT): BOOL; (*END DrawFocusRect;*) PROCEDURE FillRect* ["USER32.dll", ""] (hDC: HDC; VAR [nil] lprc: RECT; hbr: HBRUSH): INTEGER; (*END FillRect;*) PROCEDURE FrameRect* ["USER32.dll", ""] (hDC: HDC; VAR [nil] lprc: RECT; hbr: HBRUSH): INTEGER; (*END FrameRect;*) PROCEDURE InvertRect* ["USER32.dll", ""] (hDC: HDC; VAR [nil] lprc: RECT): BOOL; (*END InvertRect;*) PROCEDURE SetRect* ["USER32.dll", ""] (VAR [nil] lprc: RECT; xLeft: INTEGER; yTop: INTEGER; xRight: INTEGER; yBottom: INTEGER): BOOL; (*END SetRect;*) PROCEDURE SetRectEmpty* ["USER32.dll", ""] (VAR [nil] lprc: RECT): BOOL; (*END SetRectEmpty;*) PROCEDURE CopyRect* ["USER32.dll", ""] (VAR [nil] lprcDst: RECT; VAR [nil] lprcSrc: RECT): BOOL; (*END CopyRect;*) PROCEDURE InflateRect* ["USER32.dll", ""] (VAR [nil] lprc: RECT; dx: INTEGER; dy: INTEGER): BOOL; (*END InflateRect;*) PROCEDURE IntersectRect* ["USER32.dll", ""] (VAR [nil] lprcDst: RECT; VAR [nil] lprcSrc1: RECT; VAR [nil] lprcSrc2: RECT): BOOL; (*END IntersectRect;*) PROCEDURE UnionRect* ["USER32.dll", ""] (VAR [nil] lprcDst: RECT; VAR [nil] lprcSrc1: RECT; VAR [nil] lprcSrc2: RECT): BOOL; (*END UnionRect;*) PROCEDURE SubtractRect* ["USER32.dll", ""] (VAR [nil] lprcDst: RECT; VAR [nil] lprcSrc1: RECT; VAR [nil] lprcSrc2: RECT): BOOL; (*END SubtractRect;*) PROCEDURE OffsetRect* ["USER32.dll", ""] (VAR [nil] lprc: RECT; dx: INTEGER; dy: INTEGER): BOOL; (*END OffsetRect;*) PROCEDURE IsRectEmpty* ["USER32.dll", ""] (VAR [nil] lprc: RECT): BOOL; (*END IsRectEmpty;*) PROCEDURE EqualRect* ["USER32.dll", ""] (VAR [nil] lprc1: RECT; VAR [nil] lprc2: RECT): BOOL; (*END EqualRect;*) PROCEDURE PtInRect* ["USER32.dll", ""] (VAR [nil] lprc: RECT; pt: POINT): BOOL; (*END PtInRect;*) PROCEDURE GetWindowWord* ["USER32.dll", ""] (hWnd: HWND; nIndex: INTEGER): SHORTINT; (*END GetWindowWord;*) PROCEDURE SetWindowWord* ["USER32.dll", ""] (hWnd: HWND; nIndex: INTEGER; wNewWord: SHORTINT): SHORTINT; (*END SetWindowWord;*) PROCEDURE GetWindowLongA* ["USER32.dll", ""] (hWnd: HWND; nIndex: INTEGER): INTEGER; (*END GetWindowLongA;*) PROCEDURE GetWindowLongW* ["USER32.dll", ""] (hWnd: HWND; nIndex: INTEGER): INTEGER; (*END GetWindowLongW;*) PROCEDURE GetWindowLong* ["USER32.dll", "GetWindowLongA"] (hWnd: HWND; nIndex: INTEGER): INTEGER; (*END GetWindowLong;*) PROCEDURE SetWindowLongA* ["USER32.dll", ""] (hWnd: HWND; nIndex: INTEGER; dwNewLong: INTEGER): INTEGER; (*END SetWindowLongA;*) PROCEDURE SetWindowLongW* ["USER32.dll", ""] (hWnd: HWND; nIndex: INTEGER; dwNewLong: INTEGER): INTEGER; (*END SetWindowLongW;*) PROCEDURE SetWindowLong* ["USER32.dll", "SetWindowLongA"] (hWnd: HWND; nIndex: INTEGER; dwNewLong: INTEGER): INTEGER; (*END SetWindowLong;*) PROCEDURE GetClassWord* ["USER32.dll", ""] (hWnd: HWND; nIndex: INTEGER): SHORTINT; (*END GetClassWord;*) PROCEDURE SetClassWord* ["USER32.dll", ""] (hWnd: HWND; nIndex: INTEGER; wNewWord: SHORTINT): SHORTINT; (*END SetClassWord;*) PROCEDURE GetClassLongA* ["USER32.dll", ""] (hWnd: HWND; nIndex: INTEGER): INTEGER; (*END GetClassLongA;*) PROCEDURE GetClassLongW* ["USER32.dll", ""] (hWnd: HWND; nIndex: INTEGER): INTEGER; (*END GetClassLongW;*) PROCEDURE GetClassLong* ["USER32.dll", "GetClassLongA"] (hWnd: HWND; nIndex: INTEGER): INTEGER; (*END GetClassLong;*) PROCEDURE SetClassLongA* ["USER32.dll", ""] (hWnd: HWND; nIndex: INTEGER; dwNewLong: INTEGER): INTEGER; (*END SetClassLongA;*) PROCEDURE SetClassLongW* ["USER32.dll", ""] (hWnd: HWND; nIndex: INTEGER; dwNewLong: INTEGER): INTEGER; (*END SetClassLongW;*) PROCEDURE SetClassLong* ["USER32.dll", "SetClassLongA"] (hWnd: HWND; nIndex: INTEGER; dwNewLong: INTEGER): INTEGER; (*END SetClassLong;*) PROCEDURE GetDesktopWindow* ["USER32.dll", ""] (): HWND; (*END GetDesktopWindow;*) PROCEDURE GetParent* ["USER32.dll", ""] (hWnd: HWND): HWND; (*END GetParent;*) PROCEDURE SetParent* ["USER32.dll", ""] (hWndChild: HWND; hWndNewParent: HWND): HWND; (*END SetParent;*) PROCEDURE EnumChildWindows* ["USER32.dll", ""] (hWndParent: HWND; lpEnumFunc: WNDENUMPROC; lParam: LPARAM): BOOL; (*END EnumChildWindows;*) PROCEDURE FindWindowA* ["USER32.dll", ""] (lpClassName: PtrSTR; lpWindowName: PtrSTR): HWND; (*END FindWindowA;*) PROCEDURE FindWindowW* ["USER32.dll", ""] (lpClassName: PtrWSTR; lpWindowName: PtrWSTR): HWND; (*END FindWindowW;*) PROCEDURE FindWindow* ["USER32.dll", "FindWindowA"] (lpClassName: PtrSTR; lpWindowName: PtrSTR): HWND; (*END FindWindow;*) PROCEDURE FindWindowExA* ["USER32.dll", ""] (p0: HWND; p1: HWND; p2: PtrSTR; p3: PtrSTR): HWND; (*END FindWindowExA;*) PROCEDURE FindWindowExW* ["USER32.dll", ""] (p0: HWND; p1: HWND; p2: PtrWSTR; p3: PtrWSTR): HWND; (*END FindWindowExW;*) PROCEDURE FindWindowEx* ["USER32.dll", "FindWindowExA"] (p0: HWND; p1: HWND; p2: PtrSTR; p3: PtrSTR): HWND; (*END FindWindowEx;*) PROCEDURE EnumWindows* ["USER32.dll", ""] (lpEnumFunc: WNDENUMPROC; lParam: LPARAM): BOOL; (*END EnumWindows;*) PROCEDURE EnumThreadWindows* ["USER32.dll", ""] (dwThreadId: INTEGER; lpfn: WNDENUMPROC; lParam: LPARAM): BOOL; (*END EnumThreadWindows;*) PROCEDURE GetClassNameA* ["USER32.dll", ""] (hWnd: HWND; lpClassName: PtrSTR; nMaxCount: INTEGER): INTEGER; (*END GetClassNameA;*) PROCEDURE GetClassNameW* ["USER32.dll", ""] (hWnd: HWND; lpClassName: PtrWSTR; nMaxCount: INTEGER): INTEGER; (*END GetClassNameW;*) PROCEDURE GetClassName* ["USER32.dll", "GetClassNameA"] (hWnd: HWND; lpClassName: PtrSTR; nMaxCount: INTEGER): INTEGER; (*END GetClassName;*) PROCEDURE GetTopWindow* ["USER32.dll", ""] (hWnd: HWND): HWND; (*END GetTopWindow;*) PROCEDURE GetWindowThreadProcessId* ["USER32.dll", ""] (hWnd: HWND; VAR [nil] lpdwProcessId: INTEGER): INTEGER; (*END GetWindowThreadProcessId;*) PROCEDURE GetLastActivePopup* ["USER32.dll", ""] (hWnd: HWND): HWND; (*END GetLastActivePopup;*) PROCEDURE GetWindow* ["USER32.dll", ""] (hWnd: HWND; uCmd: INTEGER): HWND; (*END GetWindow;*) PROCEDURE SetWindowsHookA* ["USER32.dll", ""] (nFilterType: INTEGER; pfnFilterProc: HOOKPROC): HOOKPROC; (*END SetWindowsHookA;*) PROCEDURE SetWindowsHookW* ["USER32.dll", ""] (nFilterType: INTEGER; pfnFilterProc: HOOKPROC): HOOKPROC; (*END SetWindowsHookW;*) PROCEDURE SetWindowsHook* ["USER32.dll", "SetWindowsHookA"] (nFilterType: INTEGER; pfnFilterProc: HOOKPROC): HOOKPROC; (*END SetWindowsHook;*) PROCEDURE UnhookWindowsHook* ["USER32.dll", ""] (nCode: INTEGER; pfnFilterProc: HOOKPROC): BOOL; (*END UnhookWindowsHook;*) PROCEDURE SetWindowsHookExA* ["USER32.dll", ""] (idHook: INTEGER; lpfn: HOOKPROC; hmod: HINSTANCE; dwThreadId: INTEGER): HHOOK; (*END SetWindowsHookExA;*) PROCEDURE SetWindowsHookExW* ["USER32.dll", ""] (idHook: INTEGER; lpfn: HOOKPROC; hmod: HINSTANCE; dwThreadId: INTEGER): HHOOK; (*END SetWindowsHookExW;*) PROCEDURE SetWindowsHookEx* ["USER32.dll", "SetWindowsHookExA"] (idHook: INTEGER; lpfn: HOOKPROC; hmod: HINSTANCE; dwThreadId: INTEGER): HHOOK; (*END SetWindowsHookEx;*) PROCEDURE UnhookWindowsHookEx* ["USER32.dll", ""] (hhk: HHOOK): BOOL; (*END UnhookWindowsHookEx;*) PROCEDURE CallNextHookEx* ["USER32.dll", ""] (hhk: HHOOK; nCode: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END CallNextHookEx;*) PROCEDURE CheckMenuRadioItem* ["USER32.dll", ""] (p0: HMENU; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER): BOOL; (*END CheckMenuRadioItem;*) PROCEDURE LoadBitmapA* ["USER32.dll", ""] (hInstance: HINSTANCE; lpBitmapName: PtrSTR): HBITMAP; (*END LoadBitmapA;*) PROCEDURE LoadBitmapW* ["USER32.dll", ""] (hInstance: HINSTANCE; lpBitmapName: PtrWSTR): HBITMAP; (*END LoadBitmapW;*) PROCEDURE LoadBitmap* ["USER32.dll", "LoadBitmapA"] (hInstance: HINSTANCE; lpBitmapName: PtrSTR): HBITMAP; (*END LoadBitmap;*) PROCEDURE LoadCursorA* ["USER32.dll", ""] (hInstance: HINSTANCE; lpCursorName: PtrSTR): HCURSOR; (*END LoadCursorA;*) PROCEDURE LoadCursorW* ["USER32.dll", ""] (hInstance: HINSTANCE; lpCursorName: PtrWSTR): HCURSOR; (*END LoadCursorW;*) PROCEDURE LoadCursor* ["USER32.dll", "LoadCursorA"] (hInstance: HINSTANCE; lpCursorName: PtrSTR): HCURSOR; (*END LoadCursor;*) PROCEDURE LoadCursorFromFileA* ["USER32.dll", ""] (lpFileName: PtrSTR): HCURSOR; (*END LoadCursorFromFileA;*) PROCEDURE LoadCursorFromFileW* ["USER32.dll", ""] (lpFileName: PtrWSTR): HCURSOR; (*END LoadCursorFromFileW;*) PROCEDURE LoadCursorFromFile* ["USER32.dll", "LoadCursorFromFileA"] (lpFileName: PtrSTR): HCURSOR; (*END LoadCursorFromFile;*) PROCEDURE CreateCursor* ["USER32.dll", ""] (hInst: HINSTANCE; xHotSpot: INTEGER; yHotSpot: INTEGER; nWidth: INTEGER; nHeight: INTEGER; pvANDPlane: PtrVoid; pvXORPlane: PtrVoid): HCURSOR; (*END CreateCursor;*) PROCEDURE DestroyCursor* ["USER32.dll", ""] (hCursor: HCURSOR): BOOL; (*END DestroyCursor;*) PROCEDURE SetSystemCursor* ["USER32.dll", ""] (hcur: HCURSOR; id: INTEGER): BOOL; (*END SetSystemCursor;*) PROCEDURE LoadIconA* ["USER32.dll", ""] (hInstance: HINSTANCE; lpIconName: PtrSTR): HICON; (*END LoadIconA;*) PROCEDURE LoadIconW* ["USER32.dll", ""] (hInstance: HINSTANCE; lpIconName: PtrWSTR): HICON; (*END LoadIconW;*) PROCEDURE LoadIcon* ["USER32.dll", "LoadIconA"] (hInstance: HINSTANCE; lpIconName: PtrSTR): HICON; (*END LoadIcon;*) PROCEDURE CreateIcon* ["USER32.dll", ""] (hInstance: HINSTANCE; nWidth: INTEGER; nHeight: INTEGER; cPlanes: SHORTCHAR; cBitsPixel: SHORTCHAR; VAR [nil] lpbANDbits: SHORTCHAR; VAR [nil] lpbXORbits: SHORTCHAR): HICON; (*END CreateIcon;*) PROCEDURE DestroyIcon* ["USER32.dll", ""] (hIcon: HICON): BOOL; (*END DestroyIcon;*) PROCEDURE LookupIconIdFromDirectory* ["USER32.dll", ""] (VAR [nil] presbits: SHORTCHAR; fIcon: BOOL): INTEGER; (*END LookupIconIdFromDirectory;*) PROCEDURE LookupIconIdFromDirectoryEx* ["USER32.dll", ""] (VAR [nil] presbits: SHORTCHAR; fIcon: BOOL; cxDesired: INTEGER; cyDesired: INTEGER; Flags: SET): INTEGER; (*END LookupIconIdFromDirectoryEx;*) PROCEDURE CreateIconFromResource* ["USER32.dll", ""] (VAR [nil] presbits: SHORTCHAR; dwResSize: INTEGER; fIcon: BOOL; dwVer: INTEGER): HICON; (*END CreateIconFromResource;*) PROCEDURE CreateIconFromResourceEx* ["USER32.dll", ""] (VAR [nil] presbits: SHORTCHAR; dwResSize: INTEGER; fIcon: BOOL; dwVer: INTEGER; cxDesired: INTEGER; cyDesired: INTEGER; Flags: SET): HICON; (*END CreateIconFromResourceEx;*) PROCEDURE LoadImageA* ["USER32.dll", ""] (p0: HINSTANCE; p1: PtrSTR; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER): HANDLE; (*END LoadImageA;*) PROCEDURE LoadImageW* ["USER32.dll", ""] (p0: HINSTANCE; p1: PtrWSTR; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER): HANDLE; (*END LoadImageW;*) PROCEDURE LoadImage* ["USER32.dll", "LoadImageA"] (p0: HINSTANCE; p1: PtrSTR; p2: INTEGER; p3: INTEGER; p4: INTEGER; p5: INTEGER): HANDLE; (*END LoadImage;*) PROCEDURE CopyImage* ["USER32.dll", ""] (p0: HANDLE; p1: INTEGER; p2: INTEGER; p3: INTEGER; p4: INTEGER): HANDLE; (*END CopyImage;*) PROCEDURE DrawIconEx* ["USER32.dll", ""] (hdc: HDC; xLeft: INTEGER; yTop: INTEGER; hIcon: HICON; cxWidth: INTEGER; cyWidth: INTEGER; istepIfAniCur: INTEGER; hbrFlickerFreeDraw: HBRUSH; diFlags: SET): BOOL; (*END DrawIconEx;*) PROCEDURE CreateIconIndirect* ["USER32.dll", ""] (VAR [nil] piconinfo: ICONINFO): HICON; (*END CreateIconIndirect;*) PROCEDURE CopyIcon* ["USER32.dll", ""] (hIcon: HICON): HICON; (*END CopyIcon;*) PROCEDURE GetIconInfo* ["USER32.dll", ""] (hIcon: HICON; VAR [nil] piconinfo: ICONINFO): BOOL; (*END GetIconInfo;*) PROCEDURE LoadStringA* ["USER32.dll", ""] (hInstance: HINSTANCE; uID: INTEGER; lpBuffer: PtrSTR; nBufferMax: INTEGER): INTEGER; (*END LoadStringA;*) PROCEDURE LoadStringW* ["USER32.dll", ""] (hInstance: HINSTANCE; uID: INTEGER; lpBuffer: PtrWSTR; nBufferMax: INTEGER): INTEGER; (*END LoadStringW;*) PROCEDURE LoadString* ["USER32.dll", "LoadStringA"] (hInstance: HINSTANCE; uID: INTEGER; lpBuffer: PtrSTR; nBufferMax: INTEGER): INTEGER; (*END LoadString;*) PROCEDURE IsDialogMessageA* ["USER32.dll", ""] (hDlg: HWND; VAR [nil] lpMsg: MSG): BOOL; (*END IsDialogMessageA;*) PROCEDURE IsDialogMessageW* ["USER32.dll", ""] (hDlg: HWND; VAR [nil] lpMsg: MSG): BOOL; (*END IsDialogMessageW;*) PROCEDURE IsDialogMessage* ["USER32.dll", "IsDialogMessageA"] (hDlg: HWND; VAR [nil] lpMsg: MSG): BOOL; (*END IsDialogMessage;*) PROCEDURE MapDialogRect* ["USER32.dll", ""] (hDlg: HWND; VAR [nil] lpRect: RECT): BOOL; (*END MapDialogRect;*) PROCEDURE DlgDirListA* ["USER32.dll", ""] (hDlg: HWND; lpPathSpec: PtrSTR; nIDListBox: INTEGER; nIDStaticPath: INTEGER; uFileType: SET): INTEGER; (*END DlgDirListA;*) PROCEDURE DlgDirListW* ["USER32.dll", ""] (hDlg: HWND; lpPathSpec: PtrWSTR; nIDListBox: INTEGER; nIDStaticPath: INTEGER; uFileType: SET): INTEGER; (*END DlgDirListW;*) PROCEDURE DlgDirList* ["USER32.dll", "DlgDirListA"] (hDlg: HWND; lpPathSpec: PtrSTR; nIDListBox: INTEGER; nIDStaticPath: INTEGER; uFileType: SET): INTEGER; (*END DlgDirList;*) PROCEDURE DlgDirSelectExA* ["USER32.dll", ""] (hDlg: HWND; lpString: PtrSTR; nCount: INTEGER; nIDListBox: INTEGER): BOOL; (*END DlgDirSelectExA;*) PROCEDURE DlgDirSelectExW* ["USER32.dll", ""] (hDlg: HWND; lpString: PtrWSTR; nCount: INTEGER; nIDListBox: INTEGER): BOOL; (*END DlgDirSelectExW;*) PROCEDURE DlgDirSelectEx* ["USER32.dll", "DlgDirSelectExA"] (hDlg: HWND; lpString: PtrSTR; nCount: INTEGER; nIDListBox: INTEGER): BOOL; (*END DlgDirSelectEx;*) PROCEDURE DlgDirListComboBoxA* ["USER32.dll", ""] (hDlg: HWND; lpPathSpec: PtrSTR; nIDComboBox: INTEGER; nIDStaticPath: INTEGER; uFiletype: INTEGER): INTEGER; (*END DlgDirListComboBoxA;*) PROCEDURE DlgDirListComboBoxW* ["USER32.dll", ""] (hDlg: HWND; lpPathSpec: PtrWSTR; nIDComboBox: INTEGER; nIDStaticPath: INTEGER; uFiletype: INTEGER): INTEGER; (*END DlgDirListComboBoxW;*) PROCEDURE DlgDirListComboBox* ["USER32.dll", "DlgDirListComboBoxA"] (hDlg: HWND; lpPathSpec: PtrSTR; nIDComboBox: INTEGER; nIDStaticPath: INTEGER; uFiletype: INTEGER): INTEGER; (*END DlgDirListComboBox;*) PROCEDURE DlgDirSelectComboBoxExA* ["USER32.dll", ""] (hDlg: HWND; lpString: PtrSTR; nCount: INTEGER; nIDComboBox: INTEGER): BOOL; (*END DlgDirSelectComboBoxExA;*) PROCEDURE DlgDirSelectComboBoxExW* ["USER32.dll", ""] (hDlg: HWND; lpString: PtrWSTR; nCount: INTEGER; nIDComboBox: INTEGER): BOOL; (*END DlgDirSelectComboBoxExW;*) PROCEDURE DlgDirSelectComboBoxEx* ["USER32.dll", "DlgDirSelectComboBoxExA"] (hDlg: HWND; lpString: PtrSTR; nCount: INTEGER; nIDComboBox: INTEGER): BOOL; (*END DlgDirSelectComboBoxEx;*) PROCEDURE SetScrollInfo* ["USER32.dll", ""] (p0: HWND; p1: INTEGER; VAR [nil] p2: SCROLLINFO; p3: BOOL): INTEGER; (*END SetScrollInfo;*) PROCEDURE GetScrollInfo* ["USER32.dll", ""] (p0: HWND; p1: INTEGER; VAR [nil] p2: SCROLLINFO): BOOL; (*END GetScrollInfo;*) PROCEDURE DefFrameProcA* ["USER32.dll", ""] (hWnd: HWND; hWndMDIClient: HWND; uMsg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END DefFrameProcA;*) PROCEDURE DefFrameProcW* ["USER32.dll", ""] (hWnd: HWND; hWndMDIClient: HWND; uMsg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END DefFrameProcW;*) PROCEDURE DefFrameProc* ["USER32.dll", "DefFrameProcA"] (hWnd: HWND; hWndMDIClient: HWND; uMsg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END DefFrameProc;*) PROCEDURE DefMDIChildProcA* ["USER32.dll", ""] (hWnd: HWND; uMsg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END DefMDIChildProcA;*) PROCEDURE DefMDIChildProcW* ["USER32.dll", ""] (hWnd: HWND; uMsg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END DefMDIChildProcW;*) PROCEDURE DefMDIChildProc* ["USER32.dll", "DefMDIChildProcA"] (hWnd: HWND; uMsg: INTEGER; wParam: WPARAM; lParam: LPARAM): LRESULT; (*END DefMDIChildProc;*) PROCEDURE TranslateMDISysAccel* ["USER32.dll", ""] (hWndClient: HWND; VAR [nil] lpMsg: MSG): BOOL; (*END TranslateMDISysAccel;*) PROCEDURE ArrangeIconicWindows* ["USER32.dll", ""] (hWnd: HWND): INTEGER; (*END ArrangeIconicWindows;*) PROCEDURE CreateMDIWindowA* ["USER32.dll", ""] (lpClassName: PtrSTR; lpWindowName: PtrSTR; dwStyle: SET; X: INTEGER; Y: INTEGER; nWidth: INTEGER; nHeight: INTEGER; hWndParent: HWND; hInstance: HINSTANCE; lParam: LPARAM): HWND; (*END CreateMDIWindowA;*) PROCEDURE CreateMDIWindowW* ["USER32.dll", ""] (lpClassName: PtrWSTR; lpWindowName: PtrWSTR; dwStyle: SET; X: INTEGER; Y: INTEGER; nWidth: INTEGER; nHeight: INTEGER; hWndParent: HWND; hInstance: HINSTANCE; lParam: LPARAM): HWND; (*END CreateMDIWindowW;*) PROCEDURE CreateMDIWindow* ["USER32.dll", "CreateMDIWindowA"] (lpClassName: PtrSTR; lpWindowName: PtrSTR; dwStyle: SET; X: INTEGER; Y: INTEGER; nWidth: INTEGER; nHeight: INTEGER; hWndParent: HWND; hInstance: HINSTANCE; lParam: LPARAM): HWND; (*END CreateMDIWindow;*) PROCEDURE TileWindows* ["USER32.dll", ""] (hwndParent: HWND; wHow: INTEGER; VAR [nil] lpRect: RECT; cKids: INTEGER; VAR [nil] lpKids: HWND): SHORTINT; (*END TileWindows;*) PROCEDURE CascadeWindows* ["USER32.dll", ""] (hwndParent: HWND; wHow: INTEGER; VAR [nil] lpRect: RECT; cKids: INTEGER; VAR [nil] lpKids: HWND): SHORTINT; (*END CascadeWindows;*) PROCEDURE WinHelpA* ["USER32.dll", ""] (hWndMain: HWND; lpszHelp: PtrSTR; uCommand: INTEGER; dwData: INTEGER): BOOL; (*END WinHelpA;*) PROCEDURE WinHelpW* ["USER32.dll", ""] (hWndMain: HWND; lpszHelp: PtrWSTR; uCommand: INTEGER; dwData: INTEGER): BOOL; (*END WinHelpW;*) PROCEDURE WinHelp* ["USER32.dll", "WinHelpA"] (hWndMain: HWND; lpszHelp: PtrSTR; uCommand: INTEGER; dwData: INTEGER): BOOL; (*END WinHelp;*) PROCEDURE ChangeDisplaySettingsA* ["USER32.dll", ""] (VAR [nil] lpDevMode: DEVMODEA; dwFlags: SET): INTEGER; (*END ChangeDisplaySettingsA;*) PROCEDURE ChangeDisplaySettingsW* ["USER32.dll", ""] (VAR [nil] lpDevMode: DEVMODEW; dwFlags: SET): INTEGER; (*END ChangeDisplaySettingsW;*) PROCEDURE ChangeDisplaySettings* ["USER32.dll", "ChangeDisplaySettingsA"] (VAR [nil] lpDevMode: DEVMODEA; dwFlags: SET): INTEGER; (*END ChangeDisplaySettings;*) PROCEDURE EnumDisplaySettingsA* ["USER32.dll", ""] (lpszDeviceName: PtrSTR; iModeNum: INTEGER; VAR [nil] lpDevMode: DEVMODEA): BOOL; (*END EnumDisplaySettingsA;*) PROCEDURE EnumDisplaySettingsW* ["USER32.dll", ""] (lpszDeviceName: PtrWSTR; iModeNum: INTEGER; VAR [nil] lpDevMode: DEVMODEW): BOOL; (*END EnumDisplaySettingsW;*) PROCEDURE EnumDisplaySettings* ["USER32.dll", "EnumDisplaySettingsA"] (lpszDeviceName: PtrSTR; iModeNum: INTEGER; VAR [nil] lpDevMode: DEVMODEA): BOOL; (*END EnumDisplaySettings;*) PROCEDURE SystemParametersInfoA* ["USER32.dll", ""] (uiAction: INTEGER; uiParam: INTEGER; pvParam: PtrVoid; fWinIni: INTEGER): BOOL; (*END SystemParametersInfoA;*) PROCEDURE SystemParametersInfoW* ["USER32.dll", ""] (uiAction: INTEGER; uiParam: INTEGER; pvParam: PtrVoid; fWinIni: INTEGER): BOOL; (*END SystemParametersInfoW;*) PROCEDURE SystemParametersInfo* ["USER32.dll", "SystemParametersInfoA"] (uiAction: INTEGER; uiParam: INTEGER; pvParam: PtrVoid; fWinIni: INTEGER): BOOL; (*END SystemParametersInfo;*) PROCEDURE SetDebugErrorLevel* ["USER32.dll", ""] (dwLevel: INTEGER); (*END SetDebugErrorLevel;*) PROCEDURE SetLastErrorEx* ["USER32.dll", ""] (dwErrCode: INTEGER; dwType: INTEGER); (*END SetLastErrorEx;*) PROCEDURE IsValidCodePage* (CodePage: INTEGER): BOOL; (*END IsValidCodePage;*) PROCEDURE GetACP* (): INTEGER; (*END GetACP;*) PROCEDURE GetOEMCP* (): INTEGER; (*END GetOEMCP;*) PROCEDURE GetCPInfo* (CodePage: INTEGER; VAR [nil] lpCPInfo: CPINFO): BOOL; (*END GetCPInfo;*) PROCEDURE IsDBCSLeadByte* (TestChar: SHORTCHAR): BOOL; (*END IsDBCSLeadByte;*) PROCEDURE IsDBCSLeadByteEx* (CodePage: INTEGER; TestChar: SHORTCHAR): BOOL; (*END IsDBCSLeadByteEx;*) PROCEDURE MultiByteToWideChar* (CodePage: INTEGER; dwFlags: SET; lpMultiByteStr: PtrSTR; cchMultiByte: INTEGER; lpWideCharStr: PtrWSTR; cchWideChar: INTEGER): INTEGER; (*END MultiByteToWideChar;*) PROCEDURE WideCharToMultiByte* (CodePage: INTEGER; dwFlags: SET; lpWideCharStr: PtrWSTR; cchWideChar: INTEGER; lpMultiByteStr: PtrSTR; cchMultiByte: INTEGER; lpDefaultChar: PtrSTR; VAR [nil] lpUsedDefaultChar: BOOL): INTEGER; (*END WideCharToMultiByte;*) PROCEDURE CompareStringA* (Locale: LCID; dwCmpFlags: SET; lpString1: PtrSTR; cchCount1: INTEGER; lpString2: PtrSTR; cchCount2: INTEGER): INTEGER; (*END CompareStringA;*) PROCEDURE CompareStringW* (Locale: LCID; dwCmpFlags: SET; lpString1: PtrWSTR; cchCount1: INTEGER; lpString2: PtrWSTR; cchCount2: INTEGER): INTEGER; (*END CompareStringW;*) PROCEDURE CompareString* ["CompareStringA"] (Locale: LCID; dwCmpFlags: SET; lpString1: PtrSTR; cchCount1: INTEGER; lpString2: PtrSTR; cchCount2: INTEGER): INTEGER; (*END CompareString;*) PROCEDURE LCMapStringA* (Locale: LCID; dwMapFlags: SET; lpSrcStr: PtrSTR; cchSrc: INTEGER; lpDestStr: PtrSTR; cchDest: INTEGER): INTEGER; (*END LCMapStringA;*) PROCEDURE LCMapStringW* (Locale: LCID; dwMapFlags: SET; lpSrcStr: PtrWSTR; cchSrc: INTEGER; lpDestStr: PtrWSTR; cchDest: INTEGER): INTEGER; (*END LCMapStringW;*) PROCEDURE LCMapString* ["LCMapStringA"] (Locale: LCID; dwMapFlags: SET; lpSrcStr: PtrSTR; cchSrc: INTEGER; lpDestStr: PtrSTR; cchDest: INTEGER): INTEGER; (*END LCMapString;*) PROCEDURE GetLocaleInfoA* (Locale: LCID; LCType: LCTYPE; lpLCData: PtrSTR; cchData: INTEGER): INTEGER; (*END GetLocaleInfoA;*) PROCEDURE GetLocaleInfoW* (Locale: LCID; LCType: LCTYPE; lpLCData: PtrWSTR; cchData: INTEGER): INTEGER; (*END GetLocaleInfoW;*) PROCEDURE GetLocaleInfo* ["GetLocaleInfoA"] (Locale: LCID; LCType: LCTYPE; lpLCData: PtrSTR; cchData: INTEGER): INTEGER; (*END GetLocaleInfo;*) PROCEDURE SetLocaleInfoA* (Locale: LCID; LCType: LCTYPE; lpLCData: PtrSTR): BOOL; (*END SetLocaleInfoA;*) PROCEDURE SetLocaleInfoW* (Locale: LCID; LCType: LCTYPE; lpLCData: PtrWSTR): BOOL; (*END SetLocaleInfoW;*) PROCEDURE SetLocaleInfo* ["SetLocaleInfoA"] (Locale: LCID; LCType: LCTYPE; lpLCData: PtrSTR): BOOL; (*END SetLocaleInfo;*) PROCEDURE GetTimeFormatA* (Locale: LCID; dwFlags: SET; VAR [nil] lpTime: SYSTEMTIME; lpFormat: PtrSTR; lpTimeStr: PtrSTR; cchTime: INTEGER): INTEGER; (*END GetTimeFormatA;*) PROCEDURE GetTimeFormatW* (Locale: LCID; dwFlags: SET; VAR [nil] lpTime: SYSTEMTIME; lpFormat: PtrWSTR; lpTimeStr: PtrWSTR; cchTime: INTEGER): INTEGER; (*END GetTimeFormatW;*) PROCEDURE GetTimeFormat* ["GetTimeFormatA"] (Locale: LCID; dwFlags: SET; VAR [nil] lpTime: SYSTEMTIME; lpFormat: PtrSTR; lpTimeStr: PtrSTR; cchTime: INTEGER): INTEGER; (*END GetTimeFormat;*) PROCEDURE GetDateFormatA* (Locale: LCID; dwFlags: SET; VAR [nil] lpDate: SYSTEMTIME; lpFormat: PtrSTR; lpDateStr: PtrSTR; cchDate: INTEGER): INTEGER; (*END GetDateFormatA;*) PROCEDURE GetDateFormatW* (Locale: LCID; dwFlags: SET; VAR [nil] lpDate: SYSTEMTIME; lpFormat: PtrWSTR; lpDateStr: PtrWSTR; cchDate: INTEGER): INTEGER; (*END GetDateFormatW;*) PROCEDURE GetDateFormat* ["GetDateFormatA"] (Locale: LCID; dwFlags: SET; VAR [nil] lpDate: SYSTEMTIME; lpFormat: PtrSTR; lpDateStr: PtrSTR; cchDate: INTEGER): INTEGER; (*END GetDateFormat;*) PROCEDURE GetNumberFormatA* (Locale: LCID; dwFlags: SET; lpValue: PtrSTR; VAR [nil] lpFormat: NUMBERFMTA; lpNumberStr: PtrSTR; cchNumber: INTEGER): INTEGER; (*END GetNumberFormatA;*) PROCEDURE GetNumberFormatW* (Locale: LCID; dwFlags: SET; lpValue: PtrWSTR; VAR [nil] lpFormat: NUMBERFMTW; lpNumberStr: PtrWSTR; cchNumber: INTEGER): INTEGER; (*END GetNumberFormatW;*) PROCEDURE GetNumberFormat* ["GetNumberFormatA"] (Locale: LCID; dwFlags: SET; lpValue: PtrSTR; VAR [nil] lpFormat: NUMBERFMTA; lpNumberStr: PtrSTR; cchNumber: INTEGER): INTEGER; (*END GetNumberFormat;*) PROCEDURE GetCurrencyFormatA* (Locale: LCID; dwFlags: SET; lpValue: PtrSTR; VAR [nil] lpFormat: CURRENCYFMTA; lpCurrencyStr: PtrSTR; cchCurrency: INTEGER): INTEGER; (*END GetCurrencyFormatA;*) PROCEDURE GetCurrencyFormatW* (Locale: LCID; dwFlags: SET; lpValue: PtrWSTR; VAR [nil] lpFormat: CURRENCYFMTW; lpCurrencyStr: PtrWSTR; cchCurrency: INTEGER): INTEGER; (*END GetCurrencyFormatW;*) PROCEDURE GetCurrencyFormat* ["GetCurrencyFormatA"] (Locale: LCID; dwFlags: SET; lpValue: PtrSTR; VAR [nil] lpFormat: CURRENCYFMTA; lpCurrencyStr: PtrSTR; cchCurrency: INTEGER): INTEGER; (*END GetCurrencyFormat;*) PROCEDURE EnumCalendarInfoA* (lpCalInfoEnumProc: CALINFO_ENUMPROCA; Locale: LCID; Calendar: CALID; CalType: CALTYPE): BOOL; (*END EnumCalendarInfoA;*) PROCEDURE EnumCalendarInfoW* (lpCalInfoEnumProc: CALINFO_ENUMPROCW; Locale: LCID; Calendar: CALID; CalType: CALTYPE): BOOL; (*END EnumCalendarInfoW;*) PROCEDURE EnumCalendarInfo* ["EnumCalendarInfoA"] (lpCalInfoEnumProc: CALINFO_ENUMPROCA; Locale: LCID; Calendar: CALID; CalType: CALTYPE): BOOL; (*END EnumCalendarInfo;*) PROCEDURE EnumTimeFormatsA* (lpTimeFmtEnumProc: TIMEFMT_ENUMPROCA; Locale: LCID; dwFlags: SET): BOOL; (*END EnumTimeFormatsA;*) PROCEDURE EnumTimeFormatsW* (lpTimeFmtEnumProc: TIMEFMT_ENUMPROCW; Locale: LCID; dwFlags: SET): BOOL; (*END EnumTimeFormatsW;*) PROCEDURE EnumTimeFormats* ["EnumTimeFormatsA"] (lpTimeFmtEnumProc: TIMEFMT_ENUMPROCA; Locale: LCID; dwFlags: SET): BOOL; (*END EnumTimeFormats;*) PROCEDURE EnumDateFormatsA* (lpDateFmtEnumProc: DATEFMT_ENUMPROCA; Locale: LCID; dwFlags: SET): BOOL; (*END EnumDateFormatsA;*) PROCEDURE EnumDateFormatsW* (lpDateFmtEnumProc: DATEFMT_ENUMPROCW; Locale: LCID; dwFlags: SET): BOOL; (*END EnumDateFormatsW;*) PROCEDURE EnumDateFormats* ["EnumDateFormatsA"] (lpDateFmtEnumProc: DATEFMT_ENUMPROCA; Locale: LCID; dwFlags: SET): BOOL; (*END EnumDateFormats;*) PROCEDURE IsValidLocale* (Locale: LCID; dwFlags: SET): BOOL; (*END IsValidLocale;*) PROCEDURE ConvertDefaultLocale* (Locale: LCID): LCID; (*END ConvertDefaultLocale;*) PROCEDURE GetThreadLocale* (): LCID; (*END GetThreadLocale;*) PROCEDURE SetThreadLocale* (Locale: LCID): BOOL; (*END SetThreadLocale;*) PROCEDURE GetSystemDefaultLangID* (): LANGID; (*END GetSystemDefaultLangID;*) PROCEDURE GetUserDefaultLangID* (): LANGID; (*END GetUserDefaultLangID;*) PROCEDURE GetSystemDefaultLCID* (): LCID; (*END GetSystemDefaultLCID;*) PROCEDURE GetUserDefaultLCID* (): LCID; (*END GetUserDefaultLCID;*) PROCEDURE GetStringTypeExA* (Locale: LCID; dwInfoType: SET; lpSrcStr: PtrSTR; cchSrc: INTEGER; VAR [nil] lpCharType: SHORTINT): BOOL; (*END GetStringTypeExA;*) PROCEDURE GetStringTypeExW* (Locale: LCID; dwInfoType: SET; lpSrcStr: PtrWSTR; cchSrc: INTEGER; VAR [nil] lpCharType: SHORTINT): BOOL; (*END GetStringTypeExW;*) PROCEDURE GetStringTypeEx* ["GetStringTypeExA"] (Locale: LCID; dwInfoType: SET; lpSrcStr: PtrSTR; cchSrc: INTEGER; VAR [nil] lpCharType: SHORTINT): BOOL; (*END GetStringTypeEx;*) PROCEDURE GetStringTypeA* (Locale: LCID; dwInfoType: SET; lpSrcStr: PtrSTR; cchSrc: INTEGER; VAR [nil] lpCharType: SHORTINT): BOOL; (*END GetStringTypeA;*) PROCEDURE GetStringTypeW* (dwInfoType: SET; lpSrcStr: PtrWSTR; cchSrc: INTEGER; VAR [nil] lpCharType: SHORTINT): BOOL; (*END GetStringTypeW;*) PROCEDURE FoldStringA* (dwMapFlags: SET; lpSrcStr: PtrSTR; cchSrc: INTEGER; lpDestStr: PtrSTR; cchDest: INTEGER): INTEGER; (*END FoldStringA;*) PROCEDURE FoldStringW* (dwMapFlags: SET; lpSrcStr: PtrWSTR; cchSrc: INTEGER; lpDestStr: PtrWSTR; cchDest: INTEGER): INTEGER; (*END FoldStringW;*) PROCEDURE FoldString* ["FoldStringA"] (dwMapFlags: SET; lpSrcStr: PtrSTR; cchSrc: INTEGER; lpDestStr: PtrSTR; cchDest: INTEGER): INTEGER; (*END FoldString;*) PROCEDURE EnumSystemLocalesA* (lpLocaleEnumProc: LOCALE_ENUMPROCA; dwFlags: SET): BOOL; (*END EnumSystemLocalesA;*) PROCEDURE EnumSystemLocalesW* (lpLocaleEnumProc: LOCALE_ENUMPROCW; dwFlags: SET): BOOL; (*END EnumSystemLocalesW;*) PROCEDURE EnumSystemLocales* ["EnumSystemLocalesA"] (lpLocaleEnumProc: LOCALE_ENUMPROCA; dwFlags: SET): BOOL; (*END EnumSystemLocales;*) PROCEDURE EnumSystemCodePagesA* (lpCodePageEnumProc: CODEPAGE_ENUMPROCA; dwFlags: SET): BOOL; (*END EnumSystemCodePagesA;*) PROCEDURE EnumSystemCodePagesW* (lpCodePageEnumProc: CODEPAGE_ENUMPROCW; dwFlags: SET): BOOL; (*END EnumSystemCodePagesW;*) PROCEDURE EnumSystemCodePages* ["EnumSystemCodePagesA"] (lpCodePageEnumProc: CODEPAGE_ENUMPROCA; dwFlags: SET): BOOL; (*END EnumSystemCodePages;*) PROCEDURE PeekConsoleInputA* (hConsoleInput: HANDLE; VAR [nil] lpBuffer: INPUT_RECORD; nLength: INTEGER; VAR [nil] lpNumberOfEventsRead: INTEGER): BOOL; (*END PeekConsoleInputA;*) PROCEDURE PeekConsoleInputW* (hConsoleInput: HANDLE; VAR [nil] lpBuffer: INPUT_RECORD; nLength: INTEGER; VAR [nil] lpNumberOfEventsRead: INTEGER): BOOL; (*END PeekConsoleInputW;*) PROCEDURE PeekConsoleInput* ["PeekConsoleInputA"] (hConsoleInput: HANDLE; VAR [nil] lpBuffer: INPUT_RECORD; nLength: INTEGER; VAR [nil] lpNumberOfEventsRead: INTEGER): BOOL; (*END PeekConsoleInput;*) PROCEDURE ReadConsoleInputA* (hConsoleInput: HANDLE; VAR [nil] lpBuffer: INPUT_RECORD; nLength: INTEGER; VAR [nil] lpNumberOfEventsRead: INTEGER): BOOL; (*END ReadConsoleInputA;*) PROCEDURE ReadConsoleInputW* (hConsoleInput: HANDLE; VAR [nil] lpBuffer: INPUT_RECORD; nLength: INTEGER; VAR [nil] lpNumberOfEventsRead: INTEGER): BOOL; (*END ReadConsoleInputW;*) PROCEDURE ReadConsoleInput* ["ReadConsoleInputA"] (hConsoleInput: HANDLE; VAR [nil] lpBuffer: INPUT_RECORD; nLength: INTEGER; VAR [nil] lpNumberOfEventsRead: INTEGER): BOOL; (*END ReadConsoleInput;*) PROCEDURE WriteConsoleInputA* (hConsoleInput: HANDLE; VAR [nil] lpBuffer: INPUT_RECORD; nLength: INTEGER; VAR [nil] lpNumberOfEventsWritten: INTEGER): BOOL; (*END WriteConsoleInputA;*) PROCEDURE WriteConsoleInputW* (hConsoleInput: HANDLE; VAR [nil] lpBuffer: INPUT_RECORD; nLength: INTEGER; VAR [nil] lpNumberOfEventsWritten: INTEGER): BOOL; (*END WriteConsoleInputW;*) PROCEDURE WriteConsoleInput* ["WriteConsoleInputA"] (hConsoleInput: HANDLE; VAR [nil] lpBuffer: INPUT_RECORD; nLength: INTEGER; VAR [nil] lpNumberOfEventsWritten: INTEGER): BOOL; (*END WriteConsoleInput;*) PROCEDURE ReadConsoleOutputA* (hConsoleOutput: HANDLE; VAR [nil] lpBuffer: CHAR_INFO; dwBufferSize: COORD; dwBufferCoord: COORD; VAR [nil] lpReadRegion: SMALL_RECT): BOOL; (*END ReadConsoleOutputA;*) PROCEDURE ReadConsoleOutputW* (hConsoleOutput: HANDLE; VAR [nil] lpBuffer: CHAR_INFO; dwBufferSize: COORD; dwBufferCoord: COORD; VAR [nil] lpReadRegion: SMALL_RECT): BOOL; (*END ReadConsoleOutputW;*) PROCEDURE ReadConsoleOutput* ["ReadConsoleOutputA"] (hConsoleOutput: HANDLE; VAR [nil] lpBuffer: CHAR_INFO; dwBufferSize: COORD; dwBufferCoord: COORD; VAR [nil] lpReadRegion: SMALL_RECT): BOOL; (*END ReadConsoleOutput;*) PROCEDURE WriteConsoleOutputA* (hConsoleOutput: HANDLE; VAR [nil] lpBuffer: CHAR_INFO; dwBufferSize: COORD; dwBufferCoord: COORD; VAR [nil] lpWriteRegion: SMALL_RECT): BOOL; (*END WriteConsoleOutputA;*) PROCEDURE WriteConsoleOutputW* (hConsoleOutput: HANDLE; VAR [nil] lpBuffer: CHAR_INFO; dwBufferSize: COORD; dwBufferCoord: COORD; VAR [nil] lpWriteRegion: SMALL_RECT): BOOL; (*END WriteConsoleOutputW;*) PROCEDURE WriteConsoleOutput* ["WriteConsoleOutputA"] (hConsoleOutput: HANDLE; VAR [nil] lpBuffer: CHAR_INFO; dwBufferSize: COORD; dwBufferCoord: COORD; VAR [nil] lpWriteRegion: SMALL_RECT): BOOL; (*END WriteConsoleOutput;*) PROCEDURE ReadConsoleOutputCharacterA* (hConsoleOutput: HANDLE; lpCharacter: PtrSTR; nLength: INTEGER; dwReadCoord: COORD; VAR [nil] lpNumberOfCharsRead: INTEGER): BOOL; (*END ReadConsoleOutputCharacterA;*) PROCEDURE ReadConsoleOutputCharacterW* (hConsoleOutput: HANDLE; lpCharacter: PtrWSTR; nLength: INTEGER; dwReadCoord: COORD; VAR [nil] lpNumberOfCharsRead: INTEGER): BOOL; (*END ReadConsoleOutputCharacterW;*) PROCEDURE ReadConsoleOutputCharacter* ["ReadConsoleOutputCharacterA"] (hConsoleOutput: HANDLE; lpCharacter: PtrSTR; nLength: INTEGER; dwReadCoord: COORD; VAR [nil] lpNumberOfCharsRead: INTEGER): BOOL; (*END ReadConsoleOutputCharacter;*) PROCEDURE ReadConsoleOutputAttribute* (hConsoleOutput: HANDLE; VAR [nil] lpAttribute: SHORTINT; nLength: INTEGER; dwReadCoord: COORD; VAR [nil] lpNumberOfAttrsRead: INTEGER): BOOL; (*END ReadConsoleOutputAttribute;*) PROCEDURE WriteConsoleOutputCharacterA* (hConsoleOutput: HANDLE; lpCharacter: PtrSTR; nLength: INTEGER; dwWriteCoord: COORD; VAR [nil] lpNumberOfCharsWritten: INTEGER): BOOL; (*END WriteConsoleOutputCharacterA;*) PROCEDURE WriteConsoleOutputCharacterW* (hConsoleOutput: HANDLE; lpCharacter: PtrWSTR; nLength: INTEGER; dwWriteCoord: COORD; VAR [nil] lpNumberOfCharsWritten: INTEGER): BOOL; (*END WriteConsoleOutputCharacterW;*) PROCEDURE WriteConsoleOutputCharacter* ["WriteConsoleOutputCharacterA"] (hConsoleOutput: HANDLE; lpCharacter: PtrSTR; nLength: INTEGER; dwWriteCoord: COORD; VAR [nil] lpNumberOfCharsWritten: INTEGER): BOOL; (*END WriteConsoleOutputCharacter;*) PROCEDURE WriteConsoleOutputAttribute* (hConsoleOutput: HANDLE; VAR [nil] lpAttribute: SHORTINT; nLength: INTEGER; dwWriteCoord: COORD; VAR [nil] lpNumberOfAttrsWritten: INTEGER): BOOL; (*END WriteConsoleOutputAttribute;*) PROCEDURE FillConsoleOutputCharacterA* (hConsoleOutput: HANDLE; cCharacter: SHORTCHAR; nLength: INTEGER; dwWriteCoord: COORD; VAR [nil] lpNumberOfCharsWritten: INTEGER): BOOL; (*END FillConsoleOutputCharacterA;*) PROCEDURE FillConsoleOutputCharacterW* (hConsoleOutput: HANDLE; cCharacter: CHAR; nLength: INTEGER; dwWriteCoord: COORD; VAR [nil] lpNumberOfCharsWritten: INTEGER): BOOL; (*END FillConsoleOutputCharacterW;*) PROCEDURE FillConsoleOutputCharacter* ["FillConsoleOutputCharacterA"] (hConsoleOutput: HANDLE; cCharacter: SHORTCHAR; nLength: INTEGER; dwWriteCoord: COORD; VAR [nil] lpNumberOfCharsWritten: INTEGER): BOOL; (*END FillConsoleOutputCharacter;*) PROCEDURE FillConsoleOutputAttribute* (hConsoleOutput: HANDLE; wAttribute: SHORTINT; nLength: INTEGER; dwWriteCoord: COORD; VAR [nil] lpNumberOfAttrsWritten: INTEGER): BOOL; (*END FillConsoleOutputAttribute;*) PROCEDURE GetConsoleMode* (hConsoleHandle: HANDLE; VAR [nil] lpMode: SET): BOOL; (*END GetConsoleMode;*) PROCEDURE GetNumberOfConsoleInputEvents* (hConsoleInput: HANDLE; VAR [nil] lpNumberOfEvents: INTEGER): BOOL; (*END GetNumberOfConsoleInputEvents;*) PROCEDURE GetConsoleScreenBufferInfo* (hConsoleOutput: HANDLE; VAR [nil] lpConsoleScreenBufferInfo: CONSOLE_SCREEN_BUFFER_INFO): BOOL; (*END GetConsoleScreenBufferInfo;*) PROCEDURE GetLargestConsoleWindowSize* (hConsoleOutput: HANDLE): INTEGER; (*END GetLargestConsoleWindowSize;*) PROCEDURE GetConsoleCursorInfo* (hConsoleOutput: HANDLE; VAR [nil] lpConsoleCursorInfo: CONSOLE_CURSOR_INFO): BOOL; (*END GetConsoleCursorInfo;*) PROCEDURE GetNumberOfConsoleMouseButtons* (VAR [nil] lpNumberOfMouseButtons: INTEGER): BOOL; (*END GetNumberOfConsoleMouseButtons;*) PROCEDURE SetConsoleMode* (hConsoleHandle: HANDLE; dwMode: SET): BOOL; (*END SetConsoleMode;*) PROCEDURE SetConsoleActiveScreenBuffer* (hConsoleOutput: HANDLE): BOOL; (*END SetConsoleActiveScreenBuffer;*) PROCEDURE FlushConsoleInputBuffer* (hConsoleInput: HANDLE): BOOL; (*END FlushConsoleInputBuffer;*) PROCEDURE SetConsoleScreenBufferSize* (hConsoleOutput: HANDLE; dwSize: COORD): BOOL; (*END SetConsoleScreenBufferSize;*) PROCEDURE SetConsoleCursorPosition* (hConsoleOutput: HANDLE; dwCursorPosition: COORD): BOOL; (*END SetConsoleCursorPosition;*) PROCEDURE SetConsoleCursorInfo* (hConsoleOutput: HANDLE; VAR [nil] lpConsoleCursorInfo: CONSOLE_CURSOR_INFO): BOOL; (*END SetConsoleCursorInfo;*) PROCEDURE ScrollConsoleScreenBufferA* (hConsoleOutput: HANDLE; VAR [nil] lpScrollRectangle: SMALL_RECT; VAR [nil] lpClipRectangle: SMALL_RECT; dwDestinationOrigin: COORD; VAR [nil] lpFill: CHAR_INFO): BOOL; (*END ScrollConsoleScreenBufferA;*) PROCEDURE ScrollConsoleScreenBufferW* (hConsoleOutput: HANDLE; VAR [nil] lpScrollRectangle: SMALL_RECT; VAR [nil] lpClipRectangle: SMALL_RECT; dwDestinationOrigin: COORD; VAR [nil] lpFill: CHAR_INFO): BOOL; (*END ScrollConsoleScreenBufferW;*) PROCEDURE ScrollConsoleScreenBuffer* ["ScrollConsoleScreenBufferA"] (hConsoleOutput: HANDLE; VAR [nil] lpScrollRectangle: SMALL_RECT; VAR [nil] lpClipRectangle: SMALL_RECT; dwDestinationOrigin: COORD; VAR [nil] lpFill: CHAR_INFO): BOOL; (*END ScrollConsoleScreenBuffer;*) PROCEDURE SetConsoleWindowInfo* (hConsoleOutput: HANDLE; bAbsolute: BOOL; VAR [nil] lpConsoleWindow: SMALL_RECT): BOOL; (*END SetConsoleWindowInfo;*) PROCEDURE SetConsoleTextAttribute* (hConsoleOutput: HANDLE; wAttributes: SHORTINT): BOOL; (*END SetConsoleTextAttribute;*) PROCEDURE SetConsoleCtrlHandler* (HandlerRoutine: HANDLER_ROUTINE; Add: BOOL): BOOL; (*END SetConsoleCtrlHandler;*) PROCEDURE GenerateConsoleCtrlEvent* (dwCtrlEvent: INTEGER; dwProcessGroupId: INTEGER): BOOL; (*END GenerateConsoleCtrlEvent;*) PROCEDURE AllocConsole* (): BOOL; (*END AllocConsole;*) PROCEDURE FreeConsole* (): BOOL; (*END FreeConsole;*) PROCEDURE GetConsoleTitleA* (lpConsoleTitle: PtrSTR; nSize: INTEGER): INTEGER; (*END GetConsoleTitleA;*) PROCEDURE GetConsoleTitleW* (lpConsoleTitle: PtrWSTR; nSize: INTEGER): INTEGER; (*END GetConsoleTitleW;*) PROCEDURE GetConsoleTitle* ["GetConsoleTitleA"] (lpConsoleTitle: PtrSTR; nSize: INTEGER): INTEGER; (*END GetConsoleTitle;*) PROCEDURE SetConsoleTitleA* (lpConsoleTitle: PtrSTR): BOOL; (*END SetConsoleTitleA;*) PROCEDURE SetConsoleTitleW* (lpConsoleTitle: PtrWSTR): BOOL; (*END SetConsoleTitleW;*) PROCEDURE SetConsoleTitle* ["SetConsoleTitleA"] (lpConsoleTitle: PtrSTR): BOOL; (*END SetConsoleTitle;*) PROCEDURE ReadConsoleA* (hConsoleInput: HANDLE; lpBuffer: PtrVoid; nNumberOfCharsToRead: INTEGER; VAR [nil] lpNumberOfCharsRead: INTEGER; lpReserved: PtrVoid): BOOL; (*END ReadConsoleA;*) PROCEDURE ReadConsoleW* (hConsoleInput: HANDLE; lpBuffer: PtrVoid; nNumberOfCharsToRead: INTEGER; VAR [nil] lpNumberOfCharsRead: INTEGER; lpReserved: PtrVoid): BOOL; (*END ReadConsoleW;*) PROCEDURE ReadConsole* ["ReadConsoleA"] (hConsoleInput: HANDLE; lpBuffer: PtrVoid; nNumberOfCharsToRead: INTEGER; VAR [nil] lpNumberOfCharsRead: INTEGER; lpReserved: PtrVoid): BOOL; (*END ReadConsole;*) PROCEDURE WriteConsoleA* (hConsoleOutput: HANDLE; lpBuffer: PtrVoid; nNumberOfCharsToWrite: INTEGER; VAR [nil] lpNumberOfCharsWritten: INTEGER; lpReserved: PtrVoid): BOOL; (*END WriteConsoleA;*) PROCEDURE WriteConsoleW* (hConsoleOutput: HANDLE; lpBuffer: PtrVoid; nNumberOfCharsToWrite: INTEGER; VAR [nil] lpNumberOfCharsWritten: INTEGER; lpReserved: PtrVoid): BOOL; (*END WriteConsoleW;*) PROCEDURE WriteConsole* ["WriteConsoleA"] (hConsoleOutput: HANDLE; lpBuffer: PtrVoid; nNumberOfCharsToWrite: INTEGER; VAR [nil] lpNumberOfCharsWritten: INTEGER; lpReserved: PtrVoid): BOOL; (*END WriteConsole;*) PROCEDURE CreateConsoleScreenBuffer* (dwDesiredAccess: SET; dwShareMode: SET; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES; dwFlags: SET; lpScreenBufferData: PtrVoid): HANDLE; (*END CreateConsoleScreenBuffer;*) PROCEDURE GetConsoleCP* (): INTEGER; (*END GetConsoleCP;*) PROCEDURE SetConsoleCP* (wCodePageID: INTEGER): BOOL; (*END SetConsoleCP;*) PROCEDURE GetConsoleOutputCP* (): INTEGER; (*END GetConsoleOutputCP;*) PROCEDURE SetConsoleOutputCP* (wCodePageID: INTEGER): BOOL; (*END SetConsoleOutputCP;*) PROCEDURE VerFindFileA* ["VERSION.dll", ""] (uFlags: SET; szFileName: PtrSTR; szWinDir: PtrSTR; szAppDir: PtrSTR; szCurDir: PtrSTR; VAR [nil] lpuCurDirLen: INTEGER; szDestDir: PtrSTR; VAR [nil] lpuDestDirLen: INTEGER): SET; (*END VerFindFileA;*) PROCEDURE VerFindFileW* ["VERSION.dll", ""] (uFlags: SET; szFileName: PtrWSTR; szWinDir: PtrWSTR; szAppDir: PtrWSTR; szCurDir: PtrWSTR; VAR [nil] lpuCurDirLen: INTEGER; szDestDir: PtrWSTR; VAR [nil] lpuDestDirLen: INTEGER): SET; (*END VerFindFileW;*) PROCEDURE VerFindFile* ["VERSION.dll", "VerFindFileA"] (uFlags: SET; szFileName: PtrSTR; szWinDir: PtrSTR; szAppDir: PtrSTR; szCurDir: PtrSTR; VAR [nil] lpuCurDirLen: INTEGER; szDestDir: PtrSTR; VAR [nil] lpuDestDirLen: INTEGER): SET; (*END VerFindFile;*) PROCEDURE VerInstallFileA* ["VERSION.dll", ""] (uFlags: SET; szSrcFileName: PtrSTR; szDestFileName: PtrSTR; szSrcDir: PtrSTR; szDestDir: PtrSTR; szCurDir: PtrSTR; szTmpFile: PtrSTR; VAR [nil] lpuTmpFileLen: INTEGER): SET; (*END VerInstallFileA;*) PROCEDURE VerInstallFileW* ["VERSION.dll", ""] (uFlags: SET; szSrcFileName: PtrWSTR; szDestFileName: PtrWSTR; szSrcDir: PtrWSTR; szDestDir: PtrWSTR; szCurDir: PtrWSTR; szTmpFile: PtrWSTR; VAR [nil] lpuTmpFileLen: INTEGER): SET; (*END VerInstallFileW;*) PROCEDURE VerInstallFile* ["VERSION.dll", "VerInstallFileA"] (uFlags: SET; szSrcFileName: PtrSTR; szDestFileName: PtrSTR; szSrcDir: PtrSTR; szDestDir: PtrSTR; szCurDir: PtrSTR; szTmpFile: PtrSTR; VAR [nil] lpuTmpFileLen: INTEGER): SET; (*END VerInstallFile;*) PROCEDURE GetFileVersionInfoSizeA* ["VERSION.dll", ""] (lptstrFilename: PtrSTR; VAR [nil] lpdwHandle: INTEGER): INTEGER; (*END GetFileVersionInfoSizeA;*) PROCEDURE GetFileVersionInfoSizeW* ["VERSION.dll", ""] (lptstrFilename: PtrWSTR; VAR [nil] lpdwHandle: INTEGER): INTEGER; (*END GetFileVersionInfoSizeW;*) PROCEDURE GetFileVersionInfoSize* ["VERSION.dll", "GetFileVersionInfoSizeA"] (lptstrFilename: PtrSTR; VAR [nil] lpdwHandle: INTEGER): INTEGER; (*END GetFileVersionInfoSize;*) PROCEDURE GetFileVersionInfoA* ["VERSION.dll", ""] (lptstrFilename: PtrSTR; dwHandle: INTEGER; dwLen: INTEGER; lpData: PtrVoid): BOOL; (*END GetFileVersionInfoA;*) PROCEDURE GetFileVersionInfoW* ["VERSION.dll", ""] (lptstrFilename: PtrWSTR; dwHandle: INTEGER; dwLen: INTEGER; lpData: PtrVoid): BOOL; (*END GetFileVersionInfoW;*) PROCEDURE GetFileVersionInfo* ["VERSION.dll", "GetFileVersionInfoA"] (lptstrFilename: PtrSTR; dwHandle: INTEGER; dwLen: INTEGER; lpData: PtrVoid): BOOL; (*END GetFileVersionInfo;*) PROCEDURE VerLanguageNameA* (wLang: INTEGER; szLang: PtrSTR; nSize: INTEGER): INTEGER; (*END VerLanguageNameA;*) PROCEDURE VerLanguageNameW* (wLang: INTEGER; szLang: PtrWSTR; nSize: INTEGER): INTEGER; (*END VerLanguageNameW;*) PROCEDURE VerLanguageName* ["VerLanguageNameA"] (wLang: INTEGER; szLang: PtrSTR; nSize: INTEGER): INTEGER; (*END VerLanguageName;*) PROCEDURE VerQueryValueA* ["VERSION.dll", ""] (pBlock: PtrVoid; lpSubBlock: PtrSTR; lplpBuffer: POINTER TO (*?*) ARRAY [untagged] OF PtrVoid; VAR [nil] puLen: INTEGER): BOOL; (*END VerQueryValueA;*) PROCEDURE VerQueryValueW* ["VERSION.dll", ""] (pBlock: PtrVoid; lpSubBlock: PtrWSTR; lplpBuffer: POINTER TO (*?*) ARRAY [untagged] OF PtrVoid; VAR [nil] puLen: INTEGER): BOOL; (*END VerQueryValueW;*) PROCEDURE VerQueryValue* ["VERSION.dll", "VerQueryValueA"] (pBlock: PtrVoid; lpSubBlock: PtrSTR; lplpBuffer: POINTER TO (*?*) ARRAY [untagged] OF PtrVoid; VAR [nil] puLen: INTEGER): BOOL; (*END VerQueryValue;*) PROCEDURE RegCloseKey* ["ADVAPI32.dll", ""] (hKey: HKEY): INTEGER; (*END RegCloseKey;*) PROCEDURE RegConnectRegistryA* ["ADVAPI32.dll", ""] (lpMachineName: PtrSTR; hKey: HKEY; VAR [nil] phkResult: HKEY): INTEGER; (*END RegConnectRegistryA;*) PROCEDURE RegConnectRegistryW* ["ADVAPI32.dll", ""] (lpMachineName: PtrWSTR; hKey: HKEY; VAR [nil] phkResult: HKEY): INTEGER; (*END RegConnectRegistryW;*) PROCEDURE RegConnectRegistry* ["ADVAPI32.dll", "RegConnectRegistryA"] (lpMachineName: PtrSTR; hKey: HKEY; VAR [nil] phkResult: HKEY): INTEGER; (*END RegConnectRegistry;*) PROCEDURE RegCreateKeyA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrSTR; VAR [nil] phkResult: HKEY): INTEGER; (*END RegCreateKeyA;*) PROCEDURE RegCreateKeyW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrWSTR; VAR [nil] phkResult: HKEY): INTEGER; (*END RegCreateKeyW;*) PROCEDURE RegCreateKey* ["ADVAPI32.dll", "RegCreateKeyA"] (hKey: HKEY; lpSubKey: PtrSTR; VAR [nil] phkResult: HKEY): INTEGER; (*END RegCreateKey;*) PROCEDURE RegCreateKeyExA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrSTR; Reserved: INTEGER; lpClass: PtrSTR; dwOptions: SET; samDesired: REGSAM; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES; VAR [nil] phkResult: HKEY; VAR [nil] lpdwDisposition: INTEGER): INTEGER; (*END RegCreateKeyExA;*) PROCEDURE RegCreateKeyExW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrWSTR; Reserved: INTEGER; lpClass: PtrWSTR; dwOptions: SET; samDesired: REGSAM; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES; VAR [nil] phkResult: HKEY; VAR [nil] lpdwDisposition: INTEGER): INTEGER; (*END RegCreateKeyExW;*) PROCEDURE RegCreateKeyEx* ["ADVAPI32.dll", "RegCreateKeyExA"] (hKey: HKEY; lpSubKey: PtrSTR; Reserved: INTEGER; lpClass: PtrSTR; dwOptions: SET; samDesired: REGSAM; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES; VAR [nil] phkResult: HKEY; VAR [nil] lpdwDisposition: INTEGER): INTEGER; (*END RegCreateKeyEx;*) PROCEDURE RegDeleteKeyA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrSTR): INTEGER; (*END RegDeleteKeyA;*) PROCEDURE RegDeleteKeyW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrWSTR): INTEGER; (*END RegDeleteKeyW;*) PROCEDURE RegDeleteKey* ["ADVAPI32.dll", "RegDeleteKeyA"] (hKey: HKEY; lpSubKey: PtrSTR): INTEGER; (*END RegDeleteKey;*) PROCEDURE RegDeleteValueA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpValueName: PtrSTR): INTEGER; (*END RegDeleteValueA;*) PROCEDURE RegDeleteValueW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpValueName: PtrWSTR): INTEGER; (*END RegDeleteValueW;*) PROCEDURE RegDeleteValue* ["ADVAPI32.dll", "RegDeleteValueA"] (hKey: HKEY; lpValueName: PtrSTR): INTEGER; (*END RegDeleteValue;*) PROCEDURE RegEnumKeyA* ["ADVAPI32.dll", ""] (hKey: HKEY; dwIndex: INTEGER; lpName: PtrSTR; cbName: INTEGER): INTEGER; (*END RegEnumKeyA;*) PROCEDURE RegEnumKeyW* ["ADVAPI32.dll", ""] (hKey: HKEY; dwIndex: INTEGER; lpName: PtrWSTR; cbName: INTEGER): INTEGER; (*END RegEnumKeyW;*) PROCEDURE RegEnumKey* ["ADVAPI32.dll", "RegEnumKeyA"] (hKey: HKEY; dwIndex: INTEGER; lpName: PtrSTR; cbName: INTEGER): INTEGER; (*END RegEnumKey;*) PROCEDURE RegEnumKeyExA* ["ADVAPI32.dll", ""] (hKey: HKEY; dwIndex: INTEGER; lpName: PtrSTR; VAR [nil] lpcbName: INTEGER; VAR [nil] lpReserved: INTEGER; lpClass: PtrSTR; VAR [nil] lpcbClass: INTEGER; VAR [nil] lpftLastWriteTime: FILETIME): INTEGER; (*END RegEnumKeyExA;*) PROCEDURE RegEnumKeyExW* ["ADVAPI32.dll", ""] (hKey: HKEY; dwIndex: INTEGER; lpName: PtrWSTR; VAR [nil] lpcbName: INTEGER; VAR [nil] lpReserved: INTEGER; lpClass: PtrWSTR; VAR [nil] lpcbClass: INTEGER; VAR [nil] lpftLastWriteTime: FILETIME): INTEGER; (*END RegEnumKeyExW;*) PROCEDURE RegEnumKeyEx* ["ADVAPI32.dll", "RegEnumKeyExA"] (hKey: HKEY; dwIndex: INTEGER; lpName: PtrSTR; VAR [nil] lpcbName: INTEGER; VAR [nil] lpReserved: INTEGER; lpClass: PtrSTR; VAR [nil] lpcbClass: INTEGER; VAR [nil] lpftLastWriteTime: FILETIME): INTEGER; (*END RegEnumKeyEx;*) PROCEDURE RegEnumValueA* ["ADVAPI32.dll", ""] (hKey: HKEY; dwIndex: INTEGER; lpValueName: PtrSTR; VAR [nil] lpcbValueName: INTEGER; VAR [nil] lpReserved: INTEGER; VAR [nil] lpType: INTEGER; VAR [nil] lpData: SHORTCHAR; VAR [nil] lpcbData: INTEGER): INTEGER; (*END RegEnumValueA;*) PROCEDURE RegEnumValueW* ["ADVAPI32.dll", ""] (hKey: HKEY; dwIndex: INTEGER; lpValueName: PtrWSTR; VAR [nil] lpcbValueName: INTEGER; VAR [nil] lpReserved: INTEGER; VAR [nil] lpType: INTEGER; VAR [nil] lpData: SHORTCHAR; VAR [nil] lpcbData: INTEGER): INTEGER; (*END RegEnumValueW;*) PROCEDURE RegEnumValue* ["ADVAPI32.dll", "RegEnumValueA"] (hKey: HKEY; dwIndex: INTEGER; lpValueName: PtrSTR; VAR [nil] lpcbValueName: INTEGER; VAR [nil] lpReserved: INTEGER; VAR [nil] lpType: INTEGER; VAR [nil] lpData: SHORTCHAR; VAR [nil] lpcbData: INTEGER): INTEGER; (*END RegEnumValue;*) PROCEDURE RegFlushKey* ["ADVAPI32.dll", ""] (hKey: HKEY): INTEGER; (*END RegFlushKey;*) PROCEDURE RegGetKeySecurity* ["ADVAPI32.dll", ""] (hKey: HKEY; SecurityInformation: SECURITY_INFORMATION; pSecurityDescriptor: PSECURITY_DESCRIPTOR; VAR [nil] lpcbSecurityDescriptor: INTEGER): INTEGER; (*END RegGetKeySecurity;*) PROCEDURE RegLoadKeyA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrSTR; lpFile: PtrSTR): INTEGER; (*END RegLoadKeyA;*) PROCEDURE RegLoadKeyW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrWSTR; lpFile: PtrWSTR): INTEGER; (*END RegLoadKeyW;*) PROCEDURE RegLoadKey* ["ADVAPI32.dll", "RegLoadKeyA"] (hKey: HKEY; lpSubKey: PtrSTR; lpFile: PtrSTR): INTEGER; (*END RegLoadKey;*) PROCEDURE RegNotifyChangeKeyValue* ["ADVAPI32.dll", ""] (hKey: HKEY; bWatchSubtree: BOOL; dwNotifyFilter: SET; hEvent: HANDLE; fAsynchronus: BOOL): INTEGER; (*END RegNotifyChangeKeyValue;*) PROCEDURE RegOpenKeyA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrSTR; VAR [nil] phkResult: HKEY): INTEGER; (*END RegOpenKeyA;*) PROCEDURE RegOpenKeyW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrWSTR; VAR [nil] phkResult: HKEY): INTEGER; (*END RegOpenKeyW;*) PROCEDURE RegOpenKey* ["ADVAPI32.dll", "RegOpenKeyA"] (hKey: HKEY; lpSubKey: PtrSTR; VAR [nil] phkResult: HKEY): INTEGER; (*END RegOpenKey;*) PROCEDURE RegOpenKeyExA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrSTR; ulOptions: INTEGER; samDesired: REGSAM; VAR [nil] phkResult: HKEY): INTEGER; (*END RegOpenKeyExA;*) PROCEDURE RegOpenKeyExW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrWSTR; ulOptions: INTEGER; samDesired: REGSAM; VAR [nil] phkResult: HKEY): INTEGER; (*END RegOpenKeyExW;*) PROCEDURE RegOpenKeyEx* ["ADVAPI32.dll", "RegOpenKeyExA"] (hKey: HKEY; lpSubKey: PtrSTR; ulOptions: INTEGER; samDesired: REGSAM; VAR [nil] phkResult: HKEY): INTEGER; (*END RegOpenKeyEx;*) PROCEDURE RegQueryInfoKeyA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpClass: PtrSTR; VAR [nil] lpcbClass: INTEGER; VAR [nil] lpReserved: INTEGER; VAR [nil] lpcSubKeys: INTEGER; VAR [nil] lpcbMaxSubKeyLen: INTEGER; VAR [nil] lpcbMaxClassLen: INTEGER; VAR [nil] lpcValues: INTEGER; VAR [nil] lpcbMaxValueNameLen: INTEGER; VAR [nil] lpcbMaxValueLen: INTEGER; VAR [nil] lpcbSecurityDescriptor: INTEGER; VAR [nil] lpftLastWriteTime: FILETIME): INTEGER; (*END RegQueryInfoKeyA;*) PROCEDURE RegQueryInfoKeyW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpClass: PtrWSTR; VAR [nil] lpcbClass: INTEGER; VAR [nil] lpReserved: INTEGER; VAR [nil] lpcSubKeys: INTEGER; VAR [nil] lpcbMaxSubKeyLen: INTEGER; VAR [nil] lpcbMaxClassLen: INTEGER; VAR [nil] lpcValues: INTEGER; VAR [nil] lpcbMaxValueNameLen: INTEGER; VAR [nil] lpcbMaxValueLen: INTEGER; VAR [nil] lpcbSecurityDescriptor: INTEGER; VAR [nil] lpftLastWriteTime: FILETIME): INTEGER; (*END RegQueryInfoKeyW;*) PROCEDURE RegQueryInfoKey* ["ADVAPI32.dll", "RegQueryInfoKeyA"] (hKey: HKEY; lpClass: PtrSTR; VAR [nil] lpcbClass: INTEGER; VAR [nil] lpReserved: INTEGER; VAR [nil] lpcSubKeys: INTEGER; VAR [nil] lpcbMaxSubKeyLen: INTEGER; VAR [nil] lpcbMaxClassLen: INTEGER; VAR [nil] lpcValues: INTEGER; VAR [nil] lpcbMaxValueNameLen: INTEGER; VAR [nil] lpcbMaxValueLen: INTEGER; VAR [nil] lpcbSecurityDescriptor: INTEGER; VAR [nil] lpftLastWriteTime: FILETIME): INTEGER; (*END RegQueryInfoKey;*) PROCEDURE RegQueryValueA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrSTR; lpValue: PtrSTR; VAR [nil] lpcbValue: INTEGER): INTEGER; (*END RegQueryValueA;*) PROCEDURE RegQueryValueW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrWSTR; lpValue: PtrWSTR; VAR [nil] lpcbValue: INTEGER): INTEGER; (*END RegQueryValueW;*) PROCEDURE RegQueryValue* ["ADVAPI32.dll", "RegQueryValueA"] (hKey: HKEY; lpSubKey: PtrSTR; lpValue: PtrSTR; VAR [nil] lpcbValue: INTEGER): INTEGER; (*END RegQueryValue;*) PROCEDURE RegQueryMultipleValuesA* ["ADVAPI32.dll", ""] (hKey: HKEY; VAR [nil] val_list: VALENTA; num_vals: INTEGER; lpValueBuf: PtrSTR; VAR [nil] ldwTotsize: INTEGER): INTEGER; (*END RegQueryMultipleValuesA;*) PROCEDURE RegQueryMultipleValuesW* ["ADVAPI32.dll", ""] (hKey: HKEY; VAR [nil] val_list: VALENTW; num_vals: INTEGER; lpValueBuf: PtrWSTR; VAR [nil] ldwTotsize: INTEGER): INTEGER; (*END RegQueryMultipleValuesW;*) PROCEDURE RegQueryMultipleValues* ["ADVAPI32.dll", "RegQueryMultipleValuesA"] (hKey: HKEY; VAR [nil] val_list: VALENTA; num_vals: INTEGER; lpValueBuf: PtrSTR; VAR [nil] ldwTotsize: INTEGER): INTEGER; (*END RegQueryMultipleValues;*) PROCEDURE RegQueryValueExA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpValueName: PtrSTR; VAR [nil] lpReserved: INTEGER; VAR [nil] lpType: INTEGER; VAR [nil] lpData: SHORTCHAR; VAR [nil] lpcbData: INTEGER): INTEGER; (*END RegQueryValueExA;*) PROCEDURE RegQueryValueExW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpValueName: PtrWSTR; VAR [nil] lpReserved: INTEGER; VAR [nil] lpType: INTEGER; VAR [nil] lpData: SHORTCHAR; VAR [nil] lpcbData: INTEGER): INTEGER; (*END RegQueryValueExW;*) PROCEDURE RegQueryValueEx* ["ADVAPI32.dll", "RegQueryValueExA"] (hKey: HKEY; lpValueName: PtrSTR; VAR [nil] lpReserved: INTEGER; VAR [nil] lpType: INTEGER; VAR [nil] lpData: SHORTCHAR; VAR [nil] lpcbData: INTEGER): INTEGER; (*END RegQueryValueEx;*) PROCEDURE RegReplaceKeyA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrSTR; lpNewFile: PtrSTR; lpOldFile: PtrSTR): INTEGER; (*END RegReplaceKeyA;*) PROCEDURE RegReplaceKeyW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrWSTR; lpNewFile: PtrWSTR; lpOldFile: PtrWSTR): INTEGER; (*END RegReplaceKeyW;*) PROCEDURE RegReplaceKey* ["ADVAPI32.dll", "RegReplaceKeyA"] (hKey: HKEY; lpSubKey: PtrSTR; lpNewFile: PtrSTR; lpOldFile: PtrSTR): INTEGER; (*END RegReplaceKey;*) PROCEDURE RegRestoreKeyA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpFile: PtrSTR; dwFlags: SET): INTEGER; (*END RegRestoreKeyA;*) PROCEDURE RegRestoreKeyW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpFile: PtrWSTR; dwFlags: SET): INTEGER; (*END RegRestoreKeyW;*) PROCEDURE RegRestoreKey* ["ADVAPI32.dll", "RegRestoreKeyA"] (hKey: HKEY; lpFile: PtrSTR; dwFlags: SET): INTEGER; (*END RegRestoreKey;*) PROCEDURE RegSaveKeyA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpFile: PtrSTR; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): INTEGER; (*END RegSaveKeyA;*) PROCEDURE RegSaveKeyW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpFile: PtrWSTR; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): INTEGER; (*END RegSaveKeyW;*) PROCEDURE RegSaveKey* ["ADVAPI32.dll", "RegSaveKeyA"] (hKey: HKEY; lpFile: PtrSTR; VAR [nil] lpSecurityAttributes: SECURITY_ATTRIBUTES): INTEGER; (*END RegSaveKey;*) PROCEDURE RegSetKeySecurity* ["ADVAPI32.dll", ""] (hKey: HKEY; SecurityInformation: SECURITY_INFORMATION; pSecurityDescriptor: PSECURITY_DESCRIPTOR): INTEGER; (*END RegSetKeySecurity;*) PROCEDURE RegSetValueA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrSTR; dwType: INTEGER; lpData: PtrSTR; cbData: INTEGER): INTEGER; (*END RegSetValueA;*) PROCEDURE RegSetValueW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrWSTR; dwType: INTEGER; lpData: PtrWSTR; cbData: INTEGER): INTEGER; (*END RegSetValueW;*) PROCEDURE RegSetValue* ["ADVAPI32.dll", "RegSetValueA"] (hKey: HKEY; lpSubKey: PtrSTR; dwType: INTEGER; lpData: PtrSTR; cbData: INTEGER): INTEGER; (*END RegSetValue;*) PROCEDURE RegSetValueExA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpValueName: PtrSTR; Reserved: INTEGER; dwType: INTEGER; VAR [nil] lpData: SHORTCHAR; cbData: INTEGER): INTEGER; (*END RegSetValueExA;*) PROCEDURE RegSetValueExW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpValueName: PtrWSTR; Reserved: INTEGER; dwType: INTEGER; VAR [nil] lpData: SHORTCHAR; cbData: INTEGER): INTEGER; (*END RegSetValueExW;*) PROCEDURE RegSetValueEx* ["ADVAPI32.dll", "RegSetValueExA"] (hKey: HKEY; lpValueName: PtrSTR; Reserved: INTEGER; dwType: INTEGER; VAR [nil] lpData: SHORTCHAR; cbData: INTEGER): INTEGER; (*END RegSetValueEx;*) PROCEDURE RegUnLoadKeyA* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrSTR): INTEGER; (*END RegUnLoadKeyA;*) PROCEDURE RegUnLoadKeyW* ["ADVAPI32.dll", ""] (hKey: HKEY; lpSubKey: PtrWSTR): INTEGER; (*END RegUnLoadKeyW;*) PROCEDURE RegUnLoadKey* ["ADVAPI32.dll", "RegUnLoadKeyA"] (hKey: HKEY; lpSubKey: PtrSTR): INTEGER; (*END RegUnLoadKey;*) PROCEDURE InitiateSystemShutdownA* ["ADVAPI32.dll", ""] (lpMachineName: PtrSTR; lpMessage: PtrSTR; dwTimeout: INTEGER; bForceAppsClosed: BOOL; bRebootAfterShutdown: BOOL): BOOL; (*END InitiateSystemShutdownA;*) PROCEDURE InitiateSystemShutdownW* ["ADVAPI32.dll", ""] (lpMachineName: PtrWSTR; lpMessage: PtrWSTR; dwTimeout: INTEGER; bForceAppsClosed: BOOL; bRebootAfterShutdown: BOOL): BOOL; (*END InitiateSystemShutdownW;*) PROCEDURE InitiateSystemShutdown* ["ADVAPI32.dll", "InitiateSystemShutdownA"] (lpMachineName: PtrSTR; lpMessage: PtrSTR; dwTimeout: INTEGER; bForceAppsClosed: BOOL; bRebootAfterShutdown: BOOL): BOOL; (*END InitiateSystemShutdown;*) PROCEDURE AbortSystemShutdownA* ["ADVAPI32.dll", ""] (lpMachineName: PtrSTR): BOOL; (*END AbortSystemShutdownA;*) PROCEDURE AbortSystemShutdownW* ["ADVAPI32.dll", ""] (lpMachineName: PtrWSTR): BOOL; (*END AbortSystemShutdownW;*) PROCEDURE AbortSystemShutdown* ["ADVAPI32.dll", "AbortSystemShutdownA"] (lpMachineName: PtrSTR): BOOL; (*END AbortSystemShutdown;*) PROCEDURE DdeSetQualityOfService* ["USER32.dll", ""] (hwndClient: HWND; VAR [nil] pqosNew: SECURITY_QUALITY_OF_SERVICE; VAR [nil] pqosPrev: SECURITY_QUALITY_OF_SERVICE): BOOL; (*END DdeSetQualityOfService;*) PROCEDURE ImpersonateDdeClientWindow* ["USER32.dll", ""] (hWndClient: HWND; hWndServer: HWND): BOOL; (*END ImpersonateDdeClientWindow;*) PROCEDURE PackDDElParam* ["USER32.dll", ""] (msg: INTEGER; uiLo: INTEGER; uiHi: INTEGER): INTEGER; (*END PackDDElParam;*) PROCEDURE UnpackDDElParam* ["USER32.dll", ""] (msg: INTEGER; lParam: INTEGER; VAR [nil] puiLo: INTEGER; VAR [nil] puiHi: INTEGER): BOOL; (*END UnpackDDElParam;*) PROCEDURE FreeDDElParam* ["USER32.dll", ""] (msg: INTEGER; lParam: INTEGER): BOOL; (*END FreeDDElParam;*) PROCEDURE ReuseDDElParam* ["USER32.dll", ""] (lParam: INTEGER; msgIn: INTEGER; msgOut: INTEGER; uiLo: INTEGER; uiHi: INTEGER): INTEGER; (*END ReuseDDElParam;*) PROCEDURE DdeInitializeA* ["USER32.dll", ""] (VAR [nil] pidInst: INTEGER; pfnCallback: FNCALLBACK; afCmd: INTEGER; ulRes: INTEGER): INTEGER; (*END DdeInitializeA;*) PROCEDURE DdeInitializeW* ["USER32.dll", ""] (VAR [nil] pidInst: INTEGER; pfnCallback: FNCALLBACK; afCmd: INTEGER; ulRes: INTEGER): INTEGER; (*END DdeInitializeW;*) PROCEDURE DdeInitialize* ["USER32.dll", "DdeInitializeA"] (VAR [nil] pidInst: INTEGER; pfnCallback: FNCALLBACK; afCmd: INTEGER; ulRes: INTEGER): INTEGER; (*END DdeInitialize;*) PROCEDURE DdeUninitialize* ["USER32.dll", ""] (idInst: INTEGER): BOOL; (*END DdeUninitialize;*) PROCEDURE DdeConnectList* ["USER32.dll", ""] (idInst: INTEGER; hszService: HSZ; hszTopic: HSZ; hConvList: HCONVLIST; VAR [nil] pCC: CONVCONTEXT): HCONVLIST; (*END DdeConnectList;*) PROCEDURE DdeQueryNextServer* ["USER32.dll", ""] (hConvList: HCONVLIST; hConvPrev: HCONV): HCONV; (*END DdeQueryNextServer;*) PROCEDURE DdeDisconnectList* ["USER32.dll", ""] (hConvList: HCONVLIST): BOOL; (*END DdeDisconnectList;*) PROCEDURE DdeConnect* ["USER32.dll", ""] (idInst: INTEGER; hszService: HSZ; hszTopic: HSZ; VAR [nil] pCC: CONVCONTEXT): HCONV; (*END DdeConnect;*) PROCEDURE DdeDisconnect* ["USER32.dll", ""] (hConv: HCONV): BOOL; (*END DdeDisconnect;*) PROCEDURE DdeReconnect* ["USER32.dll", ""] (hConv: HCONV): HCONV; (*END DdeReconnect;*) PROCEDURE DdeQueryConvInfo* ["USER32.dll", ""] (hConv: HCONV; idTransaction: INTEGER; VAR [nil] pConvInfo: CONVINFO): INTEGER; (*END DdeQueryConvInfo;*) PROCEDURE DdeSetUserHandle* ["USER32.dll", ""] (hConv: HCONV; id: INTEGER; hUser: INTEGER): BOOL; (*END DdeSetUserHandle;*) PROCEDURE DdeAbandonTransaction* ["USER32.dll", ""] (idInst: INTEGER; hConv: HCONV; idTransaction: INTEGER): BOOL; (*END DdeAbandonTransaction;*) PROCEDURE DdePostAdvise* ["USER32.dll", ""] (idInst: INTEGER; hszTopic: HSZ; hszItem: HSZ): BOOL; (*END DdePostAdvise;*) PROCEDURE DdeEnableCallback* ["USER32.dll", ""] (idInst: INTEGER; hConv: HCONV; wCmd: INTEGER): BOOL; (*END DdeEnableCallback;*) PROCEDURE DdeImpersonateClient* ["USER32.dll", ""] (hConv: HCONV): BOOL; (*END DdeImpersonateClient;*) PROCEDURE DdeNameService* ["USER32.dll", ""] (idInst: INTEGER; hsz1: HSZ; hsz2: HSZ; afCmd: INTEGER): HDDEDATA; (*END DdeNameService;*) PROCEDURE DdeClientTransaction* ["USER32.dll", ""] (VAR [nil] pData: SHORTCHAR; cbData: INTEGER; hConv: HCONV; hszItem: HSZ; wFmt: INTEGER; wType: INTEGER; dwTimeout: INTEGER; VAR [nil] pdwResult: INTEGER): HDDEDATA; (*END DdeClientTransaction;*) PROCEDURE DdeCreateDataHandle* ["USER32.dll", ""] (idInst: INTEGER; VAR [nil] pSrc: SHORTCHAR; cb: INTEGER; cbOff: INTEGER; hszItem: HSZ; wFmt: INTEGER; afCmd: INTEGER): HDDEDATA; (*END DdeCreateDataHandle;*) PROCEDURE DdeAddData* ["USER32.dll", ""] (hData: HDDEDATA; VAR [nil] pSrc: SHORTCHAR; cb: INTEGER; cbOff: INTEGER): HDDEDATA; (*END DdeAddData;*) PROCEDURE DdeGetData* ["USER32.dll", ""] (hData: HDDEDATA; VAR [nil] pDst: SHORTCHAR; cbMax: INTEGER; cbOff: INTEGER): INTEGER; (*END DdeGetData;*) PROCEDURE DdeAccessData* ["USER32.dll", ""] (hData: HDDEDATA; VAR [nil] pcbDataSize: INTEGER): RetDdeAccessData; (*END DdeAccessData;*) PROCEDURE DdeUnaccessData* ["USER32.dll", ""] (hData: HDDEDATA): BOOL; (*END DdeUnaccessData;*) PROCEDURE DdeFreeDataHandle* ["USER32.dll", ""] (hData: HDDEDATA): BOOL; (*END DdeFreeDataHandle;*) PROCEDURE DdeGetLastError* ["USER32.dll", ""] (idInst: INTEGER): INTEGER; (*END DdeGetLastError;*) PROCEDURE DdeCreateStringHandleA* ["USER32.dll", ""] (idInst: INTEGER; psz: PtrSTR; iCodePage: INTEGER): HSZ; (*END DdeCreateStringHandleA;*) PROCEDURE DdeCreateStringHandleW* ["USER32.dll", ""] (idInst: INTEGER; psz: PtrWSTR; iCodePage: INTEGER): HSZ; (*END DdeCreateStringHandleW;*) PROCEDURE DdeCreateStringHandle* ["USER32.dll", "DdeCreateStringHandleA"] (idInst: INTEGER; psz: PtrSTR; iCodePage: INTEGER): HSZ; (*END DdeCreateStringHandle;*) PROCEDURE DdeQueryStringA* ["USER32.dll", ""] (idInst: INTEGER; hsz: HSZ; psz: PtrSTR; cchMax: INTEGER; iCodePage: INTEGER): INTEGER; (*END DdeQueryStringA;*) PROCEDURE DdeQueryStringW* ["USER32.dll", ""] (idInst: INTEGER; hsz: HSZ; psz: PtrWSTR; cchMax: INTEGER; iCodePage: INTEGER): INTEGER; (*END DdeQueryStringW;*) PROCEDURE DdeQueryString* ["USER32.dll", "DdeQueryStringA"] (idInst: INTEGER; hsz: HSZ; psz: PtrSTR; cchMax: INTEGER; iCodePage: INTEGER): INTEGER; (*END DdeQueryString;*) PROCEDURE DdeFreeStringHandle* ["USER32.dll", ""] (idInst: INTEGER; hsz: HSZ): BOOL; (*END DdeFreeStringHandle;*) PROCEDURE DdeKeepStringHandle* ["USER32.dll", ""] (idInst: INTEGER; hsz: HSZ): BOOL; (*END DdeKeepStringHandle;*) PROCEDURE DdeCmpStringHandles* ["USER32.dll", ""] (hsz1: HSZ; hsz2: HSZ): INTEGER; (*END DdeCmpStringHandles;*) PROCEDURE LZStart* ["LZ32.dll", ""] (): INTEGER; (*END LZStart;*) PROCEDURE LZDone* ["LZ32.dll", ""] (); (*END LZDone;*) PROCEDURE CopyLZFile* ["LZ32.dll", ""] (p0: INTEGER; p1: INTEGER): INTEGER; (*END CopyLZFile;*) PROCEDURE LZCopy* ["LZ32.dll", ""] (p0: INTEGER; p1: INTEGER): INTEGER; (*END LZCopy;*) PROCEDURE LZInit* ["LZ32.dll", ""] (p0: INTEGER): INTEGER; (*END LZInit;*) PROCEDURE GetExpandedNameA* ["LZ32.dll", ""] (p0: PtrSTR; p1: PtrSTR): INTEGER; (*END GetExpandedNameA;*) PROCEDURE GetExpandedNameW* ["LZ32.dll", ""] (p0: PtrWSTR; p1: PtrWSTR): INTEGER; (*END GetExpandedNameW;*) PROCEDURE GetExpandedName* ["LZ32.dll", "GetExpandedNameA"] (p0: PtrSTR; p1: PtrSTR): INTEGER; (*END GetExpandedName;*) PROCEDURE LZOpenFileA* ["LZ32.dll", ""] (p0: PtrSTR; VAR [nil] p1: OFSTRUCT; p2: SHORTINT): INTEGER; (*END LZOpenFileA;*) PROCEDURE LZOpenFileW* ["LZ32.dll", ""] (p0: PtrWSTR; VAR [nil] p1: OFSTRUCT; p2: SHORTINT): INTEGER; (*END LZOpenFileW;*) PROCEDURE LZOpenFile* ["LZ32.dll", "LZOpenFileA"] (p0: PtrSTR; VAR [nil] p1: OFSTRUCT; p2: SHORTINT): INTEGER; (*END LZOpenFile;*) PROCEDURE LZSeek* ["LZ32.dll", ""] (p0: INTEGER; p1: INTEGER; p2: INTEGER): INTEGER; (*END LZSeek;*) PROCEDURE LZRead* ["LZ32.dll", ""] (p0: INTEGER; p1: PtrSTR; p2: INTEGER): INTEGER; (*END LZRead;*) PROCEDURE LZClose* ["LZ32.dll", ""] (p0: INTEGER); (*END LZClose;*) PROCEDURE DragQueryFileA* ["SHELL32.dll", ""] (p0: HDROP; p1: INTEGER; p2: PtrSTR; p3: INTEGER): INTEGER; (*END DragQueryFileA;*) PROCEDURE DragQueryFileW* ["SHELL32.dll", ""] (p0: HDROP; p1: INTEGER; p2: PtrWSTR; p3: INTEGER): INTEGER; (*END DragQueryFileW;*) PROCEDURE DragQueryFile* ["SHELL32.dll", "DragQueryFileA"] (p0: HDROP; p1: INTEGER; p2: PtrSTR; p3: INTEGER): INTEGER; (*END DragQueryFile;*) PROCEDURE DragQueryPoint* ["SHELL32.dll", ""] (p0: HDROP; VAR [nil] p1: POINT): BOOL; (*END DragQueryPoint;*) PROCEDURE DragFinish* ["SHELL32.dll", ""] (p0: HDROP); (*END DragFinish;*) PROCEDURE DragAcceptFiles* ["SHELL32.dll", ""] (p0: HWND; p1: BOOL); (*END DragAcceptFiles;*) PROCEDURE ShellExecuteA* ["SHELL32.dll", ""] (hwnd: HWND; lpOperation: PtrSTR; lpFile: PtrSTR; lpParameters: PtrSTR; lpDirectory: PtrSTR; nShowCmd: INTEGER): HINSTANCE; (*END ShellExecuteA;*) PROCEDURE ShellExecuteW* ["SHELL32.dll", ""] (hwnd: HWND; lpOperation: PtrWSTR; lpFile: PtrWSTR; lpParameters: PtrWSTR; lpDirectory: PtrWSTR; nShowCmd: INTEGER): HINSTANCE; (*END ShellExecuteW;*) PROCEDURE ShellExecute* ["SHELL32.dll", "ShellExecuteA"] (hwnd: HWND; lpOperation: PtrSTR; lpFile: PtrSTR; lpParameters: PtrSTR; lpDirectory: PtrSTR; nShowCmd: INTEGER): HINSTANCE; (*END ShellExecute;*) PROCEDURE FindExecutableA* ["SHELL32.dll", ""] (lpFile: PtrSTR; lpDirectory: PtrSTR; lpResult: PtrSTR): HINSTANCE; (*END FindExecutableA;*) PROCEDURE FindExecutableW* ["SHELL32.dll", ""] (lpFile: PtrWSTR; lpDirectory: PtrWSTR; lpResult: PtrWSTR): HINSTANCE; (*END FindExecutableW;*) PROCEDURE FindExecutable* ["SHELL32.dll", "FindExecutableA"] (lpFile: PtrSTR; lpDirectory: PtrSTR; lpResult: PtrSTR): HINSTANCE; (*END FindExecutable;*) PROCEDURE CommandLineToArgvW* ["SHELL32.dll", ""] (lpCmdLine: PtrWSTR; VAR [nil] pNumArgs: INTEGER): RetCommandLineToArgvW; (*END CommandLineToArgvW;*) PROCEDURE ShellAboutA* ["SHELL32.dll", ""] (hWnd: HWND; szApp: PtrSTR; szOtherStuff: PtrSTR; hIcon: HICON): INTEGER; (*END ShellAboutA;*) PROCEDURE ShellAboutW* ["SHELL32.dll", ""] (hWnd: HWND; szApp: PtrWSTR; szOtherStuff: PtrWSTR; hIcon: HICON): INTEGER; (*END ShellAboutW;*) PROCEDURE ShellAbout* ["SHELL32.dll", "ShellAboutA"] (hWnd: HWND; szApp: PtrSTR; szOtherStuff: PtrSTR; hIcon: HICON): INTEGER; (*END ShellAbout;*) PROCEDURE DuplicateIcon* ["SHELL32.dll", ""] (hInst: HINSTANCE; hIcon: HICON): HICON; (*END DuplicateIcon;*) PROCEDURE ExtractAssociatedIconA* ["SHELL32.dll", ""] (hInst: HINSTANCE; lpIconPath: PtrSTR; VAR [nil] lpiIcon: SHORTINT): HICON; (*END ExtractAssociatedIconA;*) PROCEDURE ExtractAssociatedIconW* ["SHELL32.dll", ""] (hInst: HINSTANCE; lpIconPath: PtrWSTR; VAR [nil] lpiIcon: SHORTINT): HICON; (*END ExtractAssociatedIconW;*) PROCEDURE ExtractAssociatedIcon* ["SHELL32.dll", "ExtractAssociatedIconA"] (hInst: HINSTANCE; lpIconPath: PtrSTR; VAR [nil] lpiIcon: SHORTINT): HICON; (*END ExtractAssociatedIcon;*) PROCEDURE ExtractIconA* ["SHELL32.dll", ""] (hInst: HINSTANCE; lpszExeFileName: PtrSTR; nIconIndex: INTEGER): HICON; (*END ExtractIconA;*) PROCEDURE ExtractIconW* ["SHELL32.dll", ""] (hInst: HINSTANCE; lpszExeFileName: PtrWSTR; nIconIndex: INTEGER): HICON; (*END ExtractIconW;*) PROCEDURE ExtractIcon* ["SHELL32.dll", "ExtractIconA"] (hInst: HINSTANCE; lpszExeFileName: PtrSTR; nIconIndex: INTEGER): HICON; (*END ExtractIcon;*) PROCEDURE SHAppBarMessage* ["SHELL32.dll", ""] (dwMessage: INTEGER; VAR [nil] pData: APPBARDATA): INTEGER; (*END SHAppBarMessage;*) PROCEDURE DoEnvironmentSubstA* ["SHELL32.dll", ""] (szString: PtrSTR; cbString: INTEGER): INTEGER; (*END DoEnvironmentSubstA;*) PROCEDURE DoEnvironmentSubstW* ["SHELL32.dll", ""] (szString: PtrWSTR; cbString: INTEGER): INTEGER; (*END DoEnvironmentSubstW;*) PROCEDURE DoEnvironmentSubst* ["SHELL32.dll", "DoEnvironmentSubstA"] (szString: PtrSTR; cbString: INTEGER): INTEGER; (*END DoEnvironmentSubst;*) PROCEDURE ExtractIconExA* ["SHELL32.dll", ""] (lpszFile: PtrSTR; nIconIndex: INTEGER; VAR [nil] phiconLarge: HICON; VAR [nil] phiconSmall: HICON; nIcons: INTEGER): INTEGER; (*END ExtractIconExA;*) PROCEDURE ExtractIconExW* ["SHELL32.dll", ""] (lpszFile: PtrWSTR; nIconIndex: INTEGER; VAR [nil] phiconLarge: HICON; VAR [nil] phiconSmall: HICON; nIcons: INTEGER): INTEGER; (*END ExtractIconExW;*) PROCEDURE ExtractIconEx* ["SHELL32.dll", "ExtractIconExA"] (lpszFile: PtrSTR; nIconIndex: INTEGER; VAR [nil] phiconLarge: HICON; VAR [nil] phiconSmall: HICON; nIcons: INTEGER): INTEGER; (*END ExtractIconEx;*) PROCEDURE SHFileOperationA* ["SHELL32.dll", ""] (VAR [nil] lpFileOp: SHFILEOPSTRUCTA): INTEGER; (*END SHFileOperationA;*) PROCEDURE SHFileOperationW* ["SHELL32.dll", ""] (VAR [nil] lpFileOp: SHFILEOPSTRUCTW): INTEGER; (*END SHFileOperationW;*) PROCEDURE SHFileOperation* ["SHELL32.dll", "SHFileOperationA"] (VAR [nil] lpFileOp: SHFILEOPSTRUCTA): INTEGER; (*END SHFileOperation;*) PROCEDURE SHFreeNameMappings* ["SHELL32.dll", ""] (hNameMappings: HANDLE); (*END SHFreeNameMappings;*) PROCEDURE ShellExecuteExA* ["SHELL32.dll", ""] (VAR [nil] lpExecInfo: SHELLEXECUTEINFOA): BOOL; (*END ShellExecuteExA;*) PROCEDURE ShellExecuteExW* ["SHELL32.dll", ""] (VAR [nil] lpExecInfo: SHELLEXECUTEINFOW): BOOL; (*END ShellExecuteExW;*) PROCEDURE ShellExecuteEx* ["SHELL32.dll", "ShellExecuteExA"] (VAR [nil] lpExecInfo: SHELLEXECUTEINFOA): BOOL; (*END ShellExecuteEx;*) PROCEDURE Shell_NotifyIconA* ["SHELL32.dll", ""] (dwMessage: INTEGER; VAR [nil] lpData: NOTIFYICONDATAA): BOOL; (*END Shell_NotifyIconA;*) PROCEDURE Shell_NotifyIconW* ["SHELL32.dll", ""] (dwMessage: INTEGER; VAR [nil] lpData: NOTIFYICONDATAW): BOOL; (*END Shell_NotifyIconW;*) PROCEDURE Shell_NotifyIcon* ["SHELL32.dll", "Shell_NotifyIconA"] (dwMessage: INTEGER; VAR [nil] lpData: NOTIFYICONDATAA): BOOL; (*END Shell_NotifyIcon;*) PROCEDURE SHGetFileInfoA* ["SHELL32.dll", ""] (pszPath: PtrSTR; dwFileAttributes: SET; VAR [nil] psfi: SHFILEINFOA; cbFileInfo: INTEGER; uFlags: SET): INTEGER; (*END SHGetFileInfoA;*) PROCEDURE SHGetFileInfoW* ["SHELL32.dll", ""] (pszPath: PtrWSTR; dwFileAttributes: SET; VAR [nil] psfi: SHFILEINFOW; cbFileInfo: INTEGER; uFlags: SET): INTEGER; (*END SHGetFileInfoW;*) PROCEDURE SHGetFileInfo* ["SHELL32.dll", "SHGetFileInfoA"] (pszPath: PtrSTR; dwFileAttributes: SET; VAR [nil] psfi: SHFILEINFOA; cbFileInfo: INTEGER; uFlags: SET): INTEGER; (*END SHGetFileInfo;*) PROCEDURE SHGetNewLinkInfoA* ["SHELL32.dll", ""] (pszLinkTo: PtrSTR; pszDir: PtrSTR; pszName: PtrSTR; VAR [nil] pfMustCopy: BOOL; uFlags: SET): BOOL; (*END SHGetNewLinkInfoA;*) PROCEDURE SHGetNewLinkInfoW* ["SHELL32.dll", ""] (pszLinkTo: PtrWSTR; pszDir: PtrWSTR; pszName: PtrWSTR; VAR [nil] pfMustCopy: BOOL; uFlags: SET): BOOL; (*END SHGetNewLinkInfoW;*) PROCEDURE SHGetNewLinkInfo* ["SHELL32.dll", "SHGetNewLinkInfoA"] (pszLinkTo: PtrSTR; pszDir: PtrSTR; pszName: PtrSTR; VAR [nil] pfMustCopy: BOOL; uFlags: SET): BOOL; (*END SHGetNewLinkInfo;*) PROCEDURE CreatePropertySheetPageA* ["COMCTL32.dll", ""] (VAR [nil] p0: PROPSHEETPAGEA): Ptr_PSP; (*END CreatePropertySheetPageA;*) PROCEDURE CreatePropertySheetPageW* ["COMCTL32.dll", ""] (VAR [nil] p0: PROPSHEETPAGEW): Ptr_PSP; (*END CreatePropertySheetPageW;*) PROCEDURE DestroyPropertySheetPage* ["COMCTL32.dll", ""] (p0: Ptr_PSP): BOOL; (*END DestroyPropertySheetPage;*) PROCEDURE PropertySheetA* ["COMCTL32.dll", ""] (VAR [nil] p0: PROPSHEETHEADERA): INTEGER; (*END PropertySheetA;*) PROCEDURE PropertySheetW* ["COMCTL32.dll", ""] (VAR [nil] p0: PROPSHEETHEADERW): INTEGER; (*END PropertySheetW;*) PROCEDURE CreatePropertySheetPage* ["COMCTL32.dll", "CreatePropertySheetPageA"] (VAR [nil] p0: PROPSHEETPAGEA): Ptr_PSP; (*END CreatePropertySheetPage;*) PROCEDURE PropertySheet* ["COMCTL32.dll", "PropertySheetA"] (VAR [nil] p0: PROPSHEETHEADERA): INTEGER; (*END PropertySheet;*) PROCEDURE EnumPrintersA* ["WINSPOOL.drv", ""] (Flags: SET; Name: PtrSTR; Level: INTEGER; VAR [nil] pPrinterEnum: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPrintersA;*) PROCEDURE EnumPrintersW* ["WINSPOOL.drv", ""] (Flags: SET; Name: PtrWSTR; Level: INTEGER; VAR [nil] pPrinterEnum: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPrintersW;*) PROCEDURE EnumPrinters* ["WINSPOOL.drv", "EnumPrintersA"] (Flags: SET; Name: PtrSTR; Level: INTEGER; VAR [nil] pPrinterEnum: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPrinters;*) PROCEDURE OpenPrinterA* ["WINSPOOL.drv", ""] (pPrinterName: PtrSTR; VAR [nil] phPrinter: HANDLE; VAR [nil] pDefault: PRINTER_DEFAULTSA): BOOL; (*END OpenPrinterA;*) PROCEDURE OpenPrinterW* ["WINSPOOL.drv", ""] (pPrinterName: PtrWSTR; VAR [nil] phPrinter: HANDLE; VAR [nil] pDefault: PRINTER_DEFAULTSW): BOOL; (*END OpenPrinterW;*) PROCEDURE OpenPrinter* ["WINSPOOL.drv", "OpenPrinterA"] (pPrinterName: PtrSTR; VAR [nil] phPrinter: HANDLE; VAR [nil] pDefault: PRINTER_DEFAULTSA): BOOL; (*END OpenPrinter;*) PROCEDURE ResetPrinterA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; VAR [nil] pDefault: PRINTER_DEFAULTSA): BOOL; (*END ResetPrinterA;*) PROCEDURE ResetPrinterW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; VAR [nil] pDefault: PRINTER_DEFAULTSW): BOOL; (*END ResetPrinterW;*) PROCEDURE ResetPrinter* ["WINSPOOL.drv", "ResetPrinterA"] (hPrinter: HANDLE; VAR [nil] pDefault: PRINTER_DEFAULTSA): BOOL; (*END ResetPrinter;*) PROCEDURE SetJobA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; JobId: INTEGER; Level: INTEGER; VAR [nil] pJob: SHORTCHAR; Command: INTEGER): BOOL; (*END SetJobA;*) PROCEDURE SetJobW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; JobId: INTEGER; Level: INTEGER; VAR [nil] pJob: SHORTCHAR; Command: INTEGER): BOOL; (*END SetJobW;*) PROCEDURE SetJob* ["WINSPOOL.drv", "SetJobA"] (hPrinter: HANDLE; JobId: INTEGER; Level: INTEGER; VAR [nil] pJob: SHORTCHAR; Command: INTEGER): BOOL; (*END SetJob;*) PROCEDURE GetJobA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; JobId: INTEGER; Level: INTEGER; VAR [nil] pJob: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetJobA;*) PROCEDURE GetJobW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; JobId: INTEGER; Level: INTEGER; VAR [nil] pJob: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetJobW;*) PROCEDURE GetJob* ["WINSPOOL.drv", "GetJobA"] (hPrinter: HANDLE; JobId: INTEGER; Level: INTEGER; VAR [nil] pJob: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetJob;*) PROCEDURE EnumJobsA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; FirstJob: INTEGER; NoJobs: INTEGER; Level: INTEGER; VAR [nil] pJob: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumJobsA;*) PROCEDURE EnumJobsW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; FirstJob: INTEGER; NoJobs: INTEGER; Level: INTEGER; VAR [nil] pJob: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumJobsW;*) PROCEDURE EnumJobs* ["WINSPOOL.drv", "EnumJobsA"] (hPrinter: HANDLE; FirstJob: INTEGER; NoJobs: INTEGER; Level: INTEGER; VAR [nil] pJob: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumJobs;*) PROCEDURE AddPrinterA* ["WINSPOOL.drv", ""] (pName: PtrSTR; Level: INTEGER; VAR [nil] pPrinter: SHORTCHAR): HANDLE; (*END AddPrinterA;*) PROCEDURE AddPrinterW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; Level: INTEGER; VAR [nil] pPrinter: SHORTCHAR): HANDLE; (*END AddPrinterW;*) PROCEDURE AddPrinter* ["WINSPOOL.drv", "AddPrinterA"] (pName: PtrSTR; Level: INTEGER; VAR [nil] pPrinter: SHORTCHAR): HANDLE; (*END AddPrinter;*) PROCEDURE DeletePrinter* ["WINSPOOL.drv", ""] (hPrinter: HANDLE): BOOL; (*END DeletePrinter;*) PROCEDURE SetPrinterA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pPrinter: SHORTCHAR; Command: INTEGER): BOOL; (*END SetPrinterA;*) PROCEDURE SetPrinterW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pPrinter: SHORTCHAR; Command: INTEGER): BOOL; (*END SetPrinterW;*) PROCEDURE SetPrinter* ["WINSPOOL.drv", "SetPrinterA"] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pPrinter: SHORTCHAR; Command: INTEGER): BOOL; (*END SetPrinter;*) PROCEDURE GetPrinterA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pPrinter: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetPrinterA;*) PROCEDURE GetPrinterW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pPrinter: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetPrinterW;*) PROCEDURE GetPrinter* ["WINSPOOL.drv", "GetPrinterA"] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pPrinter: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetPrinter;*) PROCEDURE AddPrinterDriverA* ["WINSPOOL.drv", ""] (pName: PtrSTR; Level: INTEGER; VAR [nil] pDriverInfo: SHORTCHAR): BOOL; (*END AddPrinterDriverA;*) PROCEDURE AddPrinterDriverW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; Level: INTEGER; VAR [nil] pDriverInfo: SHORTCHAR): BOOL; (*END AddPrinterDriverW;*) PROCEDURE AddPrinterDriver* ["WINSPOOL.drv", "AddPrinterDriverA"] (pName: PtrSTR; Level: INTEGER; VAR [nil] pDriverInfo: SHORTCHAR): BOOL; (*END AddPrinterDriver;*) PROCEDURE EnumPrinterDriversA* ["WINSPOOL.drv", ""] (pName: PtrSTR; pEnvironment: PtrSTR; Level: INTEGER; VAR [nil] pDriverInfo: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPrinterDriversA;*) PROCEDURE EnumPrinterDriversW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; pEnvironment: PtrWSTR; Level: INTEGER; VAR [nil] pDriverInfo: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPrinterDriversW;*) PROCEDURE EnumPrinterDrivers* ["WINSPOOL.drv", "EnumPrinterDriversA"] (pName: PtrSTR; pEnvironment: PtrSTR; Level: INTEGER; VAR [nil] pDriverInfo: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPrinterDrivers;*) PROCEDURE GetPrinterDriverA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; pEnvironment: PtrSTR; Level: INTEGER; VAR [nil] pDriverInfo: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetPrinterDriverA;*) PROCEDURE GetPrinterDriverW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; pEnvironment: PtrWSTR; Level: INTEGER; VAR [nil] pDriverInfo: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetPrinterDriverW;*) PROCEDURE GetPrinterDriver* ["WINSPOOL.drv", "GetPrinterDriverA"] (hPrinter: HANDLE; pEnvironment: PtrSTR; Level: INTEGER; VAR [nil] pDriverInfo: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetPrinterDriver;*) PROCEDURE GetPrinterDriverDirectoryA* ["WINSPOOL.drv", ""] (pName: PtrSTR; pEnvironment: PtrSTR; Level: INTEGER; VAR [nil] pDriverDirectory: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetPrinterDriverDirectoryA;*) PROCEDURE GetPrinterDriverDirectoryW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; pEnvironment: PtrWSTR; Level: INTEGER; VAR [nil] pDriverDirectory: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetPrinterDriverDirectoryW;*) PROCEDURE GetPrinterDriverDirectory* ["WINSPOOL.drv", "GetPrinterDriverDirectoryA"] (pName: PtrSTR; pEnvironment: PtrSTR; Level: INTEGER; VAR [nil] pDriverDirectory: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetPrinterDriverDirectory;*) PROCEDURE DeletePrinterDriverA* ["WINSPOOL.drv", ""] (pName: PtrSTR; pEnvironment: PtrSTR; pDriverName: PtrSTR): BOOL; (*END DeletePrinterDriverA;*) PROCEDURE DeletePrinterDriverW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; pEnvironment: PtrWSTR; pDriverName: PtrWSTR): BOOL; (*END DeletePrinterDriverW;*) PROCEDURE DeletePrinterDriver* ["WINSPOOL.drv", "DeletePrinterDriverA"] (pName: PtrSTR; pEnvironment: PtrSTR; pDriverName: PtrSTR): BOOL; (*END DeletePrinterDriver;*) PROCEDURE AddPrintProcessorA* ["WINSPOOL.drv", ""] (pName: PtrSTR; pEnvironment: PtrSTR; pPathName: PtrSTR; pPrintProcessorName: PtrSTR): BOOL; (*END AddPrintProcessorA;*) PROCEDURE AddPrintProcessorW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; pEnvironment: PtrWSTR; pPathName: PtrWSTR; pPrintProcessorName: PtrWSTR): BOOL; (*END AddPrintProcessorW;*) PROCEDURE AddPrintProcessor* ["WINSPOOL.drv", "AddPrintProcessorA"] (pName: PtrSTR; pEnvironment: PtrSTR; pPathName: PtrSTR; pPrintProcessorName: PtrSTR): BOOL; (*END AddPrintProcessor;*) PROCEDURE EnumPrintProcessorsA* ["WINSPOOL.drv", ""] (pName: PtrSTR; pEnvironment: PtrSTR; Level: INTEGER; VAR [nil] pPrintProcessorInfo: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPrintProcessorsA;*) PROCEDURE EnumPrintProcessorsW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; pEnvironment: PtrWSTR; Level: INTEGER; VAR [nil] pPrintProcessorInfo: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPrintProcessorsW;*) PROCEDURE EnumPrintProcessors* ["WINSPOOL.drv", "EnumPrintProcessorsA"] (pName: PtrSTR; pEnvironment: PtrSTR; Level: INTEGER; VAR [nil] pPrintProcessorInfo: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPrintProcessors;*) PROCEDURE GetPrintProcessorDirectoryA* ["WINSPOOL.drv", ""] (pName: PtrSTR; pEnvironment: PtrSTR; Level: INTEGER; VAR [nil] pPrintProcessorInfo: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetPrintProcessorDirectoryA;*) PROCEDURE GetPrintProcessorDirectoryW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; pEnvironment: PtrWSTR; Level: INTEGER; VAR [nil] pPrintProcessorInfo: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetPrintProcessorDirectoryW;*) PROCEDURE GetPrintProcessorDirectory* ["WINSPOOL.drv", "GetPrintProcessorDirectoryA"] (pName: PtrSTR; pEnvironment: PtrSTR; Level: INTEGER; VAR [nil] pPrintProcessorInfo: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetPrintProcessorDirectory;*) PROCEDURE EnumPrintProcessorDatatypesA* ["WINSPOOL.drv", ""] (pName: PtrSTR; pPrintProcessorName: PtrSTR; Level: INTEGER; VAR [nil] pDatatypes: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPrintProcessorDatatypesA;*) PROCEDURE EnumPrintProcessorDatatypesW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; pPrintProcessorName: PtrWSTR; Level: INTEGER; VAR [nil] pDatatypes: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPrintProcessorDatatypesW;*) PROCEDURE EnumPrintProcessorDatatypes* ["WINSPOOL.drv", "EnumPrintProcessorDatatypesA"] (pName: PtrSTR; pPrintProcessorName: PtrSTR; Level: INTEGER; VAR [nil] pDatatypes: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPrintProcessorDatatypes;*) PROCEDURE DeletePrintProcessorA* ["WINSPOOL.drv", ""] (pName: PtrSTR; pEnvironment: PtrSTR; pPrintProcessorName: PtrSTR): BOOL; (*END DeletePrintProcessorA;*) PROCEDURE DeletePrintProcessorW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; pEnvironment: PtrWSTR; pPrintProcessorName: PtrWSTR): BOOL; (*END DeletePrintProcessorW;*) PROCEDURE DeletePrintProcessor* ["WINSPOOL.drv", "DeletePrintProcessorA"] (pName: PtrSTR; pEnvironment: PtrSTR; pPrintProcessorName: PtrSTR): BOOL; (*END DeletePrintProcessor;*) PROCEDURE StartDocPrinterA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pDocInfo: SHORTCHAR): INTEGER; (*END StartDocPrinterA;*) PROCEDURE StartDocPrinterW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pDocInfo: SHORTCHAR): INTEGER; (*END StartDocPrinterW;*) PROCEDURE StartDocPrinter* ["WINSPOOL.drv", "StartDocPrinterA"] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pDocInfo: SHORTCHAR): INTEGER; (*END StartDocPrinter;*) PROCEDURE StartPagePrinter* ["WINSPOOL.drv", ""] (hPrinter: HANDLE): BOOL; (*END StartPagePrinter;*) PROCEDURE WritePrinter* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; pBuf: PtrVoid; cbBuf: INTEGER; VAR [nil] pcWritten: INTEGER): BOOL; (*END WritePrinter;*) PROCEDURE EndPagePrinter* ["WINSPOOL.drv", ""] (hPrinter: HANDLE): BOOL; (*END EndPagePrinter;*) PROCEDURE AbortPrinter* ["WINSPOOL.drv", ""] (hPrinter: HANDLE): BOOL; (*END AbortPrinter;*) PROCEDURE ReadPrinter* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; pBuf: PtrVoid; cbBuf: INTEGER; VAR [nil] pNoBytesRead: INTEGER): BOOL; (*END ReadPrinter;*) PROCEDURE EndDocPrinter* ["WINSPOOL.drv", ""] (hPrinter: HANDLE): BOOL; (*END EndDocPrinter;*) PROCEDURE AddJobA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pData: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END AddJobA;*) PROCEDURE AddJobW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pData: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END AddJobW;*) PROCEDURE AddJob* ["WINSPOOL.drv", "AddJobA"] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pData: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END AddJob;*) PROCEDURE ScheduleJob* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; JobId: INTEGER): BOOL; (*END ScheduleJob;*) PROCEDURE PrinterProperties* ["WINSPOOL.drv", ""] (hWnd: HWND; hPrinter: HANDLE): BOOL; (*END PrinterProperties;*) PROCEDURE DocumentPropertiesA* ["WINSPOOL.drv", ""] (hWnd: HWND; hPrinter: HANDLE; pDeviceName: PtrSTR; VAR [nil] pDevModeOutput: DEVMODEA; VAR [nil] pDevModeInput: DEVMODEA; fMode: SET): INTEGER; (*END DocumentPropertiesA;*) PROCEDURE DocumentPropertiesW* ["WINSPOOL.drv", ""] (hWnd: HWND; hPrinter: HANDLE; pDeviceName: PtrWSTR; VAR [nil] pDevModeOutput: DEVMODEW; VAR [nil] pDevModeInput: DEVMODEW; fMode: SET): INTEGER; (*END DocumentPropertiesW;*) PROCEDURE DocumentProperties* ["WINSPOOL.drv", "DocumentPropertiesA"] (hWnd: HWND; hPrinter: HANDLE; pDeviceName: PtrSTR; VAR [nil] pDevModeOutput: DEVMODEA; VAR [nil] pDevModeInput: DEVMODEA; fMode: SET): INTEGER; (*END DocumentProperties;*) PROCEDURE AdvancedDocumentPropertiesA* ["WINSPOOL.drv", ""] (hWnd: HWND; hPrinter: HANDLE; pDeviceName: PtrSTR; VAR [nil] pDevModeOutput: DEVMODEA; VAR [nil] pDevModeInput: DEVMODEA): INTEGER; (*END AdvancedDocumentPropertiesA;*) PROCEDURE AdvancedDocumentPropertiesW* ["WINSPOOL.drv", ""] (hWnd: HWND; hPrinter: HANDLE; pDeviceName: PtrWSTR; VAR [nil] pDevModeOutput: DEVMODEW; VAR [nil] pDevModeInput: DEVMODEW): INTEGER; (*END AdvancedDocumentPropertiesW;*) PROCEDURE AdvancedDocumentProperties* ["WINSPOOL.drv", "AdvancedDocumentPropertiesA"] (hWnd: HWND; hPrinter: HANDLE; pDeviceName: PtrSTR; VAR [nil] pDevModeOutput: DEVMODEA; VAR [nil] pDevModeInput: DEVMODEA): INTEGER; (*END AdvancedDocumentProperties;*) PROCEDURE GetPrinterDataA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; pValueName: PtrSTR; VAR [nil] pType: INTEGER; VAR [nil] pData: SHORTCHAR; nSize: INTEGER; VAR [nil] pcbNeeded: INTEGER): INTEGER; (*END GetPrinterDataA;*) PROCEDURE GetPrinterDataW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; pValueName: PtrWSTR; VAR [nil] pType: INTEGER; VAR [nil] pData: SHORTCHAR; nSize: INTEGER; VAR [nil] pcbNeeded: INTEGER): INTEGER; (*END GetPrinterDataW;*) PROCEDURE GetPrinterData* ["WINSPOOL.drv", "GetPrinterDataA"] (hPrinter: HANDLE; pValueName: PtrSTR; VAR [nil] pType: INTEGER; VAR [nil] pData: SHORTCHAR; nSize: INTEGER; VAR [nil] pcbNeeded: INTEGER): INTEGER; (*END GetPrinterData;*) PROCEDURE SetPrinterDataA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; pValueName: PtrSTR; Type: INTEGER; VAR [nil] pData: SHORTCHAR; cbData: INTEGER): INTEGER; (*END SetPrinterDataA;*) PROCEDURE SetPrinterDataW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; pValueName: PtrWSTR; Type: INTEGER; VAR [nil] pData: SHORTCHAR; cbData: INTEGER): INTEGER; (*END SetPrinterDataW;*) PROCEDURE SetPrinterData* ["WINSPOOL.drv", "SetPrinterDataA"] (hPrinter: HANDLE; pValueName: PtrSTR; Type: INTEGER; VAR [nil] pData: SHORTCHAR; cbData: INTEGER): INTEGER; (*END SetPrinterData;*) PROCEDURE WaitForPrinterChange* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Flags: SET): INTEGER; (*END WaitForPrinterChange;*) PROCEDURE FindFirstPrinterChangeNotification* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; fdwFlags: SET; fdwOptions: INTEGER; pPrinterNotifyOptions: PtrVoid): HANDLE; (*END FindFirstPrinterChangeNotification;*) PROCEDURE FindNextPrinterChangeNotification* ["WINSPOOL.drv", ""] (hChange: HANDLE; VAR [nil] pdwChange: INTEGER; pvReserved: PtrVoid; ppPrinterNotifyInfo: POINTER TO (*?*) ARRAY [untagged] OF PtrVoid): BOOL; (*END FindNextPrinterChangeNotification;*) PROCEDURE FreePrinterNotifyInfo* ["WINSPOOL.drv", ""] (VAR [nil] pPrinterNotifyInfo: PRINTER_NOTIFY_INFO): BOOL; (*END FreePrinterNotifyInfo;*) PROCEDURE FindClosePrinterChangeNotification* ["WINSPOOL.drv", ""] (hChange: HANDLE): BOOL; (*END FindClosePrinterChangeNotification;*) PROCEDURE PrinterMessageBoxA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Error: INTEGER; hWnd: HWND; pText: PtrSTR; pCaption: PtrSTR; dwType: INTEGER): INTEGER; (*END PrinterMessageBoxA;*) PROCEDURE PrinterMessageBoxW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Error: INTEGER; hWnd: HWND; pText: PtrWSTR; pCaption: PtrWSTR; dwType: INTEGER): INTEGER; (*END PrinterMessageBoxW;*) PROCEDURE PrinterMessageBox* ["WINSPOOL.drv", "PrinterMessageBoxA"] (hPrinter: HANDLE; Error: INTEGER; hWnd: HWND; pText: PtrSTR; pCaption: PtrSTR; dwType: INTEGER): INTEGER; (*END PrinterMessageBox;*) PROCEDURE ClosePrinter* ["WINSPOOL.drv", ""] (hPrinter: HANDLE): BOOL; (*END ClosePrinter;*) PROCEDURE AddFormA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pForm: SHORTCHAR): BOOL; (*END AddFormA;*) PROCEDURE AddFormW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pForm: SHORTCHAR): BOOL; (*END AddFormW;*) PROCEDURE AddForm* ["WINSPOOL.drv", "AddFormA"] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pForm: SHORTCHAR): BOOL; (*END AddForm;*) PROCEDURE DeleteFormA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; pFormName: PtrSTR): BOOL; (*END DeleteFormA;*) PROCEDURE DeleteFormW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; pFormName: PtrWSTR): BOOL; (*END DeleteFormW;*) PROCEDURE DeleteForm* ["WINSPOOL.drv", "DeleteFormA"] (hPrinter: HANDLE; pFormName: PtrSTR): BOOL; (*END DeleteForm;*) PROCEDURE GetFormA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; pFormName: PtrSTR; Level: INTEGER; VAR [nil] pForm: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetFormA;*) PROCEDURE GetFormW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; pFormName: PtrWSTR; Level: INTEGER; VAR [nil] pForm: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetFormW;*) PROCEDURE GetForm* ["WINSPOOL.drv", "GetFormA"] (hPrinter: HANDLE; pFormName: PtrSTR; Level: INTEGER; VAR [nil] pForm: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER): BOOL; (*END GetForm;*) PROCEDURE SetFormA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; pFormName: PtrSTR; Level: INTEGER; VAR [nil] pForm: SHORTCHAR): BOOL; (*END SetFormA;*) PROCEDURE SetFormW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; pFormName: PtrWSTR; Level: INTEGER; VAR [nil] pForm: SHORTCHAR): BOOL; (*END SetFormW;*) PROCEDURE SetForm* ["WINSPOOL.drv", "SetFormA"] (hPrinter: HANDLE; pFormName: PtrSTR; Level: INTEGER; VAR [nil] pForm: SHORTCHAR): BOOL; (*END SetForm;*) PROCEDURE EnumFormsA* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pForm: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumFormsA;*) PROCEDURE EnumFormsW* ["WINSPOOL.drv", ""] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pForm: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumFormsW;*) PROCEDURE EnumForms* ["WINSPOOL.drv", "EnumFormsA"] (hPrinter: HANDLE; Level: INTEGER; VAR [nil] pForm: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumForms;*) PROCEDURE EnumMonitorsA* ["WINSPOOL.drv", ""] (pName: PtrSTR; Level: INTEGER; VAR [nil] pMonitors: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumMonitorsA;*) PROCEDURE EnumMonitorsW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; Level: INTEGER; VAR [nil] pMonitors: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumMonitorsW;*) PROCEDURE EnumMonitors* ["WINSPOOL.drv", "EnumMonitorsA"] (pName: PtrSTR; Level: INTEGER; VAR [nil] pMonitors: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumMonitors;*) PROCEDURE AddMonitorA* ["WINSPOOL.drv", ""] (pName: PtrSTR; Level: INTEGER; VAR [nil] pMonitors: SHORTCHAR): BOOL; (*END AddMonitorA;*) PROCEDURE AddMonitorW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; Level: INTEGER; VAR [nil] pMonitors: SHORTCHAR): BOOL; (*END AddMonitorW;*) PROCEDURE AddMonitor* ["WINSPOOL.drv", "AddMonitorA"] (pName: PtrSTR; Level: INTEGER; VAR [nil] pMonitors: SHORTCHAR): BOOL; (*END AddMonitor;*) PROCEDURE DeleteMonitorA* ["WINSPOOL.drv", ""] (pName: PtrSTR; pEnvironment: PtrSTR; pMonitorName: PtrSTR): BOOL; (*END DeleteMonitorA;*) PROCEDURE DeleteMonitorW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; pEnvironment: PtrWSTR; pMonitorName: PtrWSTR): BOOL; (*END DeleteMonitorW;*) PROCEDURE DeleteMonitor* ["WINSPOOL.drv", "DeleteMonitorA"] (pName: PtrSTR; pEnvironment: PtrSTR; pMonitorName: PtrSTR): BOOL; (*END DeleteMonitor;*) PROCEDURE EnumPortsA* ["WINSPOOL.drv", ""] (pName: PtrSTR; Level: INTEGER; VAR [nil] pPorts: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPortsA;*) PROCEDURE EnumPortsW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; Level: INTEGER; VAR [nil] pPorts: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPortsW;*) PROCEDURE EnumPorts* ["WINSPOOL.drv", "EnumPortsA"] (pName: PtrSTR; Level: INTEGER; VAR [nil] pPorts: SHORTCHAR; cbBuf: INTEGER; VAR [nil] pcbNeeded: INTEGER; VAR [nil] pcReturned: INTEGER): BOOL; (*END EnumPorts;*) PROCEDURE AddPortA* ["WINSPOOL.drv", ""] (pName: PtrSTR; hWnd: HWND; pMonitorName: PtrSTR): BOOL; (*END AddPortA;*) PROCEDURE AddPortW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; hWnd: HWND; pMonitorName: PtrWSTR): BOOL; (*END AddPortW;*) PROCEDURE AddPort* ["WINSPOOL.drv", "AddPortA"] (pName: PtrSTR; hWnd: HWND; pMonitorName: PtrSTR): BOOL; (*END AddPort;*) PROCEDURE ConfigurePortA* ["WINSPOOL.drv", ""] (pName: PtrSTR; hWnd: HWND; pPortName: PtrSTR): BOOL; (*END ConfigurePortA;*) PROCEDURE ConfigurePortW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; hWnd: HWND; pPortName: PtrWSTR): BOOL; (*END ConfigurePortW;*) PROCEDURE ConfigurePort* ["WINSPOOL.drv", "ConfigurePortA"] (pName: PtrSTR; hWnd: HWND; pPortName: PtrSTR): BOOL; (*END ConfigurePort;*) PROCEDURE DeletePortA* ["WINSPOOL.drv", ""] (pName: PtrSTR; hWnd: HWND; pPortName: PtrSTR): BOOL; (*END DeletePortA;*) PROCEDURE DeletePortW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; hWnd: HWND; pPortName: PtrWSTR): BOOL; (*END DeletePortW;*) PROCEDURE DeletePort* ["WINSPOOL.drv", "DeletePortA"] (pName: PtrSTR; hWnd: HWND; pPortName: PtrSTR): BOOL; (*END DeletePort;*) PROCEDURE AddPrinterConnectionA* ["WINSPOOL.drv", ""] (pName: PtrSTR): BOOL; (*END AddPrinterConnectionA;*) PROCEDURE AddPrinterConnectionW* ["WINSPOOL.drv", ""] (pName: PtrWSTR): BOOL; (*END AddPrinterConnectionW;*) PROCEDURE AddPrinterConnection* ["WINSPOOL.drv", "AddPrinterConnectionA"] (pName: PtrSTR): BOOL; (*END AddPrinterConnection;*) PROCEDURE DeletePrinterConnectionA* ["WINSPOOL.drv", ""] (pName: PtrSTR): BOOL; (*END DeletePrinterConnectionA;*) PROCEDURE DeletePrinterConnectionW* ["WINSPOOL.drv", ""] (pName: PtrWSTR): BOOL; (*END DeletePrinterConnectionW;*) PROCEDURE DeletePrinterConnection* ["WINSPOOL.drv", "DeletePrinterConnectionA"] (pName: PtrSTR): BOOL; (*END DeletePrinterConnection;*) PROCEDURE ConnectToPrinterDlg* ["WINSPOOL.drv", ""] (hwnd: HWND; Flags: SET): HANDLE; (*END ConnectToPrinterDlg;*) PROCEDURE AddPrintProvidorA* ["WINSPOOL.drv", ""] (pName: PtrSTR; level: INTEGER; VAR [nil] pProvidorInfo: SHORTCHAR): BOOL; (*END AddPrintProvidorA;*) PROCEDURE AddPrintProvidorW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; level: INTEGER; VAR [nil] pProvidorInfo: SHORTCHAR): BOOL; (*END AddPrintProvidorW;*) PROCEDURE AddPrintProvidor* ["WINSPOOL.drv", "AddPrintProvidorA"] (pName: PtrSTR; level: INTEGER; VAR [nil] pProvidorInfo: SHORTCHAR): BOOL; (*END AddPrintProvidor;*) PROCEDURE DeletePrintProvidorA* ["WINSPOOL.drv", ""] (pName: PtrSTR; pEnvironment: PtrSTR; pPrintProvidorName: PtrSTR): BOOL; (*END DeletePrintProvidorA;*) PROCEDURE DeletePrintProvidorW* ["WINSPOOL.drv", ""] (pName: PtrWSTR; pEnvironment: PtrWSTR; pPrintProvidorName: PtrWSTR): BOOL; (*END DeletePrintProvidorW;*) PROCEDURE DeletePrintProvidor* ["WINSPOOL.drv", "DeletePrintProvidorA"] (pName: PtrSTR; pEnvironment: PtrSTR; pPrintProvidorName: PtrSTR): BOOL; (*END DeletePrintProvidor;*) PROCEDURE ChangeServiceConfigA* ["ADVAPI32.dll", ""] (hService: SC_HANDLE; dwServiceType: SET; dwStartType: INTEGER; dwErrorControl: INTEGER; lpBinaryPathName: PtrSTR; lpLoadOrderGroup: PtrSTR; VAR [nil] lpdwTagId: INTEGER; lpDependencies: PtrSTR; lpServiceStartName: PtrSTR; lpPassword: PtrSTR; lpDisplayName: PtrSTR): BOOL; (*END ChangeServiceConfigA;*) PROCEDURE ChangeServiceConfigW* ["ADVAPI32.dll", ""] (hService: SC_HANDLE; dwServiceType: SET; dwStartType: INTEGER; dwErrorControl: INTEGER; lpBinaryPathName: PtrWSTR; lpLoadOrderGroup: PtrWSTR; VAR [nil] lpdwTagId: INTEGER; lpDependencies: PtrWSTR; lpServiceStartName: PtrWSTR; lpPassword: PtrWSTR; lpDisplayName: PtrWSTR): BOOL; (*END ChangeServiceConfigW;*) PROCEDURE ChangeServiceConfig* ["ADVAPI32.dll", "ChangeServiceConfigA"] (hService: SC_HANDLE; dwServiceType: SET; dwStartType: INTEGER; dwErrorControl: INTEGER; lpBinaryPathName: PtrSTR; lpLoadOrderGroup: PtrSTR; VAR [nil] lpdwTagId: INTEGER; lpDependencies: PtrSTR; lpServiceStartName: PtrSTR; lpPassword: PtrSTR; lpDisplayName: PtrSTR): BOOL; (*END ChangeServiceConfig;*) PROCEDURE CloseServiceHandle* ["ADVAPI32.dll", ""] (hSCObject: SC_HANDLE): BOOL; (*END CloseServiceHandle;*) PROCEDURE ControlService* ["ADVAPI32.dll", ""] (hService: SC_HANDLE; dwControl: INTEGER; VAR [nil] lpServiceStatus: SERVICE_STATUS): BOOL; (*END ControlService;*) PROCEDURE CreateServiceA* ["ADVAPI32.dll", ""] (hSCManager: SC_HANDLE; lpServiceName: PtrSTR; lpDisplayName: PtrSTR; dwDesiredAccess: SET; dwServiceType: SET; dwStartType: INTEGER; dwErrorControl: INTEGER; lpBinaryPathName: PtrSTR; lpLoadOrderGroup: PtrSTR; VAR [nil] lpdwTagId: INTEGER; lpDependencies: PtrSTR; lpServiceStartName: PtrSTR; lpPassword: PtrSTR): SC_HANDLE; (*END CreateServiceA;*) PROCEDURE CreateServiceW* ["ADVAPI32.dll", ""] (hSCManager: SC_HANDLE; lpServiceName: PtrWSTR; lpDisplayName: PtrWSTR; dwDesiredAccess: SET; dwServiceType: SET; dwStartType: INTEGER; dwErrorControl: INTEGER; lpBinaryPathName: PtrWSTR; lpLoadOrderGroup: PtrWSTR; VAR [nil] lpdwTagId: INTEGER; lpDependencies: PtrWSTR; lpServiceStartName: PtrWSTR; lpPassword: PtrWSTR): SC_HANDLE; (*END CreateServiceW;*) PROCEDURE CreateService* ["ADVAPI32.dll", "CreateServiceA"] (hSCManager: SC_HANDLE; lpServiceName: PtrSTR; lpDisplayName: PtrSTR; dwDesiredAccess: SET; dwServiceType: SET; dwStartType: INTEGER; dwErrorControl: INTEGER; lpBinaryPathName: PtrSTR; lpLoadOrderGroup: PtrSTR; VAR [nil] lpdwTagId: INTEGER; lpDependencies: PtrSTR; lpServiceStartName: PtrSTR; lpPassword: PtrSTR): SC_HANDLE; (*END CreateService;*) PROCEDURE DeleteService* ["ADVAPI32.dll", ""] (hService: SC_HANDLE): BOOL; (*END DeleteService;*) PROCEDURE EnumDependentServicesA* ["ADVAPI32.dll", ""] (hService: SC_HANDLE; dwServiceState: INTEGER; VAR [nil] lpServices: ENUM_SERVICE_STATUSA; cbBufSize: INTEGER; VAR [nil] pcbBytesNeeded: INTEGER; VAR [nil] lpServicesReturned: INTEGER): BOOL; (*END EnumDependentServicesA;*) PROCEDURE EnumDependentServicesW* ["ADVAPI32.dll", ""] (hService: SC_HANDLE; dwServiceState: INTEGER; VAR [nil] lpServices: ENUM_SERVICE_STATUSW; cbBufSize: INTEGER; VAR [nil] pcbBytesNeeded: INTEGER; VAR [nil] lpServicesReturned: INTEGER): BOOL; (*END EnumDependentServicesW;*) PROCEDURE EnumDependentServices* ["ADVAPI32.dll", "EnumDependentServicesA"] (hService: SC_HANDLE; dwServiceState: INTEGER; VAR [nil] lpServices: ENUM_SERVICE_STATUSA; cbBufSize: INTEGER; VAR [nil] pcbBytesNeeded: INTEGER; VAR [nil] lpServicesReturned: INTEGER): BOOL; (*END EnumDependentServices;*) PROCEDURE EnumServicesStatusA* ["ADVAPI32.dll", ""] (hSCManager: SC_HANDLE; dwServiceType: SET; dwServiceState: INTEGER; VAR [nil] lpServices: ENUM_SERVICE_STATUSA; cbBufSize: INTEGER; VAR [nil] pcbBytesNeeded: INTEGER; VAR [nil] lpServicesReturned: INTEGER; VAR [nil] lpResumeHandle: INTEGER): BOOL; (*END EnumServicesStatusA;*) PROCEDURE EnumServicesStatusW* ["ADVAPI32.dll", ""] (hSCManager: SC_HANDLE; dwServiceType: SET; dwServiceState: INTEGER; VAR [nil] lpServices: ENUM_SERVICE_STATUSW; cbBufSize: INTEGER; VAR [nil] pcbBytesNeeded: INTEGER; VAR [nil] lpServicesReturned: INTEGER; VAR [nil] lpResumeHandle: INTEGER): BOOL; (*END EnumServicesStatusW;*) PROCEDURE EnumServicesStatus* ["ADVAPI32.dll", "EnumServicesStatusA"] (hSCManager: SC_HANDLE; dwServiceType: SET; dwServiceState: INTEGER; VAR [nil] lpServices: ENUM_SERVICE_STATUSA; cbBufSize: INTEGER; VAR [nil] pcbBytesNeeded: INTEGER; VAR [nil] lpServicesReturned: INTEGER; VAR [nil] lpResumeHandle: INTEGER): BOOL; (*END EnumServicesStatus;*) PROCEDURE GetServiceKeyNameA* ["ADVAPI32.dll", ""] (hSCManager: SC_HANDLE; lpDisplayName: PtrSTR; lpServiceName: PtrSTR; VAR [nil] lpcchBuffer: INTEGER): BOOL; (*END GetServiceKeyNameA;*) PROCEDURE GetServiceKeyNameW* ["ADVAPI32.dll", ""] (hSCManager: SC_HANDLE; lpDisplayName: PtrWSTR; lpServiceName: PtrWSTR; VAR [nil] lpcchBuffer: INTEGER): BOOL; (*END GetServiceKeyNameW;*) PROCEDURE GetServiceKeyName* ["ADVAPI32.dll", "GetServiceKeyNameA"] (hSCManager: SC_HANDLE; lpDisplayName: PtrSTR; lpServiceName: PtrSTR; VAR [nil] lpcchBuffer: INTEGER): BOOL; (*END GetServiceKeyName;*) PROCEDURE GetServiceDisplayNameA* ["ADVAPI32.dll", ""] (hSCManager: SC_HANDLE; lpServiceName: PtrSTR; lpDisplayName: PtrSTR; VAR [nil] lpcchBuffer: INTEGER): BOOL; (*END GetServiceDisplayNameA;*) PROCEDURE GetServiceDisplayNameW* ["ADVAPI32.dll", ""] (hSCManager: SC_HANDLE; lpServiceName: PtrWSTR; lpDisplayName: PtrWSTR; VAR [nil] lpcchBuffer: INTEGER): BOOL; (*END GetServiceDisplayNameW;*) PROCEDURE GetServiceDisplayName* ["ADVAPI32.dll", "GetServiceDisplayNameA"] (hSCManager: SC_HANDLE; lpServiceName: PtrSTR; lpDisplayName: PtrSTR; VAR [nil] lpcchBuffer: INTEGER): BOOL; (*END GetServiceDisplayName;*) PROCEDURE LockServiceDatabase* ["ADVAPI32.dll", ""] (hSCManager: SC_HANDLE): SC_LOCK; (*END LockServiceDatabase;*) PROCEDURE NotifyBootConfigStatus* ["ADVAPI32.dll", ""] (BootAcceptable: BOOL): BOOL; (*END NotifyBootConfigStatus;*) PROCEDURE OpenSCManagerA* ["ADVAPI32.dll", ""] (lpMachineName: PtrSTR; lpDatabaseName: PtrSTR; dwDesiredAccess: SET): SC_HANDLE; (*END OpenSCManagerA;*) PROCEDURE OpenSCManagerW* ["ADVAPI32.dll", ""] (lpMachineName: PtrWSTR; lpDatabaseName: PtrWSTR; dwDesiredAccess: SET): SC_HANDLE; (*END OpenSCManagerW;*) PROCEDURE OpenSCManager* ["ADVAPI32.dll", "OpenSCManagerA"] (lpMachineName: PtrSTR; lpDatabaseName: PtrSTR; dwDesiredAccess: SET): SC_HANDLE; (*END OpenSCManager;*) PROCEDURE OpenServiceA* ["ADVAPI32.dll", ""] (hSCManager: SC_HANDLE; lpServiceName: PtrSTR; dwDesiredAccess: SET): SC_HANDLE; (*END OpenServiceA;*) PROCEDURE OpenServiceW* ["ADVAPI32.dll", ""] (hSCManager: SC_HANDLE; lpServiceName: PtrWSTR; dwDesiredAccess: SET): SC_HANDLE; (*END OpenServiceW;*) PROCEDURE OpenService* ["ADVAPI32.dll", "OpenServiceA"] (hSCManager: SC_HANDLE; lpServiceName: PtrSTR; dwDesiredAccess: SET): SC_HANDLE; (*END OpenService;*) PROCEDURE QueryServiceConfigA* ["ADVAPI32.dll", ""] (hService: SC_HANDLE; VAR [nil] lpServiceConfig: QUERY_SERVICE_CONFIGA; cbBufSize: INTEGER; VAR [nil] pcbBytesNeeded: INTEGER): BOOL; (*END QueryServiceConfigA;*) PROCEDURE QueryServiceConfigW* ["ADVAPI32.dll", ""] (hService: SC_HANDLE; VAR [nil] lpServiceConfig: QUERY_SERVICE_CONFIGW; cbBufSize: INTEGER; VAR [nil] pcbBytesNeeded: INTEGER): BOOL; (*END QueryServiceConfigW;*) PROCEDURE QueryServiceConfig* ["ADVAPI32.dll", "QueryServiceConfigA"] (hService: SC_HANDLE; VAR [nil] lpServiceConfig: QUERY_SERVICE_CONFIGA; cbBufSize: INTEGER; VAR [nil] pcbBytesNeeded: INTEGER): BOOL; (*END QueryServiceConfig;*) PROCEDURE QueryServiceLockStatusA* ["ADVAPI32.dll", ""] (hSCManager: SC_HANDLE; VAR [nil] lpLockStatus: QUERY_SERVICE_LOCK_STATUSA; cbBufSize: INTEGER; VAR [nil] pcbBytesNeeded: INTEGER): BOOL; (*END QueryServiceLockStatusA;*) PROCEDURE QueryServiceLockStatusW* ["ADVAPI32.dll", ""] (hSCManager: SC_HANDLE; VAR [nil] lpLockStatus: QUERY_SERVICE_LOCK_STATUSW; cbBufSize: INTEGER; VAR [nil] pcbBytesNeeded: INTEGER): BOOL; (*END QueryServiceLockStatusW;*) PROCEDURE QueryServiceLockStatus* ["ADVAPI32.dll", "QueryServiceLockStatusA"] (hSCManager: SC_HANDLE; VAR [nil] lpLockStatus: QUERY_SERVICE_LOCK_STATUSA; cbBufSize: INTEGER; VAR [nil] pcbBytesNeeded: INTEGER): BOOL; (*END QueryServiceLockStatus;*) PROCEDURE QueryServiceObjectSecurity* ["ADVAPI32.dll", ""] (hService: SC_HANDLE; dwSecurityInformation: SECURITY_INFORMATION; lpSecurityDescriptor: PSECURITY_DESCRIPTOR; cbBufSize: INTEGER; VAR [nil] pcbBytesNeeded: INTEGER): BOOL; (*END QueryServiceObjectSecurity;*) PROCEDURE QueryServiceStatus* ["ADVAPI32.dll", ""] (hService: SC_HANDLE; VAR [nil] lpServiceStatus: SERVICE_STATUS): BOOL; (*END QueryServiceStatus;*) PROCEDURE RegisterServiceCtrlHandlerA* ["ADVAPI32.dll", ""] (lpServiceName: PtrSTR; lpHandlerProc: HANDLER_FUNCTION): SERVICE_STATUS_HANDLE; (*END RegisterServiceCtrlHandlerA;*) PROCEDURE RegisterServiceCtrlHandlerW* ["ADVAPI32.dll", ""] (lpServiceName: PtrWSTR; lpHandlerProc: HANDLER_FUNCTION): SERVICE_STATUS_HANDLE; (*END RegisterServiceCtrlHandlerW;*) PROCEDURE RegisterServiceCtrlHandler* ["ADVAPI32.dll", "RegisterServiceCtrlHandlerA"] (lpServiceName: PtrSTR; lpHandlerProc: HANDLER_FUNCTION): SERVICE_STATUS_HANDLE; (*END RegisterServiceCtrlHandler;*) PROCEDURE SetServiceObjectSecurity* ["ADVAPI32.dll", ""] (hService: SC_HANDLE; dwSecurityInformation: SECURITY_INFORMATION; lpSecurityDescriptor: PSECURITY_DESCRIPTOR): BOOL; (*END SetServiceObjectSecurity;*) PROCEDURE SetServiceStatus* ["ADVAPI32.dll", ""] (hServiceStatus: SERVICE_STATUS_HANDLE; VAR [nil] lpServiceStatus: SERVICE_STATUS): BOOL; (*END SetServiceStatus;*) PROCEDURE StartServiceCtrlDispatcherA* ["ADVAPI32.dll", ""] (VAR [nil] lpServiceStartTable: SERVICE_TABLE_ENTRYA): BOOL; (*END StartServiceCtrlDispatcherA;*) PROCEDURE StartServiceCtrlDispatcherW* ["ADVAPI32.dll", ""] (VAR [nil] lpServiceStartTable: SERVICE_TABLE_ENTRYW): BOOL; (*END StartServiceCtrlDispatcherW;*) PROCEDURE StartServiceCtrlDispatcher* ["ADVAPI32.dll", "StartServiceCtrlDispatcherA"] (VAR [nil] lpServiceStartTable: SERVICE_TABLE_ENTRYA): BOOL; (*END StartServiceCtrlDispatcher;*) PROCEDURE StartServiceA* ["ADVAPI32.dll", ""] (hService: SC_HANDLE; dwNumServiceArgs: INTEGER; VAR [nil] lpServiceArgVectors: PtrSTR): BOOL; (*END StartServiceA;*) PROCEDURE StartServiceW* ["ADVAPI32.dll", ""] (hService: SC_HANDLE; dwNumServiceArgs: INTEGER; lpServiceArgVectors: POINTER TO (*?*) ARRAY [untagged] OF PtrWSTR): BOOL; (*END StartServiceW;*) PROCEDURE StartService* ["ADVAPI32.dll", "StartServiceA"] (hService: SC_HANDLE; dwNumServiceArgs: INTEGER; VAR [nil] lpServiceArgVectors: PtrSTR): BOOL; (*END StartService;*) PROCEDURE UnlockServiceDatabase* ["ADVAPI32.dll", ""] (ScLock: SC_LOCK): BOOL; (*END UnlockServiceDatabase;*) PROCEDURE RtlUnwind* (targetFrame: PtrVoid; targetIp: INTEGER; excpRec: PtrEXCEPTION_RECORD; retVal: INTEGER); (*END RtlUnwind;*) END WinApi.
Win/Mod/Api.odc
MODULE WinCmc ["MAPI32"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) CONST NO_TIMEZONE* = MIN(SHORTINT); EXT_REQUIRED* = {16}; EXT_OUTPUT* = {17}; EXT_LAST_ELEMENT* = {31}; EXT_RSV_FLAG_MASK* = {16..31}; EXT_ITEM_FLAG_MASK* = {0..15}; ATT_APP_OWNS_FILE* = {0}; ATT_LAST_ELEMENT* = {31}; ATT_OID_BINARY* = "? ? ? ? ? ?"; ATT_OID_TEXT* = "? ? ? ? ? ?"; TYPE_UNKNOWN* = 0; TYPE_INDIVIDUAL* = 1; TYPE_GROUP* = 2; ROLE_TO* = 0; ROLE_CC* = 1; ROLE_BCC* = 2; ROLE_ORIGINATOR* = 3; ROLE_AUTHORIZING_USER* = 4; RECIP_IGNORE* = {0}; RECIP_LIST_TRUNCATED* = {1}; RECIP_LAST_ELEMENT* = {31}; MSG_READ* = {0}; MSG_TEXT_NOTE_AS_FILE* = {1}; MSG_UNSENT* = {2}; MSG_LAST_ELEMENT* = {31}; SUM_READ* = {0}; SUM_UNSENT* = {1}; SUM_LAST_ELEMENT* = {31}; ERROR_UI_ALLOWED* = {24}; LOGON_UI_ALLOWED* = {25}; COUNTED_STRING_TYPE* = {26}; SEND_UI_REQUESTED* = {0}; FIRST_ATTACH_AS_TEXT_NOTE* = {1}; ACT_ON_EXTENDED* = 0; ACT_ON_DELETE* = 1; LIST_UNREAD_ONLY* = {0}; LIST_MSG_REFS_ONLY* = {1}; LIST_COUNT_ONLY* = {2}; LENGTH_UNKNOWN* = 0FFFFFFFFH; DO_NOT_MARK_AS_READ* = {0}; MSG_AND_ATT_HDRS_ONLY* = {1}; READ_FIRST_UNREAD_MESSAGE* = {2}; LOOKUP_RESOLVE_PREFIX_SEARCH* = {0}; LOOKUP_RESOLVE_IDENTITY* = {1}; LOOKUP_RESOLVE_UI* = {2}; LOOKUP_DETAILS_UI* = {3}; LOOKUP_ADDRESSING_UI* = {4}; LOGOFF_UI_ALLOWED* = {0}; VERSION* = 100; CONFIG_CHARACTER_SET* = 1; CONFIG_LINE_TERM* = 2; CONFIG_DEFAULT_SERVICE* = 3; CONFIG_DEFAULT_USER* = 4; CONFIG_REQ_PASSWORD* = 5; CONFIG_REQ_SERVICE* = 6; CONFIG_REQ_USER* = 7; CONFIG_UI_AVAIL* = 8; CONFIG_SUP_NOMKMSGREAD* = 9; CONFIG_SUP_COUNTED_STR* = 10; CONFIG_VER_IMPLEM* = 11; CONFIG_VER_SPEC* = 12; LINE_TERM_CRLF* = 0; LINE_TERM_CR* = 1; LINE_TERM_LF* = 2; REQUIRED_NO* = 0; REQUIRED_YES* = 1; REQUIRED_OPT* = 2; CHAR_CP437* = "1 2 840 113556 3 2 437"; CHAR_CP850* = "1 2 840 113556 3 2 850"; CHAR_CP1252* = "1 2 840 113556 3 2 1252"; CHAR_ISTRING* = "1 2 840 113556 3 2 0"; CHAR_UNICODE* = "1 2 840 113556 3 2 1"; ERROR_DISPLAYED* = 00008000H; ERROR_RSV_MASK* = 0000FFFFH; ERROR_IMPL_MASK* = 0FFFF0000H; SUCCESS* = 0; E_AMBIGUOUS_RECIPIENT* = 1; E_ATTACHMENT_NOT_FOUND* = 2; E_ATTACHMENT_OPEN_FAILURE* = 3; E_ATTACHMENT_READ_FAILURE* = 4; E_ATTACHMENT_WRITE_FAILURE* = 5; E_COUNTED_STRING_UNSUPPORTED* = 6; E_DISK_FULL* = 7; E_FAILURE* = 8; E_INSUFFICIENT_MEMORY* = 9; E_INVALID_CONFIGURATION* = 10; E_INVALID_ENUM* = 11; E_INVALID_FLAG* = 12; E_INVALID_MEMORY* = 13; E_INVALID_MESSAGE_PARAMETER* = 14; E_INVALID_MESSAGE_REFERENCE* = 15; E_INVALID_PARAMETER* = 16; E_INVALID_SESSION_ID* = 17; E_INVALID_UI_ID* = 18; E_LOGON_FAILURE* = 19; E_MESSAGE_IN_USE* = 20; E_NOT_SUPPORTED* = 21; E_PASSWORD_REQUIRED* = 22; E_RECIPIENT_NOT_FOUND* = 23; E_SERVICE_UNAVAILABLE* = 24; E_TEXT_TOO_LARGE* = 25; E_TOO_MANY_FILES* = 26; E_TOO_MANY_RECIPIENTS* = 27; E_UNABLE_TO_NOT_MARK_AS_READ* = 28; E_UNRECOGNIZED_MESSAGE_TYPE* = 29; E_UNSUPPORTED_ACTION* = 30; E_UNSUPPORTED_CHARACTER_SET* = 31; E_UNSUPPORTED_DATA_EXT* = 32; E_UNSUPPORTED_FLAG* = 33; E_UNSUPPORTED_FUNCTION_EXT* = 34; E_UNSUPPORTED_VERSION* = 35; E_USER_CANCEL* = 36; E_USER_NOT_LOGGED_ON* = 37; TYPE sint8* = BYTE; sint16* = SHORTINT; sint32* = INTEGER; uint16* = SHORTINT; uint32* = INTEGER; buffer* = INTEGER; (* POINTER TO RECORD [untagged] END *) string* = POINTER TO ARRAY [untagged] OF SHORTCHAR; boolean* = uint16; enum* = sint32; return_code* = uint32; flags* = SET; object_identifier* = string; session_id* = uint32; ui_id* = uint32; counted_string* = RECORD [untagged] length*: uint32; string*: ARRAY 32000 OF SHORTCHAR; END; message_reference* = counted_string; time* = RECORD [untagged] second*, minute*, hour*: sint8; day*, month*, year*: sint8; isdst*: sint8; tmzone*: sint16 END; extension* = RECORD [untagged] item_code*: uint32; item_data*: uint32; item_reference*: buffer; extension_flags*: flags END; attachment* = RECORD [untagged] attach_title*: string; attach_type*: object_identifier; attach_filename*: string; attach_flags*: flags; attach_extensions*: POINTER TO extension END; recipient* = RECORD [untagged] name*: string; name_type*: enum; address*: string; role*: enum; recip_flags*: flags; recip_extensions*: POINTER TO extension END; message* = RECORD [untagged] message_ref*: POINTER TO message_reference; message_type*: string; subject*: string; time_sent*: time; text_note*: string; recipients*: POINTER TO recipient; attachments*: POINTER TO attachment; message_flags*: flags; message_extensions*: POINTER TO extension END; message_summary* = RECORD [untagged] message_ref*: POINTER TO message_reference; message_type*: string; subject*: string; time_sent*: time; byte_length*: uint32; originator*: POINTER TO recipient; summary_flags*: flags; message_summary_extensions*: POINTER TO extension END; PROCEDURE send* ["cmc_send"] (session: session_id; VAR msg: message; flgs: flags; id: ui_id; VAR [nil] ext: ARRAY [untagged] OF extension): return_code; (*END send;*) PROCEDURE send_documents* ["cmc_send_documents"] (adr, subject, note: string; flgs: flags; paths, names, delimiter: string; id: ui_id): return_code; (*END send_documents;*) PROCEDURE act_on* ["cmc_act_on"] (session: session_id; VAR ref: message_reference; operation: enum; flgs: flags; id: ui_id; VAR [nil] ext: ARRAY [untagged] OF extension): return_code; (*END act_on;*) PROCEDURE list* ["cmc_list"] (session: session_id; type: string; flgs: flags; VAR [nil] seed: message_reference; VAR count: uint32; id: ui_id; VAR result: POINTER TO ARRAY [untagged] OF message_summary; VAR [nil] ext: ARRAY [untagged] OF extension): return_code; (*END list;*) PROCEDURE read* ["cmc_read"] (session: session_id; VAR ref: message_reference; flgs: flags; VAR msg: POINTER TO message; id: ui_id; VAR [nil] ext: ARRAY [untagged] OF extension): return_code; (*END read;*) PROCEDURE look_up* ["cmc_look_up"] (session: session_id; VAR rin: ARRAY [untagged] OF recipient; flgs: flags; id: ui_id; VAR count: uint32; VAR rout: POINTER TO ARRAY [untagged] OF recipient; VAR [nil] ext: ARRAY [untagged] OF extension): return_code; (*END look_up;*) PROCEDURE logoff* ["cmc_logoff"] (session: session_id; id: ui_id; flgs: flags; VAR [nil] ext: ARRAY [untagged] OF extension): return_code; (*END logoff;*) PROCEDURE logon* ["cmc_logon"] (service, user, password: string; chset: object_identifier; id: ui_id; version: uint16; flgs: flags; VAR session: session_id; VAR [nil] ext: ARRAY [untagged] OF extension): return_code; (*END logon;*) PROCEDURE query_configuration* ["cmc_query_configuration"] (session: session_id; item: enum; ref: buffer; VAR [nil] ext: ARRAY [untagged] OF extension): return_code; (*END query_configuration;*) PROCEDURE free* ["cmc_free"] (mem: buffer): return_code; (*END free;*) END WinCmc.
Win/Mod/Cmc.odc
MODULE WinCtl ["COMCTL32.dll"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) IMPORT WinOle, WinApi; CONST (* macros *) CDN_FIRST* = -601; CDN_LAST* = -699; ICC_LISTVIEW_CLASSES* = {0}; ICC_TREEVIEW_CLASSES* = {1}; ICC_BAR_CLASSES* = {2}; ICC_TAB_CLASSES* = {3}; ICC_UPDOWN_CLASS* = {4}; ICC_PROGRESS_CLASS* = {5}; ICC_HOTKEY_CLASS* = {6}; ICC_ANIMATE_CLASS* = {7}; ICC_WIN95_CLASSES* = {0..7}; ICC_DATE_CLASSES* = {8}; ICC_USEREX_CLASSES* = {9}; ODT_HEADER* = 100; ODT_TAB* = 101; ODT_LISTVIEW* = 102; LVM_FIRST* = 4096; TV_FIRST* = 4352; HDM_FIRST* = 4608; NM_OUTOFMEMORY* = -1; NM_CLICK* = -2; NM_DBLCLK* = -3; NM_RETURN* = -4; NM_RCLICK* = -5; NM_RDBLCLK* = -6; NM_SETFOCUS* = -7; NM_KILLFOCUS* = -8; NM_CUSTOMDRAW* = -12; NM_HOVER* = -13; NM_FIRST* = 0; NM_LAST* = -99; LVN_FIRST* = -100; LVN_LAST* = -199; HDN_FIRST* = -300; HDN_LAST* = -399; TVN_FIRST* = -400; TVN_LAST* = -499; TTN_FIRST* = -520; TTN_LAST* = -549; TCN_FIRST* = -550; TCN_LAST* = -580; TBN_FIRST* = -700; TBN_LAST* = -720; UDN_FIRST* = -721; UDN_LAST* = -740; MCN_FIRST* = -750; MCN_LAST* = -759; DTN_FIRST* = -760; DTN_LAST* = -769; CBEN_FIRST* = -800; CBEN_LAST* = -830; MSGF_COMMCTRL_BEGINDRAG* = 16896; MSGF_COMMCTRL_SIZEHEADER* = 16897; MSGF_COMMCTRL_DRAGSELECT* = 16898; MSGF_COMMCTRL_TOOLBARCUST* = 16899; CDRF_DODEFAULT* = {}; CDRF_SKIPDEFAULT* = {0}; CDRF_NEWFONT* = {1}; CDRF_NOTIFYPOSTPAINT* = {4}; CDRF_NOTIFYITEMDRAW* = {5}; CDDS_PREPAINT* = {0}; CDDS_POSTPAINT* = {1}; CDDS_ITEM* = {16}; CDDS_ITEMPREPAINT* = {0, 16}; CDDS_ITEMPOSTPAINT* = {1, 16}; CDIS_SELECTED* = {0}; CDIS_GRAYED* = {1}; CDIS_DISABLED* = {2}; CDIS_CHECKED* = {3}; CDIS_FOCUS* = {4}; CDIS_DEFAULT* = {5}; CLR_NONE* = -1; CLR_DEFAULT* = -16777216; ILC_MASK* = {0}; ILC_COLOR* = {}; ILC_COLORDDB* = {1..7}; ILC_COLOR4* = {2}; ILC_COLOR8* = {3}; ILC_COLOR16* = {4}; ILC_COLOR24* = {3, 4}; ILC_COLOR32* = {5}; ILC_PALETTE* = {11}; ILD_NORMAL* = {}; ILD_TRANSPARENT* = {0}; ILD_MASK* = {4}; ILD_IMAGE* = {5}; ILD_ROP* = {6}; ILD_BLEND25* = {1}; ILD_BLEND50* = {2}; ILD_OVERLAYMASK* = {8..11}; ILD_SELECTED* = {2}; ILD_FOCUS* = {1}; ILD_BLEND* = {2}; CLR_HILIGHT* = -16777216; ILCF_MOVE* = {}; ILCF_SWAP* = {0}; WC_HEADERA* = "SysHeader32"; WC_HEADERW* = "SysHeader32"; WC_HEADER* = "SysHeader32"; HDS_HORZ* = {}; HDS_BUTTONS* = {1}; HDS_HIDDEN* = {3}; HDS_DRAGDROP* = {6}; HDI_WIDTH* = {0}; HDI_HEIGHT* = {0}; HDI_TEXT* = {1}; HDI_FORMAT* = {2}; HDI_LPARAM* = {3}; HDI_BITMAP* = {4}; HDI_IMAGE* = {5}; HDI_DI_SETITEM* = {6}; HDI_ORDER* = {7}; HDF_LEFT* = 0; HDF_RIGHT* = 1; HDF_CENTER* = 2; HDF_JUSTIFYMASK* = 3; HDF_RTLREADING* = 4; HDF_OWNERDRAW* = 32768; HDF_STRING* = 16384; HDF_BITMAP* = 8192; HDF_BITMAP_ON_RIGHT* = 4096; HDF_IMAGE* = 2048; HDM_GETITEMCOUNT* = 4608; HDM_INSERTITEMA* = 4609; HDM_INSERTITEMW* = 4618; HDM_INSERTITEM* = 4609; HDM_DELETEITEM* = 4610; HDM_GETITEMA* = 4611; HDM_GETITEMW* = 4619; HDM_GETITEM* = 4611; HDM_SETITEMA* = 4612; HDM_SETITEMW* = 4620; HDM_SETITEM* = 4612; HDM_LAYOUT* = 4613; HHT_NOWHERE* = 1; HHT_ONHEADER* = 2; HHT_ONDIVIDER* = 4; HHT_ONDIVOPEN* = 8; HHT_ABOVE* = 256; HHT_BELOW* = 512; HHT_TORIGHT* = 1024; HHT_TOLEFT* = 2048; HDM_HITTEST* = 4614; HDM_GETITEMRECT* = 4615; HDM_SETIMAGELIST* = 4616; HDM_GETIMAGELIST* = 4617; HDM_ORDERTOINDEX* = 4623; HDM_CREATEDRAGIMAGE* = 4624; HDM_GETORDERARRAY* = 4625; HDM_SETORDERARRAY* = 4626; HDM_SETHOTDIVIDER* = 4627; HDN_ITEMCHANGINGA* = -300; HDN_ITEMCHANGINGW* = -320; HDN_ITEMCHANGEDA* = -301; HDN_ITEMCHANGEDW* = -321; HDN_ITEMCLICKA* = -302; HDN_ITEMCLICKW* = -322; HDN_ITEMDBLCLICKA* = -303; HDN_ITEMDBLCLICKW* = -323; HDN_DIVIDERDBLCLICKA* = -305; HDN_DIVIDERDBLCLICKW* = -325; HDN_BEGINTRACKA* = -306; HDN_BEGINTRACKW* = -326; HDN_ENDTRACKA* = -307; HDN_ENDTRACKW* = -327; HDN_TRACKA* = -308; HDN_TRACKW* = -328; HDN_GETDISPINFOA* = -309; HDN_GETDISPINFOW* = -329; HDN_BEGINDRAG* = -310; HDN_ENDDRAG* = -311; HDN_ITEMCHANGING* = -300; HDN_ITEMCHANGED* = -301; HDN_ITEMCLICK* = -302; HDN_ITEMDBLCLICK* = -303; HDN_DIVIDERDBLCLICK* = -305; HDN_BEGINTRACK* = -306; HDN_ENDTRACK* = -307; HDN_TRACK* = -308; HDN_GETDISPINFO* = -309; TOOLBARCLASSNAMEW* = "ToolbarWindow32"; TOOLBARCLASSNAMEA* = "ToolbarWindow32"; TOOLBARCLASSNAME* = "ToolbarWindow32"; CMB_MASKED* = 2; TBSTATE_CHECKED* = {0}; TBSTATE_PRESSED* = {1}; TBSTATE_ENABLED* = {2}; TBSTATE_HIDDEN* = {3}; TBSTATE_INDETERMINATE* = {4}; TBSTATE_WRAP* = {5}; TBSTYLE_BUTTON* = {}; TBSTYLE_SEP* = {0}; TBSTYLE_CHECK* = {1}; TBSTYLE_GROUP* = {2}; TBSTYLE_CHECKGROUP* = {1, 2}; TBSTYLE_DROPDOWN* = {3}; TBSTYLE_TOOLTIPS* = {8}; TBSTYLE_WRAPABLE* = {9}; TBSTYLE_ALTDRAG* = {10}; TB_ENABLEBUTTON* = 1025; TB_CHECKBUTTON* = 1026; TB_PRESSBUTTON* = 1027; TB_HIDEBUTTON* = 1028; TB_INDETERMINATE* = 1029; TB_ISBUTTONENABLED* = 1033; TB_ISBUTTONCHECKED* = 1034; TB_ISBUTTONPRESSED* = 1035; TB_ISBUTTONHIDDEN* = 1036; TB_ISBUTTONINDETERMINATE* = 1037; TB_SETSTATE* = 1041; TB_GETSTATE* = 1042; TB_ADDBITMAP* = 1043; IDB_STD_SMALL_COLOR* = 0; IDB_STD_LARGE_COLOR* = 1; IDB_VIEW_SMALL_COLOR* = 4; IDB_VIEW_LARGE_COLOR* = 5; IDB_HIST_SMALL_COLOR* = 8; IDB_HIST_LARGE_COLOR* = 9; STD_CUT* = 0; STD_COPY* = 1; STD_PASTE* = 2; STD_UNDO* = 3; STD_REDOW* = 4; STD_DELETE* = 5; STD_FILENEW* = 6; STD_FILEOPEN* = 7; STD_FILESAVE* = 8; STD_PRINTPRE* = 9; STD_PROPERTIES* = 10; STD_HELP* = 11; STD_FIND* = 12; STD_REPLACE* = 13; STD_PRINT* = 14; VIEW_LARGEICONS* = 0; VIEW_SMALLICONS* = 1; VIEW_LIST* = 2; VIEW_DETAILS* = 3; VIEW_SORTNAME* = 4; VIEW_SORTSIZE* = 5; VIEW_SORTDATE* = 6; VIEW_SORTTYPE* = 7; VIEW_PARENTFOLDER* = 8; VIEW_NETCONNECT* = 9; VIEW_NETDISCONNECT* = 10; VIEW_NEWFOLDER* = 11; HIST_BACK* = 0; HIST_FORWARD* = 1; HIST_FAVORITES* = 2; HIST_ADDTOFAVORITES* = 3; HIST_VIEWTREE* = 4; TB_ADDBUTTONS* = 1044; TB_INSERTBUTTON* = 1045; TB_DELETEBUTTON* = 1046; TB_GETBUTTON* = 1047; TB_BUTTONCOUNT* = 1048; TB_COMMANDTOINDEX* = 1049; TB_SAVERESTOREA* = 1050; TB_SAVERESTOREW* = 1100; TB_CUSTOMIZE* = 1051; TB_ADDSTRINGA* = 1052; TB_ADDSTRINGW* = 1101; TB_GETITEMRECT* = 1053; TB_BUTTONSTRUCTSIZE* = 1054; TB_SETBUTTONSIZE* = 1055; TB_SETBITMAPSIZE* = 1056; TB_AUTOSIZE* = 1057; TB_GETTOOLTIPS* = 1059; TB_SETTOOLTIPS* = 1060; TB_SETPARENT* = 1061; TB_SETROWS* = 1063; TB_GETROWS* = 1064; TB_SETCMDID* = 1066; TB_CHANGEBITMAP* = 1067; TB_GETBITMAP* = 1068; TB_GETBUTTONTEXTA* = 1069; TB_GETBUTTONTEXTW* = 1099; TB_REPLACEBITMAP* = 1070; TB_SETINDENT* = 1071; TB_SETIMAGELIST* = 1072; TB_GETIMAGELIST* = 1073; TB_LOADIMAGES* = 1074; TB_GETRECT* = 1075; TB_GETBUTTONTEXT* = 1069; TB_SAVERESTORE* = 1050; TB_ADDSTRING* = 1052; TBBF_LARGE* = 1; TB_GETBITMAPFLAGS* = 1065; TBN_GETBUTTONINFOA* = -700; TBN_GETBUTTONINFOW* = -720; TBN_BEGINDRAG* = -701; TBN_ENDDRAG* = -702; TBN_BEGINADJUST* = -703; TBN_ENDADJUST* = -704; TBN_RESET* = -705; TBN_QUERYINSERT* = -706; TBN_QUERYDELETE* = -707; TBN_TOOLBARCHANGE* = -708; TBN_CUSTHELP* = -709; TBN_DROPDOWN* = -710; TBN_CLOSEUP* = -711; TBN_GETBUTTONINFO* = -700; TOOLTIPS_CLASSW* = "tooltips_class32"; TOOLTIPS_CLASSA* = "tooltips_class32"; TOOLTIPS_CLASS* = "tooltips_class32"; TTS_ALWAYSTIP* = {0}; TTS_NOPREFIX* = {1}; TTF_IDISHWND* = {0}; TTF_CENTERTIP* = {1}; TTF_RTLREADING* = {2}; TTF_SUBCLASS* = {4}; TTF_TRACK* = {5}; TTF_ABSOLUTE* = {7}; TTF_TRANSPARENT* = {8}; TTF_DI_SETITEM* = {15}; TTDT_AUTOMATIC* = 0; TTDT_RESHOW* = 1; TTDT_AUTOPOP* = 2; TTDT_INITIAL* = 3; TTM_ACTIVATE* = 1025; TTM_SETDELAYTIME* = 1027; TTM_ADDTOOLA* = 1028; TTM_ADDTOOLW* = 1074; TTM_DELTOOLA* = 1029; TTM_DELTOOLW* = 1075; TTM_NEWTOOLRECTA* = 1030; TTM_NEWTOOLRECTW* = 1076; TTM_RELAYEVENT* = 1031; TTM_GETTOOLINFOA* = 1032; TTM_GETTOOLINFOW* = 1077; TTM_SETTOOLINFOA* = 1033; TTM_SETTOOLINFOW* = 1078; TTM_HITTESTA* = 1034; TTM_HITTESTW* = 1079; TTM_GETTEXTA* = 1035; TTM_GETTEXTW* = 1080; TTM_UPDATETIPTEXTA* = 1036; TTM_UPDATETIPTEXTW* = 1081; TTM_GETTOOLCOUNT* = 1037; TTM_ENUMTOOLSA* = 1038; TTM_ENUMTOOLSW* = 1082; TTM_GETCURRENTTOOLA* = 1039; TTM_GETCURRENTTOOLW* = 1083; TTM_WINDOWFROMPOINT* = 1040; TTM_TRACKACTIVATE* = 1041; TTM_TRACKPOSITION* = 1042; TTM_SETTIPBKCOLOR* = 1043; TTM_SETTIPTEXTCOLOR* = 1044; TTM_GETDELAYTIME* = 1045; TTM_GETTIPBKCOLOR* = 1046; TTM_GETTIPTEXTCOLOR* = 1047; TTM_ADDTOOL* = 1028; TTM_DELTOOL* = 1029; TTM_NEWTOOLRECT* = 1030; TTM_GETTOOLINFO* = 1032; TTM_SETTOOLINFO* = 1033; TTM_HITTEST* = 1034; TTM_GETTEXT* = 1035; TTM_UPDATETIPTEXT* = 1036; TTM_ENUMTOOLS* = 1038; TTM_GETCURRENTTOOL* = 1039; TTN_GETDISPINFOA* = -520; TTN_GETDISPINFOW* = -530; TTN_SHOW* = -521; TTN_POP* = -522; TTN_GETDISPINFO* = -520; TTN_NEEDTEXT* = -520; TTN_NEEDTEXTA* = -520; TTN_NEEDTEXTW* = -530; SBARS_SIZEGRIP* = 256; STATUSCLASSNAMEW* = "msctls_statusbar32"; STATUSCLASSNAMEA* = "msctls_statusbar32"; STATUSCLASSNAME* = "msctls_statusbar32"; SB_SETTEXTA* = 1025; SB_SETTEXTW* = 1035; SB_GETTEXTA* = 1026; SB_GETTEXTW* = 1037; SB_GETTEXTLENGTHA* = 1027; SB_GETTEXTLENGTHW* = 1036; SB_GETTEXT* = 1026; SB_SETTEXT* = 1025; SB_GETTEXTLENGTH* = 1027; SB_SETPARTS* = 1028; SB_GETPARTS* = 1030; SB_GETBORDERS* = 1031; SB_SETMINHEIGHT* = 1032; SB_SIMPLE* = 1033; SB_GETRECT* = 1034; SBT_OWNERDRAW* = 4096; SBT_NOBORDERS* = 256; SBT_POPOUT* = 512; SBT_RTLREADING* = 1024; MINSYSCOMMAND* = 61440; TRACKBAR_CLASSA* = "msctls_trackbar32"; TRACKBAR_CLASSW* = "msctls_trackbar32"; TRACKBAR_CLASS* = "msctls_trackbar32"; TBS_AUTOTICKS* = {0}; TBS_VERT* = {1}; TBS_HORZ* = {}; TBS_TOP* = {2}; TBS_BOTTOM* = {}; TBS_LEFT* = {2}; TBS_RIGHT* = {}; TBS_BOTH* = {3}; TBS_NOTICKS* = {4}; TBS_ENABLESELRANGE* = {5}; TBS_FIXEDLENGTH* = {6}; TBS_NOTHUMB* = {7}; TBS_TOOLTIPS* = {8}; TBM_GETPOS* = 1024; TBM_GETRANGEMIN* = 1025; TBM_GETRANGEMAX* = 1026; TBM_GETTIC* = 1027; TBM_SETTIC* = 1028; TBM_SETPOS* = 1029; TBM_SETRANGE* = 1030; TBM_SETRANGEMIN* = 1031; TBM_SETRANGEMAX* = 1032; TBM_CLEARTICS* = 1033; TBM_SETSEL* = 1034; TBM_SETSELSTART* = 1035; TBM_SETSELEND* = 1036; TBM_GETPTICS* = 1038; TBM_GETTICPOS* = 1039; TBM_GETNUMTICS* = 1040; TBM_GETSELSTART* = 1041; TBM_GETSELEND* = 1042; TBM_CLEARSEL* = 1043; TBM_SETTICFREQ* = 1044; TBM_SETPAGESIZE* = 1045; TBM_GETPAGESIZE* = 1046; TBM_SETLINESIZE* = 1047; TBM_GETLINESIZE* = 1048; TBM_GETTHUMBRECT* = 1049; TBM_GETCHANNELRECT* = 1050; TBM_SETTHUMBLENGTH* = 1051; TBM_GETTHUMBLENGTH* = 1052; TBM_SETTOOLTIPS* = 1053; TBM_GETTOOLTIPS* = 1054; TBM_SETTIPSIDE* = 1055; TBTS_TOP* = 0; TBTS_LEFT* = 1; TBTS_BOTTOM* = 2; TBTS_RIGHT* = 3; TBM_SETBUDDY* = 1056; TBM_GETBUDDY* = 1057; TB_LINEUP* = 0; TB_LINEDOWN* = 1; TB_PAGEUP* = 2; TB_PAGEDOWN* = 3; TB_THUMBPOSITION* = 4; TB_THUMBTRACK* = 5; TB_TOP* = 6; TB_BOTTOM* = 7; TB_ENDTRACK* = 8; TBCD_TICS* = 1; TBCD_THUMB* = 2; TBCD_CHANNEL* = 3; DL_BEGINDRAG* = 1157; DL_DRAGGING* = 1158; DL_DROPPED* = 1159; DL_CANCELDRAG* = 1160; DL_CURSORSET* = 0; DL_STOPCURSOR* = 1; DL_COPYCURSOR* = 2; DL_MOVECURSOR* = 3; DRAGLISTMSGSTRING* = "commctrl_DragListMsg"; UPDOWN_CLASSA* = "msctls_updown32"; UPDOWN_CLASSW* = "msctls_updown32"; UPDOWN_CLASS* = "msctls_updown32"; UD_MAXVAL* = 32767; UD_MINVAL* = -32767; UDS_WRAP* = {0}; UDS_SETBUDDYINT* = {1}; UDS_ALIGNRIGHT* = {2}; UDS_ALIGNLEFT* = {3}; UDS_AUTOBUDDY* = {4}; UDS_ARROWKEYS* = {5}; UDS_HORZ* = {6}; UDS_NOTHOUSANDS* = {7}; UDM_SETRANGE* = 1125; UDM_GETRANGE* = 1126; UDM_SETPOS* = 1127; UDM_GETPOS* = 1128; UDM_SETBUDDY* = 1129; UDM_GETBUDDY* = 1130; UDM_SETACCEL* = 1131; UDM_GETACCEL* = 1132; UDM_SETBASE* = 1133; UDM_GETBASE* = 1134; UDN_DELTAPOS* = -722; PROGRESS_CLASSA* = "msctls_progress32"; PROGRESS_CLASSW* = "msctls_progress32"; PROGRESS_CLASS* = "msctls_progress32"; PBS_SMOOTH* = 1; PBS_VERTICAL* = 4; PBM_SETRANGE* = 1025; PBM_SETPOS* = 1026; PBM_DELTAPOS* = 1027; PBM_SETSTEP* = 1028; PBM_STEPIT* = 1029; PBM_SETRANGE32* = 1030; HOTKEYF_SHIFT* = {0}; HOTKEYF_CONTROL* = {1}; HOTKEYF_ALT* = {2}; HOTKEYF_EXT* = {3}; HKCOMB_NONE* = {0}; HKCOMB_S* = {1}; HKCOMB_C* = {2}; HKCOMB_A* = {3}; HKCOMB_SC* = {4}; HKCOMB_SA* = {5}; HKCOMB_CA* = {6}; HKCOMB_SCA* = {7}; HKM_SETHOTKEY* = 1025; HKM_GETHOTKEY* = 1026; HKM_SETRULES* = 1027; HOTKEY_CLASSA* = "msctls_hotkey32"; HOTKEY_CLASSW* = "msctls_hotkey32"; HOTKEY_CLASS* = "msctls_hotkey32"; CCS_TOP* = {0}; CCS_NOMOVEY* = {1}; CCS_BOTTOM* = {0, 1}; CCS_NORESIZE* = {2}; CCS_NOPARENTALIGN* = {3}; CCS_ADJUSTABLE* = {5}; CCS_NODIVIDER* = {6}; WC_LISTVIEWA* = "SysListView32"; WC_LISTVIEWW* = "SysListView32"; WC_LISTVIEW* = "SysListView32"; LVS_ICON* = {}; LVS_REPORT* = {0}; LVS_SMALLICON* = {1}; LVS_LIST* = {0, 1}; LVS_TYPEMASK* = {0, 1}; LVS_SINGLESEL* = {2}; LVS_SHOWSELALWAYS* = {3}; LVS_SORTASCENDING* = {4}; LVS_SORTDESCENDING* = {5}; LVS_SHAREIMAGELISTS* = {6}; LVS_NOLABELWRAP* = {7}; LVS_AUTOARRANGE* = {8}; LVS_EDITLABELS* = {9}; LVS_OWNERDATA* = {12}; LVS_NOSCROLL* = {13}; LVS_TYPESTYLEMASK* = {10..15}; LVS_ALIGNTOP* = {}; LVS_ALIGNLEFT* = {11}; LVS_ALIGNMASK* = {10, 11}; LVS_OWNERDRAWFIXED* = {10}; LVS_NOCOLUMNHEADER* = {14}; LVS_NOSORTHEADER* = {15}; LVM_GETBKCOLOR* = 4096; LVM_SETBKCOLOR* = 4097; LVM_GETIMAGELIST* = 4098; LVSIL_NORMAL* = 0; LVSIL_SMALL* = 1; LVSIL_STATE* = 2; LVM_SETIMAGELIST* = 4099; LVM_GETITEMCOUNT* = 4100; LVIF_TEXT* = {0}; LVIF_IMAGE* = {1}; LVIF_PARAM* = {2}; LVIF_STATE* = {3}; LVIF_INDENT* = {4}; LVIS_FOCUSED* = {0}; LVIS_SELECTED* = {1}; LVIS_CUT* = {2}; LVIS_DROPHILITED* = {3}; LVIS_OVERLAYMASK* = {8..11}; LVIS_STATEIMAGEMASK* = {12..15}; I_INDENTCALLBACK* = -1; LPSTR_TEXTCALLBACKW* = -1; LPSTR_TEXTCALLBACKA* = -1; LPSTR_TEXTCALLBACK* = -1; I_IMAGECALLBACK* = -1; LVM_GETITEMA* = 4101; LVM_GETITEMW* = 4171; LVM_GETITEM* = 4101; LVM_SETITEMA* = 4102; LVM_SETITEMW* = 4172; LVM_SETITEM* = 4102; LVM_INSERTITEMA* = 4103; LVM_INSERTITEMW* = 4173; LVM_INSERTITEM* = 4103; LVM_DELETEITEM* = 4104; LVM_DELETEALLITEMS* = 4105; LVM_GETCALLBACKMASK* = 4106; LVM_SETCALLBACKMASK* = 4107; LVNI_ALL* = {}; LVNI_FOCUSED* = {0}; LVNI_SELECTED* = {1}; LVNI_CUT* = {2}; LVNI_DROPHILITED* = {3}; LVNI_ABOVE* = {8}; LVNI_BELOW* = {9}; LVNI_TOLEFT* = {10}; LVNI_TORIGHT* = {11}; LVM_GETNEXTITEM* = 4108; LVFI_PARAM* = {0}; LVFI_STRING* = {1}; LVFI_PARTIAL* = {3}; LVFI_WRAP* = {5}; LVFI_NEARESTXY* = {6}; LVM_FINDITEMA* = 4109; LVM_FINDITEMW* = 4179; LVM_FINDITEM* = 4109; LVIR_BOUNDS* = 0; LVIR_ICON* = 1; LVIR_LABEL* = 2; LVIR_SELECTBOUNDS* = 3; LVM_GETITEMRECT* = 4110; LVM_SETITEMPOSITION* = 4111; LVM_GETITEMPOSITION* = 4112; LVM_GETSTRINGWIDTHA* = 4113; LVM_GETSTRINGWIDTHW* = 4183; LVM_GETSTRINGWIDTH* = 4113; LVHT_NOWHERE* = {0}; LVHT_ONITEMICON* = {1}; LVHT_ONITEMLABEL* = {2}; LVHT_ONITEMSTATEICON* = {3}; LVHT_ONITEM* = {1..3}; LVHT_ABOVE* = {3}; LVHT_BELOW* = {4}; LVHT_TORIGHT* = {5}; LVHT_TOLEFT* = {6}; LVM_HITTEST* = 4114; LVM_ENSUREVISIBLE* = 4115; LVM_SCROLL* = 4116; LVM_REDRAWITEMS* = 4117; LVA_DEFAULT* = 0; LVA_ALIGNLEFT* = 1; LVA_ALIGNTOP* = 2; LVA_SNAPTOGRID* = 5; LVM_ARRANGE* = 4118; LVM_EDITLABELA* = 4119; LVM_EDITLABELW* = 4214; LVM_EDITLABEL* = 4119; LVM_GETEDITCONTROL* = 4120; LVCF_FMT* = {0}; LVCF_WIDTH* = {1}; LVCF_TEXT* = {2}; LVCF_SUBITEM* = {3}; LVCF_IMAGE* = {4}; LVCF_ORDER* = {5}; LVCFMT_LEFT* = 0; LVCFMT_RIGHT* = 1; LVCFMT_CENTER* = 2; LVCFMT_JUSTIFYMASK* = 3; LVCFMT_IMAGE* = 2048; LVCFMT_BITMAP_ON_RIGHT* = 4096; LVCFMT_COL_HAS_IMAGES* = 32768; LVM_GETCOLUMNA* = 4121; LVM_GETCOLUMNW* = 4191; LVM_GETCOLUMN* = 4121; LVM_SETCOLUMNA* = 4122; LVM_SETCOLUMNW* = 4192; LVM_SETCOLUMN* = 4122; LVM_INSERTCOLUMNA* = 4123; LVM_INSERTCOLUMNW* = 4193; LVM_INSERTCOLUMN* = 4123; LVM_DELETECOLUMN* = 4124; LVM_GETCOLUMNWIDTH* = 4125; LVSCW_AUTOSIZE* = -1; LVSCW_AUTOSIZE_USEHEADER* = -2; LVM_SETCOLUMNWIDTH* = 4126; LVM_CREATEDRAGIMAGE* = 4129; LVM_GETVIEWRECT* = 4130; LVM_GETTEXTCOLOR* = 4131; LVM_SETTEXTCOLOR* = 4132; LVM_GETTEXTBKCOLOR* = 4133; LVM_SETTEXTBKCOLOR* = 4134; LVM_GETTOPINDEX* = 4135; LVM_GETCOUNTPERPAGE* = 4136; LVM_GETORIGIN* = 4137; LVM_UPDATE* = 4138; LVM_SETITEMSTATE* = 4139; LVM_GETITEMSTATE* = 4140; LVM_GETITEMTEXTA* = 4141; LVM_GETITEMTEXTW* = 4211; LVM_GETITEMTEXT* = 4141; LVM_SETITEMTEXTA* = 4142; LVM_SETITEMTEXTW* = 4212; LVM_SETITEMTEXT* = 4142; LVM_SETITEMCOUNT* = 4143; LVM_SORTITEMS* = 4144; LVM_SETITEMPOSITION32* = 4145; LVM_GETSELECTEDCOUNT* = 4146; LVM_GETITEMSPACING* = 4147; LVM_GETISEARCHSTRINGA* = 4148; LVM_GETISEARCHSTRINGW* = 4213; LVM_GETISEARCHSTRING* = 4148; LVM_SETICONSPACING* = 4149; LVM_SETEXTENDEDLISTVIEWSTYLE* = 4150; LVM_GETEXTENDEDLISTVIEWSTYLE* = 4151; LVS_EX_GRIDLINES* = {0}; LVS_EX_SUBITEMIMAGES* = {1}; LVS_EX_CHECKBOXES* = {2}; LVS_EX_TRACKSELECT* = {3}; LVS_EX_HEADERDRAGDROP* = {4}; LVS_EX_FULLROWSELECT* = {5}; LVM_GETSUBITEMRECT* = 4152; LVM_SUBITEMHITTEST* = 4153; LVM_SETCOLUMNORDERARRAY* = 4154; LVM_GETCOLUMNORDERARRAY* = 4155; LVM_SETHOTITEM* = 4156; LVM_GETHOTITEM* = 4157; LVM_SETHOTCURSOR* = 4158; LVM_GETHOTCURSOR* = 4159; LVN_ITEMCHANGING* = -100; LVN_ITEMCHANGED* = -101; LVN_INSERTITEM* = -102; LVN_DELETEITEM* = -103; LVN_DELETEALLITEMS* = -104; LVN_BEGINLABELEDITA* = -105; LVN_BEGINLABELEDITW* = -175; LVN_ENDLABELEDITA* = -106; LVN_ENDLABELEDITW* = -176; LVN_COLUMNCLICK* = -108; LVN_BEGINDRAG* = -109; LVN_BEGINRDRAG* = -111; LVN_ODCACHEHINT* = -113; LVN_ODFINDITEMA* = -152; LVN_ODFINDITEMW* = -179; LVN_ODFINDITEM* = -152; LVN_GETDISPINFOA* = -150; LVN_GETDISPINFOW* = -177; LVN_SETDISPINFOA* = -151; LVN_SETDISPINFOW* = -178; LVN_BEGINLABELEDIT* = -105; LVN_ENDLABELEDIT* = -106; LVN_GETDISPINFO* = -150; LVN_SETDISPINFO* = -151; LVIF_DI_SETITEM* = {12}; LVN_KEYDOWN* = -155; LVN_MARQUEEBEGIN* = -156; WC_TREEVIEWA* = "SysTreeView32"; WC_TREEVIEWW* = "SysTreeView32"; WC_TREEVIEW* = "SysTreeView32"; TVS_HASBUTTONS* = {0}; TVS_HASLINES* = {1}; TVS_LINESATROOT* = {2}; TVS_EDITLABELS* = {3}; TVS_DISABLEDRAGDROP* = {4}; TVS_SHOWSELALWAYS* = {5}; TVS_SHAREDIMAGELISTS* = {}; TVS_PRIVATEIMAGELISTS* = {6}; TVS_NOTOOLTIPS* = {7}; TVS_CHECKBOXES* = {8}; TVS_TRACKSELECT* = {9}; TVS_NOSCROLL* = {13}; TVIF_TEXT* = {0}; TVIF_IMAGE* = {1}; TVIF_PARAM* = {2}; TVIF_STATE* = {3}; TVIF_HANDLE* = {4}; TVIF_SELECTEDIMAGE* = {5}; TVIF_CHILDREN* = {6}; TVIS_SELECTED* = {1}; TVIS_CUT* = {2}; TVIS_DROPHILITED* = {3}; TVIS_BOLD* = {4}; TVIS_EXPANDED* = {5}; TVIS_EXPANDEDONCE* = {6}; TVIS_EXPANDPARTIAL* = {7}; TVIS_OVERLAYMASK* = {8..11}; TVIS_STATEIMAGEMASK* = {12..15}; TVIS_USERMASK* = {12..15}; TVI_ROOT* = 0FFFF0000H; TVI_FIRST* = 0FFFF0001H; TVI_LAST* = 0FFFF0002H; TVI_SORT* = 0FFFF0003H; I_CHILDRENCALLBACK* = -1; TVM_INSERTITEMA* = 4352; TVM_INSERTITEMW* = 4402; TVM_INSERTITEM* = 4352; TVM_DELETEITEM* = 4353; TVM_EXPAND* = 4354; TVE_COLLAPSE* = 1; TVE_EXPAND* = 2; TVE_TOGGLE* = 3; TVE_EXPANDPARTIAL* = 16384; TVE_COLLAPSERESET* = 32768; TVM_GETITEMRECT* = 4356; TVM_GETCOUNT* = 4357; TVM_GETINDENT* = 4358; TVM_SETINDENT* = 4359; TVM_GETIMAGELIST* = 4360; TVSIL_NORMAL* = 0; TVSIL_STATE* = 2; TVM_SETIMAGELIST* = 4361; TVM_GETNEXTITEM* = 4362; TVGN_ROOT* = 0; TVGN_NEXT* = 1; TVGN_PREVIOUS* = 2; TVGN_PARENT* = 3; TVGN_CHILD* = 4; TVGN_FIRSTVISIBLE* = 5; TVGN_NEXTVISIBLE* = 6; TVGN_PREVIOUSVISIBLE* = 7; TVGN_DROPHILITE* = 8; TVGN_CARET* = 9; TVM_SELECTITEM* = 4363; TVM_GETITEMA* = 4364; TVM_GETITEMW* = 4414; TVM_GETITEM* = 4364; TVM_SETITEMA* = 4365; TVM_SETITEMW* = 4415; TVM_SETITEM* = 4365; TVM_EDITLABELA* = 4366; TVM_EDITLABELW* = 4417; TVM_EDITLABEL* = 4366; TVM_GETEDITCONTROL* = 4367; TVM_GETVISIBLECOUNT* = 4368; TVM_HITTEST* = 4369; TVHT_NOWHERE* = {0}; TVHT_ONITEMICON* = {1}; TVHT_ONITEMLABEL* = {2}; TVHT_ONITEM* = {1, 2, 6}; TVHT_ONITEMINDENT* = {3}; TVHT_ONITEMBUTTON* = {4}; TVHT_ONITEMRIGHT* = {5}; TVHT_ONITEMSTATEICON* = {6}; TVHT_ABOVE* = {8}; TVHT_BELOW* = {9}; TVHT_TORIGHT* = {10}; TVHT_TOLEFT* = {11}; TVM_CREATEDRAGIMAGE* = 4370; TVM_SORTCHILDREN* = 4371; TVM_ENSUREVISIBLE* = 4372; TVM_SORTCHILDRENCB* = 4373; TVM_ENDEDITLABELNOW* = 4374; TVM_GETISEARCHSTRINGA* = 4375; TVM_GETISEARCHSTRINGW* = 4416; TVM_GETISEARCHSTRING* = 4375; TVM_SETTOOLTIPS* = 4376; TVM_GETTOOLTIPS* = 4377; TVN_SELCHANGINGA* = -401; TVN_SELCHANGINGW* = -450; TVN_SELCHANGEDA* = -402; TVN_SELCHANGEDW* = -451; TVC_UNKNOWN* = 0; TVC_BYMOUSE* = 1; TVC_BYKEYBOARD* = 2; TVN_GETDISPINFOA* = -403; TVN_GETDISPINFOW* = -452; TVN_SETDISPINFOA* = -404; TVN_SETDISPINFOW* = -453; TVIF_DI_SETITEM* = {12}; TVN_ITEMEXPANDINGA* = -405; TVN_ITEMEXPANDINGW* = -454; TVN_ITEMEXPANDEDA* = -406; TVN_ITEMEXPANDEDW* = -455; TVN_BEGINDRAGA* = -407; TVN_BEGINDRAGW* = -456; TVN_BEGINRDRAGA* = -408; TVN_BEGINRDRAGW* = -457; TVN_DELETEITEMA* = -409; TVN_DELETEITEMW* = -458; TVN_BEGINLABELEDITA* = -410; TVN_BEGINLABELEDITW* = -459; TVN_ENDLABELEDITA* = -411; TVN_ENDLABELEDITW* = -460; TVN_KEYDOWN* = -412; TVN_SELCHANGING* = -401; TVN_SELCHANGED* = -402; TVN_GETDISPINFO* = -403; TVN_SETDISPINFO* = -404; TVN_ITEMEXPANDING* = -405; TVN_ITEMEXPANDED* = -406; TVN_BEGINDRAG* = -407; TVN_BEGINRDRAG* = -408; TVN_DELETEITEM* = -409; TVN_BEGINLABELEDIT* = -410; TVN_ENDLABELEDIT* = -411; WC_COMBOBOXEXW* = "ComboBoxEx"; WC_COMBOBOXEXA* = "ComboBoxEx32"; WC_COMBOBOXEX* = "ComboBoxEx32"; CBEIF_TEXT* = {0}; CBEIF_IMAGE* = {1}; CBEIF_SELECTEDIMAGE* = {2}; CBEIF_OVERLAY* = {3}; CBEIF_INDENT* = {4}; CBEIF_LPARAM* = {5}; CBEIF_DI_SETITEM* = {28}; CBEM_INSERTITEM* = 1025; CBEM_SETIMAGELIST* = 1026; CBEM_GETIMAGELIST* = 1027; CBEM_GETITEM* = 1028; CBEM_SETITEM* = 1029; CBEM_DELETEITEM* = 324; CBEM_GETCOMBOCONTROL* = 1030; CBEM_GETEDITCONTROL* = 1031; CBEM_SETEXSTYLE* = 1032; CBEM_GETEXSTYLE* = 1033; CBEM_HASEDITCHANGED* = 1034; CBES_EX_NOEDITIMAGE* = {0}; CBES_EX_NOEDITIMAGEINDENT* = {1}; CBEN_GETDISPINFO* = -800; CBEN_INSERTITEM* = -801; CBEN_DELETEITEM* = -802; CBEN_BEGINEDIT* = -804; CBEN_ENDEDIT* = -805; CBENF_KILLFOCUS* = 1; CBENF_RETURN* = 2; CBENF_ESCAPE* = 3; CBENF_DROPDOWN* = 4; CBEMAXSTRLEN* = 260; WC_TABCONTROLA* = "SysTabControl32"; WC_TABCONTROLW* = "SysTabControl32"; WC_TABCONTROL* = "SysTabControl32"; TCS_SCROLLOPPOSITE* = {0}; TCS_BOTTOM* = {1}; TCS_RIGHT* = {1}; TCS_FORCEICONLEFT* = {4}; TCS_FORCELABELLEFT* = {5}; TCS_VERTICAL* = {7}; TCS_TABS* = {}; TCS_BUTTONS* = {8}; TCS_SINGLELINE* = {}; TCS_MULTILINE* = {9}; TCS_RIGHTJUSTIFY* = {}; TCS_FIXEDWIDTH* = {10}; TCS_RAGGEDRIGHT* = {11}; TCS_FOCUSONBUTTONDOWN* = {12}; TCS_OWNERDRAWFIXED* = {13}; TCS_TOOLTIPS* = {14}; TCS_FOCUSNEVER* = {15}; TCM_FIRST* = 4864; TCM_GETIMAGELIST* = 4866; TCM_SETIMAGELIST* = 4867; TCM_GETITEMCOUNT* = 4868; TCIF_TEXT* = {0}; TCIF_IMAGE* = {1}; TCIF_RTLREADING* = {2}; TCIF_PARAM* = {3}; TCIF_STATE* = {4}; TCIS_BUTTONPRESSED* = 1; TCM_GETITEMA* = 4869; TCM_GETITEMW* = 4924; TCM_GETITEM* = 4869; TCM_SETITEMA* = 4870; TCM_SETITEMW* = 4925; TCM_SETITEM* = 4870; TCM_INSERTITEMA* = 4871; TCM_INSERTITEMW* = 4926; TCM_INSERTITEM* = 4871; TCM_DELETEITEM* = 4872; TCM_DELETEALLITEMS* = 4873; TCM_GETITEMRECT* = 4874; TCM_GETCURSEL* = 4875; TCM_SETCURSEL* = 4876; TCHT_NOWHERE* = {0}; TCHT_ONITEMICON* = {1}; TCHT_ONITEMLABEL* = {2}; TCHT_ONITEM* = {1, 2}; TCM_HITTEST* = 4877; TCM_SETITEMEXTRA* = 4878; TCM_ADJUSTRECT* = 4904; TCM_SETITEMSIZE* = 4905; TCM_REMOVEIMAGE* = 4906; TCM_SETPADDING* = 4907; TCM_GETROWCOUNT* = 4908; TCM_GETTOOLTIPS* = 4909; TCM_SETTOOLTIPS* = 4910; TCM_GETCURFOCUS* = 4911; TCM_SETCURFOCUS* = 4912; TCM_SETMINTABWIDTH* = 4913; TCM_DESELECTALL* = 4914; TCN_KEYDOWN* = -550; TCN_SELCHANGE* = -551; TCN_SELCHANGING* = -552; ANIMATE_CLASSW* = "SysAnimate32"; ANIMATE_CLASSA* = "SysAnimate32"; ANIMATE_CLASS* = "SysAnimate32"; ACS_CENTER* = {0}; ACS_TRANSPARENT* = {1}; ACS_AUTOPLAY* = {2}; ACS_TIMER* = {3}; ACM_OPENA* = 1124; ACM_OPENW* = 1127; ACM_OPEN* = 1124; ACM_PLAY* = 1125; ACM_STOP* = 1126; ACN_START* = 1; ACN_STOP* = 2; MONTHCAL_CLASSW* = "SysMonthCal32"; MONTHCAL_CLASSA* = "SysMonthCal32"; MONTHCAL_CLASS* = "SysMonthCal32"; MCM_FIRST* = 4096; MCM_GETCURSEL* = 4097; MCM_SETCURSEL* = 4098; MCM_GETMAXSELCOUNT* = 4099; MCM_SETMAXSELCOUNT* = 4100; MCM_GETSELRANGE* = 4101; MCM_SETSELRANGE* = 4102; MCM_GETMONTHRANGE* = 4103; MCM_SETDAYSTATE* = 4104; MCM_GETMINREQRECT* = 4105; MCM_GETTODAY* = 4106; MCM_SETTODAY* = 4107; MCM_GETWEEKNUMBERS* = 4108; MCM_SETWEEKNUMBERS* = 4109; MCN_SELCHANGE* = -749; MCN_GETDAYSTATE* = -748; MCS_DAYSTATE* = {0}; MCS_MULTISELECT* = {1}; MCS_WEEKNUMBERS* = {2}; MCS_NOTODAY* = {3}; GMR_VISIBLE* = 0; GMR_DAYSTATE* = 1; DATETIMEPICK_CLASSW* = "SysDateTimePick32"; DATETIMEPICK_CLASSA* = "SysDateTimePick32"; DATETIMEPICK_CLASS* = "SysDateTimePick32"; DTM_FIRST* = 4096; DTM_GETSYSTEMTIME* = 4097; DTM_SETSYSTEMTIME* = 4098; DTM_GETRANGE* = 4099; DTM_SETRANGE* = 4100; DTM_SETFORMAT* = 4101; DTS_UPDOWN* = {0}; DTS_SHOWNONE* = {1}; DTS_SHORTDATEFORMAT* = {}; DTS_LONGDATEFORMAT* = {2}; DTS_TIMEFORMAT* = {0, 3}; DTS_APPCANPARSE* = {4}; DTN_DATETIMECHANGE* = -759; DTN_USERSTRING* = -758; DTN_WMKEYDOWN* = -757; DTN_FORMAT* = -756; DTN_FORMATQUERY* = -755; GDTR_MIN* = 1; GDTR_MAX* = 2; GDT_ERROR* = -1; GDT_VALID* = 0; GDT_NONE* = 1; CONST (* enumerations *) TYPE INITCOMMONCONTROLSEX* = RECORD [noalign] dwSize*: INTEGER; dwICC*: SET; END; PtrINITCOMMONCONTROLSEX* = POINTER TO INITCOMMONCONTROLSEX; NMCUSTOMDRAW* = RECORD [noalign] hdr*: WinApi.NMHDR; dwDrawStage*: SET; hdc*: WinApi.HDC; rc*: WinApi.RECT; dwItemSpec*: INTEGER; uItemState*: SET; END; PtrNMCUSTOMDRAW* = POINTER TO NMCUSTOMDRAW; _IMAGELIST* = RECORD [untagged] (*i*) END; Ptr_IMAGELIST* = POINTER TO _IMAGELIST; IMAGELISTDRAWPARAMS* = RECORD [noalign] cbSize*: INTEGER; himl*: Ptr_IMAGELIST; i*: INTEGER; hdcDst*: WinApi.HDC; x*: INTEGER; y*: INTEGER; cx*: INTEGER; cy*: INTEGER; xBitmap*: INTEGER; yBitmap*: INTEGER; rgbBk*: WinApi.COLORREF; rgbFg*: WinApi.COLORREF; fStyle*: SET; dwRop*: INTEGER; END; PtrIMAGELISTDRAWPARAMS* = POINTER TO IMAGELISTDRAWPARAMS; IMAGEINFO* = RECORD [noalign] hbmImage*: WinApi.HBITMAP; hbmMask*: WinApi.HBITMAP; Unused1*: INTEGER; Unused2*: INTEGER; rcImage*: WinApi.RECT; END; PtrIMAGEINFO* = POINTER TO IMAGEINFO; HDITEMA* = RECORD [noalign] mask*: SET; cxy*: INTEGER; pszText*: WinApi.PtrSTR; hbm*: WinApi.HBITMAP; cchTextMax*: INTEGER; fmt*: INTEGER; lParam*: WinApi.LPARAM; iImage*: INTEGER; iOrder*: INTEGER; END; PtrHDITEMA* = POINTER TO HDITEMA; HDITEMW* = RECORD [noalign] mask*: SET; cxy*: INTEGER; pszText*: WinApi.PtrWSTR; hbm*: WinApi.HBITMAP; cchTextMax*: INTEGER; fmt*: INTEGER; lParam*: WinApi.LPARAM; iImage*: INTEGER; iOrder*: INTEGER; END; PtrHDITEMW* = POINTER TO HDITEMW; HD_ITEMA* = HDITEMA; (*m*) PtrHD_ITEMA* = PtrHDITEMA; HD_ITEMW* = HDITEMW; (*m*) PtrHD_ITEMW* = PtrHDITEMW; HDITEM* = HDITEMA; (*m*) PtrHDITEM* = PtrHDITEMA; HD_ITEM* = HDITEMA; (*m*) PtrHD_ITEM* = PtrHDITEMA; HDLAYOUT* = RECORD [noalign] prc*: WinApi.PtrRECT; pwpos*: WinApi.PtrWINDOWPOS; END; PtrHDLAYOUT* = POINTER TO HDLAYOUT; HD_LAYOUT* = HDLAYOUT; (*m*) PtrHD_LAYOUT* = PtrHDLAYOUT; HDHITTESTINFO* = RECORD [noalign] pt*: WinApi.POINT; flags*: SET; iItem*: INTEGER; END; PtrHDHITTESTINFO* = POINTER TO HDHITTESTINFO; HD_HITTESTINFO* = HDHITTESTINFO; (*m*) PtrHD_HITTESTINFO* = PtrHDHITTESTINFO; NMHEADERA* = RECORD [noalign] hdr*: WinApi.NMHDR; iItem*: INTEGER; iButton*: INTEGER; pitem*: PtrHDITEMA; END; PtrNMHEADERA* = POINTER TO NMHEADERA; NMHEADERW* = RECORD [noalign] hdr*: WinApi.NMHDR; iItem*: INTEGER; iButton*: INTEGER; pitem*: PtrHDITEMW; END; PtrNMHEADERW* = POINTER TO NMHEADERW; NMHEADER* = NMHEADERA; (*m*) PtrNMHEADER* = PtrNMHEADERA; HD_NOTIFYA* = NMHEADERA; (*m*) PtrHD_NOTIFYA* = PtrNMHEADERA; HD_NOTIFYW* = NMHEADERW; (*m*) PtrHD_NOTIFYW* = PtrNMHEADERW; HD_NOTIFY* = NMHEADERA; (*m*) PtrHD_NOTIFY* = PtrNMHEADERA; NMHDDISPINFOW* = RECORD [noalign] hdr*: WinApi.NMHDR; iItem*: INTEGER; mask*: SET; pszText*: WinApi.PtrWSTR; cchTextMax*: INTEGER; iImage*: INTEGER; lParam*: WinApi.LPARAM; END; PtrNMHDDISPINFOW* = POINTER TO NMHDDISPINFOW; NMHDDISPINFOA* = RECORD [noalign] hdr*: WinApi.NMHDR; iItem*: INTEGER; mask*: SET; pszText*: WinApi.PtrSTR; cchTextMax*: INTEGER; iImage*: INTEGER; lParam*: WinApi.LPARAM; END; PtrNMHDDISPINFOA* = POINTER TO NMHDDISPINFOA; NMHDDISPINFO* = NMHDDISPINFOA; (*m*) PtrNMHDDISPINFO* = PtrNMHDDISPINFOA; TBBUTTON* = RECORD [noalign] iBitmap*: INTEGER; idCommand*: INTEGER; fsState*: SHORTCHAR; fsStyle*: SHORTCHAR; bReserved*: ARRAY [untagged] 2 OF SHORTCHAR; dwData*: INTEGER; iString*: INTEGER; END; PtrTBBUTTON* = POINTER TO TBBUTTON; COLORMAP* = RECORD [noalign] from*: WinApi.COLORREF; to*: WinApi.COLORREF; END; PtrCOLORMAP* = POINTER TO COLORMAP; TBADDBITMAP* = RECORD [noalign] hInst*: WinApi.HINSTANCE; nID*: INTEGER; END; PtrTBADDBITMAP* = POINTER TO TBADDBITMAP; TBSAVEPARAMSA* = RECORD [noalign] hkr*: WinApi.HKEY; pszSubKey*: WinApi.PtrSTR; pszValueName*: WinApi.PtrSTR; END; PtrTBSAVEPARAMSA* = POINTER TO TBSAVEPARAMSA; TBSAVEPARAMSW* = RECORD [noalign] hkr*: WinApi.HKEY; pszSubKey*: WinApi.PtrWSTR; pszValueName*: WinApi.PtrWSTR; END; PtrTBSAVEPARAMSW* = POINTER TO TBSAVEPARAMSW; TBSAVEPARAMS* = TBSAVEPARAMSA; (*m*) PtrTBSAVEPARAMS* = PtrTBSAVEPARAMSA; TBREPLACEBITMAP* = RECORD [noalign] hInstOld*: WinApi.HINSTANCE; nIDOld*: INTEGER; hInstNew*: WinApi.HINSTANCE; nIDNew*: INTEGER; nButtons*: INTEGER; END; PtrTBREPLACEBITMAP* = POINTER TO TBREPLACEBITMAP; NMTOOLBARA* = RECORD [noalign] hdr*: WinApi.NMHDR; iItem*: INTEGER; tbButton*: TBBUTTON; cchText*: INTEGER; pszText*: WinApi.PtrSTR; END; PtrNMTOOLBARA* = POINTER TO NMTOOLBARA; NMTOOLBARW* = RECORD [noalign] hdr*: WinApi.NMHDR; iItem*: INTEGER; tbButton*: TBBUTTON; cchText*: INTEGER; pszText*: WinApi.PtrWSTR; END; PtrNMTOOLBARW* = POINTER TO NMTOOLBARW; NMTOOLBAR* = NMTOOLBARA; (*m*) PtrNMTOOLBAR* = PtrNMTOOLBARA; TBNOTIFYA* = NMTOOLBARA; (*m*) PtrTBNOTIFYA* = PtrNMTOOLBARA; TBNOTIFYW* = NMTOOLBARW; (*m*) PtrTBNOTIFYW* = PtrNMTOOLBARW; TBNOTIFY* = NMTOOLBARA; (*m*) PtrTBNOTIFY* = PtrNMTOOLBARA; TTTOOLINFOA* = RECORD [noalign] cbSize*: INTEGER; uFlags*: SET; hwnd*: WinApi.HWND; uId*: INTEGER; rect*: WinApi.RECT; hinst*: WinApi.HINSTANCE; lpszText*: WinApi.PtrSTR; lParam*: WinApi.LPARAM; END; PtrTTTOOLINFOA* = POINTER TO TTTOOLINFOA; TTTOOLINFOW* = RECORD [noalign] cbSize*: INTEGER; uFlags*: SET; hwnd*: WinApi.HWND; uId*: INTEGER; rect*: WinApi.RECT; hinst*: WinApi.HINSTANCE; lpszText*: WinApi.PtrWSTR; lParam*: WinApi.LPARAM; END; PtrTTTOOLINFOW* = POINTER TO TTTOOLINFOW; TTTOOLINFO* = TTTOOLINFOA; (*m*) PtrTTTOOLINFO* = PtrTTTOOLINFOA; TOOLINFO* = TTTOOLINFOA; (*m*) PtrTOOLINFO* = PtrTTTOOLINFOA; TOOLINFOA* = TTTOOLINFOA; (*m*) PtrTOOLINFOA* = PtrTTTOOLINFOA; TOOLINFOW* = TTTOOLINFOW; (*m*) PtrTOOLINFOW* = PtrTTTOOLINFOW; TTHITTESTINFOA* = RECORD [noalign] hwnd*: WinApi.HWND; pt*: WinApi.POINT; ti*: TTTOOLINFOA; END; PtrTTHITTESTINFOA* = POINTER TO TTHITTESTINFOA; TTHITTESTINFOW* = RECORD [noalign] hwnd*: WinApi.HWND; pt*: WinApi.POINT; ti*: TTTOOLINFOW; END; PtrTTHITTESTINFOW* = POINTER TO TTHITTESTINFOW; TTHITTESTINFO* = TTHITTESTINFOA; (*m*) PtrTTHITTESTINFO* = PtrTTHITTESTINFOA; NMTTDISPINFOA* = RECORD [noalign] hdr*: WinApi.NMHDR; lpszText*: WinApi.PtrSTR; szText*: ARRAY [untagged] 80 OF SHORTCHAR; hinst*: WinApi.HINSTANCE; uFlags*: SET; lParam*: WinApi.LPARAM; END; PtrNMTTDISPINFOA* = POINTER TO NMTTDISPINFOA; NMTTDISPINFOW* = RECORD [noalign] hdr*: WinApi.NMHDR; lpszText*: WinApi.PtrWSTR; szText*: ARRAY [untagged] 80 OF CHAR; hinst*: WinApi.HINSTANCE; uFlags*: SET; lParam*: WinApi.LPARAM; END; PtrNMTTDISPINFOW* = POINTER TO NMTTDISPINFOW; TOOLTIPTEXTW* = NMTTDISPINFOW; (*m*) PtrTOOLTIPTEXTW* = PtrNMTTDISPINFOW; TOOLTIPTEXTA* = NMTTDISPINFOA; (*m*) PtrTOOLTIPTEXTA* = PtrNMTTDISPINFOA; TOOLTIPTEXT* = NMTTDISPINFOA; (*m*) PtrTOOLTIPTEXT* = PtrNMTTDISPINFOA; NMTTDISPINFO* = NMTTDISPINFOA; (*m*) PtrNMTTDISPINFO* = PtrNMTTDISPINFOA; DRAGLISTINFO* = RECORD [noalign] uNotification*: INTEGER; hWnd*: WinApi.HWND; ptCursor*: WinApi.POINT; END; PtrDRAGLISTINFO* = POINTER TO DRAGLISTINFO; UDACCEL* = RECORD [noalign] nSec*: INTEGER; nInc*: INTEGER; END; PtrUDACCEL* = POINTER TO UDACCEL; NMUPDOWN* = RECORD [noalign] hdr*: WinApi.NMHDR; iPos*: INTEGER; iDelta*: INTEGER; END; PtrNMUPDOWN* = POINTER TO NMUPDOWN; NM_UPDOWN* = NMUPDOWN; (*m*) PtrNM_UPDOWN* = PtrNMUPDOWN; LVITEMA* = RECORD [noalign] mask*: SET; iItem*: INTEGER; iSubItem*: INTEGER; state*: INTEGER; stateMask*: INTEGER; pszText*: WinApi.PtrSTR; cchTextMax*: INTEGER; iImage*: INTEGER; lParam*: WinApi.LPARAM; iIndent*: INTEGER; END; PtrLVITEMA* = POINTER TO LVITEMA; LV_ITEMA* = LVITEMA; (*m*) PtrLV_ITEMA* = PtrLVITEMA; LVITEMW* = RECORD [noalign] mask*: SET; iItem*: INTEGER; iSubItem*: INTEGER; state*: INTEGER; stateMask*: INTEGER; pszText*: WinApi.PtrWSTR; cchTextMax*: INTEGER; iImage*: INTEGER; lParam*: WinApi.LPARAM; iIndent*: INTEGER; END; PtrLVITEMW* = POINTER TO LVITEMW; LV_ITEMW* = LVITEMW; (*m*) PtrLV_ITEMW* = PtrLVITEMW; LV_ITEM* = LVITEMA; (*m*) PtrLV_ITEM* = PtrLVITEMA; LVITEM* = LVITEMA; (*m*) PtrLVITEM* = PtrLVITEMA; LVFINDINFOA* = RECORD [noalign] flags*: SET; psz*: WinApi.PtrSTR; lParam*: WinApi.LPARAM; pt*: WinApi.POINT; vkDirection*: INTEGER; END; PtrLVFINDINFOA* = POINTER TO LVFINDINFOA; LV_FINDINFOA* = LVFINDINFOA; (*m*) PtrLV_FINDINFOA* = PtrLVFINDINFOA; LVFINDINFOW* = RECORD [noalign] flags*: SET; psz*: WinApi.PtrWSTR; lParam*: WinApi.LPARAM; pt*: WinApi.POINT; vkDirection*: INTEGER; END; PtrLVFINDINFOW* = POINTER TO LVFINDINFOW; LV_FINDINFOW* = LVFINDINFOW; (*m*) PtrLV_FINDINFOW* = PtrLVFINDINFOW; LV_FINDINFO* = LVFINDINFOA; (*m*) PtrLV_FINDINFO* = PtrLVFINDINFOA; LVFINDINFO* = LVFINDINFOA; (*m*) PtrLVFINDINFO* = PtrLVFINDINFOA; LVHITTESTINFO* = RECORD [noalign] pt*: WinApi.POINT; flags*: SET; iItem*: INTEGER; iSubItem*: INTEGER; END; PtrLVHITTESTINFO* = POINTER TO LVHITTESTINFO; LV_HITTESTINFO* = LVHITTESTINFO; (*m*) PtrLV_HITTESTINFO* = PtrLVHITTESTINFO; LVCOLUMNA* = RECORD [noalign] mask*: SET; fmt*: INTEGER; cx*: INTEGER; pszText*: WinApi.PtrSTR; cchTextMax*: INTEGER; iSubItem*: INTEGER; iImage*: INTEGER; iOrder*: INTEGER; END; PtrLVCOLUMNA* = POINTER TO LVCOLUMNA; LVCOLUMNW* = RECORD [noalign] mask*: SET; fmt*: INTEGER; cx*: INTEGER; pszText*: WinApi.PtrWSTR; cchTextMax*: INTEGER; iSubItem*: INTEGER; iImage*: INTEGER; iOrder*: INTEGER; END; PtrLVCOLUMNW* = POINTER TO LVCOLUMNW; LVCOLUMN* = LVCOLUMNA; (*m*) PtrLVCOLUMN* = PtrLVCOLUMNA; LV_COLUMN* = LVCOLUMNA; (*m*) PtrLV_COLUMN* = PtrLVCOLUMNA; LV_COLUMNA* = LVCOLUMNA; (*m*) PtrLV_COLUMNA* = PtrLVCOLUMNA; LV_COLUMNW* = LVCOLUMNW; (*m*) PtrLV_COLUMNW* = PtrLVCOLUMNW; FNLVCOMPARE* = PROCEDURE (p0: WinApi.LPARAM; p1: WinApi.LPARAM; p2: WinApi.LPARAM): INTEGER; NMLISTVIEW* = RECORD [noalign] hdr*: WinApi.NMHDR; iItem*: INTEGER; iSubItem*: INTEGER; uNewState*: INTEGER; uOldState*: INTEGER; uChanged*: INTEGER; ptAction*: WinApi.POINT; lParam*: WinApi.LPARAM; END; PtrNMLISTVIEW* = POINTER TO NMLISTVIEW; NM_LISTVIEW* = NMLISTVIEW; (*m*) PtrNM_LISTVIEW* = PtrNMLISTVIEW; NMLVCUSTOMDRAW* = RECORD [noalign] nmcd*: NMCUSTOMDRAW; clrText*: WinApi.COLORREF; clrTextBk*: WinApi.COLORREF; END; PtrNMLVCUSTOMDRAW* = POINTER TO NMLVCUSTOMDRAW; NMLVCACHEHINT* = RECORD [noalign] hdr*: WinApi.NMHDR; iFrom*: INTEGER; iTo*: INTEGER; END; PtrNMLVCACHEHINT* = POINTER TO NMLVCACHEHINT; NM_CACHEHINT* = NMLVCACHEHINT; (*m*) PtrNM_CACHEHINT* = PtrNMLVCACHEHINT; NMLVFINDITEM* = RECORD [noalign] hdr*: WinApi.NMHDR; iStart*: INTEGER; lvfi*: LVFINDINFOA; END; PtrNMLVFINDITEM* = POINTER TO NMLVFINDITEM; NM_FINDITEM* = NMLVFINDITEM; (*m*) PtrNM_FINDITEM* = PtrNMLVFINDITEM; NMLVDISPINFOA* = RECORD [noalign] hdr*: WinApi.NMHDR; item*: LVITEMA; END; PtrNMLVDISPINFOA* = POINTER TO NMLVDISPINFOA; NMLVDISPINFOW* = RECORD [noalign] hdr*: WinApi.NMHDR; item*: LVITEMW; END; PtrNMLVDISPINFOW* = POINTER TO NMLVDISPINFOW; LV_DISPINFOA* = NMLVDISPINFOA; (*m*) PtrLV_DISPINFOA* = PtrNMLVDISPINFOA; LV_DISPINFOW* = NMLVDISPINFOW; (*m*) PtrLV_DISPINFOW* = PtrNMLVDISPINFOW; LV_DISPINFO* = NMLVDISPINFOA; (*m*) PtrLV_DISPINFO* = PtrNMLVDISPINFOA; NMLVDISPINFO* = NMLVDISPINFOA; (*m*) PtrNMLVDISPINFO* = PtrNMLVDISPINFOA; NMLVKEYDOWN* = RECORD [noalign] hdr*: WinApi.NMHDR; wVKey*: SHORTINT; flags*: SET; END; PtrNMLVKEYDOWN* = POINTER TO NMLVKEYDOWN; LV_KEYDOWN* = NMLVKEYDOWN; (*m*) PtrLV_KEYDOWN* = PtrNMLVKEYDOWN; _TREEITEM* = RECORD [untagged] (*i*) END; Ptr_TREEITEM* = POINTER TO _TREEITEM; TVITEMA* = RECORD [noalign] mask*: SET; hItem*: Ptr_TREEITEM; state*: INTEGER; stateMask*: INTEGER; pszText*: WinApi.PtrSTR; cchTextMax*: INTEGER; iImage*: INTEGER; iSelectedImage*: INTEGER; cChildren*: INTEGER; lParam*: WinApi.LPARAM; END; PtrTVITEMA* = POINTER TO TVITEMA; TVITEMW* = RECORD [noalign] mask*: SET; hItem*: Ptr_TREEITEM; state*: INTEGER; stateMask*: INTEGER; pszText*: WinApi.PtrWSTR; cchTextMax*: INTEGER; iImage*: INTEGER; iSelectedImage*: INTEGER; cChildren*: INTEGER; lParam*: WinApi.LPARAM; END; PtrTVITEMW* = POINTER TO TVITEMW; TV_ITEMW* = TVITEMW; (*m*) PtrTV_ITEMW* = PtrTVITEMW; TV_ITEMA* = TVITEMA; (*m*) PtrTV_ITEMA* = PtrTVITEMA; TV_ITEM* = TVITEMA; (*m*) PtrTV_ITEM* = PtrTVITEMA; TVITEM* = TVITEMA; (*m*) PtrTVITEM* = PtrTVITEMA; TVINSERTSTRUCTA* = RECORD [noalign] hParent*: Ptr_TREEITEM; hInsertAfter*: Ptr_TREEITEM; item*: TVITEMA; END; PtrTVINSERTSTRUCTA* = POINTER TO TVINSERTSTRUCTA; TVINSERTSTRUCTW* = RECORD [noalign] hParent*: Ptr_TREEITEM; hInsertAfter*: Ptr_TREEITEM; item*: TVITEMW; END; PtrTVINSERTSTRUCTW* = POINTER TO TVINSERTSTRUCTW; TV_INSERTSTRUCTA* = TVINSERTSTRUCTA; (*m*) PtrTV_INSERTSTRUCTA* = PtrTVINSERTSTRUCTA; TV_INSERTSTRUCTW* = TVINSERTSTRUCTW; (*m*) PtrTV_INSERTSTRUCTW* = PtrTVINSERTSTRUCTW; TVINSERTSTRUCT* = TVINSERTSTRUCTA; (*m*) PtrTVINSERTSTRUCT* = PtrTVINSERTSTRUCTA; TVHITTESTINFO* = RECORD [noalign] pt*: WinApi.POINT; flags*: SET; hItem*: Ptr_TREEITEM; END; PtrTVHITTESTINFO* = POINTER TO TVHITTESTINFO; TV_HITTESTINFO* = TVHITTESTINFO; (*m*) PtrTV_HITTESTINFO* = PtrTVHITTESTINFO; FNTVCOMPARE* = PROCEDURE (lParam1: WinApi.LPARAM; lParam2: WinApi.LPARAM; lParamSort: WinApi.LPARAM): INTEGER; TVSORTCB* = RECORD [noalign] hParent*: Ptr_TREEITEM; lpfnCompare*: FNTVCOMPARE; lParam*: WinApi.LPARAM; END; PtrTVSORTCB* = POINTER TO TVSORTCB; TV_SORTCB* = TVSORTCB; (*m*) PtrTV_SORTCB* = PtrTVSORTCB; NMTREEVIEWA* = RECORD [noalign] hdr*: WinApi.NMHDR; action*: INTEGER; itemOld*: TVITEMA; itemNew*: TVITEMA; ptDrag*: WinApi.POINT; END; PtrNMTREEVIEWA* = POINTER TO NMTREEVIEWA; NMTREEVIEWW* = RECORD [noalign] hdr*: WinApi.NMHDR; action*: INTEGER; itemOld*: TVITEMW; itemNew*: TVITEMW; ptDrag*: WinApi.POINT; END; PtrNMTREEVIEWW* = POINTER TO NMTREEVIEWW; NM_TREEVIEWW* = NMTREEVIEWW; (*m*) PtrNM_TREEVIEWW* = PtrNMTREEVIEWW; NM_TREEVIEWA* = NMTREEVIEWA; (*m*) PtrNM_TREEVIEWA* = PtrNMTREEVIEWA; NM_TREEVIEW* = NMTREEVIEWA; (*m*) PtrNM_TREEVIEW* = PtrNMTREEVIEWA; NMTREEVIEW* = NMTREEVIEWA; (*m*) PtrNMTREEVIEW* = PtrNMTREEVIEWA; NMTVDISPINFOA* = RECORD [noalign] hdr*: WinApi.NMHDR; item*: TVITEMA; END; PtrNMTVDISPINFOA* = POINTER TO NMTVDISPINFOA; NMTVDISPINFOW* = RECORD [noalign] hdr*: WinApi.NMHDR; item*: TVITEMW; END; PtrNMTVDISPINFOW* = POINTER TO NMTVDISPINFOW; TV_DISPINFOA* = NMTVDISPINFOA; (*m*) PtrTV_DISPINFOA* = PtrNMTVDISPINFOA; TV_DISPINFOW* = NMTVDISPINFOW; (*m*) PtrTV_DISPINFOW* = PtrNMTVDISPINFOW; TV_DISPINFO* = NMTVDISPINFOA; (*m*) PtrTV_DISPINFO* = PtrNMTVDISPINFOA; NMTVDISPINFO* = NMTVDISPINFOA; (*m*) PtrNMTVDISPINFO* = PtrNMTVDISPINFOA; NMTVKEYDOWN* = RECORD [noalign] hdr*: WinApi.NMHDR; wVKey*: SHORTINT; flags*: SET; END; PtrNMTVKEYDOWN* = POINTER TO NMTVKEYDOWN; TV_KEYDOWN* = NMTVKEYDOWN; (*m*) PtrTV_KEYDOWN* = PtrNMTVKEYDOWN; COMBOBOXEXITEM* = RECORD [noalign] mask*: SET; iItem*: INTEGER; pszText*: WinApi.PtrSTR; cchTextMax*: INTEGER; iImage*: INTEGER; iSelectedImage*: INTEGER; iOverlay*: INTEGER; iIndent*: INTEGER; lParam*: WinApi.LPARAM; END; PtrCOMBOBOXEXITEM* = POINTER TO COMBOBOXEXITEM; NMCOMBOBOXEX* = RECORD [noalign] hdr*: WinApi.NMHDR; ceItem*: COMBOBOXEXITEM; END; PtrNMCOMBOBOXEX* = POINTER TO NMCOMBOBOXEX; NMCBEENDEDIT* = RECORD [noalign] hdr*: WinApi.NMHDR; fChanged*: WinApi.BOOL; iNewSelection*: INTEGER; szText*: ARRAY [untagged] 260 OF SHORTCHAR; iWhy*: INTEGER; END; PtrNMCBEENDEDIT* = POINTER TO NMCBEENDEDIT; TCITEMA* = RECORD [noalign] mask*: SET; dwState*: INTEGER; dwStateMask*: INTEGER; pszText*: WinApi.PtrSTR; cchTextMax*: INTEGER; iImage*: INTEGER; lParam*: WinApi.LPARAM; END; PtrTCITEMA* = POINTER TO TCITEMA; TCITEMW* = RECORD [noalign] mask*: SET; dwState*: INTEGER; dwStateMask*: INTEGER; pszText*: WinApi.PtrWSTR; cchTextMax*: INTEGER; iImage*: INTEGER; lParam*: WinApi.LPARAM; END; PtrTCITEMW* = POINTER TO TCITEMW; TC_ITEMA* = TCITEMA; (*m*) PtrTC_ITEMA* = PtrTCITEMA; TC_ITEMW* = TCITEMW; (*m*) PtrTC_ITEMW* = PtrTCITEMW; TC_ITEM* = TCITEMA; (*m*) PtrTC_ITEM* = PtrTCITEMA; TCITEM* = TCITEMA; (*m*) PtrTCITEM* = PtrTCITEMA; TCHITTESTINFO* = RECORD [noalign] pt*: WinApi.POINT; flags*: SET; END; PtrTCHITTESTINFO* = POINTER TO TCHITTESTINFO; TC_HITTESTINFO* = TCHITTESTINFO; (*m*) PtrTC_HITTESTINFO* = PtrTCHITTESTINFO; NMTCKEYDOWN* = RECORD [noalign] hdr*: WinApi.NMHDR; wVKey*: SHORTINT; flags*: SET; END; TC_KEYDOWN* = NMTCKEYDOWN; (*m*) MONTHDAYSTATE* = INTEGER; NMDAYSTATE* = RECORD [noalign] nmhdr*: WinApi.NMHDR; stStart*: WinApi.SYSTEMTIME; cDayState*: INTEGER; rgDayState*: ARRAY [untagged] 1 OF MONTHDAYSTATE; END; NMSELCHANGE* = RECORD [noalign] nmhdr*: WinApi.NMHDR; stSelStart*: WinApi.SYSTEMTIME; stSelEnd*: WinApi.SYSTEMTIME; END; NMDATETIMECHANGE* = RECORD [noalign] nmhdr*: WinApi.NMHDR; dwFlags*: SET; st*: WinApi.SYSTEMTIME; END; PtrNMDATETIMECHANGE* = POINTER TO NMDATETIMECHANGE; NMDATETIMESTRING* = RECORD [noalign] nmhdr*: WinApi.NMHDR; pszUserString*: WinApi.PtrSTR; st*: WinApi.SYSTEMTIME; dwFlags*: SET; END; PtrNMDATETIMESTRING* = POINTER TO NMDATETIMESTRING; NMDATETIMEWMKEYDOWN* = RECORD [noalign] nmhdr*: WinApi.NMHDR; nVirtKey*: INTEGER; pszFormat*: WinApi.PtrSTR; st*: WinApi.SYSTEMTIME; END; PtrNMDATETIMEWMKEYDOWN* = POINTER TO NMDATETIMEWMKEYDOWN; NMDATETIMEFORMAT* = RECORD [noalign] nmhdr*: WinApi.NMHDR; pszFormat*: WinApi.PtrSTR; st*: WinApi.SYSTEMTIME; pszDisplay*: WinApi.PtrSTR; szDisplay*: ARRAY [untagged] 64 OF SHORTCHAR; END; PtrNMDATETIMEFORMAT* = POINTER TO NMDATETIMEFORMAT; NMDATETIMEFORMATQUERY* = RECORD [noalign] nmhdr*: WinApi.NMHDR; pszFormat*: WinApi.PtrSTR; szMax*: WinApi.SIZE; END; PtrNMDATETIMEFORMATQUERY* = POINTER TO NMDATETIMEFORMATQUERY; PROCEDURE InitCommonControls* (); (*END InitCommonControls;*) PROCEDURE InitCommonControlsEx* (VAR [nil] p0: INITCOMMONCONTROLSEX): WinApi.BOOL; (*END InitCommonControlsEx;*) PROCEDURE ImageList_Create* (cx: INTEGER; cy: INTEGER; flags: SET; cInitial: INTEGER; cGrow: INTEGER): Ptr_IMAGELIST; (*END ImageList_Create;*) PROCEDURE ImageList_Destroy* (himl: Ptr_IMAGELIST): WinApi.BOOL; (*END ImageList_Destroy;*) PROCEDURE ImageList_GetImageCount* (himl: Ptr_IMAGELIST): INTEGER; (*END ImageList_GetImageCount;*) PROCEDURE ImageList_SetImageCount* (himl: Ptr_IMAGELIST; uNewCount: INTEGER): WinApi.BOOL; (*END ImageList_SetImageCount;*) PROCEDURE ImageList_Add* (himl: Ptr_IMAGELIST; hbmImage: WinApi.HBITMAP; hbmMask: WinApi.HBITMAP): INTEGER; (*END ImageList_Add;*) PROCEDURE ImageList_ReplaceIcon* (himl: Ptr_IMAGELIST; i: INTEGER; hicon: WinApi.HICON): INTEGER; (*END ImageList_ReplaceIcon;*) PROCEDURE ImageList_SetBkColor* (himl: Ptr_IMAGELIST; clrBk: WinApi.COLORREF): WinApi.COLORREF; (*END ImageList_SetBkColor;*) PROCEDURE ImageList_GetBkColor* (himl: Ptr_IMAGELIST): WinApi.COLORREF; (*END ImageList_GetBkColor;*) PROCEDURE ImageList_SetOverlayImage* (himl: Ptr_IMAGELIST; iImage: INTEGER; iOverlay: INTEGER): WinApi.BOOL; (*END ImageList_SetOverlayImage;*) PROCEDURE ImageList_Draw* (himl: Ptr_IMAGELIST; i: INTEGER; hdcDst: WinApi.HDC; x: INTEGER; y: INTEGER; fStyle: SET): WinApi.BOOL; (*END ImageList_Draw;*) PROCEDURE ImageList_Replace* (himl: Ptr_IMAGELIST; i: INTEGER; hbmImage: WinApi.HBITMAP; hbmMask: WinApi.HBITMAP): WinApi.BOOL; (*END ImageList_Replace;*) PROCEDURE ImageList_AddMasked* (himl: Ptr_IMAGELIST; hbmImage: WinApi.HBITMAP; crMask: WinApi.COLORREF): INTEGER; (*END ImageList_AddMasked;*) PROCEDURE ImageList_DrawEx* (himl: Ptr_IMAGELIST; i: INTEGER; hdcDst: WinApi.HDC; x: INTEGER; y: INTEGER; dx: INTEGER; dy: INTEGER; rgbBk: WinApi.COLORREF; rgbFg: WinApi.COLORREF; fStyle: SET): WinApi.BOOL; (*END ImageList_DrawEx;*) PROCEDURE ImageList_Remove* (himl: Ptr_IMAGELIST; i: INTEGER): WinApi.BOOL; (*END ImageList_Remove;*) PROCEDURE ImageList_GetIcon* (himl: Ptr_IMAGELIST; i: INTEGER; flags: SET): WinApi.HICON; (*END ImageList_GetIcon;*) PROCEDURE ImageList_LoadImageA* (hi: WinApi.HINSTANCE; lpbmp: WinApi.PtrSTR; cx: INTEGER; cGrow: INTEGER; crMask: WinApi.COLORREF; uType: SET; uFlags: SET): Ptr_IMAGELIST; (*END ImageList_LoadImageA;*) PROCEDURE ImageList_LoadImageW* (hi: WinApi.HINSTANCE; lpbmp: WinApi.PtrWSTR; cx: INTEGER; cGrow: INTEGER; crMask: WinApi.COLORREF; uType: SET; uFlags: SET): Ptr_IMAGELIST; (*END ImageList_LoadImageW;*) PROCEDURE ImageList_LoadImage* ["ImageList_LoadImageA"] (hi: WinApi.HINSTANCE; lpbmp: WinApi.PtrSTR; cx: INTEGER; cGrow: INTEGER; crMask: WinApi.COLORREF; uType: SET; uFlags: SET): Ptr_IMAGELIST; (*END ImageList_LoadImage;*) PROCEDURE ImageList_Copy* (himlDst: Ptr_IMAGELIST; iDst: INTEGER; himlSrc: Ptr_IMAGELIST; iSrc: INTEGER; uFlags: SET): WinApi.BOOL; (*END ImageList_Copy;*) PROCEDURE ImageList_BeginDrag* (himlTrack: Ptr_IMAGELIST; iTrack: INTEGER; dxHotspot: INTEGER; dyHotspot: INTEGER): WinApi.BOOL; (*END ImageList_BeginDrag;*) PROCEDURE ImageList_EndDrag* (); (*END ImageList_EndDrag;*) PROCEDURE ImageList_DragEnter* (hwndLock: WinApi.HWND; x: INTEGER; y: INTEGER): WinApi.BOOL; (*END ImageList_DragEnter;*) PROCEDURE ImageList_DragLeave* (hwndLock: WinApi.HWND): WinApi.BOOL; (*END ImageList_DragLeave;*) PROCEDURE ImageList_DragMove* (x: INTEGER; y: INTEGER): WinApi.BOOL; (*END ImageList_DragMove;*) PROCEDURE ImageList_SetDragCursorImage* (himlDrag: Ptr_IMAGELIST; iDrag: INTEGER; dxHotspot: INTEGER; dyHotspot: INTEGER): WinApi.BOOL; (*END ImageList_SetDragCursorImage;*) PROCEDURE ImageList_DragShowNolock* (fShow: WinApi.BOOL): WinApi.BOOL; (*END ImageList_DragShowNolock;*) PROCEDURE ImageList_GetDragImage* (VAR [nil] ppt: WinApi.POINT; VAR [nil] pptHotspot: WinApi.POINT): Ptr_IMAGELIST; (*END ImageList_GetDragImage;*) PROCEDURE ImageList_Read* (pstm: WinOle.IStream): Ptr_IMAGELIST; (*END ImageList_Read;*) PROCEDURE ImageList_Write* (himl: Ptr_IMAGELIST; pstm: WinOle.IStream): WinApi.BOOL; (*END ImageList_Write;*) PROCEDURE ImageList_GetIconSize* (himl: Ptr_IMAGELIST; VAR [nil] cx: INTEGER; VAR [nil] cy: INTEGER): WinApi.BOOL; (*END ImageList_GetIconSize;*) PROCEDURE ImageList_SetIconSize* (himl: Ptr_IMAGELIST; cx: INTEGER; cy: INTEGER): WinApi.BOOL; (*END ImageList_SetIconSize;*) PROCEDURE ImageList_GetImageInfo* (himl: Ptr_IMAGELIST; i: INTEGER; VAR [nil] pImageInfo: IMAGEINFO): WinApi.BOOL; (*END ImageList_GetImageInfo;*) PROCEDURE ImageList_Merge* (himl1: Ptr_IMAGELIST; i1: INTEGER; himl2: Ptr_IMAGELIST; i2: INTEGER; dx: INTEGER; dy: INTEGER): Ptr_IMAGELIST; (*END ImageList_Merge;*) PROCEDURE CreateToolbarEx* (hwnd: WinApi.HWND; ws: INTEGER; wID: INTEGER; nBitmaps: INTEGER; hBMInst: WinApi.HINSTANCE; wBMID: INTEGER; VAR [nil] lpButtons: TBBUTTON; iNumButtons: INTEGER; dxButton: INTEGER; dyButton: INTEGER; dxBitmap: INTEGER; dyBitmap: INTEGER; uStructSize: INTEGER): WinApi.HWND; (*END CreateToolbarEx;*) PROCEDURE CreateMappedBitmap* (hInstance: WinApi.HINSTANCE; idBitmap: INTEGER; wFlags: INTEGER; VAR [nil] lpColorMap: COLORMAP; iNumMaps: INTEGER): WinApi.HBITMAP; (*END CreateMappedBitmap;*) PROCEDURE DrawStatusTextA* (hDC: WinApi.HDC; VAR [nil] lprc: WinApi.RECT; pszText: WinApi.PtrSTR; uFlags: SET); (*END DrawStatusTextA;*) PROCEDURE DrawStatusTextW* (hDC: WinApi.HDC; VAR [nil] lprc: WinApi.RECT; pszText: WinApi.PtrWSTR; uFlags: SET); (*END DrawStatusTextW;*) PROCEDURE CreateStatusWindowA* (style: SET; lpszText: WinApi.PtrSTR; hwndParent: WinApi.HWND; wID: INTEGER): WinApi.HWND; (*END CreateStatusWindowA;*) PROCEDURE CreateStatusWindowW* (style: SET; lpszText: WinApi.PtrWSTR; hwndParent: WinApi.HWND; wID: INTEGER): WinApi.HWND; (*END CreateStatusWindowW;*) PROCEDURE CreateStatusWindow* ["CreateStatusWindowA"] (style: SET; lpszText: WinApi.PtrSTR; hwndParent: WinApi.HWND; wID: INTEGER): WinApi.HWND; (*END CreateStatusWindow;*) PROCEDURE DrawStatusText* ["DrawStatusTextA"] (hDC: WinApi.HDC; VAR [nil] lprc: WinApi.RECT; pszText: WinApi.PtrSTR; uFlags: SET); (*END DrawStatusText;*) PROCEDURE MenuHelp* (uMsg: INTEGER; wParam: WinApi.WPARAM; lParam: WinApi.LPARAM; hMainMenu: WinApi.HMENU; hInst: WinApi.HINSTANCE; hwndStatus: WinApi.HWND; VAR [nil] lpwIDs: INTEGER); (*END MenuHelp;*) PROCEDURE ShowHideMenuCtl* (hWnd: WinApi.HWND; uFlags: SET; VAR [nil] lpInfo: INTEGER): WinApi.BOOL; (*END ShowHideMenuCtl;*) PROCEDURE GetEffectiveClientRect* (hWnd: WinApi.HWND; VAR [nil] lprc: WinApi.RECT; VAR [nil] lpInfo: INTEGER); (*END GetEffectiveClientRect;*) PROCEDURE MakeDragList* (hLB: WinApi.HWND): WinApi.BOOL; (*END MakeDragList;*) PROCEDURE DrawInsert* (handParent: WinApi.HWND; hLB: WinApi.HWND; nItem: INTEGER); (*END DrawInsert;*) PROCEDURE LBItemFromPt* (hLB: WinApi.HWND; pt: WinApi.POINT; bAutoScroll: WinApi.BOOL): INTEGER; (*END LBItemFromPt;*) PROCEDURE CreateUpDownControl* (dwStyle: SET; x: INTEGER; y: INTEGER; cx: INTEGER; cy: INTEGER; hParent: WinApi.HWND; nID: INTEGER; hInst: WinApi.HINSTANCE; hBuddy: WinApi.HWND; nUpper: INTEGER; nLower: INTEGER; nPos: INTEGER): WinApi.HWND; (*END CreateUpDownControl;*) END WinCtl.
Win/Mod/Ctl.odc
MODULE WinDlg ["COMDLG32.dll"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) IMPORT WinApi; CONST (* macros *) OFN_READONLY* = {0}; OFN_OVERWRITEPROMPT* = {1}; OFN_HIDEREADONLY* = {2}; OFN_NOCHANGEDIR* = {3}; OFN_SHOWHELP* = {4}; OFN_ENABLEHOOK* = {5}; OFN_ENABLETEMPLATE* = {6}; OFN_ENABLETEMPLATEHANDLE* = {7}; OFN_NOVALIDATE* = {8}; OFN_ALLOWMULTISELECT* = {9}; OFN_EXTENSIONDIFFERENT* = {10}; OFN_PATHMUSTEXIST* = {11}; OFN_FILEMUSTEXIST* = {12}; OFN_CREATEPROMPT* = {13}; OFN_SHAREAWARE* = {14}; OFN_NOREADONLYRETURN* = {15}; OFN_NOTESTFILECREATE* = {16}; OFN_NONETWORKBUTTON* = {17}; OFN_NOLONGNAMES* = {18}; OFN_EXPLORER* = {19}; OFN_NODEREFERENCELINKS* = {20}; OFN_LONGNAMES* = {21}; OFN_SHAREFALLTHROUGH* = 2; OFN_SHARENOWARN* = 1; OFN_SHAREWARN* = 0; CDN_INITDONE* = -601; CDN_SELCHANGE* = -602; CDN_FOLDERCHANGE* = -603; CDN_SHAREVIOLATION* = -604; CDN_HELP* = -605; CDN_FILEOK* = -606; CDN_TYPECHANGE* = -607; CDM_FIRST* = 1124; CDM_LAST* = 1224; CDM_GETSPEC* = 1124; CDM_GETFILEPATH* = 1125; CDM_GETFOLDERPATH* = 1126; CDM_GETFOLDERIDLIST* = 1127; CDM_SETCONTROLTEXT* = 1128; CDM_HIDECONTROL* = 1129; CDM_SETDEFEXT* = 1130; CC_RGBINIT* = {0}; CC_FULLOPEN* = {1}; CC_PREVENTFULLOPEN* = {2}; CC_SHOWHELP* = {3}; CC_ENABLEHOOK* = {4}; CC_ENABLETEMPLATE* = {5}; CC_ENABLETEMPLATEHANDLE* = {6}; CC_SOLIDCOLOR* = {7}; CC_ANYCOLOR* = {8}; FR_DOWN* = {0}; FR_WHOLEWORD* = {1}; FR_MATCHCASE* = {2}; FR_FINDNEXT* = {3}; FR_REPLACE* = {4}; FR_REPLACEALL* = {5}; FR_DIALOGTERM* = {6}; FR_SHOWHELP* = {7}; FR_ENABLEHOOK* = {8}; FR_ENABLETEMPLATE* = {9}; FR_NOUPDOWN* = {10}; FR_NOMATCHCASE* = {11}; FR_NOWHOLEWORD* = {12}; FR_ENABLETEMPLATEHANDLE* = {13}; FR_HIDEUPDOWN* = {14}; FR_HIDEMATCHCASE* = {15}; FR_HIDEWHOLEWORD* = {16}; CF_SCREENFONTS* = {0}; CF_PRINTERFONTS* = {1}; CF_BOTH* = {0, 1}; CF_SHOWHELP* = {2}; CF_ENABLEHOOK* = {3}; CF_ENABLETEMPLATE* = {4}; CF_ENABLETEMPLATEHANDLE* = {5}; CF_INITTOLOGFONTSTRUCT* = {6}; CF_USESTYLE* = {7}; CF_EFFECTS* = {8}; CF_APPLY* = {9}; CF_ANSIONLY* = {10}; CF_SCRIPTSONLY* = {10}; CF_NOVECTORFONTS* = {11}; CF_NOOEMFONTS* = {11}; CF_NOSIMULATIONS* = {12}; CF_LIMITSIZE* = {13}; CF_FIXEDPITCHONLY* = {14}; CF_WYSIWYG* = {15}; CF_FORCEFONTEXIST* = {16}; CF_SCALABLEONLY* = {17}; CF_TTONLY* = {18}; CF_NOFACESEL* = {19}; CF_NOSTYLESEL* = {20}; CF_NOSIZESEL* = {21}; CF_SELECTSCRIPT* = {22}; CF_NOSCRIPTSEL* = {23}; CF_NOVERTFONTS* = {24}; SIMULATED_FONTTYPE* = 32768; PRINTER_FONTTYPE* = 16384; SCREEN_FONTTYPE* = 8192; BOLD_FONTTYPE* = 256; ITALIC_FONTTYPE* = 512; REGULAR_FONTTYPE* = 1024; WM_CHOOSEFONT_GETLOGFONT* = 1025; LBSELCHSTRINGA* = "commdlg_LBSelChangedNotify"; SHAREVISTRINGA* = "commdlg_ShareViolation"; FILEOKSTRINGA* = "commdlg_FileNameOK"; COLOROKSTRINGA* = "commdlg_ColorOK"; SETRGBSTRINGA* = "commdlg_SetRGBColor"; HELPMSGSTRINGA* = "commdlg_help"; FINDMSGSTRINGA* = "commdlg_FindReplace"; LBSELCHSTRINGW* = "commdlg_LBSelChangedNotify"; SHAREVISTRINGW* = "commdlg_ShareViolation"; FILEOKSTRINGW* = "commdlg_FileNameOK"; COLOROKSTRINGW* = "commdlg_ColorOK"; SETRGBSTRINGW* = "commdlg_SetRGBColor"; HELPMSGSTRINGW* = "commdlg_help"; FINDMSGSTRINGW* = "commdlg_FindReplace"; LBSELCHSTRING* = "commdlg_LBSelChangedNotify"; SHAREVISTRING* = "commdlg_ShareViolation"; FILEOKSTRING* = "commdlg_FileNameOK"; COLOROKSTRING* = "commdlg_ColorOK"; SETRGBSTRING* = "commdlg_SetRGBColor"; HELPMSGSTRING* = "commdlg_help"; FINDMSGSTRING* = "commdlg_FindReplace"; CD_LBSELNOITEMS* = -1; CD_LBSELCHANGE* = 0; CD_LBSELSUB* = 1; CD_LBSELADD* = 2; PD_ALLPAGES* = {}; PD_SELECTION* = {0}; PD_PAGENUMS* = {1}; PD_NOSELECTION* = {2}; PD_NOPAGENUMS* = {3}; PD_COLLATE* = {4}; PD_PRINTTOFILE* = {5}; PD_PRINTSETUP* = {6}; PD_NOWARNING* = {7}; PD_RETURNDC* = {8}; PD_RETURNIC* = {9}; PD_RETURNDEFAULT* = {10}; PD_SHOWHELP* = {11}; PD_ENABLEPRINTHOOK* = {12}; PD_ENABLESETUPHOOK* = {13}; PD_ENABLEPRINTTEMPLATE* = {14}; PD_ENABLESETUPTEMPLATE* = {15}; PD_ENABLEPRINTTEMPLATEHANDLE* = {16}; PD_ENABLESETUPTEMPLATEHANDLE* = {17}; PD_USEDEVMODECOPIES* = {18}; PD_USEDEVMODECOPIESANDCOLLATE* = {18}; PD_DISABLEPRINTTOFILE* = {19}; PD_HIDEPRINTTOFILE* = {20}; PD_NONETWORKBUTTON* = {21}; DN_DEFAULTPRN* = 1; WM_PSD_PAGESETUPDLG* = 1024; WM_PSD_FULLPAGERECT* = 1025; WM_PSD_MINMARGINRECT* = 1026; WM_PSD_MARGINRECT* = 1027; WM_PSD_GREEKTEXTRECT* = 1028; WM_PSD_ENVSTAMPRECT* = 1029; WM_PSD_YAFULLPAGERECT* = 1030; PSD_DEFAULTMINMARGINS* = {}; PSD_INWININIINTLMEASURE* = {}; PSD_MINMARGINS* = {0}; PSD_MARGINS* = {1}; PSD_INTHOUSANDTHSOFINCHES* = {2}; PSD_INHUNDREDTHSOFMILLIMETERS* = {3}; PSD_DISABLEMARGINS* = {4}; PSD_DISABLEPRINTER* = {5}; PSD_NOWARNING* = {7}; PSD_DISABLEORIENTATION* = {8}; PSD_RETURNDEFAULT* = {10}; PSD_DISABLEPAPER* = {9}; PSD_SHOWHELP* = {11}; PSD_ENABLEPAGESETUPHOOK* = {13}; PSD_ENABLEPAGESETUPTEMPLATE* = {15}; PSD_ENABLEPAGESETUPTEMPLATEHANDLE* = {17}; PSD_ENABLEPAGEPAINTHOOK* = {18}; PSD_DISABLEPAGEPAINTING* = {19}; PSD_NONETWORKBUTTON* = {21}; CONST (* enumerations *) TYPE OFNHOOKPROC* = PROCEDURE (p0: WinApi.HWND; p1: INTEGER; p2: WinApi.WPARAM; p3: WinApi.LPARAM): INTEGER; OPENFILENAMEA* = RECORD [noalign] lStructSize*: INTEGER; hwndOwner*: WinApi.HWND; hInstance*: WinApi.HINSTANCE; lpstrFilter*: WinApi.PtrSTR; lpstrCustomFilter*: WinApi.PtrSTR; nMaxCustFilter*: INTEGER; nFilterIndex*: INTEGER; lpstrFile*: WinApi.PtrSTR; nMaxFile*: INTEGER; lpstrFileTitle*: WinApi.PtrSTR; nMaxFileTitle*: INTEGER; lpstrInitialDir*: WinApi.PtrSTR; lpstrTitle*: WinApi.PtrSTR; Flags*: SET; nFileOffset*: SHORTINT; nFileExtension*: SHORTINT; lpstrDefExt*: WinApi.PtrSTR; lCustData*: WinApi.LPARAM; lpfnHook*: OFNHOOKPROC; lpTemplateName*: WinApi.PtrSTR; END; PtrOPENFILENAMEA* = POINTER TO OPENFILENAMEA; OPENFILENAMEW* = RECORD [noalign] lStructSize*: INTEGER; hwndOwner*: WinApi.HWND; hInstance*: WinApi.HINSTANCE; lpstrFilter*: WinApi.PtrWSTR; lpstrCustomFilter*: WinApi.PtrWSTR; nMaxCustFilter*: INTEGER; nFilterIndex*: INTEGER; lpstrFile*: WinApi.PtrWSTR; nMaxFile*: INTEGER; lpstrFileTitle*: WinApi.PtrWSTR; nMaxFileTitle*: INTEGER; lpstrInitialDir*: WinApi.PtrWSTR; lpstrTitle*: WinApi.PtrWSTR; Flags*: SET; nFileOffset*: SHORTINT; nFileExtension*: SHORTINT; lpstrDefExt*: WinApi.PtrWSTR; lCustData*: WinApi.LPARAM; lpfnHook*: OFNHOOKPROC; lpTemplateName*: WinApi.PtrWSTR; END; PtrOPENFILENAMEW* = POINTER TO OPENFILENAMEW; OPENFILENAME* = OPENFILENAMEA; PtrOPENFILENAME* = PtrOPENFILENAMEA; CCHOOKPROC* = PROCEDURE (p0: WinApi.HWND; p1: INTEGER; p2: WinApi.WPARAM; p3: WinApi.LPARAM): INTEGER; OFNOTIFYA* = RECORD [noalign] hdr*: WinApi.NMHDR; lpOFN*: PtrOPENFILENAMEA; pszFile*: WinApi.PtrSTR; END; PtrOFNOTIFYA* = POINTER TO OFNOTIFYA; OFNOTIFYW* = RECORD [noalign] hdr*: WinApi.NMHDR; lpOFN*: PtrOPENFILENAMEW; pszFile*: WinApi.PtrWSTR; END; PtrOFNOTIFYW* = POINTER TO OFNOTIFYW; OFNOTIFY* = OFNOTIFYA; PtrOFNOTIFY* = PtrOFNOTIFYA; CHOOSECOLORA* = RECORD [noalign] lStructSize*: INTEGER; hwndOwner*: WinApi.HWND; hInstance*: WinApi.HWND; rgbResult*: WinApi.COLORREF; lpCustColors*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.COLORREF; Flags*: SET; lCustData*: WinApi.LPARAM; lpfnHook*: CCHOOKPROC; lpTemplateName*: WinApi.PtrSTR; END; PtrCHOOSECOLORA* = POINTER TO CHOOSECOLORA; CHOOSECOLORW* = RECORD [noalign] lStructSize*: INTEGER; hwndOwner*: WinApi.HWND; hInstance*: WinApi.HWND; rgbResult*: WinApi.COLORREF; lpCustColors*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.COLORREF; Flags*: SET; lCustData*: WinApi.LPARAM; lpfnHook*: CCHOOKPROC; lpTemplateName*: WinApi.PtrWSTR; END; PtrCHOOSECOLORW* = POINTER TO CHOOSECOLORW; CHOOSECOLOR* = CHOOSECOLORA; PtrCHOOSECOLOR* = PtrCHOOSECOLORA; FRHOOKPROC* = PROCEDURE (p0: WinApi.HWND; p1: INTEGER; p2: WinApi.WPARAM; p3: WinApi.LPARAM): INTEGER; FINDREPLACEA* = RECORD [noalign] lStructSize*: INTEGER; hwndOwner*: WinApi.HWND; hInstance*: WinApi.HINSTANCE; Flags*: SET; lpstrFindWhat*: WinApi.PtrSTR; lpstrReplaceWith*: WinApi.PtrSTR; wFindWhatLen*: SHORTINT; wReplaceWithLen*: SHORTINT; lCustData*: WinApi.LPARAM; lpfnHook*: FRHOOKPROC; lpTemplateName*: WinApi.PtrSTR; END; PtrFINDREPLACEA* = POINTER TO FINDREPLACEA; FINDREPLACEW* = RECORD [noalign] lStructSize*: INTEGER; hwndOwner*: WinApi.HWND; hInstance*: WinApi.HINSTANCE; Flags*: SET; lpstrFindWhat*: WinApi.PtrWSTR; lpstrReplaceWith*: WinApi.PtrWSTR; wFindWhatLen*: SHORTINT; wReplaceWithLen*: SHORTINT; lCustData*: WinApi.LPARAM; lpfnHook*: FRHOOKPROC; lpTemplateName*: WinApi.PtrWSTR; END; PtrFINDREPLACEW* = POINTER TO FINDREPLACEW; FINDREPLACE* = FINDREPLACEA; PtrFINDREPLACE* = PtrFINDREPLACEA; CFHOOKPROC* = PROCEDURE (p0: WinApi.HWND; p1: INTEGER; p2: WinApi.WPARAM; p3: WinApi.LPARAM): INTEGER; CHOOSEFONTA* = RECORD [noalign] lStructSize*: INTEGER; hwndOwner*: WinApi.HWND; hDC*: WinApi.HDC; lpLogFont*: WinApi.PtrLOGFONTA; iPointSize*: INTEGER; Flags*: SET; rgbColors*: WinApi.COLORREF; lCustData*: WinApi.LPARAM; lpfnHook*: CFHOOKPROC; lpTemplateName*: WinApi.PtrSTR; hInstance*: WinApi.HINSTANCE; lpszStyle*: WinApi.PtrSTR; nFontType*: SHORTINT; ___MISSING_ALIGNMENT__*: SHORTINT; nSizeMin*: INTEGER; nSizeMax*: INTEGER; END; PtrCHOOSEFONTA* = POINTER TO CHOOSEFONTA; CHOOSEFONTW* = RECORD [noalign] lStructSize*: INTEGER; hwndOwner*: WinApi.HWND; hDC*: WinApi.HDC; lpLogFont*: WinApi.PtrLOGFONTW; iPointSize*: INTEGER; Flags*: SET; rgbColors*: WinApi.COLORREF; lCustData*: WinApi.LPARAM; lpfnHook*: CFHOOKPROC; lpTemplateName*: WinApi.PtrWSTR; hInstance*: WinApi.HINSTANCE; lpszStyle*: WinApi.PtrWSTR; nFontType*: SHORTINT; ___MISSING_ALIGNMENT__*: SHORTINT; nSizeMin*: INTEGER; nSizeMax*: INTEGER; END; PtrCHOOSEFONTW* = POINTER TO CHOOSEFONTW; CHOOSEFONT* = CHOOSEFONTA; PtrCHOOSEFONT* = PtrCHOOSEFONTA; PRINTHOOKPROC* = PROCEDURE (p0: WinApi.HWND; p1: INTEGER; p2: WinApi.WPARAM; p3: WinApi.LPARAM): INTEGER; SETUPHOOKPROC* = PROCEDURE (p0: WinApi.HWND; p1: INTEGER; p2: WinApi.WPARAM; p3: WinApi.LPARAM): INTEGER; PRINTDLGA* = RECORD [noalign] lStructSize*: INTEGER; hwndOwner*: WinApi.HWND; hDevMode*: WinApi.HGLOBAL; hDevNames*: WinApi.HGLOBAL; hDC*: WinApi.HDC; Flags*: SET; nFromPage*: SHORTINT; nToPage*: SHORTINT; nMinPage*: SHORTINT; nMaxPage*: SHORTINT; nCopies*: SHORTINT; hInstance*: WinApi.HINSTANCE; lCustData*: WinApi.LPARAM; lpfnPrintHook*: PRINTHOOKPROC; lpfnSetupHook*: SETUPHOOKPROC; lpPrintTemplateName*: WinApi.PtrSTR; lpSetupTemplateName*: WinApi.PtrSTR; hPrintTemplate*: WinApi.HGLOBAL; hSetupTemplate*: WinApi.HGLOBAL; END; PtrPRINTDLGA* = POINTER TO PRINTDLGA; PRINTDLGW* = RECORD [noalign] lStructSize*: INTEGER; hwndOwner*: WinApi.HWND; hDevMode*: WinApi.HGLOBAL; hDevNames*: WinApi.HGLOBAL; hDC*: WinApi.HDC; Flags*: SET; nFromPage*: SHORTINT; nToPage*: SHORTINT; nMinPage*: SHORTINT; nMaxPage*: SHORTINT; nCopies*: SHORTINT; hInstance*: WinApi.HINSTANCE; lCustData*: WinApi.LPARAM; lpfnPrintHook*: PRINTHOOKPROC; lpfnSetupHook*: SETUPHOOKPROC; lpPrintTemplateName*: WinApi.PtrWSTR; lpSetupTemplateName*: WinApi.PtrWSTR; hPrintTemplate*: WinApi.HGLOBAL; hSetupTemplate*: WinApi.HGLOBAL; END; PtrPRINTDLGW* = POINTER TO PRINTDLGW; PRINTDLG* = PRINTDLGA; PtrPRINTDLG* = PtrPRINTDLGA; DEVNAMES* = RECORD [noalign] wDriverOffset*: SHORTINT; wDeviceOffset*: SHORTINT; wOutputOffset*: SHORTINT; wDefault*: SHORTINT; END; PtrDEVNAMES* = POINTER TO DEVNAMES; PAGEPAINTHOOK* = PROCEDURE (p0: WinApi.HWND; p1: INTEGER; p2: WinApi.WPARAM; p3: WinApi.LPARAM): INTEGER; PAGESETUPHOOK* = PROCEDURE (p0: WinApi.HWND; p1: INTEGER; p2: WinApi.WPARAM; p3: WinApi.LPARAM): INTEGER; PAGESETUPDLGA* = RECORD [noalign] lStructSize*: INTEGER; hwndOwner*: WinApi.HWND; hDevMode*: WinApi.HGLOBAL; hDevNames*: WinApi.HGLOBAL; Flags*: SET; ptPaperSize*: WinApi.POINT; rtMinMargin*: WinApi.RECT; rtMargin*: WinApi.RECT; hInstance*: WinApi.HINSTANCE; lCustData*: WinApi.LPARAM; lpfnPageSetupHook*: PAGESETUPHOOK; lpfnPagePaintHook*: PAGEPAINTHOOK; lpPageSetupTemplateName*: WinApi.PtrSTR; hPageSetupTemplate*: WinApi.HGLOBAL; END; PtrPAGESETUPDLGA* = POINTER TO PAGESETUPDLGA; PAGESETUPDLGW* = RECORD [noalign] lStructSize*: INTEGER; hwndOwner*: WinApi.HWND; hDevMode*: WinApi.HGLOBAL; hDevNames*: WinApi.HGLOBAL; Flags*: SET; ptPaperSize*: WinApi.POINT; rtMinMargin*: WinApi.RECT; rtMargin*: WinApi.RECT; hInstance*: WinApi.HINSTANCE; lCustData*: WinApi.LPARAM; lpfnPageSetupHook*: PAGESETUPHOOK; lpfnPagePaintHook*: PAGEPAINTHOOK; lpPageSetupTemplateName*: WinApi.PtrWSTR; hPageSetupTemplate*: WinApi.HGLOBAL; END; PtrPAGESETUPDLGW* = POINTER TO PAGESETUPDLGW; PAGESETUPDLG* = PAGESETUPDLGA; PtrPAGESETUPDLG* = PtrPAGESETUPDLGA; PROCEDURE GetOpenFileNameA* (VAR [nil] p0: OPENFILENAMEA): WinApi.BOOL; (*END GetOpenFileNameA;*) PROCEDURE GetOpenFileNameW* (VAR [nil] p0: OPENFILENAMEW): WinApi.BOOL; (*END GetOpenFileNameW;*) PROCEDURE GetOpenFileName* ["GetOpenFileNameA"] (VAR [nil] p0: OPENFILENAMEA): WinApi.BOOL; (*END GetOpenFileName;*) PROCEDURE GetSaveFileNameA* (VAR [nil] p0: OPENFILENAMEA): WinApi.BOOL; (*END GetSaveFileNameA;*) PROCEDURE GetSaveFileNameW* (VAR [nil] p0: OPENFILENAMEW): WinApi.BOOL; (*END GetSaveFileNameW;*) PROCEDURE GetSaveFileName* ["GetSaveFileNameA"] (VAR [nil] p0: OPENFILENAMEA): WinApi.BOOL; (*END GetSaveFileName;*) PROCEDURE GetFileTitleA* (p0: WinApi.PtrSTR; p1: WinApi.PtrSTR; p2: SHORTINT): SHORTINT; (*END GetFileTitleA;*) PROCEDURE GetFileTitleW* (p0: WinApi.PtrWSTR; p1: WinApi.PtrWSTR; p2: SHORTINT): SHORTINT; (*END GetFileTitleW;*) PROCEDURE GetFileTitle* ["GetFileTitleA"] (p0: WinApi.PtrSTR; p1: WinApi.PtrSTR; p2: SHORTINT): SHORTINT; (*END GetFileTitle;*) PROCEDURE ChooseColorA* (VAR [nil] p0: CHOOSECOLORA): WinApi.BOOL; (*END ChooseColorA;*) PROCEDURE ChooseColorW* (VAR [nil] p0: CHOOSECOLORW): WinApi.BOOL; (*END ChooseColorW;*) PROCEDURE ChooseColor* ["ChooseColorA"] (VAR [nil] p0: CHOOSECOLORA): WinApi.BOOL; (*END ChooseColor;*) PROCEDURE FindTextA* (VAR [nil] p0: FINDREPLACEA): WinApi.HWND; (*END FindTextA;*) PROCEDURE FindTextW* (VAR [nil] p0: FINDREPLACEW): WinApi.HWND; (*END FindTextW;*) PROCEDURE FindText* ["FindTextA"] (VAR [nil] p0: FINDREPLACEA): WinApi.HWND; (*END FindText;*) PROCEDURE ReplaceTextA* (VAR [nil] p0: FINDREPLACEA): WinApi.HWND; (*END ReplaceTextA;*) PROCEDURE ReplaceTextW* (VAR [nil] p0: FINDREPLACEW): WinApi.HWND; (*END ReplaceTextW;*) PROCEDURE ReplaceText* ["ReplaceTextA"] (VAR [nil] p0: FINDREPLACEA): WinApi.HWND; (*END ReplaceText;*) PROCEDURE ChooseFontA* (VAR [nil] p0: CHOOSEFONTA): WinApi.BOOL; (*END ChooseFontA;*) PROCEDURE ChooseFontW* (VAR [nil] p0: CHOOSEFONTW): WinApi.BOOL; (*END ChooseFontW;*) PROCEDURE ChooseFont* ["ChooseFontA"] (VAR [nil] p0: CHOOSEFONTA): WinApi.BOOL; (*END ChooseFont;*) PROCEDURE PrintDlgA* (VAR [nil] p0: PRINTDLGA): WinApi.BOOL; (*END PrintDlgA;*) PROCEDURE PrintDlgW* (VAR [nil] p0: PRINTDLGW): WinApi.BOOL; (*END PrintDlgW;*) PROCEDURE PrintDlg* ["PrintDlgA"] (VAR [nil] p0: PRINTDLGA): WinApi.BOOL; (*END PrintDlg;*) PROCEDURE CommDlgExtendedError* (): INTEGER; (*END CommDlgExtendedError;*) PROCEDURE PageSetupDlgA* (VAR [nil] p0: PAGESETUPDLGA): WinApi.BOOL; (*END PageSetupDlgA;*) PROCEDURE PageSetupDlgW* (VAR [nil] p0: PAGESETUPDLGW): WinApi.BOOL; (*END PageSetupDlgW;*) PROCEDURE PageSetupDlg* ["PageSetupDlgA"] (VAR [nil] p0: PAGESETUPDLGA): WinApi.BOOL; (*END PageSetupDlg;*) END WinDlg.
Win/Mod/Dlg.odc
MODULE WinGL ["Opengl32.dll"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) CONST (* macros *) GL_VERSION_1_1* = 1; GL_ACCUM* = 256; GL_LOAD* = 257; GL_RETURN* = 258; GL_MULT* = 259; GL_ADD* = 260; GL_NEVER* = 512; GL_LESS* = 513; GL_EQUAL* = 514; GL_LEQUAL* = 515; GL_GREATER* = 516; GL_NOTEQUAL* = 517; GL_GEQUAL* = 518; GL_ALWAYS* = 519; GL_CURRENT_BIT* = 1; GL_POINT_BIT* = 2; GL_LINE_BIT* = 4; GL_POLYGON_BIT* = 8; GL_POLYGON_STIPPLE_BIT* = 16; GL_PIXEL_MODE_BIT* = 32; GL_LIGHTING_BIT* = 64; GL_FOG_BIT* = 128; GL_DEPTH_BUFFER_BIT* = 256; GL_ACCUM_BUFFER_BIT* = 512; GL_STENCIL_BUFFER_BIT* = 1024; GL_VIEWPORT_BIT* = 2048; GL_TRANSFORM_BIT* = 4096; GL_ENABLE_BIT* = 8192; GL_COLOR_BUFFER_BIT* = 16384; GL_HINT_BIT* = 32768; GL_EVAL_BIT* = 65536; GL_LIST_BIT* = 131072; GL_TEXTURE_BIT* = 262144; GL_SCISSOR_BIT* = 524288; GL_ALL_ATTRIB_BITS* = 1048575; GL_POINTS* = 0; GL_LINES* = 1; GL_LINE_LOOP* = 2; GL_LINE_STRIP* = 3; GL_TRIANGLES* = 4; GL_TRIANGLE_STRIP* = 5; GL_TRIANGLE_FAN* = 6; GL_QUADS* = 7; GL_QUAD_STRIP* = 8; GL_POLYGON* = 9; GL_ZERO* = 0; GL_ONE* = 1; GL_SRC_COLOR* = 768; GL_ONE_MINUS_SRC_COLOR* = 769; GL_SRC_ALPHA* = 770; GL_ONE_MINUS_SRC_ALPHA* = 771; GL_DST_ALPHA* = 772; GL_ONE_MINUS_DST_ALPHA* = 773; GL_DST_COLOR* = 774; GL_ONE_MINUS_DST_COLOR* = 775; GL_SRC_ALPHA_SATURATE* = 776; GL_TRUE* = 1; GL_FALSE* = 0; GL_CLIP_PLANE0* = 12288; GL_CLIP_PLANE1* = 12289; GL_CLIP_PLANE2* = 12290; GL_CLIP_PLANE3* = 12291; GL_CLIP_PLANE4* = 12292; GL_CLIP_PLANE5* = 12293; GL_BYTE* = 5120; GL_UNSIGNED_BYTE* = 5121; GL_SHORT* = 5122; GL_UNSIGNED_SHORT* = 5123; GL_INT* = 5124; GL_UNSIGNED_INT* = 5125; GL_FLOAT* = 5126; GL_2_BYTES* = 5127; GL_3_BYTES* = 5128; GL_4_BYTES* = 5129; GL_DOUBLE* = 5130; GL_NONE* = 0; GL_FRONT_LEFT* = 1024; GL_FRONT_RIGHT* = 1025; GL_BACK_LEFT* = 1026; GL_BACK_RIGHT* = 1027; GL_FRONT* = 1028; GL_BACK* = 1029; GL_LEFT* = 1030; GL_RIGHT* = 1031; GL_FRONT_AND_BACK* = 1032; GL_AUX0* = 1033; GL_AUX1* = 1034; GL_AUX2* = 1035; GL_AUX3* = 1036; GL_NO_ERROR* = 0; GL_INVALID_ENUM* = 1280; GL_INVALID_VALUE* = 1281; GL_INVALID_OPERATION* = 1282; GL_STACK_OVERFLOW* = 1283; GL_STACK_UNDERFLOW* = 1284; GL_OUT_OF_MEMORY* = 1285; GL_2D* = 1536; GL_3D* = 1537; GL_3D_COLOR* = 1538; GL_3D_COLOR_TEXTURE* = 1539; GL_4D_COLOR_TEXTURE* = 1540; GL_PASS_THROUGH_TOKEN* = 1792; GL_POINT_TOKEN* = 1793; GL_LINE_TOKEN* = 1794; GL_POLYGON_TOKEN* = 1795; GL_BITMAP_TOKEN* = 1796; GL_DRAW_PIXEL_TOKEN* = 1797; GL_COPY_PIXEL_TOKEN* = 1798; GL_LINE_RESET_TOKEN* = 1799; GL_EXP* = 2048; GL_EXP2* = 2049; GL_CW* = 2304; GL_CCW* = 2305; GL_COEFF* = 2560; GL_ORDER* = 2561; GL_DOMAIN* = 2562; GL_CURRENT_COLOR* = 2816; GL_CURRENT_INDEX* = 2817; GL_CURRENT_NORMAL* = 2818; GL_CURRENT_TEXTURE_COORDS* = 2819; GL_CURRENT_RASTER_COLOR* = 2820; GL_CURRENT_RASTER_INDEX* = 2821; GL_CURRENT_RASTER_TEXTURE_COORDS* = 2822; GL_CURRENT_RASTER_POSITION* = 2823; GL_CURRENT_RASTER_POSITION_VALID* = 2824; GL_CURRENT_RASTER_DISTANCE* = 2825; GL_POINT_SMOOTH* = 2832; GL_POINT_SIZE* = 2833; GL_POINT_SIZE_RANGE* = 2834; GL_POINT_SIZE_GRANULARITY* = 2835; GL_LINE_SMOOTH* = 2848; GL_LINE_WIDTH* = 2849; GL_LINE_WIDTH_RANGE* = 2850; GL_LINE_WIDTH_GRANULARITY* = 2851; GL_LINE_STIPPLE* = 2852; GL_LINE_STIPPLE_PATTERN* = 2853; GL_LINE_STIPPLE_REPEAT* = 2854; GL_LIST_MODE* = 2864; GL_MAX_LIST_NESTING* = 2865; GL_LIST_BASE* = 2866; GL_LIST_INDEX* = 2867; GL_POLYGON_MODE* = 2880; GL_POLYGON_SMOOTH* = 2881; GL_POLYGON_STIPPLE* = 2882; GL_EDGE_FLAG* = 2883; GL_CULL_FACE* = 2884; GL_CULL_FACE_MODE* = 2885; GL_FRONT_FACE* = 2886; GL_LIGHTING* = 2896; GL_LIGHT_MODEL_LOCAL_VIEWER* = 2897; GL_LIGHT_MODEL_TWO_SIDE* = 2898; GL_LIGHT_MODEL_AMBIENT* = 2899; GL_SHADE_MODEL* = 2900; GL_COLOR_MATERIAL_FACE* = 2901; GL_COLOR_MATERIAL_PARAMETER* = 2902; GL_COLOR_MATERIAL* = 2903; GL_FOG* = 2912; GL_FOG_INDEX* = 2913; GL_FOG_DENSITY* = 2914; GL_FOG_START* = 2915; GL_FOG_END* = 2916; GL_FOG_MODE* = 2917; GL_FOG_COLOR* = 2918; GL_DEPTH_RANGE* = 2928; GL_DEPTH_TEST* = 2929; GL_DEPTH_WRITEMASK* = 2930; GL_DEPTH_CLEAR_VALUE* = 2931; GL_DEPTH_FUNC* = 2932; GL_ACCUM_CLEAR_VALUE* = 2944; GL_STENCIL_TEST* = 2960; GL_STENCIL_CLEAR_VALUE* = 2961; GL_STENCIL_FUNC* = 2962; GL_STENCIL_VALUE_MASK* = 2963; GL_STENCIL_FAIL* = 2964; GL_STENCIL_PASS_DEPTH_FAIL* = 2965; GL_STENCIL_PASS_DEPTH_PASS* = 2966; GL_STENCIL_REF* = 2967; GL_STENCIL_WRITEMASK* = 2968; GL_MATRIX_MODE* = 2976; GL_NORMALIZE* = 2977; GL_VIEWPORT* = 2978; GL_MODELVIEW_STACK_DEPTH* = 2979; GL_PROJECTION_STACK_DEPTH* = 2980; GL_TEXTURE_STACK_DEPTH* = 2981; GL_MODELVIEW_MATRIX* = 2982; GL_PROJECTION_MATRIX* = 2983; GL_TEXTURE_MATRIX* = 2984; GL_ATTRIB_STACK_DEPTH* = 2992; GL_CLIENT_ATTRIB_STACK_DEPTH* = 2993; GL_ALPHA_TEST* = 3008; GL_ALPHA_TEST_FUNC* = 3009; GL_ALPHA_TEST_REF* = 3010; GL_DITHER* = 3024; GL_BLEND_DST* = 3040; GL_BLEND_SRC* = 3041; GL_BLEND* = 3042; GL_LOGIC_OP_MODE* = 3056; GL_INDEX_LOGIC_OP* = 3057; GL_COLOR_LOGIC_OP* = 3058; GL_AUX_BUFFERS* = 3072; GL_DRAW_BUFFER* = 3073; GL_READ_BUFFER* = 3074; GL_SCISSOR_BOX* = 3088; GL_SCISSOR_TEST* = 3089; GL_INDEX_CLEAR_VALUE* = 3104; GL_INDEX_WRITEMASK* = 3105; GL_COLOR_CLEAR_VALUE* = 3106; GL_COLOR_WRITEMASK* = 3107; GL_INDEX_MODE* = 3120; GL_RGBA_MODE* = 3121; GL_DOUBLEBUFFER* = 3122; GL_STEREO* = 3123; GL_RENDER_MODE* = 3136; GL_PERSPECTIVE_CORRECTION_HINT* = 3152; GL_POINT_SMOOTH_HINT* = 3153; GL_LINE_SMOOTH_HINT* = 3154; GL_POLYGON_SMOOTH_HINT* = 3155; GL_FOG_HINT* = 3156; GL_TEXTURE_GEN_S* = 3168; GL_TEXTURE_GEN_T* = 3169; GL_TEXTURE_GEN_R* = 3170; GL_TEXTURE_GEN_Q* = 3171; GL_PIXEL_MAP_I_TO_I* = 3184; GL_PIXEL_MAP_S_TO_S* = 3185; GL_PIXEL_MAP_I_TO_R* = 3186; GL_PIXEL_MAP_I_TO_G* = 3187; GL_PIXEL_MAP_I_TO_B* = 3188; GL_PIXEL_MAP_I_TO_A* = 3189; GL_PIXEL_MAP_R_TO_R* = 3190; GL_PIXEL_MAP_G_TO_G* = 3191; GL_PIXEL_MAP_B_TO_B* = 3192; GL_PIXEL_MAP_A_TO_A* = 3193; GL_PIXEL_MAP_I_TO_I_SIZE* = 3248; GL_PIXEL_MAP_S_TO_S_SIZE* = 3249; GL_PIXEL_MAP_I_TO_R_SIZE* = 3250; GL_PIXEL_MAP_I_TO_G_SIZE* = 3251; GL_PIXEL_MAP_I_TO_B_SIZE* = 3252; GL_PIXEL_MAP_I_TO_A_SIZE* = 3253; GL_PIXEL_MAP_R_TO_R_SIZE* = 3254; GL_PIXEL_MAP_G_TO_G_SIZE* = 3255; GL_PIXEL_MAP_B_TO_B_SIZE* = 3256; GL_PIXEL_MAP_A_TO_A_SIZE* = 3257; GL_UNPACK_SWAP_BYTES* = 3312; GL_UNPACK_LSB_FIRST* = 3313; GL_UNPACK_ROW_LENGTH* = 3314; GL_UNPACK_SKIP_ROWS* = 3315; GL_UNPACK_SKIP_PIXELS* = 3316; GL_UNPACK_ALIGNMENT* = 3317; GL_PACK_SWAP_BYTES* = 3328; GL_PACK_LSB_FIRST* = 3329; GL_PACK_ROW_LENGTH* = 3330; GL_PACK_SKIP_ROWS* = 3331; GL_PACK_SKIP_PIXELS* = 3332; GL_PACK_ALIGNMENT* = 3333; GL_MAP_COLOR* = 3344; GL_MAP_STENCIL* = 3345; GL_INDEX_SHIFT* = 3346; GL_INDEX_OFFSET* = 3347; GL_RED_SCALE* = 3348; GL_RED_BIAS* = 3349; GL_ZOOM_X* = 3350; GL_ZOOM_Y* = 3351; GL_GREEN_SCALE* = 3352; GL_GREEN_BIAS* = 3353; GL_BLUE_SCALE* = 3354; GL_BLUE_BIAS* = 3355; GL_ALPHA_SCALE* = 3356; GL_ALPHA_BIAS* = 3357; GL_DEPTH_SCALE* = 3358; GL_DEPTH_BIAS* = 3359; GL_MAX_EVAL_ORDER* = 3376; GL_MAX_LIGHTS* = 3377; GL_MAX_CLIP_PLANES* = 3378; GL_MAX_TEXTURE_SIZE* = 3379; GL_MAX_PIXEL_MAP_TABLE* = 3380; GL_MAX_ATTRIB_STACK_DEPTH* = 3381; GL_MAX_MODELVIEW_STACK_DEPTH* = 3382; GL_MAX_NAME_STACK_DEPTH* = 3383; GL_MAX_PROJECTION_STACK_DEPTH* = 3384; GL_MAX_TEXTURE_STACK_DEPTH* = 3385; GL_MAX_VIEWPORT_DIMS* = 3386; GL_MAX_CLIENT_ATTRIB_STACK_DEPTH* = 3387; GL_SUBPIXEL_BITS* = 3408; GL_INDEX_BITS* = 3409; GL_RED_BITS* = 3410; GL_GREEN_BITS* = 3411; GL_BLUE_BITS* = 3412; GL_ALPHA_BITS* = 3413; GL_DEPTH_BITS* = 3414; GL_STENCIL_BITS* = 3415; GL_ACCUM_RED_BITS* = 3416; GL_ACCUM_GREEN_BITS* = 3417; GL_ACCUM_BLUE_BITS* = 3418; GL_ACCUM_ALPHA_BITS* = 3419; GL_NAME_STACK_DEPTH* = 3440; GL_AUTO_NORMAL* = 3456; GL_MAP1_COLOR_4* = 3472; GL_MAP1_INDEX* = 3473; GL_MAP1_NORMAL* = 3474; GL_MAP1_TEXTURE_COORD_1* = 3475; GL_MAP1_TEXTURE_COORD_2* = 3476; GL_MAP1_TEXTURE_COORD_3* = 3477; GL_MAP1_TEXTURE_COORD_4* = 3478; GL_MAP1_VERTEX_3* = 3479; GL_MAP1_VERTEX_4* = 3480; GL_MAP2_COLOR_4* = 3504; GL_MAP2_INDEX* = 3505; GL_MAP2_NORMAL* = 3506; GL_MAP2_TEXTURE_COORD_1* = 3507; GL_MAP2_TEXTURE_COORD_2* = 3508; GL_MAP2_TEXTURE_COORD_3* = 3509; GL_MAP2_TEXTURE_COORD_4* = 3510; GL_MAP2_VERTEX_3* = 3511; GL_MAP2_VERTEX_4* = 3512; GL_MAP1_GRID_DOMAIN* = 3536; GL_MAP1_GRID_SEGMENTS* = 3537; GL_MAP2_GRID_DOMAIN* = 3538; GL_MAP2_GRID_SEGMENTS* = 3539; GL_TEXTURE_1D* = 3552; GL_TEXTURE_2D* = 3553; GL_FEEDBACK_BUFFER_POINTER* = 3568; GL_FEEDBACK_BUFFER_SIZE* = 3569; GL_FEEDBACK_BUFFER_TYPE* = 3570; GL_SELECTION_BUFFER_POINTER* = 3571; GL_SELECTION_BUFFER_SIZE* = 3572; GL_TEXTURE_WIDTH* = 4096; GL_TEXTURE_HEIGHT* = 4097; GL_TEXTURE_INTERNAL_FORMAT* = 4099; GL_TEXTURE_BORDER_COLOR* = 4100; GL_TEXTURE_BORDER* = 4101; GL_DONT_CARE* = 4352; GL_FASTEST* = 4353; GL_NICEST* = 4354; GL_LIGHT0* = 16384; GL_LIGHT1* = 16385; GL_LIGHT2* = 16386; GL_LIGHT3* = 16387; GL_LIGHT4* = 16388; GL_LIGHT5* = 16389; GL_LIGHT6* = 16390; GL_LIGHT7* = 16391; GL_AMBIENT* = 4608; GL_DIFFUSE* = 4609; GL_SPECULAR* = 4610; GL_POSITION* = 4611; GL_SPOT_DIRECTION* = 4612; GL_SPOT_EXPONENT* = 4613; GL_SPOT_CUTOFF* = 4614; GL_CONSTANT_ATTENUATION* = 4615; GL_LINEAR_ATTENUATION* = 4616; GL_QUADRATIC_ATTENUATION* = 4617; GL_COMPILE* = 4864; GL_COMPILE_AND_EXECUTE* = 4865; GL_CLEAR* = 5376; GL_AND* = 5377; GL_AND_REVERSE* = 5378; GL_COPY* = 5379; GL_AND_INVERTED* = 5380; GL_NOOP* = 5381; GL_XOR* = 5382; GL_OR* = 5383; GL_NOR* = 5384; GL_EQUIV* = 5385; GL_INVERT* = 5386; GL_OR_REVERSE* = 5387; GL_COPY_INVERTED* = 5388; GL_OR_INVERTED* = 5389; GL_NAND* = 5390; GL_SET* = 5391; GL_EMISSION* = 5632; GL_SHININESS* = 5633; GL_AMBIENT_AND_DIFFUSE* = 5634; GL_COLOR_INDEXES* = 5635; GL_MODELVIEW* = 5888; GL_PROJECTION* = 5889; GL_TEXTURE* = 5890; GL_COLOR* = 6144; GL_DEPTH* = 6145; GL_STENCIL* = 6146; GL_COLOR_INDEX* = 6400; GL_STENCIL_INDEX* = 6401; GL_DEPTH_COMPONENT* = 6402; GL_RED* = 6403; GL_GREEN* = 6404; GL_BLUE* = 6405; GL_ALPHA* = 6406; GL_RGB* = 6407; GL_RGBA* = 6408; GL_LUMINANCE* = 6409; GL_LUMINANCE_ALPHA* = 6410; GL_BITMAP* = 6656; GL_POINT* = 6912; GL_LINE* = 6913; GL_FILL* = 6914; GL_RENDER* = 7168; GL_FEEDBACK* = 7169; GL_SELECT* = 7170; GL_FLAT* = 7424; GL_SMOOTH* = 7425; GL_KEEP* = 7680; GL_REPLACE* = 7681; GL_INCR* = 7682; GL_DECR* = 7683; GL_VENDOR* = 7936; GL_RENDERER* = 7937; GL_VERSION* = 7938; GL_EXTENSIONS* = 7939; GL_S* = 8192; GL_T* = 8193; GL_R* = 8194; GL_Q* = 8195; GL_MODULATE* = 8448; GL_DECAL* = 8449; GL_TEXTURE_ENV_MODE* = 8704; GL_TEXTURE_ENV_COLOR* = 8705; GL_TEXTURE_ENV* = 8960; GL_EYE_LINEAR* = 9216; GL_OBJECT_LINEAR* = 9217; GL_SPHERE_MAP* = 9218; GL_TEXTURE_GEN_MODE* = 9472; GL_OBJECT_PLANE* = 9473; GL_EYE_PLANE* = 9474; GL_NEAREST* = 9728; GL_LINEAR* = 9729; GL_NEAREST_MIPMAP_NEAREST* = 9984; GL_LINEAR_MIPMAP_NEAREST* = 9985; GL_NEAREST_MIPMAP_LINEAR* = 9986; GL_LINEAR_MIPMAP_LINEAR* = 9987; GL_TEXTURE_MAG_FILTER* = 10240; GL_TEXTURE_MIN_FILTER* = 10241; GL_TEXTURE_WRAP_S* = 10242; GL_TEXTURE_WRAP_T* = 10243; GL_CLAMP* = 10496; GL_REPEAT* = 10497; GL_CLIENT_PIXEL_STORE_BIT* = 1; GL_CLIENT_VERTEX_ARRAY_BIT* = 2; GL_CLIENT_ALL_ATTRIB_BITS* = -1; GL_POLYGON_OFFSET_FACTOR* = 32824; GL_POLYGON_OFFSET_UNITS* = 10752; GL_POLYGON_OFFSET_POINT* = 10753; GL_POLYGON_OFFSET_LINE* = 10754; GL_POLYGON_OFFSET_FILL* = 32823; GL_ALPHA4* = 32827; GL_ALPHA8* = 32828; GL_ALPHA12* = 32829; GL_ALPHA16* = 32830; GL_LUMINANCE4* = 32831; GL_LUMINANCE8* = 32832; GL_LUMINANCE12* = 32833; GL_LUMINANCE16* = 32834; GL_LUMINANCE4_ALPHA4* = 32835; GL_LUMINANCE6_ALPHA2* = 32836; GL_LUMINANCE8_ALPHA8* = 32837; GL_LUMINANCE12_ALPHA4* = 32838; GL_LUMINANCE12_ALPHA12* = 32839; GL_LUMINANCE16_ALPHA16* = 32840; GL_INTENSITY* = 32841; GL_INTENSITY4* = 32842; GL_INTENSITY8* = 32843; GL_INTENSITY12* = 32844; GL_INTENSITY16* = 32845; GL_R3_G3_B2* = 10768; GL_RGB4* = 32847; GL_RGB5* = 32848; GL_RGB8* = 32849; GL_RGB10* = 32850; GL_RGB12* = 32851; GL_RGB16* = 32852; GL_RGBA2* = 32853; GL_RGBA4* = 32854; GL_RGB5_A1* = 32855; GL_RGBA8* = 32856; GL_RGB10_A2* = 32857; GL_RGBA12* = 32858; GL_RGBA16* = 32859; GL_TEXTURE_RED_SIZE* = 32860; GL_TEXTURE_GREEN_SIZE* = 32861; GL_TEXTURE_BLUE_SIZE* = 32862; GL_TEXTURE_ALPHA_SIZE* = 32863; GL_TEXTURE_LUMINANCE_SIZE* = 32864; GL_TEXTURE_INTENSITY_SIZE* = 32865; GL_PROXY_TEXTURE_1D* = 32867; GL_PROXY_TEXTURE_2D* = 32868; GL_TEXTURE_PRIORITY* = 32870; GL_TEXTURE_RESIDENT* = 32871; GL_TEXTURE_BINDING_1D* = 32872; GL_TEXTURE_BINDING_2D* = 32873; GL_VERTEX_ARRAY* = 32884; GL_NORMAL_ARRAY* = 32885; GL_COLOR_ARRAY* = 32886; GL_INDEX_ARRAY* = 32887; GL_TEXTURE_COORD_ARRAY* = 32888; GL_EDGE_FLAG_ARRAY* = 32889; GL_VERTEX_ARRAY_SIZE* = 32890; GL_VERTEX_ARRAY_TYPE* = 32891; GL_VERTEX_ARRAY_STRIDE* = 32892; GL_NORMAL_ARRAY_TYPE* = 32894; GL_NORMAL_ARRAY_STRIDE* = 32895; GL_COLOR_ARRAY_SIZE* = 32897; GL_COLOR_ARRAY_TYPE* = 32898; GL_COLOR_ARRAY_STRIDE* = 32899; GL_INDEX_ARRAY_TYPE* = 32901; GL_INDEX_ARRAY_STRIDE* = 32902; GL_TEXTURE_COORD_ARRAY_SIZE* = 32904; GL_TEXTURE_COORD_ARRAY_TYPE* = 32905; GL_TEXTURE_COORD_ARRAY_STRIDE* = 32906; GL_EDGE_FLAG_ARRAY_STRIDE* = 32908; GL_VERTEX_ARRAY_POINTER* = 32910; GL_NORMAL_ARRAY_POINTER* = 32911; GL_COLOR_ARRAY_POINTER* = 32912; GL_INDEX_ARRAY_POINTER* = 32913; GL_TEXTURE_COORD_ARRAY_POINTER* = 32914; GL_EDGE_FLAG_ARRAY_POINTER* = 32915; GL_V2F* = 10784; GL_V3F* = 10785; GL_C4UB_V2F* = 10786; GL_C4UB_V3F* = 10787; GL_C3F_V3F* = 10788; GL_N3F_V3F* = 10789; GL_C4F_N3F_V3F* = 10790; GL_T2F_V3F* = 10791; GL_T4F_V4F* = 10792; GL_T2F_C4UB_V3F* = 10793; GL_T2F_C3F_V3F* = 10794; GL_T2F_N3F_V3F* = 10795; GL_T2F_C4F_N3F_V3F* = 10796; GL_T4F_C4F_N3F_V4F* = 10797; GL_EXT_vertex_array* = 1; GL_WIN_swap_hint* = 1; GL_EXT_bgra* = 1; GL_EXT_paletted_texture* = 1; GL_VERTEX_ARRAY_EXT* = 32884; GL_NORMAL_ARRAY_EXT* = 32885; GL_COLOR_ARRAY_EXT* = 32886; GL_INDEX_ARRAY_EXT* = 32887; GL_TEXTURE_COORD_ARRAY_EXT* = 32888; GL_EDGE_FLAG_ARRAY_EXT* = 32889; GL_VERTEX_ARRAY_SIZE_EXT* = 32890; GL_VERTEX_ARRAY_TYPE_EXT* = 32891; GL_VERTEX_ARRAY_STRIDE_EXT* = 32892; GL_VERTEX_ARRAY_COUNT_EXT* = 32893; GL_NORMAL_ARRAY_TYPE_EXT* = 32894; GL_NORMAL_ARRAY_STRIDE_EXT* = 32895; GL_NORMAL_ARRAY_COUNT_EXT* = 32896; GL_COLOR_ARRAY_SIZE_EXT* = 32897; GL_COLOR_ARRAY_TYPE_EXT* = 32898; GL_COLOR_ARRAY_STRIDE_EXT* = 32899; GL_COLOR_ARRAY_COUNT_EXT* = 32900; GL_INDEX_ARRAY_TYPE_EXT* = 32901; GL_INDEX_ARRAY_STRIDE_EXT* = 32902; GL_INDEX_ARRAY_COUNT_EXT* = 32903; GL_TEXTURE_COORD_ARRAY_SIZE_EXT* = 32904; GL_TEXTURE_COORD_ARRAY_TYPE_EXT* = 32905; GL_TEXTURE_COORD_ARRAY_STRIDE_EXT* = 32906; GL_TEXTURE_COORD_ARRAY_COUNT_EXT* = 32907; GL_EDGE_FLAG_ARRAY_STRIDE_EXT* = 32908; GL_EDGE_FLAG_ARRAY_COUNT_EXT* = 32909; GL_VERTEX_ARRAY_POINTER_EXT* = 32910; GL_NORMAL_ARRAY_POINTER_EXT* = 32911; GL_COLOR_ARRAY_POINTER_EXT* = 32912; GL_INDEX_ARRAY_POINTER_EXT* = 32913; GL_TEXTURE_COORD_ARRAY_POINTER_EXT* = 32914; GL_EDGE_FLAG_ARRAY_POINTER_EXT* = 32915; GL_DOUBLE_EXT* = 5130; GL_BGR_EXT* = 32992; GL_BGRA_EXT* = 32993; GL_COLOR_TABLE_FORMAT_EXT* = 32984; GL_COLOR_TABLE_WIDTH_EXT* = 32985; GL_COLOR_TABLE_RED_SIZE_EXT* = 32986; GL_COLOR_TABLE_GREEN_SIZE_EXT* = 32987; GL_COLOR_TABLE_BLUE_SIZE_EXT* = 32988; GL_COLOR_TABLE_ALPHA_SIZE_EXT* = 32989; GL_COLOR_TABLE_LUMINANCE_SIZE_EXT* = 32990; GL_COLOR_TABLE_INTENSITY_SIZE_EXT* = 32991; GL_COLOR_INDEX1_EXT* = 32994; GL_COLOR_INDEX2_EXT* = 32995; GL_COLOR_INDEX4_EXT* = 32996; GL_COLOR_INDEX8_EXT* = 32997; GL_COLOR_INDEX12_EXT* = 32998; GL_COLOR_INDEX16_EXT* = 32999; GL_LOGIC_OP* = 3057; GL_TEXTURE_COMPONENTS* = 4099; CONST (* enumerations *) TYPE PtrSTR* = POINTER TO ARRAY [untagged] OF SHORTCHAR; GLenum* = INTEGER; GLboolean* = BOOLEAN; GLbitfield* = INTEGER; GLbyte* = BYTE; GLshort* = SHORTINT; GLint* = INTEGER; GLsizei* = INTEGER; GLubyte* = SHORTCHAR; GLushort* = SHORTINT; GLuint* = INTEGER; GLfloat* = SHORTREAL; GLclampf* = SHORTREAL; GLdouble* = REAL; GLclampd* = REAL; PtrGLvoid* = INTEGER; FNGLARRAYELEMENTEXTPROC* = PROCEDURE (i: GLint); FNGLDRAWARRAYSEXTPROC* = PROCEDURE (mode: GLenum; first: GLint; count: GLsizei); FNGLVERTEXPOINTEREXTPROC* = PROCEDURE (size: GLint; type: GLenum; stride: GLsizei; count: GLsizei; pointer: PtrGLvoid); FNGLNORMALPOINTEREXTPROC* = PROCEDURE (type: GLenum; stride: GLsizei; count: GLsizei; pointer: PtrGLvoid); FNGLCOLORPOINTEREXTPROC* = PROCEDURE (size: GLint; type: GLenum; stride: GLsizei; count: GLsizei; pointer: PtrGLvoid); FNGLINDEXPOINTEREXTPROC* = PROCEDURE (type: GLenum; stride: GLsizei; count: GLsizei; pointer: PtrGLvoid); FNGLTEXCOORDPOINTEREXTPROC* = PROCEDURE (size: GLint; type: GLenum; stride: GLsizei; count: GLsizei; pointer: PtrGLvoid); FNGLEDGEFLAGPOINTEREXTPROC* = PROCEDURE (stride: GLsizei; count: GLsizei; pointer: PtrSTR); FNGLGETPOINTERVEXTPROC* = PROCEDURE (pname: GLenum; VAR [nil] params: PtrGLvoid); FNGLARRAYELEMENTARRAYEXTPROC* = PROCEDURE (mode: GLenum; count: GLsizei; pi: PtrGLvoid); FNGLADDSWAPHINTRECTWINPROC* = PROCEDURE (x: GLint; y: GLint; width: GLsizei; height: GLsizei); FNGLCOLORTABLEEXTPROC* = PROCEDURE (target: GLenum; internalFormat: GLenum; width: GLsizei; format: GLenum; type: GLenum; data: PtrGLvoid); FNGLCOLORSUBTABLEEXTPROC* = PROCEDURE (target: GLenum; start: GLsizei; count: GLsizei; format: GLenum; type: GLenum; data: PtrGLvoid); FNGLGETCOLORTABLEEXTPROC* = PROCEDURE (target: GLenum; format: GLenum; type: GLenum; data: PtrGLvoid); FNGLGETCOLORTABLEPARAMETERIVEXTPROC* = PROCEDURE (target: GLenum; pname: GLenum; VAR [nil] params: GLint); FNGLGETCOLORTABLEPARAMETERFVEXTPROC* = PROCEDURE (target: GLenum; pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glAccum* (op: GLenum; value: GLfloat); PROCEDURE glAlphaFunc* (func: GLenum; ref: GLclampf); PROCEDURE glAreTexturesResident* (n: GLsizei; VAR [nil] textures: GLuint; residences: PtrSTR): GLboolean; PROCEDURE glArrayElement* (i: GLint); PROCEDURE glBegin* (mode: GLenum); PROCEDURE glBindTexture* (target: GLenum; texture: GLuint); PROCEDURE glBitmap* (width: GLsizei; height: GLsizei; xorig: GLfloat; yorig: GLfloat; xmove: GLfloat; ymove: GLfloat; bitmap: PtrSTR); PROCEDURE glBlendFunc* (sfactor: GLenum; dfactor: GLenum); PROCEDURE glCallList* (list: GLuint); PROCEDURE glCallLists* (n: GLsizei; type: GLenum; lists: PtrGLvoid); PROCEDURE glClear* (mask: GLbitfield); PROCEDURE glClearAccum* (red: GLfloat; green: GLfloat; blue: GLfloat; alpha: GLfloat); PROCEDURE glClearColor* (red: GLclampf; green: GLclampf; blue: GLclampf; alpha: GLclampf); PROCEDURE glClearDepth* (depth: GLclampd); PROCEDURE glClearIndex* (c: GLfloat); PROCEDURE glClearStencil* (s: GLint); PROCEDURE glClipPlane* (plane: GLenum; VAR [nil] equation: GLdouble); PROCEDURE glColor3b* (red: GLbyte; green: GLbyte; blue: GLbyte); PROCEDURE glColor3bv* (VAR [nil] v: GLbyte); PROCEDURE glColor3d* (red: GLdouble; green: GLdouble; blue: GLdouble); PROCEDURE glColor3dv* (VAR [nil] v: GLdouble); PROCEDURE glColor3f* (red: GLfloat; green: GLfloat; blue: GLfloat); PROCEDURE glColor3fv* (VAR [nil] v: GLfloat); PROCEDURE glColor3i* (red: GLint; green: GLint; blue: GLint); PROCEDURE glColor3iv* (VAR [nil] v: GLint); PROCEDURE glColor3s* (red: GLshort; green: GLshort; blue: GLshort); PROCEDURE glColor3sv* (VAR [nil] v: GLshort); PROCEDURE glColor3ub* (red: GLubyte; green: GLubyte; blue: GLubyte); PROCEDURE glColor3ubv* (VAR [nil] v: GLubyte); PROCEDURE glColor3ui* (red: GLuint; green: GLuint; blue: GLuint); PROCEDURE glColor3uiv* (VAR [nil] v: GLuint); PROCEDURE glColor3us* (red: GLushort; green: GLushort; blue: GLushort); PROCEDURE glColor3usv* (VAR [nil] v: GLushort); PROCEDURE glColor4b* (red: GLbyte; green: GLbyte; blue: GLbyte; alpha: GLbyte); PROCEDURE glColor4bv* (VAR [nil] v: GLbyte); PROCEDURE glColor4d* (red: GLdouble; green: GLdouble; blue: GLdouble; alpha: GLdouble); PROCEDURE glColor4dv* (VAR [nil] v: GLdouble); PROCEDURE glColor4f* (red: GLfloat; green: GLfloat; blue: GLfloat; alpha: GLfloat); PROCEDURE glColor4fv* (VAR [nil] v: GLfloat); PROCEDURE glColor4i* (red: GLint; green: GLint; blue: GLint; alpha: GLint); PROCEDURE glColor4iv* (VAR [nil] v: GLint); PROCEDURE glColor4s* (red: GLshort; green: GLshort; blue: GLshort; alpha: GLshort); PROCEDURE glColor4sv* (VAR [nil] v: GLshort); PROCEDURE glColor4ub* (red: GLubyte; green: GLubyte; blue: GLubyte; alpha: GLubyte); PROCEDURE glColor4ubv* (VAR [nil] v: GLubyte); PROCEDURE glColor4ui* (red: GLuint; green: GLuint; blue: GLuint; alpha: GLuint); PROCEDURE glColor4uiv* (VAR [nil] v: GLuint); PROCEDURE glColor4us* (red: GLushort; green: GLushort; blue: GLushort; alpha: GLushort); PROCEDURE glColor4usv* (VAR [nil] v: GLushort); PROCEDURE glColorMask* (red: GLboolean; green: GLboolean; blue: GLboolean; alpha: GLboolean); PROCEDURE glColorMaterial* (face: GLenum; mode: GLenum); PROCEDURE glColorPointer* (size: GLint; type: GLenum; stride: GLsizei; pointer: PtrGLvoid); PROCEDURE glCopyPixels* (x: GLint; y: GLint; width: GLsizei; height: GLsizei; type: GLenum); PROCEDURE glCopyTexImage1D* (target: GLenum; level: GLint; internalFormat: GLenum; x: GLint; y: GLint; width: GLsizei; border: GLint); PROCEDURE glCopyTexImage2D* (target: GLenum; level: GLint; internalFormat: GLenum; x: GLint; y: GLint; width: GLsizei; height: GLsizei; border: GLint); PROCEDURE glCopyTexSubImage1D* (target: GLenum; level: GLint; xoffset: GLint; x: GLint; y: GLint; width: GLsizei); PROCEDURE glCopyTexSubImage2D* (target: GLenum; level: GLint; xoffset: GLint; yoffset: GLint; x: GLint; y: GLint; width: GLsizei; height: GLsizei); PROCEDURE glCullFace* (mode: GLenum); PROCEDURE glDeleteLists* (list: GLuint; range: GLsizei); PROCEDURE glDeleteTextures* (n: GLsizei; VAR [nil] textures: GLuint); PROCEDURE glDepthFunc* (func: GLenum); PROCEDURE glDepthMask* (flag: GLboolean); PROCEDURE glDepthRange* (zNear: GLclampd; zFar: GLclampd); PROCEDURE glDisable* (cap: GLenum); PROCEDURE glDisableClientState* (array: GLenum); PROCEDURE glDrawArrays* (mode: GLenum; first: GLint; count: GLsizei); PROCEDURE glDrawBuffer* (mode: GLenum); PROCEDURE glDrawElements* (mode: GLenum; count: GLsizei; type: GLenum; indices: PtrGLvoid); PROCEDURE glDrawPixels* (width: GLsizei; height: GLsizei; format: GLenum; type: GLenum; pixels: PtrGLvoid); PROCEDURE glEdgeFlag* (flag: GLboolean); PROCEDURE glEdgeFlagPointer* (stride: GLsizei; pointer: PtrGLvoid); PROCEDURE glEdgeFlagv* (flag: PtrSTR); PROCEDURE glEnable* (cap: GLenum); PROCEDURE glEnableClientState* (array: GLenum); PROCEDURE glEnd* (); PROCEDURE glEndList* (); PROCEDURE glEvalCoord1d* (u: GLdouble); PROCEDURE glEvalCoord1dv* (VAR [nil] u: GLdouble); PROCEDURE glEvalCoord1f* (u: GLfloat); PROCEDURE glEvalCoord1fv* (VAR [nil] u: GLfloat); PROCEDURE glEvalCoord2d* (u: GLdouble; v: GLdouble); PROCEDURE glEvalCoord2dv* (VAR [nil] u: GLdouble); PROCEDURE glEvalCoord2f* (u: GLfloat; v: GLfloat); PROCEDURE glEvalCoord2fv* (VAR [nil] u: GLfloat); PROCEDURE glEvalMesh1* (mode: GLenum; i1: GLint; i2: GLint); PROCEDURE glEvalMesh2* (mode: GLenum; i1: GLint; i2: GLint; j1: GLint; j2: GLint); PROCEDURE glEvalPoint1* (i: GLint); PROCEDURE glEvalPoint2* (i: GLint; j: GLint); PROCEDURE glFeedbackBuffer* (size: GLsizei; type: GLenum; VAR [nil] buffer: GLfloat); PROCEDURE glFinish* (); PROCEDURE glFlush* (); PROCEDURE glFogf* (pname: GLenum; param: GLfloat); PROCEDURE glFogfv* (pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glFogi* (pname: GLenum; param: GLint); PROCEDURE glFogiv* (pname: GLenum; VAR [nil] params: GLint); PROCEDURE glFrontFace* (mode: GLenum); PROCEDURE glFrustum* (left: GLdouble; right: GLdouble; bottom: GLdouble; top: GLdouble; zNear: GLdouble; zFar: GLdouble); PROCEDURE glGenLists* (range: GLsizei): GLuint; PROCEDURE glGenTextures* (n: GLsizei; VAR [nil] textures: GLuint); PROCEDURE glGetBooleanv* (pname: GLenum; params: PtrSTR); PROCEDURE glGetClipPlane* (plane: GLenum; VAR [nil] equation: GLdouble); PROCEDURE glGetDoublev* (pname: GLenum; VAR [nil] params: GLdouble); PROCEDURE glGetError* (): GLenum; PROCEDURE glGetFloatv* (pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glGetIntegerv* (pname: GLenum; VAR [nil] params: GLint); PROCEDURE glGetLightfv* (light: GLenum; pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glGetLightiv* (light: GLenum; pname: GLenum; VAR [nil] params: GLint); PROCEDURE glGetMapdv* (target: GLenum; query: GLenum; VAR [nil] v: GLdouble); PROCEDURE glGetMapfv* (target: GLenum; query: GLenum; VAR [nil] v: GLfloat); PROCEDURE glGetMapiv* (target: GLenum; query: GLenum; VAR [nil] v: GLint); PROCEDURE glGetMaterialfv* (face: GLenum; pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glGetMaterialiv* (face: GLenum; pname: GLenum; VAR [nil] params: GLint); PROCEDURE glGetPixelMapfv* (map: GLenum; VAR [nil] values: GLfloat); PROCEDURE glGetPixelMapuiv* (map: GLenum; VAR [nil] values: GLuint); PROCEDURE glGetPixelMapusv* (map: GLenum; VAR [nil] values: GLushort); PROCEDURE glGetPointerv* (pname: GLenum; VAR [nil] params: PtrGLvoid); PROCEDURE glGetPolygonStipple* (mask: PtrSTR); PROCEDURE glGetString* (name: GLenum): PtrSTR; PROCEDURE glGetTexEnvfv* (target: GLenum; pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glGetTexEnviv* (target: GLenum; pname: GLenum; VAR [nil] params: GLint); PROCEDURE glGetTexGendv* (coord: GLenum; pname: GLenum; VAR [nil] params: GLdouble); PROCEDURE glGetTexGenfv* (coord: GLenum; pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glGetTexGeniv* (coord: GLenum; pname: GLenum; VAR [nil] params: GLint); PROCEDURE glGetTexImage* (target: GLenum; level: GLint; format: GLenum; type: GLenum; pixels: PtrGLvoid); PROCEDURE glGetTexLevelParameterfv* (target: GLenum; level: GLint; pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glGetTexLevelParameteriv* (target: GLenum; level: GLint; pname: GLenum; VAR [nil] params: GLint); PROCEDURE glGetTexParameterfv* (target: GLenum; pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glGetTexParameteriv* (target: GLenum; pname: GLenum; VAR [nil] params: GLint); PROCEDURE glHint* (target: GLenum; mode: GLenum); PROCEDURE glIndexMask* (mask: GLuint); PROCEDURE glIndexPointer* (type: GLenum; stride: GLsizei; pointer: PtrGLvoid); PROCEDURE glIndexd* (c: GLdouble); PROCEDURE glIndexdv* (VAR [nil] c: GLdouble); PROCEDURE glIndexf* (c: GLfloat); PROCEDURE glIndexfv* (VAR [nil] c: GLfloat); PROCEDURE glIndexi* (c: GLint); PROCEDURE glIndexiv* (VAR [nil] c: GLint); PROCEDURE glIndexs* (c: GLshort); PROCEDURE glIndexsv* (VAR [nil] c: GLshort); PROCEDURE glIndexub* (c: GLubyte); PROCEDURE glIndexubv* (VAR [nil] v: GLubyte); PROCEDURE glInitNames* (); PROCEDURE glInterleavedArrays* (format: GLenum; stride: GLsizei; pointer: PtrGLvoid); PROCEDURE glIsEnabled* (cap: GLenum): GLboolean; PROCEDURE glIsList* (list: GLuint): GLboolean; PROCEDURE glIsTexture* (texture: GLuint): GLboolean; PROCEDURE glLightModelf* (pname: GLenum; param: GLfloat); PROCEDURE glLightModelfv* (pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glLightModeli* (pname: GLenum; param: GLint); PROCEDURE glLightModeliv* (pname: GLenum; VAR [nil] params: GLint); PROCEDURE glLightf* (light: GLenum; pname: GLenum; param: GLfloat); PROCEDURE glLightfv* (light: GLenum; pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glLighti* (light: GLenum; pname: GLenum; param: GLint); PROCEDURE glLightiv* (light: GLenum; pname: GLenum; VAR [nil] params: GLint); PROCEDURE glLineStipple* (factor: GLint; pattern: GLushort); PROCEDURE glLineWidth* (width: GLfloat); PROCEDURE glListBase* (base: GLuint); PROCEDURE glLoadIdentity* (); PROCEDURE glLoadMatrixd* (VAR [nil] m: GLdouble); PROCEDURE glLoadMatrixf* (VAR [nil] m: GLfloat); PROCEDURE glLoadName* (name: GLuint); PROCEDURE glLogicOp* (opcode: GLenum); PROCEDURE glMap1d* (target: GLenum; u1: GLdouble; u2: GLdouble; stride: GLint; order: GLint; VAR [nil] points: GLdouble); PROCEDURE glMap1f* (target: GLenum; u1: GLfloat; u2: GLfloat; stride: GLint; order: GLint; VAR [nil] points: GLfloat); PROCEDURE glMap2d* (target: GLenum; u1: GLdouble; u2: GLdouble; ustride: GLint; uorder: GLint; v1: GLdouble; v2: GLdouble; vstride: GLint; vorder: GLint; VAR [nil] points: GLdouble); PROCEDURE glMap2f* (target: GLenum; u1: GLfloat; u2: GLfloat; ustride: GLint; uorder: GLint; v1: GLfloat; v2: GLfloat; vstride: GLint; vorder: GLint; VAR [nil] points: GLfloat); PROCEDURE glMapGrid1d* (un: GLint; u1: GLdouble; u2: GLdouble); PROCEDURE glMapGrid1f* (un: GLint; u1: GLfloat; u2: GLfloat); PROCEDURE glMapGrid2d* (un: GLint; u1: GLdouble; u2: GLdouble; vn: GLint; v1: GLdouble; v2: GLdouble); PROCEDURE glMapGrid2f* (un: GLint; u1: GLfloat; u2: GLfloat; vn: GLint; v1: GLfloat; v2: GLfloat); PROCEDURE glMaterialf* (face: GLenum; pname: GLenum; param: GLfloat); PROCEDURE glMaterialfv* (face: GLenum; pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glMateriali* (face: GLenum; pname: GLenum; param: GLint); PROCEDURE glMaterialiv* (face: GLenum; pname: GLenum; VAR [nil] params: GLint); PROCEDURE glMatrixMode* (mode: GLenum); PROCEDURE glMultMatrixd* (VAR [nil] m: GLdouble); PROCEDURE glMultMatrixf* (VAR [nil] m: GLfloat); PROCEDURE glNewList* (list: GLuint; mode: GLenum); PROCEDURE glNormal3b* (nx: GLbyte; ny: GLbyte; nz: GLbyte); PROCEDURE glNormal3bv* (VAR [nil] v: GLbyte); PROCEDURE glNormal3d* (nx: GLdouble; ny: GLdouble; nz: GLdouble); PROCEDURE glNormal3dv* (VAR [nil] v: GLdouble); PROCEDURE glNormal3f* (nx: GLfloat; ny: GLfloat; nz: GLfloat); PROCEDURE glNormal3fv* (VAR [nil] v: GLfloat); PROCEDURE glNormal3i* (nx: GLint; ny: GLint; nz: GLint); PROCEDURE glNormal3iv* (VAR [nil] v: GLint); PROCEDURE glNormal3s* (nx: GLshort; ny: GLshort; nz: GLshort); PROCEDURE glNormal3sv* (VAR [nil] v: GLshort); PROCEDURE glNormalPointer* (type: GLenum; stride: GLsizei; pointer: PtrGLvoid); PROCEDURE glOrtho* (left: GLdouble; right: GLdouble; bottom: GLdouble; top: GLdouble; zNear: GLdouble; zFar: GLdouble); PROCEDURE glPassThrough* (token: GLfloat); PROCEDURE glPixelMapfv* (map: GLenum; mapsize: GLsizei; VAR [nil] values: GLfloat); PROCEDURE glPixelMapuiv* (map: GLenum; mapsize: GLsizei; VAR [nil] values: GLuint); PROCEDURE glPixelMapusv* (map: GLenum; mapsize: GLsizei; VAR [nil] values: GLushort); PROCEDURE glPixelStoref* (pname: GLenum; param: GLfloat); PROCEDURE glPixelStorei* (pname: GLenum; param: GLint); PROCEDURE glPixelTransferf* (pname: GLenum; param: GLfloat); PROCEDURE glPixelTransferi* (pname: GLenum; param: GLint); PROCEDURE glPixelZoom* (xfactor: GLfloat; yfactor: GLfloat); PROCEDURE glPointSize* (size: GLfloat); PROCEDURE glPolygonMode* (face: GLenum; mode: GLenum); PROCEDURE glPolygonOffset* (factor: GLfloat; units: GLfloat); PROCEDURE glPolygonStipple* (mask: PtrSTR); PROCEDURE glPopAttrib* (); PROCEDURE glPopClientAttrib* (); PROCEDURE glPopMatrix* (); PROCEDURE glPopName* (); PROCEDURE glPrioritizeTextures* (n: GLsizei; VAR [nil] textures: GLuint; VAR [nil] priorities: GLclampf); PROCEDURE glPushAttrib* (mask: GLbitfield); PROCEDURE glPushClientAttrib* (mask: GLbitfield); PROCEDURE glPushMatrix* (); PROCEDURE glPushName* (name: GLuint); PROCEDURE glRasterPos2d* (x: GLdouble; y: GLdouble); PROCEDURE glRasterPos2dv* (VAR [nil] v: GLdouble); PROCEDURE glRasterPos2f* (x: GLfloat; y: GLfloat); PROCEDURE glRasterPos2fv* (VAR [nil] v: GLfloat); PROCEDURE glRasterPos2i* (x: GLint; y: GLint); PROCEDURE glRasterPos2iv* (VAR [nil] v: GLint); PROCEDURE glRasterPos2s* (x: GLshort; y: GLshort); PROCEDURE glRasterPos2sv* (VAR [nil] v: GLshort); PROCEDURE glRasterPos3d* (x: GLdouble; y: GLdouble; z: GLdouble); PROCEDURE glRasterPos3dv* (VAR [nil] v: GLdouble); PROCEDURE glRasterPos3f* (x: GLfloat; y: GLfloat; z: GLfloat); PROCEDURE glRasterPos3fv* (VAR [nil] v: GLfloat); PROCEDURE glRasterPos3i* (x: GLint; y: GLint; z: GLint); PROCEDURE glRasterPos3iv* (VAR [nil] v: GLint); PROCEDURE glRasterPos3s* (x: GLshort; y: GLshort; z: GLshort); PROCEDURE glRasterPos3sv* (VAR [nil] v: GLshort); PROCEDURE glRasterPos4d* (x: GLdouble; y: GLdouble; z: GLdouble; w: GLdouble); PROCEDURE glRasterPos4dv* (VAR [nil] v: GLdouble); PROCEDURE glRasterPos4f* (x: GLfloat; y: GLfloat; z: GLfloat; w: GLfloat); PROCEDURE glRasterPos4fv* (VAR [nil] v: GLfloat); PROCEDURE glRasterPos4i* (x: GLint; y: GLint; z: GLint; w: GLint); PROCEDURE glRasterPos4iv* (VAR [nil] v: GLint); PROCEDURE glRasterPos4s* (x: GLshort; y: GLshort; z: GLshort; w: GLshort); PROCEDURE glRasterPos4sv* (VAR [nil] v: GLshort); PROCEDURE glReadBuffer* (mode: GLenum); PROCEDURE glReadPixels* (x: GLint; y: GLint; width: GLsizei; height: GLsizei; format: GLenum; type: GLenum; pixels: PtrGLvoid); PROCEDURE glRectd* (x1: GLdouble; y1: GLdouble; x2: GLdouble; y2: GLdouble); PROCEDURE glRectdv* (VAR [nil] v1: GLdouble; VAR [nil] v2: GLdouble); PROCEDURE glRectf* (x1: GLfloat; y1: GLfloat; x2: GLfloat; y2: GLfloat); PROCEDURE glRectfv* (VAR [nil] v1: GLfloat; VAR [nil] v2: GLfloat); PROCEDURE glRecti* (x1: GLint; y1: GLint; x2: GLint; y2: GLint); PROCEDURE glRectiv* (VAR [nil] v1: GLint; VAR [nil] v2: GLint); PROCEDURE glRects* (x1: GLshort; y1: GLshort; x2: GLshort; y2: GLshort); PROCEDURE glRectsv* (VAR [nil] v1: GLshort; VAR [nil] v2: GLshort); PROCEDURE glRenderMode* (mode: GLenum): GLint; PROCEDURE glRotated* (angle: GLdouble; x: GLdouble; y: GLdouble; z: GLdouble); PROCEDURE glRotatef* (angle: GLfloat; x: GLfloat; y: GLfloat; z: GLfloat); PROCEDURE glScaled* (x: GLdouble; y: GLdouble; z: GLdouble); PROCEDURE glScalef* (x: GLfloat; y: GLfloat; z: GLfloat); PROCEDURE glScissor* (x: GLint; y: GLint; width: GLsizei; height: GLsizei); PROCEDURE glSelectBuffer* (size: GLsizei; VAR [nil] buffer: GLuint); PROCEDURE glShadeModel* (mode: GLenum); PROCEDURE glStencilFunc* (func: GLenum; ref: GLint; mask: GLuint); PROCEDURE glStencilMask* (mask: GLuint); PROCEDURE glStencilOp* (fail: GLenum; zfail: GLenum; zpass: GLenum); PROCEDURE glTexCoord1d* (s: GLdouble); PROCEDURE glTexCoord1dv* (VAR [nil] v: GLdouble); PROCEDURE glTexCoord1f* (s: GLfloat); PROCEDURE glTexCoord1fv* (VAR [nil] v: GLfloat); PROCEDURE glTexCoord1i* (s: GLint); PROCEDURE glTexCoord1iv* (VAR [nil] v: GLint); PROCEDURE glTexCoord1s* (s: GLshort); PROCEDURE glTexCoord1sv* (VAR [nil] v: GLshort); PROCEDURE glTexCoord2d* (s: GLdouble; t: GLdouble); PROCEDURE glTexCoord2dv* (VAR [nil] v: GLdouble); PROCEDURE glTexCoord2f* (s: GLfloat; t: GLfloat); PROCEDURE glTexCoord2fv* (VAR [nil] v: GLfloat); PROCEDURE glTexCoord2i* (s: GLint; t: GLint); PROCEDURE glTexCoord2iv* (VAR [nil] v: GLint); PROCEDURE glTexCoord2s* (s: GLshort; t: GLshort); PROCEDURE glTexCoord2sv* (VAR [nil] v: GLshort); PROCEDURE glTexCoord3d* (s: GLdouble; t: GLdouble; r: GLdouble); PROCEDURE glTexCoord3dv* (VAR [nil] v: GLdouble); PROCEDURE glTexCoord3f* (s: GLfloat; t: GLfloat; r: GLfloat); PROCEDURE glTexCoord3fv* (VAR [nil] v: GLfloat); PROCEDURE glTexCoord3i* (s: GLint; t: GLint; r: GLint); PROCEDURE glTexCoord3iv* (VAR [nil] v: GLint); PROCEDURE glTexCoord3s* (s: GLshort; t: GLshort; r: GLshort); PROCEDURE glTexCoord3sv* (VAR [nil] v: GLshort); PROCEDURE glTexCoord4d* (s: GLdouble; t: GLdouble; r: GLdouble; q: GLdouble); PROCEDURE glTexCoord4dv* (VAR [nil] v: GLdouble); PROCEDURE glTexCoord4f* (s: GLfloat; t: GLfloat; r: GLfloat; q: GLfloat); PROCEDURE glTexCoord4fv* (VAR [nil] v: GLfloat); PROCEDURE glTexCoord4i* (s: GLint; t: GLint; r: GLint; q: GLint); PROCEDURE glTexCoord4iv* (VAR [nil] v: GLint); PROCEDURE glTexCoord4s* (s: GLshort; t: GLshort; r: GLshort; q: GLshort); PROCEDURE glTexCoord4sv* (VAR [nil] v: GLshort); PROCEDURE glTexCoordPointer* (size: GLint; type: GLenum; stride: GLsizei; pointer: PtrGLvoid); PROCEDURE glTexEnvf* (target: GLenum; pname: GLenum; param: GLfloat); PROCEDURE glTexEnvfv* (target: GLenum; pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glTexEnvi* (target: GLenum; pname: GLenum; param: GLint); PROCEDURE glTexEnviv* (target: GLenum; pname: GLenum; VAR [nil] params: GLint); PROCEDURE glTexGend* (coord: GLenum; pname: GLenum; param: GLdouble); PROCEDURE glTexGendv* (coord: GLenum; pname: GLenum; VAR [nil] params: GLdouble); PROCEDURE glTexGenf* (coord: GLenum; pname: GLenum; param: GLfloat); PROCEDURE glTexGenfv* (coord: GLenum; pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glTexGeni* (coord: GLenum; pname: GLenum; param: GLint); PROCEDURE glTexGeniv* (coord: GLenum; pname: GLenum; VAR [nil] params: GLint); PROCEDURE glTexImage1D* (target: GLenum; level: GLint; internalformat: GLint; width: GLsizei; border: GLint; format: GLenum; type: GLenum; pixels: PtrGLvoid); PROCEDURE glTexImage2D* (target: GLenum; level: GLint; internalformat: GLint; width: GLsizei; height: GLsizei; border: GLint; format: GLenum; type: GLenum; pixels: PtrGLvoid); PROCEDURE glTexParameterf* (target: GLenum; pname: GLenum; param: GLfloat); PROCEDURE glTexParameterfv* (target: GLenum; pname: GLenum; VAR [nil] params: GLfloat); PROCEDURE glTexParameteri* (target: GLenum; pname: GLenum; param: GLint); PROCEDURE glTexParameteriv* (target: GLenum; pname: GLenum; VAR [nil] params: GLint); PROCEDURE glTexSubImage1D* (target: GLenum; level: GLint; xoffset: GLint; width: GLsizei; format: GLenum; type: GLenum; pixels: PtrGLvoid); PROCEDURE glTexSubImage2D* (target: GLenum; level: GLint; xoffset: GLint; yoffset: GLint; width: GLsizei; height: GLsizei; format: GLenum; type: GLenum; pixels: PtrGLvoid); PROCEDURE glTranslated* (x: GLdouble; y: GLdouble; z: GLdouble); PROCEDURE glTranslatef* (x: GLfloat; y: GLfloat; z: GLfloat); PROCEDURE glVertex2d* (x: GLdouble; y: GLdouble); PROCEDURE glVertex2dv* (VAR [nil] v: GLdouble); PROCEDURE glVertex2f* (x: GLfloat; y: GLfloat); PROCEDURE glVertex2fv* (VAR [nil] v: GLfloat); PROCEDURE glVertex2i* (x: GLint; y: GLint); PROCEDURE glVertex2iv* (VAR [nil] v: GLint); PROCEDURE glVertex2s* (x: GLshort; y: GLshort); PROCEDURE glVertex2sv* (VAR [nil] v: GLshort); PROCEDURE glVertex3d* (x: GLdouble; y: GLdouble; z: GLdouble); PROCEDURE glVertex3dv* (VAR [nil] v: GLdouble); PROCEDURE glVertex3f* (x: GLfloat; y: GLfloat; z: GLfloat); PROCEDURE glVertex3fv* (VAR [nil] v: GLfloat); PROCEDURE glVertex3i* (x: GLint; y: GLint; z: GLint); PROCEDURE glVertex3iv* (VAR [nil] v: GLint); PROCEDURE glVertex3s* (x: GLshort; y: GLshort; z: GLshort); PROCEDURE glVertex3sv* (VAR [nil] v: GLshort); PROCEDURE glVertex4d* (x: GLdouble; y: GLdouble; z: GLdouble; w: GLdouble); PROCEDURE glVertex4dv* (VAR [nil] v: GLdouble); PROCEDURE glVertex4f* (x: GLfloat; y: GLfloat; z: GLfloat; w: GLfloat); PROCEDURE glVertex4fv* (VAR [nil] v: GLfloat); PROCEDURE glVertex4i* (x: GLint; y: GLint; z: GLint; w: GLint); PROCEDURE glVertex4iv* (VAR [nil] v: GLint); PROCEDURE glVertex4s* (x: GLshort; y: GLshort; z: GLshort; w: GLshort); PROCEDURE glVertex4sv* (VAR [nil] v: GLshort); PROCEDURE glVertexPointer* (size: GLint; type: GLenum; stride: GLsizei; pointer: PtrGLvoid); PROCEDURE glViewport* (x: GLint; y: GLint; width: GLsizei; height: GLsizei); END WinGL.
Win/Mod/GL.odc
MODULE WinGLAux ["Glaux.dll"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) IMPORT WinGL; CONST (* macros *) AUX_RGB* = 0; AUX_RGBA* = 0; AUX_INDEX* = 1; AUX_SINGLE* = 0; AUX_DOUBLE* = 2; AUX_DIRECT* = 0; AUX_INDIRECT* = 4; AUX_ACCUM* = 8; AUX_ALPHA* = 16; AUX_DEPTH24* = 32; AUX_STENCIL* = 64; AUX_AUX* = 128; AUX_DEPTH16* = 256; AUX_FIXED_332_PAL* = 512; AUX_DEPTH* = 256; AUX_EXPOSE* = 1; AUX_CONFIG* = 2; AUX_DRAW* = 4; AUX_KEYEVENT* = 8; AUX_MOUSEDOWN* = 16; AUX_MOUSEUP* = 32; AUX_MOUSELOC* = 64; AUX_WINDOWX* = 0; AUX_WINDOWY* = 1; AUX_MOUSEX* = 0; AUX_MOUSEY* = 1; AUX_MOUSESTATUS* = 3; AUX_KEY* = 0; AUX_KEYSTATUS* = 1; AUX_LEFTBUTTON* = 1; AUX_RIGHTBUTTON* = 2; AUX_MIDDLEBUTTON* = 4; AUX_SHIFT* = 1; AUX_CONTROL* = 2; AUX_RETURN* = 13; AUX_ESCAPE* = 27; AUX_SPACE* = 32; AUX_LEFT* = 37; AUX_UP* = 38; AUX_RIGHT* = 39; AUX_DOWN* = 40; AUX_A* = 65; AUX_B* = 66; AUX_C* = 67; AUX_D* = 68; AUX_E* = 69; AUX_F* = 70; AUX_G* = 71; AUX_H* = 72; AUX_I* = 73; AUX_J* = 74; AUX_K* = 75; AUX_L* = 76; AUX_M* = 77; AUX_N* = 78; AUX_O* = 79; AUX_P* = 80; AUX_Q* = 81; AUX_R* = 82; AUX_S* = 83; AUX_T* = 84; AUX_U* = 85; AUX_V* = 86; AUX_W* = 87; AUX_X* = 88; AUX_Y* = 89; AUX_Z* = 90; AUX_a* = 97; AUX_b* = 98; AUX_c* = 99; AUX_d* = 100; AUX_e* = 101; AUX_f* = 102; AUX_g* = 103; AUX_h* = 104; AUX_i* = 105; AUX_j* = 106; AUX_k* = 107; AUX_l* = 108; AUX_m* = 109; AUX_n* = 110; AUX_o* = 111; AUX_p* = 112; AUX_q* = 113; AUX_r* = 114; AUX_s* = 115; AUX_t* = 116; AUX_u* = 117; AUX_v* = 118; AUX_w* = 119; AUX_x* = 120; AUX_y* = 121; AUX_z* = 122; AUX_0* = 48; AUX_1* = 49; AUX_2* = 50; AUX_3* = 51; AUX_4* = 52; AUX_5* = 53; AUX_6* = 54; AUX_7* = 55; AUX_8* = 56; AUX_9* = 57; AUX_FD* = 1; AUX_COLORMAP* = 3; AUX_GREYSCALEMAP* = 4; AUX_FOGMAP* = 5; AUX_ONECOLOR* = 6; AUX_BLACK* = 0; AUX_RED* = 13; AUX_GREEN* = 14; AUX_YELLOW* = 15; AUX_BLUE* = 16; AUX_MAGENTA* = 17; AUX_CYAN* = 18; AUX_WHITE* = 19; CONST (* enumerations *) AUX_USE_ID* = 1; AUX_EXACT_MATCH* = 2; AUX_MINIMUM_CRITERIA* = 3; TYPE PtrSTR* = POINTER TO ARRAY [untagged] OF SHORTCHAR; PtrWSTR* = POINTER TO ARRAY [untagged] OF CHAR; HWND* = INTEGER; HDC* = INTEGER; HGLRC* = INTEGER; AUX_EVENTREC* = RECORD [untagged] event*: WinGL.GLint; data*: ARRAY [untagged] 4 OF WinGL.GLint; END; PtrAUX_EVENTREC* = POINTER TO AUX_EVENTREC; AUX_RGBImageRec* = RECORD [untagged] sizeX*: WinGL.GLint; sizeY*: WinGL.GLint; data*: PtrSTR; END; PtrAUX_RGBImageRec* = POINTER TO AUX_RGBImageRec; AUXMAINPROC* = PROCEDURE (); AUXEXPOSEPROC* = PROCEDURE (p0: INTEGER; p1: INTEGER); AUXRESHAPEPROC* = PROCEDURE (p0: WinGL.GLsizei; p1: WinGL.GLsizei); AUXIDLEPROC* = PROCEDURE (); AUXKEYPROC* = PROCEDURE (); AUXMOUSEPROC* = PROCEDURE (VAR [nil] p0: AUX_EVENTREC); PROCEDURE auxInitDisplayMode* (p0: WinGL.GLenum); PROCEDURE auxInitPosition* (p0: INTEGER; p1: INTEGER; p2: INTEGER; p3: INTEGER); PROCEDURE auxInitWindow* ["auxInitWindowA"] (p0: PtrSTR): WinGL.GLenum; PROCEDURE auxInitWindowA* (p0: PtrSTR): WinGL.GLenum; PROCEDURE auxInitWindowW* (p0: PtrWSTR): WinGL.GLenum; PROCEDURE auxCloseWindow* (); PROCEDURE auxQuit* (); PROCEDURE auxSwapBuffers* (); PROCEDURE auxMainLoop* (p0: AUXMAINPROC); PROCEDURE auxExposeFunc* (p0: AUXEXPOSEPROC); PROCEDURE auxReshapeFunc* (p0: AUXRESHAPEPROC); PROCEDURE auxIdleFunc* (p0: AUXIDLEPROC); PROCEDURE auxKeyFunc* (p0: INTEGER; p1: AUXKEYPROC); PROCEDURE auxMouseFunc* (p0: INTEGER; p1: INTEGER; p2: AUXMOUSEPROC); PROCEDURE auxGetColorMapSize* (): INTEGER; PROCEDURE auxGetMouseLoc* (VAR [nil] p0: INTEGER; VAR [nil] p1: INTEGER); PROCEDURE auxSetOneColor* (p0: INTEGER; p1: SHORTREAL; p2: SHORTREAL; p3: SHORTREAL); PROCEDURE auxSetFogRamp* (p0: INTEGER; p1: INTEGER); PROCEDURE auxSetGreyRamp* (); PROCEDURE auxSetRGBMap* (p0: INTEGER; VAR [nil] p1: SHORTREAL); PROCEDURE auxRGBImageLoad* ["auxRGBImageLoadA"] (p0: PtrSTR): PtrAUX_RGBImageRec; PROCEDURE auxRGBImageLoadA* (p0: PtrSTR): PtrAUX_RGBImageRec; PROCEDURE auxRGBImageLoadW* (p0: PtrWSTR): PtrAUX_RGBImageRec; PROCEDURE auxDIBImageLoad* ["auxDIBImageLoadA"] (p0: PtrSTR): PtrAUX_RGBImageRec; PROCEDURE auxDIBImageLoadA* (p0: PtrSTR): PtrAUX_RGBImageRec; PROCEDURE auxDIBImageLoadW* (p0: PtrWSTR): PtrAUX_RGBImageRec; PROCEDURE auxCreateFont* (); PROCEDURE auxDrawStr* ["auxDrawStrA"] (p0: PtrSTR); PROCEDURE auxDrawStrA* (p0: PtrSTR); PROCEDURE auxDrawStrW* (p0: PtrWSTR); PROCEDURE auxWireSphere* (p0: WinGL.GLdouble); PROCEDURE auxSolidSphere* (p0: WinGL.GLdouble); PROCEDURE auxWireCube* (p0: WinGL.GLdouble); PROCEDURE auxSolidCube* (p0: WinGL.GLdouble); PROCEDURE auxWireBox* (p0: WinGL.GLdouble; p1: WinGL.GLdouble; p2: WinGL.GLdouble); PROCEDURE auxSolidBox* (p0: WinGL.GLdouble; p1: WinGL.GLdouble; p2: WinGL.GLdouble); PROCEDURE auxWireTorus* (p0: WinGL.GLdouble; p1: WinGL.GLdouble); PROCEDURE auxSolidTorus* (p0: WinGL.GLdouble; p1: WinGL.GLdouble); PROCEDURE auxWireCylinder* (p0: WinGL.GLdouble; p1: WinGL.GLdouble); PROCEDURE auxSolidCylinder* (p0: WinGL.GLdouble; p1: WinGL.GLdouble); PROCEDURE auxWireIcosahedron* (p0: WinGL.GLdouble); PROCEDURE auxSolidIcosahedron* (p0: WinGL.GLdouble); PROCEDURE auxWireOctahedron* (p0: WinGL.GLdouble); PROCEDURE auxSolidOctahedron* (p0: WinGL.GLdouble); PROCEDURE auxWireTetrahedron* (p0: WinGL.GLdouble); PROCEDURE auxSolidTetrahedron* (p0: WinGL.GLdouble); PROCEDURE auxWireDodecahedron* (p0: WinGL.GLdouble); PROCEDURE auxSolidDodecahedron* (p0: WinGL.GLdouble); PROCEDURE auxWireCone* (p0: WinGL.GLdouble; p1: WinGL.GLdouble); PROCEDURE auxSolidCone* (p0: WinGL.GLdouble; p1: WinGL.GLdouble); PROCEDURE auxWireTeapot* (p0: WinGL.GLdouble); PROCEDURE auxSolidTeapot* (p0: WinGL.GLdouble); PROCEDURE auxGetHWND* (): HWND; PROCEDURE auxGetHDC* (): HDC; PROCEDURE auxGetHGLRC* (): HGLRC; PROCEDURE auxInitDisplayModePolicy* (p0: WinGL.GLenum); PROCEDURE auxInitDisplayModeID* (p0: WinGL.GLint): WinGL.GLenum; PROCEDURE auxGetDisplayModePolicy* (): WinGL.GLenum; PROCEDURE auxGetDisplayModeID* (): WinGL.GLint; PROCEDURE auxGetDisplayMode* (): WinGL.GLenum; END WinGLAux.
Win/Mod/GLAux.odc
MODULE WinGLUtil ["Glu32.dll"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) IMPORT WinGL; CONST (* macros *) GLU_VERSION_1_1* = 1; GLU_VERSION_1_2* = 1; GLU_INVALID_ENUM* = 100900; GLU_INVALID_VALUE* = 100901; GLU_OUT_OF_MEMORY* = 100902; GLU_INCOMPATIBLE_GL_VERSION* = 100903; GLU_VERSION* = 100800; GLU_EXTENSIONS* = 100801; GLU_TRUE* = 1; GLU_FALSE* = 0; GLU_SMOOTH* = 100000; GLU_FLAT* = 100001; GLU_NONE* = 100002; GLU_POINT* = 100010; GLU_LINE* = 100011; GLU_FILL* = 100012; GLU_SILHOUETTE* = 100013; GLU_OUTSIDE* = 100020; GLU_INSIDE* = 100021; GLU_TESS_TOLERANCE* = 100142; GLU_TESS_WINDING_ODD* = 100130; GLU_TESS_WINDING_NONZERO* = 100131; GLU_TESS_WINDING_POSITIVE* = 100132; GLU_TESS_WINDING_NEGATIVE* = 100133; GLU_TESS_WINDING_ABS_GEQ_TWO* = 100134; GLU_TESS_BEGIN* = 100100; GLU_TESS_VERTEX* = 100101; GLU_TESS_END* = 100102; GLU_TESS_ERROR* = 100103; GLU_TESS_EDGE_FLAG* = 100104; GLU_TESS_COMBINE* = 100105; GLU_TESS_BEGIN_DATA* = 100106; GLU_TESS_VERTEX_DATA* = 100107; GLU_TESS_END_DATA* = 100108; GLU_TESS_ERROR_DATA* = 100109; GLU_TESS_EDGE_FLAG_DATA* = 100110; GLU_TESS_COMBINE_DATA* = 100111; GLU_TESS_ERROR1* = 100151; GLU_TESS_ERROR2* = 100152; GLU_TESS_ERROR3* = 100153; GLU_TESS_ERROR4* = 100154; GLU_TESS_ERROR5* = 100155; GLU_TESS_ERROR6* = 100156; GLU_TESS_ERROR7* = 100157; GLU_TESS_ERROR8* = 100158; GLU_TESS_MISSING_BEGIN_POLYGON* = 100151; GLU_TESS_MISSING_BEGIN_CONTOUR* = 100152; GLU_TESS_MISSING_END_POLYGON* = 100153; GLU_TESS_MISSING_END_CONTOUR* = 100154; GLU_TESS_COORD_TOO_LARGE* = 100155; GLU_TESS_NEED_COMBINE_CALLBACK* = 100156; GLU_AUTO_LOAD_MATRIX* = 100200; GLU_CULLING* = 100201; GLU_SAMPLING_TOLERANCE* = 100203; GLU_DISPLAY_MODE* = 100204; GLU_PARAMETRIC_TOLERANCE* = 100202; GLU_SAMPLING_METHOD* = 100205; GLU_U_STEP* = 100206; GLU_V_STEP* = 100207; GLU_PATH_LENGTH* = 100215; GLU_PARAMETRIC_ERROR* = 100216; GLU_DOMAIN_DISTANCE* = 100217; GLU_MAP1_TRIM_2* = 100210; GLU_MAP1_TRIM_3* = 100211; GLU_OUTLINE_POLYGON* = 100240; GLU_OUTLINE_PATCH* = 100241; GLU_NURBS_ERROR1* = 100251; GLU_NURBS_ERROR2* = 100252; GLU_NURBS_ERROR3* = 100253; GLU_NURBS_ERROR4* = 100254; GLU_NURBS_ERROR5* = 100255; GLU_NURBS_ERROR6* = 100256; GLU_NURBS_ERROR7* = 100257; GLU_NURBS_ERROR8* = 100258; GLU_NURBS_ERROR9* = 100259; GLU_NURBS_ERROR10* = 100260; GLU_NURBS_ERROR11* = 100261; GLU_NURBS_ERROR12* = 100262; GLU_NURBS_ERROR13* = 100263; GLU_NURBS_ERROR14* = 100264; GLU_NURBS_ERROR15* = 100265; GLU_NURBS_ERROR16* = 100266; GLU_NURBS_ERROR17* = 100267; GLU_NURBS_ERROR18* = 100268; GLU_NURBS_ERROR19* = 100269; GLU_NURBS_ERROR20* = 100270; GLU_NURBS_ERROR21* = 100271; GLU_NURBS_ERROR22* = 100272; GLU_NURBS_ERROR23* = 100273; GLU_NURBS_ERROR24* = 100274; GLU_NURBS_ERROR25* = 100275; GLU_NURBS_ERROR26* = 100276; GLU_NURBS_ERROR27* = 100277; GLU_NURBS_ERROR28* = 100278; GLU_NURBS_ERROR29* = 100279; GLU_NURBS_ERROR30* = 100280; GLU_NURBS_ERROR31* = 100281; GLU_NURBS_ERROR32* = 100282; GLU_NURBS_ERROR33* = 100283; GLU_NURBS_ERROR34* = 100284; GLU_NURBS_ERROR35* = 100285; GLU_NURBS_ERROR36* = 100286; GLU_NURBS_ERROR37* = 100287; GLU_CW* = 100120; GLU_CCW* = 100121; GLU_INTERIOR* = 100122; GLU_EXTERIOR* = 100123; GLU_UNKNOWN* = 100124; GLU_BEGIN* = 100100; GLU_VERTEX* = 100101; GLU_END* = 100102; GLU_ERROR* = 100103; GLU_EDGE_FLAG* = 100104; CONST (* enumerations *) TYPE PtrVoid* = INTEGER; PtrSTR* = POINTER TO ARRAY [untagged] OF SHORTCHAR; PtrWSTR* = POINTER TO ARRAY [untagged] OF CHAR; PtrGLUquadric* = POINTER TO RECORD [untagged] END; PtrGLUtesselator* = POINTER TO RECORD [untagged] END; PtrGLUnurbs* = POINTER TO RECORD [untagged] END; GLUquadricErrorProc* = PROCEDURE (p0: WinGL.GLenum); GLUtessBeginProc* = PROCEDURE (p0: WinGL.GLenum); GLUtessEdgeFlagProc* = PROCEDURE (p0: WinGL.GLboolean); GLUtessVertexProc* = PROCEDURE (p0: PtrVoid); GLUtessEndProc* = PROCEDURE (); GLUtessErrorProc* = PROCEDURE (p0: WinGL.GLenum); GLUtessCombineProc* = PROCEDURE (p0: ARRAY [untagged] 3 OF WinGL.GLdouble; p1: ARRAY [untagged] 4 OF PtrVoid; p2: ARRAY [untagged] 4 OF WinGL.GLfloat; VAR [nil] p3: PtrVoid); GLUtessBeginDataProc* = PROCEDURE (p0: WinGL.GLenum; p1: PtrVoid); GLUtessEdgeFlagDataProc* = PROCEDURE (p0: WinGL.GLboolean; p1: PtrVoid); GLUtessVertexDataProc* = PROCEDURE (p0: PtrVoid; p1: PtrVoid); GLUtessEndDataProc* = PROCEDURE (p0: PtrVoid); GLUtessErrorDataProc* = PROCEDURE (p0: WinGL.GLenum; p1: PtrVoid); GLUtessCombineDataProc* = PROCEDURE (p0: ARRAY [untagged] 3 OF WinGL.GLdouble; p1: ARRAY [untagged] 4 OF PtrVoid; p2: ARRAY [untagged] 4 OF WinGL.GLfloat; VAR [nil] p3: PtrVoid; p4: PtrVoid); GLUnurbsErrorProc* = PROCEDURE (p0: WinGL.GLenum); PROCEDURE gluErrorString* (errCode: WinGL.GLenum): PtrSTR; PROCEDURE gluErrorUnicodeStringEXT* (errCode: WinGL.GLenum): PtrWSTR; PROCEDURE gluGetString* (name: WinGL.GLenum): PtrSTR; PROCEDURE gluOrtho2D* (left: WinGL.GLdouble; right: WinGL.GLdouble; bottom: WinGL.GLdouble; top: WinGL.GLdouble); PROCEDURE gluPerspective* (fovy: WinGL.GLdouble; aspect: WinGL.GLdouble; zNear: WinGL.GLdouble; zFar: WinGL.GLdouble); PROCEDURE gluPickMatrix* (x: WinGL.GLdouble; y: WinGL.GLdouble; width: WinGL.GLdouble; height: WinGL.GLdouble; viewport: ARRAY [untagged] 4 OF WinGL.GLint); PROCEDURE gluLookAt* (eyex: WinGL.GLdouble; eyey: WinGL.GLdouble; eyez: WinGL.GLdouble; centerx: WinGL.GLdouble; centery: WinGL.GLdouble; centerz: WinGL.GLdouble; upx: WinGL.GLdouble; upy: WinGL.GLdouble; upz: WinGL.GLdouble); PROCEDURE gluProject* (objx: WinGL.GLdouble; objy: WinGL.GLdouble; objz: WinGL.GLdouble; modelMatrix: ARRAY [untagged] 16 OF WinGL.GLdouble; projMatrix: ARRAY [untagged] 16 OF WinGL.GLdouble; viewport: ARRAY [untagged] 4 OF WinGL.GLint; VAR [nil] winx: WinGL.GLdouble; VAR [nil] winy: WinGL.GLdouble; VAR [nil] winz: WinGL.GLdouble): INTEGER; PROCEDURE gluUnProject* (winx: WinGL.GLdouble; winy: WinGL.GLdouble; winz: WinGL.GLdouble; modelMatrix: ARRAY [untagged] 16 OF WinGL.GLdouble; projMatrix: ARRAY [untagged] 16 OF WinGL.GLdouble; viewport: ARRAY [untagged] 4 OF WinGL.GLint; VAR [nil] objx: WinGL.GLdouble; VAR [nil] objy: WinGL.GLdouble; VAR [nil] objz: WinGL.GLdouble): INTEGER; PROCEDURE gluScaleImage* (format: WinGL.GLenum; widthin: WinGL.GLint; heightin: WinGL.GLint; typein: WinGL.GLenum; datain: PtrVoid; widthout: WinGL.GLint; heightout: WinGL.GLint; typeout: WinGL.GLenum; dataout: PtrVoid): INTEGER; PROCEDURE gluBuild1DMipmaps* (target: WinGL.GLenum; components: WinGL.GLint; width: WinGL.GLint; format: WinGL.GLenum; type: WinGL.GLenum; data: PtrVoid): INTEGER; PROCEDURE gluBuild2DMipmaps* (target: WinGL.GLenum; components: WinGL.GLint; width: WinGL.GLint; height: WinGL.GLint; format: WinGL.GLenum; type: WinGL.GLenum; data: PtrVoid): INTEGER; PROCEDURE gluNewQuadric* (): PtrGLUquadric; PROCEDURE gluDeleteQuadric* (state: PtrGLUquadric); PROCEDURE gluQuadricNormals* (quadObject: PtrGLUquadric; normals: WinGL.GLenum); PROCEDURE gluQuadricTexture* (quadObject: PtrGLUquadric; textureCoords: WinGL.GLboolean); PROCEDURE gluQuadricOrientation* (quadObject: PtrGLUquadric; orientation: WinGL.GLenum); PROCEDURE gluQuadricDrawStyle* (quadObject: PtrGLUquadric; drawStyle: WinGL.GLenum); PROCEDURE gluCylinder* (qobj: PtrGLUquadric; baseRadius: WinGL.GLdouble; topRadius: WinGL.GLdouble; height: WinGL.GLdouble; slices: WinGL.GLint; stacks: WinGL.GLint); PROCEDURE gluDisk* (qobj: PtrGLUquadric; innerRadius: WinGL.GLdouble; outerRadius: WinGL.GLdouble; slices: WinGL.GLint; loops: WinGL.GLint); PROCEDURE gluPartialDisk* (qobj: PtrGLUquadric; innerRadius: WinGL.GLdouble; outerRadius: WinGL.GLdouble; slices: WinGL.GLint; loops: WinGL.GLint; startAngle: WinGL.GLdouble; sweepAngle: WinGL.GLdouble); PROCEDURE gluSphere* (qobj: PtrGLUquadric; radius: WinGL.GLdouble; slices: WinGL.GLint; stacks: WinGL.GLint); PROCEDURE gluQuadricCallback* (qobj: PtrGLUquadric; which: WinGL.GLenum; fn: PROCEDURE ()); PROCEDURE gluNewTess* (): PtrGLUtesselator; PROCEDURE gluDeleteTess* (tess: PtrGLUtesselator); PROCEDURE gluTessBeginPolygon* (tess: PtrGLUtesselator; polygon_data: PtrVoid); PROCEDURE gluTessBeginContour* (tess: PtrGLUtesselator); PROCEDURE gluTessVertex* (tess: PtrGLUtesselator; coords: ARRAY [untagged] 3 OF WinGL.GLdouble; data: PtrVoid); PROCEDURE gluTessEndContour* (tess: PtrGLUtesselator); PROCEDURE gluTessEndPolygon* (tess: PtrGLUtesselator); PROCEDURE gluTessProperty* (tess: PtrGLUtesselator; which: WinGL.GLenum; value: WinGL.GLdouble); PROCEDURE gluTessNormal* (tess: PtrGLUtesselator; x: WinGL.GLdouble; y: WinGL.GLdouble; z: WinGL.GLdouble); PROCEDURE gluTessCallback* (tess: PtrGLUtesselator; which: WinGL.GLenum; fn: PROCEDURE ()); PROCEDURE gluGetTessProperty* (tess: PtrGLUtesselator; which: WinGL.GLenum; VAR [nil] value: WinGL.GLdouble); PROCEDURE gluNewNurbsRenderer* (): PtrGLUnurbs; PROCEDURE gluDeleteNurbsRenderer* (nobj: PtrGLUnurbs); PROCEDURE gluBeginSurface* (nobj: PtrGLUnurbs); PROCEDURE gluBeginCurve* (nobj: PtrGLUnurbs); PROCEDURE gluEndCurve* (nobj: PtrGLUnurbs); PROCEDURE gluEndSurface* (nobj: PtrGLUnurbs); PROCEDURE gluBeginTrim* (nobj: PtrGLUnurbs); PROCEDURE gluEndTrim* (nobj: PtrGLUnurbs); PROCEDURE gluPwlCurve* (nobj: PtrGLUnurbs; count: WinGL.GLint; VAR [nil] array: WinGL.GLfloat; stride: WinGL.GLint; type: WinGL.GLenum); PROCEDURE gluNurbsCurve* (nobj: PtrGLUnurbs; nknots: WinGL.GLint; VAR [nil] knot: WinGL.GLfloat; stride: WinGL.GLint; VAR [nil] ctlarray: WinGL.GLfloat; order: WinGL.GLint; type: WinGL.GLenum); PROCEDURE gluNurbsSurface* (nobj: PtrGLUnurbs; sknot_count: WinGL.GLint; VAR [nil] sknot: SHORTREAL; tknot_count: WinGL.GLint; VAR [nil] tknot: WinGL.GLfloat; s_stride: WinGL.GLint; t_stride: WinGL.GLint; VAR [nil] ctlarray: WinGL.GLfloat; sorder: WinGL.GLint; torder: WinGL.GLint; type: WinGL.GLenum); PROCEDURE gluLoadSamplingMatrices* (nobj: PtrGLUnurbs; modelMatrix: ARRAY [untagged] 16 OF WinGL.GLfloat; projMatrix: ARRAY [untagged] 16 OF WinGL.GLfloat; viewport: ARRAY [untagged] 4 OF WinGL.GLint); PROCEDURE gluNurbsProperty* (nobj: PtrGLUnurbs; property: WinGL.GLenum; value: WinGL.GLfloat); PROCEDURE gluGetNurbsProperty* (nobj: PtrGLUnurbs; property: WinGL.GLenum; VAR [nil] value: WinGL.GLfloat); PROCEDURE gluNurbsCallback* (nobj: PtrGLUnurbs; which: WinGL.GLenum; fn: PROCEDURE ()); PROCEDURE gluBeginPolygon* (tess: PtrGLUtesselator); PROCEDURE gluNextContour* (tess: PtrGLUtesselator; type: WinGL.GLenum); PROCEDURE gluEndPolygon* (tess: PtrGLUtesselator); END WinGLUtil.
Win/Mod/GLUtil.odc
MODULE WinMM ["WINMM.dll"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) IMPORT WinApi; CONST (* macros *) MAXPNAMELEN* = 32; MAXERRORLENGTH* = 256; MAX_JOYSTICKOEMVXDNAME* = 260; TIME_MS* = {0}; TIME_SAMPLES* = {1}; TIME_BYTES* = {2}; TIME_SMPTE* = {3}; TIME_MIDI* = {4}; TIME_TICKS* = {5}; MM_JOY1MOVE* = 928; MM_JOY2MOVE* = 929; MM_JOY1ZMOVE* = 930; MM_JOY2ZMOVE* = 931; MM_JOY1BUTTONDOWN* = 949; MM_JOY2BUTTONDOWN* = 950; MM_JOY1BUTTONUP* = 951; MM_JOY2BUTTONUP* = 952; MM_MCINOTIFY* = 953; MM_WOM_OPEN* = 955; MM_WOM_CLOSE* = 956; MM_WOM_DONE* = 957; MM_WIM_OPEN* = 958; MM_WIM_CLOSE* = 959; MM_WIM_DATA* = 960; MM_MIM_OPEN* = 961; MM_MIM_CLOSE* = 962; MM_MIM_DATA* = 963; MM_MIM_LONGDATA* = 964; MM_MIM_ERROR* = 965; MM_MIM_LONGERROR* = 966; MM_MOM_OPEN* = 967; MM_MOM_CLOSE* = 968; MM_MOM_DONE* = 969; MM_DRVM_OPEN* = 976; MM_DRVM_CLOSE* = 977; MM_DRVM_DATA* = 978; MM_DRVM_ERROR* = 979; MM_STREAM_OPEN* = 980; MM_STREAM_CLOSE* = 981; MM_STREAM_DONE* = 982; MM_STREAM_ERROR* = 983; MM_MOM_POSITIONCB* = 970; MM_MCISIGNAL* = 971; MM_MIM_MOREDATA* = 972; MM_MIXM_LINE_CHANGE* = 976; MM_MIXM_CONTROL_CHANGE* = 977; MMSYSERR_BASE* = 0; WAVERR_BASE* = 32; MIDIERR_BASE* = 64; TIMERR_BASE* = 96; JOYERR_BASE* = 160; MCIERR_BASE* = 256; MIXERR_BASE* = 1024; MCI_STRING_OFFSET* = 512; MCI_VD_OFFSET* = 1024; MCI_CD_OFFSET* = 1088; MCI_WAVE_OFFSET* = 1152; MCI_SEQ_OFFSET* = 1216; MMSYSERR_NOERROR* = 0; MMSYSERR_ERROR* = 1; MMSYSERR_BADDEVICEID* = 2; MMSYSERR_NOTENABLED* = 3; MMSYSERR_ALLOCATED* = 4; MMSYSERR_INVALHANDLE* = 5; MMSYSERR_NODRIVER* = 6; MMSYSERR_NOMEM* = 7; MMSYSERR_NOTSUPPORTED* = 8; MMSYSERR_BADERRNUM* = 9; MMSYSERR_INVALFLAG* = 10; MMSYSERR_INVALPARAM* = 11; MMSYSERR_HANDLEBUSY* = 12; MMSYSERR_INVALIDALIAS* = 13; MMSYSERR_BADDB* = 14; MMSYSERR_KEYNOTFOUND* = 15; MMSYSERR_READERROR* = 16; MMSYSERR_WRITEERROR* = 17; MMSYSERR_DELETEERROR* = 18; MMSYSERR_VALNOTFOUND* = 19; MMSYSERR_NODRIVERCB* = 20; MMSYSERR_LASTERROR* = 20; DRV_LOAD* = 1; DRV_ENABLE* = 2; DRV_OPEN* = 3; DRV_CLOSE* = 4; DRV_DISABLE* = 5; DRV_FREE* = 6; DRV_CONFIGURE* = 7; DRV_QUERYCONFIGURE* = 8; DRV_INSTALL* = 9; DRV_REMOVE* = 10; DRV_EXITSESSION* = 11; DRV_POWER* = 15; DRV_RESERVED* = 2048; DRV_USER* = 16384; DRVCNF_CANCEL* = 0; DRVCNF_OK* = 1; DRVCNF_RESTART* = 2; DRV_CANCEL* = 0; DRV_OK* = 1; DRV_RESTART* = 2; DRV_MCI_FIRST* = 2048; DRV_MCI_LAST* = 6143; CALLBACK_TYPEMASK* = 458752; CALLBACK_NULL* = 0; CALLBACK_WINDOW* = 65536; CALLBACK_TASK* = 131072; CALLBACK_FUNCTION* = 196608; CALLBACK_THREAD* = 131072; CALLBACK_EVENT* = 327680; SND_SYNC* = 0; SND_ASYNC* = 1; SND_NODEFAULT* = 2; SND_MEMORY* = 4; SND_LOOP* = 8; SND_NOSTOP* = 16; SND_NOWAIT* = 8192; SND_ALIAS* = 65536; SND_ALIAS_ID* = 1114112; SND_FILENAME* = 131072; SND_RESOURCE* = 262148; SND_PURGE* = 64; SND_APPLICATION* = 128; SND_ALIAS_START* = 0; SND_ALIAS_SYSTEMASTERISK* = 10835; SND_ALIAS_SYSTEMQUESTION* = 16211; SND_ALIAS_SYSTEMHAND* = 18515; SND_ALIAS_SYSTEMEXIT* = 17747; SND_ALIAS_SYSTEMSTART* = 21331; SND_ALIAS_SYSTEMWELCOME* = 22355; SND_ALIAS_SYSTEMEXCLAMATION* = 8531; SND_ALIAS_SYSTEMDEFAULT* = 17491; WAVERR_BADFORMAT* = 32; WAVERR_STILLPLAYING* = 33; WAVERR_UNPREPARED* = 34; WAVERR_SYNC* = 35; WAVERR_LASTERROR* = 35; WOM_OPEN* = 955; WOM_CLOSE* = 956; WOM_DONE* = 957; WIM_OPEN* = 958; WIM_CLOSE* = 959; WIM_DATA* = 960; WAVE_MAPPER* = -1; WAVE_FORMAT_QUERY* = 1; WAVE_ALLOWSYNC* = 2; WAVE_MAPPED* = 4; WAVE_FORMAT_DIRECT* = 8; WAVE_FORMAT_DIRECT_QUERY* = 9; WHDR_DONE* = 1; WHDR_PREPARED* = 2; WHDR_BEGINLOOP* = 4; WHDR_ENDLOOP* = 8; WHDR_INQUEUE* = 16; WAVECAPS_PITCH* = 1; WAVECAPS_PLAYBACKRATE* = 2; WAVECAPS_VOLUME* = 4; WAVECAPS_LRVOLUME* = 8; WAVECAPS_SYNC* = 16; WAVECAPS_SAMPLEACCURATE* = 32; WAVECAPS_DIRECTSOUND* = 64; WAVE_INVALIDFORMAT* = 0; WAVE_FORMAT_1M08* = 1; WAVE_FORMAT_1S08* = 2; WAVE_FORMAT_1M16* = 4; WAVE_FORMAT_1S16* = 8; WAVE_FORMAT_2M08* = 16; WAVE_FORMAT_2S08* = 32; WAVE_FORMAT_2M16* = 64; WAVE_FORMAT_2S16* = 128; WAVE_FORMAT_4M08* = 256; WAVE_FORMAT_4S08* = 512; WAVE_FORMAT_4M16* = 1024; WAVE_FORMAT_4S16* = 2048; WAVE_FORMAT_PCM* = 1; MIDIERR_UNPREPARED* = 64; MIDIERR_STILLPLAYING* = 65; MIDIERR_NOMAP* = 66; MIDIERR_NOTREADY* = 67; MIDIERR_NODEVICE* = 68; MIDIERR_INVALIDSETUP* = 69; MIDIERR_BADOPENMODE* = 70; MIDIERR_DONT_CONTINUE* = 71; MIDIERR_LASTERROR* = 71; MIDIPATCHSIZE* = 128; MIM_OPEN* = 961; MIM_CLOSE* = 962; MIM_DATA* = 963; MIM_LONGDATA* = 964; MIM_ERROR* = 965; MIM_LONGERROR* = 966; MOM_OPEN* = 967; MOM_CLOSE* = 968; MOM_DONE* = 969; MIM_MOREDATA* = 972; MOM_POSITIONCB* = 970; MIDIMAPPER* = -1; MIDI_MAPPER* = -1; MIDI_IO_STATUS* = 32; MIDI_CACHE_ALL* = 1; MIDI_CACHE_BESTFIT* = 2; MIDI_CACHE_QUERY* = 3; MIDI_UNCACHE* = 4; MOD_MIDIPORT* = {0}; MOD_SYNTH* = {1}; MOD_SQSYNTH* = {0, 1}; MOD_FMSYNTH* = {2}; MOD_MAPPER* = {0, 2}; MIDICAPS_VOLUME* = 1; MIDICAPS_LRVOLUME* = 2; MIDICAPS_CACHE* = 4; MIDICAPS_STREAM* = 8; MHDR_DONE* = 1; MHDR_PREPARED* = 2; MHDR_INQUEUE* = 4; MHDR_ISSTRM* = 8; MEVT_F_SHORT* = 0; MEVT_F_LONG* = 80000000H; MEVT_F_CALLBACK* = 1073741824; MEVT_SHORTMSG* = 0; MEVT_TEMPO* = 1; MEVT_NOP* = 2; MEVT_LONGMSG* = 128; MEVT_COMMENT* = 130; MEVT_VERSION* = 132; MIDISTRM_ERROR* = -2; MIDIPROP_SET* = 80000000H; MIDIPROP_GET* = 1073741824; MIDIPROP_TIMEDIV* = 1; MIDIPROP_TEMPO* = 2; AUX_MAPPER* = -1; AUXCAPS_CDAUDIO* = 1; AUXCAPS_AUXIN* = 2; AUXCAPS_VOLUME* = 1; AUXCAPS_LRVOLUME* = 2; MIXER_SHORT_NAME_CHARS* = 16; MIXER_LONG_NAME_CHARS* = 64; MIXERR_INVALLINE* = 1024; MIXERR_INVALCONTROL* = 1025; MIXERR_INVALVALUE* = 1026; MIXERR_LASTERROR* = 1026; MIXER_OBJECTF_HANDLE* = 80000000H; MIXER_OBJECTF_MIXER* = 0; MIXER_OBJECTF_HMIXER* = 80000000H; MIXER_OBJECTF_WAVEOUT* = 268435456; MIXER_OBJECTF_HWAVEOUT* = -1879048192; MIXER_OBJECTF_WAVEIN* = 536870912; MIXER_OBJECTF_HWAVEIN* = -1610612736; MIXER_OBJECTF_MIDIOUT* = 805306368; MIXER_OBJECTF_HMIDIOUT* = -1342177280; MIXER_OBJECTF_MIDIIN* = 1073741824; MIXER_OBJECTF_HMIDIIN* = -1073741824; MIXER_OBJECTF_AUX* = 1342177280; MIXERLINE_LINEF_ACTIVE* = 1; MIXERLINE_LINEF_DISCONNECTED* = 32768; MIXERLINE_LINEF_SOURCE* = 80000000H; MIXERLINE_COMPONENTTYPE_DST_FIRST* = 0; MIXERLINE_COMPONENTTYPE_DST_UNDEFINED* = 0; MIXERLINE_COMPONENTTYPE_DST_DIGITAL* = 1; MIXERLINE_COMPONENTTYPE_DST_LINE* = 2; MIXERLINE_COMPONENTTYPE_DST_MONITOR* = 3; MIXERLINE_COMPONENTTYPE_DST_SPEAKERS* = 4; MIXERLINE_COMPONENTTYPE_DST_HEADPHONES* = 5; MIXERLINE_COMPONENTTYPE_DST_TELEPHONE* = 6; MIXERLINE_COMPONENTTYPE_DST_WAVEIN* = 7; MIXERLINE_COMPONENTTYPE_DST_VOICEIN* = 8; MIXERLINE_COMPONENTTYPE_DST_LAST* = 8; MIXERLINE_COMPONENTTYPE_SRC_FIRST* = 4096; MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED* = 4096; MIXERLINE_COMPONENTTYPE_SRC_DIGITAL* = 4097; MIXERLINE_COMPONENTTYPE_SRC_LINE* = 4098; MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE* = 4099; MIXERLINE_COMPONENTTYPE_SRC_SYNTHESIZER* = 4100; MIXERLINE_COMPONENTTYPE_SRC_COMPACTDISC* = 4101; MIXERLINE_COMPONENTTYPE_SRC_TELEPHONE* = 4102; MIXERLINE_COMPONENTTYPE_SRC_PCSPEAKER* = 4103; MIXERLINE_COMPONENTTYPE_SRC_WAVEOUT* = 4104; MIXERLINE_COMPONENTTYPE_SRC_AUXILIARY* = 4105; MIXERLINE_COMPONENTTYPE_SRC_ANALOG* = 4106; MIXERLINE_COMPONENTTYPE_SRC_LAST* = 4106; MIXERLINE_TARGETTYPE_UNDEFINED* = 0; MIXERLINE_TARGETTYPE_WAVEOUT* = 1; MIXERLINE_TARGETTYPE_WAVEIN* = 2; MIXERLINE_TARGETTYPE_MIDIOUT* = 3; MIXERLINE_TARGETTYPE_MIDIIN* = 4; MIXERLINE_TARGETTYPE_AUX* = 5; MIXER_GETLINEINFOF_DESTINATION* = 0; MIXER_GETLINEINFOF_SOURCE* = 1; MIXER_GETLINEINFOF_LINEID* = 2; MIXER_GETLINEINFOF_COMPONENTTYPE* = 3; MIXER_GETLINEINFOF_TARGETTYPE* = 4; MIXER_GETLINEINFOF_QUERYMASK* = 15; MIXERCONTROL_CONTROLF_UNIFORM* = 1; MIXERCONTROL_CONTROLF_MULTIPLE* = 2; MIXERCONTROL_CONTROLF_DISABLED* = 80000000H; MIXERCONTROL_CT_CLASS_MASK* = -268435456; MIXERCONTROL_CT_CLASS_CUSTOM* = 0; MIXERCONTROL_CT_CLASS_METER* = 268435456; MIXERCONTROL_CT_CLASS_SWITCH* = 536870912; MIXERCONTROL_CT_CLASS_NUMBER* = 805306368; MIXERCONTROL_CT_CLASS_SLIDER* = 1073741824; MIXERCONTROL_CT_CLASS_FADER* = 1342177280; MIXERCONTROL_CT_CLASS_TIME* = 1610612736; MIXERCONTROL_CT_CLASS_LIST* = 1879048192; MIXERCONTROL_CT_SUBCLASS_MASK* = 251658240; MIXERCONTROL_CT_SC_SWITCH_BOOLEAN* = 0; MIXERCONTROL_CT_SC_SWITCH_BUTTON* = 16777216; MIXERCONTROL_CT_SC_METER_POLLED* = 0; MIXERCONTROL_CT_SC_TIME_MICROSECS* = 0; MIXERCONTROL_CT_SC_TIME_MILLISECS* = 16777216; MIXERCONTROL_CT_SC_LIST_SINGLE* = 0; MIXERCONTROL_CT_SC_LIST_MULTIPLE* = 16777216; MIXERCONTROL_CT_UNITS_MASK* = 16711680; MIXERCONTROL_CT_UNITS_CUSTOM* = 0; MIXERCONTROL_CT_UNITS_BOOLEAN* = 65536; MIXERCONTROL_CT_UNITS_SIGNED* = 131072; MIXERCONTROL_CT_UNITS_UNSIGNED* = 196608; MIXERCONTROL_CT_UNITS_DECIBELS* = 262144; MIXERCONTROL_CT_UNITS_PERCENT* = 327680; MIXERCONTROL_CONTROLTYPE_CUSTOM* = 0; MIXERCONTROL_CONTROLTYPE_BOOLEANMETER* = 268500992; MIXERCONTROL_CONTROLTYPE_SIGNEDMETER* = 268566528; MIXERCONTROL_CONTROLTYPE_PEAKMETER* = 268566529; MIXERCONTROL_CONTROLTYPE_UNSIGNEDMETER* = 268632064; MIXERCONTROL_CONTROLTYPE_BOOLEAN* = 536936448; MIXERCONTROL_CONTROLTYPE_ONOFF* = 536936449; MIXERCONTROL_CONTROLTYPE_MUTE* = 536936450; MIXERCONTROL_CONTROLTYPE_MONO* = 536936451; MIXERCONTROL_CONTROLTYPE_LOUDNESS* = 536936452; MIXERCONTROL_CONTROLTYPE_STEREOENH* = 536936453; MIXERCONTROL_CONTROLTYPE_BUTTON* = 553713664; MIXERCONTROL_CONTROLTYPE_DECIBELS* = 805568512; MIXERCONTROL_CONTROLTYPE_SIGNED* = 805437440; MIXERCONTROL_CONTROLTYPE_UNSIGNED* = 805502976; MIXERCONTROL_CONTROLTYPE_PERCENT* = 805634048; MIXERCONTROL_CONTROLTYPE_SLIDER* = 1073872896; MIXERCONTROL_CONTROLTYPE_PAN* = 1073872897; MIXERCONTROL_CONTROLTYPE_QSOUNDPAN* = 1073872898; MIXERCONTROL_CONTROLTYPE_FADER* = 1342373888; MIXERCONTROL_CONTROLTYPE_VOLUME* = 1342373889; MIXERCONTROL_CONTROLTYPE_BASS* = 1342373890; MIXERCONTROL_CONTROLTYPE_TREBLE* = 1342373891; MIXERCONTROL_CONTROLTYPE_EQUALIZER* = 1342373892; MIXERCONTROL_CONTROLTYPE_SINGLESELECT* = 1879113728; MIXERCONTROL_CONTROLTYPE_MUX* = 1879113729; MIXERCONTROL_CONTROLTYPE_MULTIPLESELECT* = 1895890944; MIXERCONTROL_CONTROLTYPE_MIXER* = 1895890945; MIXERCONTROL_CONTROLTYPE_MICROTIME* = 1610809344; MIXERCONTROL_CONTROLTYPE_MILLITIME* = 1627586560; MIXER_GETLINECONTROLSF_ALL* = 0; MIXER_GETLINECONTROLSF_ONEBYID* = 1; MIXER_GETLINECONTROLSF_ONEBYTYPE* = 2; MIXER_GETLINECONTROLSF_QUERYMASK* = 15; MIXER_GETCONTROLDETAILSF_VALUE* = 0; MIXER_GETCONTROLDETAILSF_LISTTEXT* = 1; MIXER_GETCONTROLDETAILSF_QUERYMASK* = 15; MIXER_SETCONTROLDETAILSF_VALUE* = 0; MIXER_SETCONTROLDETAILSF_CUSTOM* = 1; MIXER_SETCONTROLDETAILSF_QUERYMASK* = 15; TIMERR_NOERROR* = 0; TIMERR_NOCANDO* = 97; TIMERR_STRUCT* = 129; TIME_ONESHOT* = 0; TIME_PERIODIC* = 1; TIME_CALLBACK_FUNCTION* = {}; TIME_CALLBACK_EVENT_SET* = {4}; TIME_CALLBACK_EVENT_PULSE* = {5}; JOYERR_NOERROR* = 0; JOYERR_PARMS* = 165; JOYERR_NOCANDO* = 166; JOYERR_UNPLUGGED* = 167; JOY_BUTTON1* = 1; JOY_BUTTON2* = 2; JOY_BUTTON3* = 4; JOY_BUTTON4* = 8; JOY_BUTTON1CHG* = 256; JOY_BUTTON2CHG* = 512; JOY_BUTTON3CHG* = 1024; JOY_BUTTON4CHG* = 2048; JOY_BUTTON5* = 16; JOY_BUTTON6* = 32; JOY_BUTTON7* = 64; JOY_BUTTON8* = 128; JOY_BUTTON9* = 256; JOY_BUTTON10* = 512; JOY_BUTTON11* = 1024; JOY_BUTTON12* = 2048; JOY_BUTTON13* = 4096; JOY_BUTTON14* = 8192; JOY_BUTTON15* = 16384; JOY_BUTTON16* = 32768; JOY_BUTTON17* = 65536; JOY_BUTTON18* = 131072; JOY_BUTTON19* = 262144; JOY_BUTTON20* = 524288; JOY_BUTTON21* = 1048576; JOY_BUTTON22* = 2097152; JOY_BUTTON23* = 4194304; JOY_BUTTON24* = 8388608; JOY_BUTTON25* = 16777216; JOY_BUTTON26* = 33554432; JOY_BUTTON27* = 67108864; JOY_BUTTON28* = 134217728; JOY_BUTTON29* = 268435456; JOY_BUTTON30* = 536870912; JOY_BUTTON31* = 1073741824; JOY_BUTTON32* = 80000000H; JOY_POVCENTERED* = -1; JOY_POVFORWARD* = 0; JOY_POVRIGHT* = 9000; JOY_POVBACKWARD* = 18000; JOY_POVLEFT* = 27000; JOY_RETURNX* = 1; JOY_RETURNY* = 2; JOY_RETURNZ* = 4; JOY_RETURNR* = 8; JOY_RETURNU* = 16; JOY_RETURNV* = 32; JOY_RETURNPOV* = 64; JOY_RETURNBUTTONS* = 128; JOY_RETURNRAWDATA* = 256; JOY_RETURNPOVCTS* = 512; JOY_RETURNCENTERED* = 1024; JOY_USEDEADZONE* = 2048; JOY_RETURNALL* = 255; JOY_CAL_READALWAYS* = 65536; JOY_CAL_READXYONLY* = 131072; JOY_CAL_READ3* = 262144; JOY_CAL_READ4* = 524288; JOY_CAL_READXONLY* = 1048576; JOY_CAL_READYONLY* = 2097152; JOY_CAL_READ5* = 4194304; JOY_CAL_READ6* = 8388608; JOY_CAL_READZONLY* = 16777216; JOY_CAL_READRONLY* = 33554432; JOY_CAL_READUONLY* = 67108864; JOY_CAL_READVONLY* = 134217728; JOYSTICKID1* = 0; JOYSTICKID2* = 1; JOYCAPS_HASZ* = 1; JOYCAPS_HASR* = 2; JOYCAPS_HASU* = 4; JOYCAPS_HASV* = 8; JOYCAPS_HASPOV* = 16; JOYCAPS_POV4DIR* = 32; JOYCAPS_POVCTS* = 64; MMIOERR_BASE* = 256; MMIOERR_FILENOTFOUND* = 257; MMIOERR_OUTOFMEMORY* = 258; MMIOERR_CANNOTOPEN* = 259; MMIOERR_CANNOTCLOSE* = 260; MMIOERR_CANNOTREAD* = 261; MMIOERR_CANNOTWRITE* = 262; MMIOERR_CANNOTSEEK* = 263; MMIOERR_CANNOTEXPAND* = 264; MMIOERR_CHUNKNOTFOUND* = 265; MMIOERR_UNBUFFERED* = 266; MMIOERR_PATHNOTFOUND* = 267; MMIOERR_ACCESSDENIED* = 268; MMIOERR_SHARINGVIOLATION* = 269; MMIOERR_NETWORKERROR* = 270; MMIOERR_TOOMANYOPENFILES* = 271; MMIOERR_INVALIDFILE* = 272; CFSEPCHAR* = 43; MMIO_RWMODE* = 3; MMIO_SHAREMODE* = 112; MMIO_CREATE* = 4096; MMIO_PARSE* = 256; MMIO_DELETE* = 512; MMIO_EXIST* = 16384; MMIO_ALLOCBUF* = 65536; MMIO_GETTEMP* = 131072; MMIO_DIRTY* = 268435456; MMIO_READ* = 0; MMIO_WRITE* = 1; MMIO_READWRITE* = 2; MMIO_COMPAT* = 0; MMIO_EXCLUSIVE* = 16; MMIO_DENYWRITE* = 32; MMIO_DENYREAD* = 48; MMIO_DENYNONE* = 64; MMIO_FHOPEN* = 16; MMIO_EMPTYBUF* = 16; MMIO_TOUPPER* = 16; MMIO_INSTALLPROC* = 65536; MMIO_GLOBALPROC* = 268435456; MMIO_REMOVEPROC* = 131072; MMIO_UNICODEPROC* = 16777216; MMIO_FINDPROC* = 262144; MMIO_FINDCHUNK* = 16; MMIO_FINDRIFF* = 32; MMIO_FINDLIST* = 64; MMIO_CREATERIFF* = 32; MMIO_CREATELIST* = 64; MMIOM_READ* = 0; MMIOM_WRITE* = 1; MMIOM_SEEK* = 2; MMIOM_OPEN* = 3; MMIOM_CLOSE* = 4; MMIOM_WRITEFLUSH* = 5; MMIOM_RENAME* = 6; MMIOM_USER* = 32768; FOURCC_RIFF* = 1179011410; FOURCC_LIST* = 1414744396; FOURCC_DOS* = 542330692; FOURCC_MEM* = 541934925; SEEK_SET* = 0; SEEK_CUR* = 1; SEEK_END* = 2; MMIO_DEFAULTBUFFER* = 8192; MCIERR_INVALID_DEVICE_ID* = 257; MCIERR_UNRECOGNIZED_KEYWORD* = 259; MCIERR_UNRECOGNIZED_COMMAND* = 261; MCIERR_HARDWARE* = 262; MCIERR_INVALID_DEVICE_NAME* = 263; MCIERR_OUT_OF_MEMORY* = 264; MCIERR_DEVICE_OPEN* = 265; MCIERR_CANNOT_LOAD_DRIVER* = 266; MCIERR_MISSING_COMMAND_STRING* = 267; MCIERR_PARAM_OVERFLOW* = 268; MCIERR_MISSING_STRING_ARGUMENT* = 269; MCIERR_BAD_INTEGER* = 270; MCIERR_PARSER_INTERNAL* = 271; MCIERR_DRIVER_INTERNAL* = 272; MCIERR_MISSING_PARAMETER* = 273; MCIERR_UNSUPPORTED_FUNCTION* = 274; MCIERR_FILE_NOT_FOUND* = 275; MCIERR_DEVICE_NOT_READY* = 276; MCIERR_INTERNAL* = 277; MCIERR_DRIVER* = 278; MCIERR_CANNOT_USE_ALL* = 279; MCIERR_MULTIPLE* = 280; MCIERR_EXTENSION_NOT_FOUND* = 281; MCIERR_OUTOFRANGE* = 282; MCIERR_FLAGS_NOT_COMPATIBLE* = 284; MCIERR_FILE_NOT_SAVED* = 286; MCIERR_DEVICE_TYPE_REQUIRED* = 287; MCIERR_DEVICE_LOCKED* = 288; MCIERR_DUPLICATE_ALIAS* = 289; MCIERR_BAD_CONSTANT* = 290; MCIERR_MUST_USE_SHAREABLE* = 291; MCIERR_MISSING_DEVICE_NAME* = 292; MCIERR_BAD_TIME_FORMAT* = 293; MCIERR_NO_CLOSING_QUOTE* = 294; MCIERR_DUPLICATE_FLAGS* = 295; MCIERR_INVALID_FILE* = 296; MCIERR_NULL_PARAMETER_BLOCK* = 297; MCIERR_UNNAMED_RESOURCE* = 298; MCIERR_NEW_REQUIRES_ALIAS* = 299; MCIERR_NOTIFY_ON_AUTO_OPEN* = 300; MCIERR_NO_ELEMENT_ALLOWED* = 301; MCIERR_NONAPPLICABLE_FUNCTION* = 302; MCIERR_ILLEGAL_FOR_AUTO_OPEN* = 303; MCIERR_FILENAME_REQUIRED* = 304; MCIERR_EXTRA_CHARACTERS* = 305; MCIERR_DEVICE_NOT_INSTALLED* = 306; MCIERR_GET_CD* = 307; MCIERR_SET_CD* = 308; MCIERR_SET_DRIVE* = 309; MCIERR_DEVICE_LENGTH* = 310; MCIERR_DEVICE_ORD_LENGTH* = 311; MCIERR_NO_INTEGER* = 312; MCIERR_WAVE_OUTPUTSINUSE* = 320; MCIERR_WAVE_SETOUTPUTINUSE* = 321; MCIERR_WAVE_INPUTSINUSE* = 322; MCIERR_WAVE_SETINPUTINUSE* = 323; MCIERR_WAVE_OUTPUTUNSPECIFIED* = 324; MCIERR_WAVE_INPUTUNSPECIFIED* = 325; MCIERR_WAVE_OUTPUTSUNSUITABLE* = 326; MCIERR_WAVE_SETOUTPUTUNSUITABLE* = 327; MCIERR_WAVE_INPUTSUNSUITABLE* = 328; MCIERR_WAVE_SETINPUTUNSUITABLE* = 329; MCIERR_SEQ_DIV_INCOMPATIBLE* = 336; MCIERR_SEQ_PORT_INUSE* = 337; MCIERR_SEQ_PORT_NONEXISTENT* = 338; MCIERR_SEQ_PORT_MAPNODEVICE* = 339; MCIERR_SEQ_PORT_MISCERROR* = 340; MCIERR_SEQ_TIMER* = 341; MCIERR_SEQ_PORTUNSPECIFIED* = 342; MCIERR_SEQ_NOMIDIPRESENT* = 343; MCIERR_NO_WINDOW* = 346; MCIERR_CREATEWINDOW* = 347; MCIERR_FILE_READ* = 348; MCIERR_FILE_WRITE* = 349; MCIERR_NO_IDENTITY* = 350; MCIERR_CUSTOM_DRIVER_BASE* = 512; MCI_FIRST* = 2048; MCI_OPEN* = 2051; MCI_CLOSE* = 2052; MCI_ESCAPE* = 2053; MCI_PLAY* = 2054; MCI_SEEK* = 2055; MCI_STOP* = 2056; MCI_PAUSE* = 2057; MCI_INFO* = 2058; MCI_GETDEVCAPS* = 2059; MCI_SPIN* = 2060; MCI_SET* = 2061; MCI_STEP* = 2062; MCI_RECORD* = 2063; MCI_SYSINFO* = 2064; MCI_BREAK* = 2065; MCI_SAVE* = 2067; MCI_STATUS* = 2068; MCI_CUE* = 2096; MCI_REALIZE* = 2112; MCI_WINDOW* = 2113; MCI_PUT* = 2114; MCI_WHERE* = 2115; MCI_FREEZE* = 2116; MCI_UNFREEZE* = 2117; MCI_LOAD* = 2128; MCI_CUT* = 2129; MCI_COPY* = 2130; MCI_PASTE* = 2131; MCI_UPDATE* = 2132; MCI_RESUME* = 2133; MCI_DELETE* = 2134; MCI_USER_MESSAGES* = 3072; MCI_LAST* = 4095; MCI_DEVTYPE_VCR* = 513; MCI_DEVTYPE_VIDEODISC* = 514; MCI_DEVTYPE_OVERLAY* = 515; MCI_DEVTYPE_CD_AUDIO* = 516; MCI_DEVTYPE_DAT* = 517; MCI_DEVTYPE_SCANNER* = 518; MCI_DEVTYPE_ANIMATION* = 519; MCI_DEVTYPE_DIGITAL_VIDEO* = 520; MCI_DEVTYPE_OTHER* = 521; MCI_DEVTYPE_WAVEFORM_AUDIO* = 522; MCI_DEVTYPE_SEQUENCER* = 523; MCI_DEVTYPE_FIRST* = 513; MCI_DEVTYPE_LAST* = 523; MCI_DEVTYPE_FIRST_USER* = 4096; MCI_MODE_NOT_READY* = 524; MCI_MODE_STOP* = 525; MCI_MODE_PLAY* = 526; MCI_MODE_RECORD* = 527; MCI_MODE_SEEK* = 528; MCI_MODE_PAUSE* = 529; MCI_MODE_OPEN* = 530; MCI_FORMAT_MILLISECONDS* = 0; MCI_FORMAT_HMS* = 1; MCI_FORMAT_MSF* = 2; MCI_FORMAT_FRAMES* = 3; MCI_FORMAT_SMPTE_24* = 4; MCI_FORMAT_SMPTE_25* = 5; MCI_FORMAT_SMPTE_30* = 6; MCI_FORMAT_SMPTE_30DROP* = 7; MCI_FORMAT_BYTES* = 8; MCI_FORMAT_SAMPLES* = 9; MCI_FORMAT_TMSF* = 10; MCI_NOTIFY_SUCCESSFUL* = 1; MCI_NOTIFY_SUPERSEDED* = 2; MCI_NOTIFY_ABORTED* = 4; MCI_NOTIFY_FAILURE* = 8; MCI_NOTIFY* = 1; MCI_WAIT* = 2; MCI_FROM* = 4; MCI_TO* = 8; MCI_TRACK* = 16; MCI_OPEN_SHAREABLE* = 256; MCI_OPEN_ELEMENT* = 512; MCI_OPEN_ALIAS* = 1024; MCI_OPEN_ELEMENT_ID* = 2048; MCI_OPEN_TYPE_ID* = 4096; MCI_OPEN_TYPE* = 8192; MCI_SEEK_TO_START* = 256; MCI_SEEK_TO_END* = 512; MCI_STATUS_ITEM* = 256; MCI_STATUS_START* = 512; MCI_STATUS_LENGTH* = 1; MCI_STATUS_POSITION* = 2; MCI_STATUS_NUMBER_OF_TRACKS* = 3; MCI_STATUS_MODE* = 4; MCI_STATUS_MEDIA_PRESENT* = 5; MCI_STATUS_TIME_FORMAT* = 6; MCI_STATUS_READY* = 7; MCI_STATUS_CURRENT_TRACK* = 8; MCI_INFO_PRODUCT* = 256; MCI_INFO_FILE* = 512; MCI_INFO_MEDIA_UPC* = 1024; MCI_INFO_MEDIA_IDENTITY* = 2048; MCI_INFO_NAME* = 4096; MCI_INFO_COPYRIGHT* = 8192; MCI_GETDEVCAPS_ITEM* = 256; MCI_GETDEVCAPS_CAN_RECORD* = 1; MCI_GETDEVCAPS_HAS_AUDIO* = 2; MCI_GETDEVCAPS_HAS_VIDEO* = 3; MCI_GETDEVCAPS_DEVICE_TYPE* = 4; MCI_GETDEVCAPS_USES_FILES* = 5; MCI_GETDEVCAPS_COMPOUND_DEVICE* = 6; MCI_GETDEVCAPS_CAN_EJECT* = 7; MCI_GETDEVCAPS_CAN_PLAY* = 8; MCI_GETDEVCAPS_CAN_SAVE* = 9; MCI_SYSINFO_QUANTITY* = 256; MCI_SYSINFO_OPEN* = 512; MCI_SYSINFO_NAME* = 1024; MCI_SYSINFO_INSTALLNAME* = 2048; MCI_SET_DOOR_OPEN* = 256; MCI_SET_DOOR_CLOSED* = 512; MCI_SET_TIME_FORMAT* = 1024; MCI_SET_AUDIO* = 2048; MCI_SET_VIDEO* = 4096; MCI_SET_ON* = 8192; MCI_SET_OFF* = 16384; MCI_SET_AUDIO_ALL* = 0; MCI_SET_AUDIO_LEFT* = 1; MCI_SET_AUDIO_RIGHT* = 2; MCI_BREAK_KEY* = 256; MCI_BREAK_HWND* = 512; MCI_BREAK_OFF* = 1024; MCI_RECORD_INSERT* = 256; MCI_RECORD_OVERWRITE* = 512; MCI_SAVE_FILE* = 256; MCI_LOAD_FILE* = 256; MCI_VD_MODE_PARK* = 1025; MCI_VD_MEDIA_CLV* = 1026; MCI_VD_MEDIA_CAV* = 1027; MCI_VD_MEDIA_OTHER* = 1028; MCI_VD_FORMAT_TRACK* = 16385; MCI_VD_PLAY_REVERSE* = 65536; MCI_VD_PLAY_FAST* = 131072; MCI_VD_PLAY_SPEED* = 262144; MCI_VD_PLAY_SCAN* = 524288; MCI_VD_PLAY_SLOW* = 1048576; MCI_VD_SEEK_REVERSE* = 65536; MCI_VD_STATUS_SPEED* = 16386; MCI_VD_STATUS_FORWARD* = 16387; MCI_VD_STATUS_MEDIA_TYPE* = 16388; MCI_VD_STATUS_SIDE* = 16389; MCI_VD_STATUS_DISC_SIZE* = 16390; MCI_VD_GETDEVCAPS_CLV* = 65536; MCI_VD_GETDEVCAPS_CAV* = 131072; MCI_VD_SPIN_UP* = 65536; MCI_VD_SPIN_DOWN* = 131072; MCI_VD_GETDEVCAPS_CAN_REVERSE* = 16386; MCI_VD_GETDEVCAPS_FAST_RATE* = 16387; MCI_VD_GETDEVCAPS_SLOW_RATE* = 16388; MCI_VD_GETDEVCAPS_NORMAL_RATE* = 16389; MCI_VD_STEP_FRAMES* = 65536; MCI_VD_STEP_REVERSE* = 131072; MCI_VD_ESCAPE_STRING* = 256; MCI_CDA_STATUS_TYPE_TRACK* = 16385; MCI_CDA_TRACK_AUDIO* = 1088; MCI_CDA_TRACK_OTHER* = 1089; MCI_WAVE_PCM* = 1152; MCI_WAVE_MAPPER* = 1153; MCI_WAVE_OPEN_BUFFER* = 65536; MCI_WAVE_SET_FORMATTAG* = 65536; MCI_WAVE_SET_CHANNELS* = 131072; MCI_WAVE_SET_SAMPLESPERSEC* = 262144; MCI_WAVE_SET_AVGBYTESPERSEC* = 524288; MCI_WAVE_SET_BLOCKALIGN* = 1048576; MCI_WAVE_SET_BITSPERSAMPLE* = 2097152; MCI_WAVE_INPUT* = 4194304; MCI_WAVE_OUTPUT* = 8388608; MCI_WAVE_STATUS_FORMATTAG* = 16385; MCI_WAVE_STATUS_CHANNELS* = 16386; MCI_WAVE_STATUS_SAMPLESPERSEC* = 16387; MCI_WAVE_STATUS_AVGBYTESPERSEC* = 16388; MCI_WAVE_STATUS_BLOCKALIGN* = 16389; MCI_WAVE_STATUS_BITSPERSAMPLE* = 16390; MCI_WAVE_STATUS_LEVEL* = 16391; MCI_WAVE_SET_ANYINPUT* = 67108864; MCI_WAVE_SET_ANYOUTPUT* = 134217728; MCI_WAVE_GETDEVCAPS_INPUTS* = 16385; MCI_WAVE_GETDEVCAPS_OUTPUTS* = 16386; MCI_SEQ_DIV_PPQN* = 1216; MCI_SEQ_DIV_SMPTE_24* = 1217; MCI_SEQ_DIV_SMPTE_25* = 1218; MCI_SEQ_DIV_SMPTE_30DROP* = 1219; MCI_SEQ_DIV_SMPTE_30* = 1220; MCI_SEQ_FORMAT_SONGPTR* = 16385; MCI_SEQ_FILE* = 16386; MCI_SEQ_MIDI* = 16387; MCI_SEQ_SMPTE* = 16388; MCI_SEQ_NONE* = 65533; MCI_SEQ_MAPPER* = 65535; MCI_SEQ_STATUS_TEMPO* = 16386; MCI_SEQ_STATUS_PORT* = 16387; MCI_SEQ_STATUS_SLAVE* = 16391; MCI_SEQ_STATUS_MASTER* = 16392; MCI_SEQ_STATUS_OFFSET* = 16393; MCI_SEQ_STATUS_DIVTYPE* = 16394; MCI_SEQ_STATUS_NAME* = 16395; MCI_SEQ_STATUS_COPYRIGHT* = 16396; MCI_SEQ_SET_TEMPO* = 65536; MCI_SEQ_SET_PORT* = 131072; MCI_SEQ_SET_SLAVE* = 262144; MCI_SEQ_SET_MASTER* = 524288; MCI_SEQ_SET_OFFSET* = 16777216; MCI_ANIM_OPEN_WS* = 65536; MCI_ANIM_OPEN_PARENT* = 131072; MCI_ANIM_OPEN_NOSTATIC* = 262144; MCI_ANIM_PLAY_SPEED* = 65536; MCI_ANIM_PLAY_REVERSE* = 131072; MCI_ANIM_PLAY_FAST* = 262144; MCI_ANIM_PLAY_SLOW* = 524288; MCI_ANIM_PLAY_SCAN* = 1048576; MCI_ANIM_STEP_REVERSE* = 65536; MCI_ANIM_STEP_FRAMES* = 131072; MCI_ANIM_STATUS_SPEED* = 16385; MCI_ANIM_STATUS_FORWARD* = 16386; MCI_ANIM_STATUS_HWND* = 16387; MCI_ANIM_STATUS_HPAL* = 16388; MCI_ANIM_STATUS_STRETCH* = 16389; MCI_ANIM_INFO_TEXT* = 65536; MCI_ANIM_GETDEVCAPS_CAN_REVERSE* = 16385; MCI_ANIM_GETDEVCAPS_FAST_RATE* = 16386; MCI_ANIM_GETDEVCAPS_SLOW_RATE* = 16387; MCI_ANIM_GETDEVCAPS_NORMAL_RATE* = 16388; MCI_ANIM_GETDEVCAPS_PALETTES* = 16390; MCI_ANIM_GETDEVCAPS_CAN_STRETCH* = 16391; MCI_ANIM_GETDEVCAPS_MAX_WINDOWS* = 16392; MCI_ANIM_REALIZE_NORM* = 65536; MCI_ANIM_REALIZE_BKGD* = 131072; MCI_ANIM_WINDOW_HWND* = 65536; MCI_ANIM_WINDOW_STATE* = 262144; MCI_ANIM_WINDOW_TEXT* = 524288; MCI_ANIM_WINDOW_ENABLE_STRETCH* = 1048576; MCI_ANIM_WINDOW_DISABLE_STRETCH* = 2097152; MCI_ANIM_WINDOW_DEFAULT* = 0; MCI_ANIM_RECT* = 65536; MCI_ANIM_PUT_SOURCE* = 131072; MCI_ANIM_PUT_DESTINATION* = 262144; MCI_ANIM_WHERE_SOURCE* = 131072; MCI_ANIM_WHERE_DESTINATION* = 262144; MCI_ANIM_UPDATE_HDC* = 131072; MCI_OVLY_OPEN_WS* = 65536; MCI_OVLY_OPEN_PARENT* = 131072; MCI_OVLY_STATUS_HWND* = 16385; MCI_OVLY_STATUS_STRETCH* = 16386; MCI_OVLY_INFO_TEXT* = 65536; MCI_OVLY_GETDEVCAPS_CAN_STRETCH* = 16385; MCI_OVLY_GETDEVCAPS_CAN_FREEZE* = 16386; MCI_OVLY_GETDEVCAPS_MAX_WINDOWS* = 16387; MCI_OVLY_WINDOW_HWND* = 65536; MCI_OVLY_WINDOW_STATE* = 262144; MCI_OVLY_WINDOW_TEXT* = 524288; MCI_OVLY_WINDOW_ENABLE_STRETCH* = 1048576; MCI_OVLY_WINDOW_DISABLE_STRETCH* = 2097152; MCI_OVLY_WINDOW_DEFAULT* = 0; MCI_OVLY_RECT* = 65536; MCI_OVLY_PUT_SOURCE* = 131072; MCI_OVLY_PUT_DESTINATION* = 262144; MCI_OVLY_PUT_FRAME* = 524288; MCI_OVLY_PUT_VIDEO* = 1048576; MCI_OVLY_WHERE_SOURCE* = 131072; MCI_OVLY_WHERE_DESTINATION* = 262144; MCI_OVLY_WHERE_FRAME* = 524288; MCI_OVLY_WHERE_VIDEO* = 1048576; NEWTRANSPARENT* = 3; QUERYROPSUPPORT* = 40; SELECTDIB* = 41; CONST (* enumerations *) TYPE MMVERSION* = INTEGER; MMRESULT* = INTEGER; MMTIME* = RECORD [noalign] wType*: INTEGER; u*: RECORD [union] ms*: INTEGER; sample*: INTEGER; cb*: INTEGER; ticks*: INTEGER; smpte*: RECORD [untagged] hour*: SHORTCHAR; min*: SHORTCHAR; sec*: SHORTCHAR; frame*: SHORTCHAR; fps*: SHORTCHAR; dummy*: SHORTCHAR; pad*: ARRAY [untagged] 2 OF SHORTCHAR; END; midi*: RECORD [noalign] songptrpos*: INTEGER; END; END; END; PtrMMTIME* = POINTER TO MMTIME; HDRVR* = WinApi.HANDLE; DRVCONFIGINFOEX* = RECORD [noalign] dwDCISize*: INTEGER; lpszDCISectionName*: WinApi.PtrWSTR; lpszDCIAliasName*: WinApi.PtrWSTR; dnDevNode*: INTEGER; END; PtrDRVCONFIGINFOEX* = POINTER TO DRVCONFIGINFOEX; DRVCONFIGINFO* = RECORD [noalign] dwDCISize*: INTEGER; lpszDCISectionName*: WinApi.PtrWSTR; lpszDCIAliasName*: WinApi.PtrWSTR; END; PtrDRVCONFIGINFO* = POINTER TO DRVCONFIGINFO; DRIVERPROC* = PROCEDURE (p0: INTEGER; p1: HDRVR; p2: INTEGER; p3: WinApi.LPARAM; p4: WinApi.LPARAM): WinApi.LRESULT; DRVCALLBACK* = PROCEDURE(hdrvr: HDRVR; uMsg: INTEGER; dwUser: INTEGER; dw1: INTEGER; dw2: INTEGER); HWAVE* = WinApi.HANDLE; HWAVEIN* = WinApi.HANDLE; HWAVEOUT* = WinApi.HANDLE; WAVECALLBACK* = DRVCALLBACK; PtrWAVEHDR* = POINTER TO WAVEHDR; WAVEHDR* = RECORD [noalign] lpData*: WinApi.PtrSTR; dwBufferLength*: INTEGER; dwBytesRecorded*: INTEGER; dwUser*: INTEGER; dwFlags*: SET; dwLoops*: INTEGER; lpNext*: PtrWAVEHDR; reserved*: INTEGER; END; WAVEOUTCAPSA* = RECORD [noalign] wMid*: SHORTINT; wPid*: SHORTINT; vDriverVersion*: MMVERSION; szPname*: ARRAY [untagged] 32 OF SHORTCHAR; dwFormats*: INTEGER; wChannels*: SHORTINT; wReserved1*: SHORTINT; dwSupport*: INTEGER; END; PtrWAVEOUTCAPSA* = POINTER TO WAVEOUTCAPSA; WAVEOUTCAPSW* = RECORD [noalign] wMid*: SHORTINT; wPid*: SHORTINT; vDriverVersion*: MMVERSION; szPname*: ARRAY [untagged] 32 OF CHAR; dwFormats*: INTEGER; wChannels*: SHORTINT; wReserved1*: SHORTINT; dwSupport*: INTEGER; END; PtrWAVEOUTCAPSW* = POINTER TO WAVEOUTCAPSW; WAVEOUTCAPS* = WAVEOUTCAPSA; PtrWAVEOUTCAPS* = PtrWAVEOUTCAPSA; WAVEINCAPSA* = RECORD [noalign] wMid*: SHORTINT; wPid*: SHORTINT; vDriverVersion*: MMVERSION; szPname*: ARRAY [untagged] 32 OF SHORTCHAR; dwFormats*: INTEGER; wChannels*: SHORTINT; wReserved1*: SHORTINT; END; PtrWAVEINCAPSA* = POINTER TO WAVEINCAPSA; WAVEINCAPSW* = RECORD [noalign] wMid*: SHORTINT; wPid*: SHORTINT; vDriverVersion*: MMVERSION; szPname*: ARRAY [untagged] 32 OF CHAR; dwFormats*: INTEGER; wChannels*: SHORTINT; wReserved1*: SHORTINT; END; PtrWAVEINCAPSW* = POINTER TO WAVEINCAPSW; WAVEINCAPS* = WAVEINCAPSA; PtrWAVEINCAPS* = PtrWAVEINCAPSA; WAVEFORMAT* = RECORD [noalign] wFormatTag*: SHORTINT; nChannels*: SHORTINT; nSamplesPerSec*: INTEGER; nAvgBytesPerSec*: INTEGER; nBlockAlign*: SHORTINT; END; PtrWAVEFORMAT* = POINTER TO WAVEFORMAT; PCMWAVEFORMAT* = RECORD [noalign] wf*: WAVEFORMAT; wBitsPerSample*: SHORTINT; END; PtrPCMWAVEFORMAT* = POINTER TO PCMWAVEFORMAT; WAVEFORMATEX* = RECORD [noalign] wFormatTag*: SHORTINT; nChannels*: SHORTINT; nSamplesPerSec*: INTEGER; nAvgBytesPerSec*: INTEGER; nBlockAlign*: SHORTINT; wBitsPerSample*: SHORTINT; cbSize*: SHORTINT; END; PtrWAVEFORMATEX* = POINTER TO WAVEFORMATEX; HMIDI* = WinApi.HANDLE; HMIDIIN* = WinApi.HANDLE; HMIDIOUT* = WinApi.HANDLE; HMIDISTRM* = WinApi.HANDLE; MIDICALLBACK* = DRVCALLBACK; PATCHARRAY* = ARRAY [untagged] 128 OF SHORTINT; KEYARRAY* = ARRAY [untagged] 128 OF SHORTINT; MIDIOUTCAPSA* = RECORD [noalign] wMid*: SHORTINT; wPid*: SHORTINT; vDriverVersion*: MMVERSION; szPname*: ARRAY [untagged] 32 OF SHORTCHAR; wTechnology*: SHORTINT; wVoices*: SHORTINT; wNotes*: SHORTINT; wChannelMask*: SHORTINT; dwSupport*: INTEGER; END; PtrMIDIOUTCAPSA* = POINTER TO MIDIOUTCAPSA; MIDIOUTCAPSW* = RECORD [noalign] wMid*: SHORTINT; wPid*: SHORTINT; vDriverVersion*: MMVERSION; szPname*: ARRAY [untagged] 32 OF CHAR; wTechnology*: SHORTINT; wVoices*: SHORTINT; wNotes*: SHORTINT; wChannelMask*: SHORTINT; dwSupport*: INTEGER; END; PtrMIDIOUTCAPSW* = POINTER TO MIDIOUTCAPSW; MIDIOUTCAPS* = MIDIOUTCAPSA; PtrMIDIOUTCAPS* = PtrMIDIOUTCAPSA; MIDIINCAPSA* = RECORD [noalign] wMid*: SHORTINT; wPid*: SHORTINT; vDriverVersion*: MMVERSION; szPname*: ARRAY [untagged] 32 OF SHORTCHAR; dwSupport*: INTEGER; END; PtrMIDIINCAPSA* = POINTER TO MIDIINCAPSA; MIDIINCAPSW* = RECORD [noalign] wMid*: SHORTINT; wPid*: SHORTINT; vDriverVersion*: MMVERSION; szPname*: ARRAY [untagged] 32 OF CHAR; dwSupport*: INTEGER; END; PtrMIDIINCAPSW* = POINTER TO MIDIINCAPSW; MIDIINCAPS* = MIDIINCAPSA; PtrMIDIINCAPS* = PtrMIDIINCAPSA; PtrMIDIHDR* = POINTER TO MIDIHDR; MIDIHDR* = RECORD [noalign] lpData*: WinApi.PtrSTR; dwBufferLength*: INTEGER; dwBytesRecorded*: INTEGER; dwUser*: INTEGER; dwFlags*: SET; lpNext*: PtrMIDIHDR; reserved*: INTEGER; dwOffset*: INTEGER; dwReserved*: ARRAY [untagged] 8 OF INTEGER; END; MIDIEVENT* = RECORD [noalign] dwDeltaTime*: INTEGER; dwStreamID*: INTEGER; dwEvent*: INTEGER; dwParms*: ARRAY [untagged] 1 OF INTEGER; END; MIDISTRMBUFFVER* = RECORD [noalign] dwVersion*: INTEGER; dwMid*: INTEGER; dwOEMVersion*: INTEGER; END; MIDIPROPTIMEDIV* = RECORD [noalign] cbStruct*: INTEGER; dwTimeDiv*: INTEGER; END; PtrMIDIPROPTIMEDIV* = POINTER TO MIDIPROPTIMEDIV; MIDIPROPTEMPO* = RECORD [noalign] cbStruct*: INTEGER; dwTempo*: INTEGER; END; PtrMIDIPROPTEMPO* = POINTER TO MIDIPROPTEMPO; AUXCAPSA* = RECORD [noalign] wMid*: SHORTINT; wPid*: SHORTINT; vDriverVersion*: MMVERSION; szPname*: ARRAY [untagged] 32 OF SHORTCHAR; wTechnology*: SHORTINT; wReserved1*: SHORTINT; dwSupport*: INTEGER; END; PtrAUXCAPSA* = POINTER TO AUXCAPSA; AUXCAPSW* = RECORD [noalign] wMid*: SHORTINT; wPid*: SHORTINT; vDriverVersion*: MMVERSION; szPname*: ARRAY [untagged] 32 OF CHAR; wTechnology*: SHORTINT; wReserved1*: SHORTINT; dwSupport*: INTEGER; END; PtrAUXCAPSW* = POINTER TO AUXCAPSW; AUXCAPS* = AUXCAPSA; PtrAUXCAPS* = PtrAUXCAPSA; HMIXEROBJ* = WinApi.HANDLE; HMIXER* = WinApi.HANDLE; MIXERCAPSA* = RECORD [noalign] wMid*: SHORTINT; wPid*: SHORTINT; vDriverVersion*: MMVERSION; szPname*: ARRAY [untagged] 32 OF SHORTCHAR; fdwSupport*: INTEGER; cDestinations*: INTEGER; END; PtrMIXERCAPSA* = POINTER TO MIXERCAPSA; MIXERCAPSW* = RECORD [noalign] wMid*: SHORTINT; wPid*: SHORTINT; vDriverVersion*: MMVERSION; szPname*: ARRAY [untagged] 32 OF CHAR; fdwSupport*: INTEGER; cDestinations*: INTEGER; END; PtrMIXERCAPSW* = POINTER TO MIXERCAPSW; MIXERCAPS* = MIXERCAPSA; PtrMIXERCAPS* = PtrMIXERCAPSA; MIXERLINEA* = RECORD [noalign] cbStruct*: INTEGER; dwDestination*: INTEGER; dwSource*: INTEGER; dwLineID*: INTEGER; fdwLine*: INTEGER; dwUser*: INTEGER; dwComponentType*: INTEGER; cChannels*: INTEGER; cConnections*: INTEGER; cControls*: INTEGER; szShortName*: ARRAY [untagged] 16 OF SHORTCHAR; szName*: ARRAY [untagged] 64 OF SHORTCHAR; Target*: RECORD [noalign] dwType*: INTEGER; dwDeviceID*: INTEGER; wMid*: SHORTINT; wPid*: SHORTINT; vDriverVersion*: MMVERSION; szPname*: ARRAY [untagged] 32 OF SHORTCHAR; END; END; PtrMIXERLINEA* = POINTER TO MIXERLINEA; MIXERLINEW* = RECORD [noalign] cbStruct*: INTEGER; dwDestination*: INTEGER; dwSource*: INTEGER; dwLineID*: INTEGER; fdwLine*: INTEGER; dwUser*: INTEGER; dwComponentType*: INTEGER; cChannels*: INTEGER; cConnections*: INTEGER; cControls*: INTEGER; szShortName*: ARRAY [untagged] 16 OF CHAR; szName*: ARRAY [untagged] 64 OF CHAR; Target*: RECORD [noalign] dwType*: INTEGER; dwDeviceID*: INTEGER; wMid*: SHORTINT; wPid*: SHORTINT; vDriverVersion*: MMVERSION; szPname*: ARRAY [untagged] 32 OF CHAR; END; END; PtrMIXERLINEW* = POINTER TO MIXERLINEW; MIXERLINE* = MIXERLINEA; PtrMIXERLINE* = PtrMIXERLINEA; MIXERCONTROLA* = RECORD [noalign] cbStruct*: INTEGER; dwControlID*: INTEGER; dwControlType*: INTEGER; fdwControl*: INTEGER; cMultipleItems*: INTEGER; szShortName*: ARRAY [untagged] 16 OF SHORTCHAR; szName*: ARRAY [untagged] 64 OF SHORTCHAR; Bounds*: RECORD [union] r*: RECORD [noalign] lMinimum*: INTEGER; lMaximum*: INTEGER; END; r1*: RECORD [noalign] dwMinimum*: INTEGER; dwMaximum*: INTEGER; END; dwReserved*: ARRAY [untagged] 6 OF INTEGER; END; Metrics*: RECORD [union] cSteps*: INTEGER; cbCustomData*: INTEGER; dwReserved*: ARRAY [untagged] 6 OF INTEGER; END; END; PtrMIXERCONTROLA* = POINTER TO MIXERCONTROLA; MIXERCONTROLW* = RECORD [noalign] cbStruct*: INTEGER; dwControlID*: INTEGER; dwControlType*: INTEGER; fdwControl*: INTEGER; cMultipleItems*: INTEGER; szShortName*: ARRAY [untagged] 16 OF CHAR; szName*: ARRAY [untagged] 64 OF CHAR; Bounds*: RECORD [union] r*: RECORD [noalign] lMinimum*: INTEGER; lMaximum*: INTEGER; END; r1*: RECORD [noalign] dwMinimum*: INTEGER; dwMaximum*: INTEGER; END; dwReserved*: ARRAY [untagged] 6 OF INTEGER; END; Metrics*: RECORD [union] cSteps*: INTEGER; cbCustomData*: INTEGER; dwReserved*: ARRAY [untagged] 6 OF INTEGER; END; END; PtrMIXERCONTROLW* = POINTER TO MIXERCONTROLW; MIXERCONTROL* = MIXERCONTROLA; PtrMIXERCONTROL* = PtrMIXERCONTROLA; MIXERLINECONTROLSA* = RECORD [noalign] cbStruct*: INTEGER; dwLineID*: INTEGER; u*: RECORD [union] dwControlID*: INTEGER; dwControlType*: INTEGER; END; cControls*: INTEGER; cbmxctrl*: INTEGER; pamxctrl*: PtrMIXERCONTROLA; END; PtrMIXERLINECONTROLSA* = POINTER TO MIXERLINECONTROLSA; MIXERLINECONTROLSW* = RECORD [noalign] cbStruct*: INTEGER; dwLineID*: INTEGER; u*: RECORD [union] dwControlID*: INTEGER; dwControlType*: INTEGER; END; cControls*: INTEGER; cbmxctrl*: INTEGER; pamxctrl*: PtrMIXERCONTROLW; END; PtrMIXERLINECONTROLSW* = POINTER TO MIXERLINECONTROLSW; MIXERLINECONTROLS* = MIXERLINECONTROLSA; PtrMIXERLINECONTROLS* = PtrMIXERLINECONTROLSA; MIXERCONTROLDETAILS* = RECORD [noalign] cbStruct*: INTEGER; dwControlID*: INTEGER; cChannels*: INTEGER; u*: RECORD [union] hwndOwner*: WinApi.HWND; cMultipleItems*: INTEGER; END; cbDetails*: INTEGER; paDetails*: WinApi.PtrVoid; END; PtrMIXERCONTROLDETAILS* = POINTER TO MIXERCONTROLDETAILS; MIXERCONTROLDETAILS_LISTTEXTA* = RECORD [noalign] dwParam1*: INTEGER; dwParam2*: INTEGER; szName*: ARRAY [untagged] 64 OF SHORTCHAR; END; PtrMIXERCONTROLDETAILS_LISTTEXTA* = POINTER TO MIXERCONTROLDETAILS_LISTTEXTA; MIXERCONTROLDETAILS_LISTTEXTW* = RECORD [noalign] dwParam1*: INTEGER; dwParam2*: INTEGER; szName*: ARRAY [untagged] 64 OF CHAR; END; PtrMIXERCONTROLDETAILS_LISTTEXTW* = POINTER TO MIXERCONTROLDETAILS_LISTTEXTW; MIXERCONTROLDETAILS_LISTTEXT* = MIXERCONTROLDETAILS_LISTTEXTA; PtrMIXERCONTROLDETAILS_LISTTEXT* = PtrMIXERCONTROLDETAILS_LISTTEXTA; MIXERCONTROLDETAILS_BOOLEAN* = RECORD [noalign] fValue*: INTEGER; END; PtrMIXERCONTROLDETAILS_BOOLEAN* = POINTER TO MIXERCONTROLDETAILS_BOOLEAN; MIXERCONTROLDETAILS_SIGNED* = RECORD [noalign] lValue*: INTEGER; END; PtrMIXERCONTROLDETAILS_SIGNED* = POINTER TO MIXERCONTROLDETAILS_SIGNED; MIXERCONTROLDETAILS_UNSIGNED* = RECORD [noalign] dwValue*: INTEGER; END; PtrMIXERCONTROLDETAILS_UNSIGNED* = POINTER TO MIXERCONTROLDETAILS_UNSIGNED; TIMECALLBACK* = PROCEDURE(uTimerID: INTEGER; uMsg: INTEGER; dwUser: INTEGER; dw1: INTEGER; dw2: INTEGER); TIMECAPS* = RECORD [noalign] wPeriodMin*: INTEGER; wPeriodMax*: INTEGER; END; PtrTIMECAPS* = POINTER TO TIMECAPS; JOYCAPSA* = RECORD [noalign] wMid*: SHORTINT; wPid*: SHORTINT; szPname*: ARRAY [untagged] 32 OF SHORTCHAR; wXmin*: INTEGER; wXmax*: INTEGER; wYmin*: INTEGER; wYmax*: INTEGER; wZmin*: INTEGER; wZmax*: INTEGER; wNumButtons*: INTEGER; wPeriodMin*: INTEGER; wPeriodMax*: INTEGER; wRmin*: INTEGER; wRmax*: INTEGER; wUmin*: INTEGER; wUmax*: INTEGER; wVmin*: INTEGER; wVmax*: INTEGER; wCaps*: INTEGER; wMaxAxes*: INTEGER; wNumAxes*: INTEGER; wMaxButtons*: INTEGER; szRegKey*: ARRAY [untagged] 32 OF SHORTCHAR; szOEMVxD*: ARRAY [untagged] 260 OF SHORTCHAR; END; PtrJOYCAPSA* = POINTER TO JOYCAPSA; JOYCAPSW* = RECORD [noalign] wMid*: SHORTINT; wPid*: SHORTINT; szPname*: ARRAY [untagged] 32 OF CHAR; wXmin*: INTEGER; wXmax*: INTEGER; wYmin*: INTEGER; wYmax*: INTEGER; wZmin*: INTEGER; wZmax*: INTEGER; wNumButtons*: INTEGER; wPeriodMin*: INTEGER; wPeriodMax*: INTEGER; wRmin*: INTEGER; wRmax*: INTEGER; wUmin*: INTEGER; wUmax*: INTEGER; wVmin*: INTEGER; wVmax*: INTEGER; wCaps*: INTEGER; wMaxAxes*: INTEGER; wNumAxes*: INTEGER; wMaxButtons*: INTEGER; szRegKey*: ARRAY [untagged] 32 OF CHAR; szOEMVxD*: ARRAY [untagged] 260 OF CHAR; END; PtrJOYCAPSW* = POINTER TO JOYCAPSW; JOYCAPS* = JOYCAPSA; PtrJOYCAPS* = PtrJOYCAPSA; JOYINFO* = RECORD [noalign] wXpos*: INTEGER; wYpos*: INTEGER; wZpos*: INTEGER; wButtons*: INTEGER; END; PtrJOYINFO* = POINTER TO JOYINFO; JOYINFOEX* = RECORD [noalign] dwSize*: INTEGER; dwFlags*: SET; dwXpos*: INTEGER; dwYpos*: INTEGER; dwZpos*: INTEGER; dwRpos*: INTEGER; dwUpos*: INTEGER; dwVpos*: INTEGER; dwButtons*: INTEGER; dwButtonNumber*: INTEGER; dwPOV*: INTEGER; dwReserved1*: INTEGER; dwReserved2*: INTEGER; END; PtrJOYINFOEX* = POINTER TO JOYINFOEX; FOURCC* = INTEGER; HMMIO* = WinApi.HANDLE; MMIOPROC* = PROCEDURE(lpmmioinfo: WinApi.PtrSTR; uMsg: INTEGER; lParam1: WinApi.LPARAM; lParam2: WinApi.LPARAM): WinApi.LRESULT; MMIOINFO* = RECORD [noalign] dwFlags*: SET; fccIOProc*: FOURCC; pIOProc*: MMIOPROC; wErrorRet*: INTEGER; htask*: WinApi.HTASK; cchBuffer*: INTEGER; pchBuffer*: WinApi.PtrSTR; pchNext*: WinApi.PtrSTR; pchEndRead*: WinApi.PtrSTR; pchEndWrite*: WinApi.PtrSTR; lBufOffset*: INTEGER; lDiskOffset*: INTEGER; adwInfo*: ARRAY [untagged] 3 OF INTEGER; dwReserved1*: INTEGER; dwReserved2*: INTEGER; hmmio*: HMMIO; END; PtrMMIOINFO* = POINTER TO MMIOINFO; MMCKINFO* = RECORD [noalign] ckid*: FOURCC; cksize*: INTEGER; fccType*: FOURCC; dwDataOffset*: INTEGER; dwFlags*: SET; END; PtrMMCKINFO* = POINTER TO MMCKINFO; MCIERROR* = INTEGER; MCIDEVICEID* = INTEGER; YIELDPROC* = PROCEDURE (mciId: MCIDEVICEID; dwYieldData: INTEGER): INTEGER; MCI_GENERIC_PARMS* = RECORD [noalign] dwCallback*: INTEGER; END; PtrMCI_GENERIC_PARMS* = POINTER TO MCI_GENERIC_PARMS; MCI_OPEN_PARMSA* = RECORD [noalign] dwCallback*: INTEGER; wDeviceID*: MCIDEVICEID; lpstrDeviceType*: WinApi.PtrSTR; lpstrElementName*: WinApi.PtrSTR; lpstrAlias*: WinApi.PtrSTR; END; PtrMCI_OPEN_PARMSA* = POINTER TO MCI_OPEN_PARMSA; MCI_OPEN_PARMSW* = RECORD [noalign] dwCallback*: INTEGER; wDeviceID*: MCIDEVICEID; lpstrDeviceType*: WinApi.PtrWSTR; lpstrElementName*: WinApi.PtrWSTR; lpstrAlias*: WinApi.PtrWSTR; END; PtrMCI_OPEN_PARMSW* = POINTER TO MCI_OPEN_PARMSW; MCI_OPEN_PARMS* = MCI_OPEN_PARMSA; PtrMCI_OPEN_PARMS* = PtrMCI_OPEN_PARMSA; MCI_PLAY_PARMS* = RECORD [noalign] dwCallback*: INTEGER; dwFrom*: INTEGER; dwTo*: INTEGER; END; PtrMCI_PLAY_PARMS* = POINTER TO MCI_PLAY_PARMS; MCI_SEEK_PARMS* = RECORD [noalign] dwCallback*: INTEGER; dwTo*: INTEGER; END; PtrMCI_SEEK_PARMS* = POINTER TO MCI_SEEK_PARMS; MCI_STATUS_PARMS* = RECORD [noalign] dwCallback*: INTEGER; dwReturn*: INTEGER; dwItem*: INTEGER; dwTrack*: INTEGER; END; PtrMCI_STATUS_PARMS* = POINTER TO MCI_STATUS_PARMS; MCI_INFO_PARMSA* = RECORD [noalign] dwCallback*: INTEGER; lpstrReturn*: WinApi.PtrSTR; dwRetSize*: INTEGER; END; PtrMCI_INFO_PARMSA* = POINTER TO MCI_INFO_PARMSA; MCI_INFO_PARMSW* = RECORD [noalign] dwCallback*: INTEGER; lpstrReturn*: WinApi.PtrWSTR; dwRetSize*: INTEGER; END; PtrMCI_INFO_PARMSW* = POINTER TO MCI_INFO_PARMSW; MCI_INFO_PARMS* = MCI_INFO_PARMSA; PtrMCI_INFO_PARMS* = PtrMCI_INFO_PARMSA; MCI_GETDEVCAPS_PARMS* = RECORD [noalign] dwCallback*: INTEGER; dwReturn*: INTEGER; dwItem*: INTEGER; END; PtrMCI_GETDEVCAPS_PARMS* = POINTER TO MCI_GETDEVCAPS_PARMS; MCI_SYSINFO_PARMSA* = RECORD [noalign] dwCallback*: INTEGER; lpstrReturn*: WinApi.PtrSTR; dwRetSize*: INTEGER; dwNumber*: INTEGER; wDeviceType*: INTEGER; END; PtrMCI_SYSINFO_PARMSA* = POINTER TO MCI_SYSINFO_PARMSA; MCI_SYSINFO_PARMSW* = RECORD [noalign] dwCallback*: INTEGER; lpstrReturn*: WinApi.PtrWSTR; dwRetSize*: INTEGER; dwNumber*: INTEGER; wDeviceType*: INTEGER; END; PtrMCI_SYSINFO_PARMSW* = POINTER TO MCI_SYSINFO_PARMSW; MCI_SYSINFO_PARMS* = MCI_SYSINFO_PARMSA; PtrMCI_SYSINFO_PARMS* = PtrMCI_SYSINFO_PARMSA; MCI_SET_PARMS* = RECORD [noalign] dwCallback*: INTEGER; dwTimeFormat*: INTEGER; dwAudio*: INTEGER; END; PtrMCI_SET_PARMS* = POINTER TO MCI_SET_PARMS; MCI_BREAK_PARMS* = RECORD [noalign] dwCallback*: INTEGER; nVirtKey*: INTEGER; hwndBreak*: WinApi.HWND; END; PtrMCI_BREAK_PARMS* = POINTER TO MCI_BREAK_PARMS; MCI_SAVE_PARMSA* = RECORD [noalign] dwCallback*: INTEGER; lpfilename*: WinApi.PtrSTR; END; PtrMCI_SAVE_PARMSA* = POINTER TO MCI_SAVE_PARMSA; MCI_SAVE_PARMSW* = RECORD [noalign] dwCallback*: INTEGER; lpfilename*: WinApi.PtrWSTR; END; PtrMCI_SAVE_PARMSW* = POINTER TO MCI_SAVE_PARMSW; MCI_SAVE_PARMS* = MCI_SAVE_PARMSA; PtrMCI_SAVE_PARMS* = PtrMCI_SAVE_PARMSA; MCI_LOAD_PARMSA* = RECORD [noalign] dwCallback*: INTEGER; lpfilename*: WinApi.PtrSTR; END; PtrMCI_LOAD_PARMSA* = POINTER TO MCI_LOAD_PARMSA; MCI_LOAD_PARMSW* = RECORD [noalign] dwCallback*: INTEGER; lpfilename*: WinApi.PtrWSTR; END; PtrMCI_LOAD_PARMSW* = POINTER TO MCI_LOAD_PARMSW; MCI_LOAD_PARMS* = MCI_LOAD_PARMSA; PtrMCI_LOAD_PARMS* = PtrMCI_LOAD_PARMSA; MCI_RECORD_PARMS* = RECORD [noalign] dwCallback*: INTEGER; dwFrom*: INTEGER; dwTo*: INTEGER; END; PtrMCI_RECORD_PARMS* = POINTER TO MCI_RECORD_PARMS; MCI_VD_PLAY_PARMS* = RECORD [noalign] dwCallback*: INTEGER; dwFrom*: INTEGER; dwTo*: INTEGER; dwSpeed*: INTEGER; END; PtrMCI_VD_PLAY_PARMS* = POINTER TO MCI_VD_PLAY_PARMS; MCI_VD_STEP_PARMS* = RECORD [noalign] dwCallback*: INTEGER; dwFrames*: INTEGER; END; PtrMCI_VD_STEP_PARMS* = POINTER TO MCI_VD_STEP_PARMS; MCI_VD_ESCAPE_PARMSA* = RECORD [noalign] dwCallback*: INTEGER; lpstrCommand*: WinApi.PtrSTR; END; PtrMCI_VD_ESCAPE_PARMSA* = POINTER TO MCI_VD_ESCAPE_PARMSA; MCI_VD_ESCAPE_PARMSW* = RECORD [noalign] dwCallback*: INTEGER; lpstrCommand*: WinApi.PtrWSTR; END; PtrMCI_VD_ESCAPE_PARMSW* = POINTER TO MCI_VD_ESCAPE_PARMSW; MCI_VD_ESCAPE_PARMS* = MCI_VD_ESCAPE_PARMSA; PtrMCI_VD_ESCAPE_PARMS* = PtrMCI_VD_ESCAPE_PARMSA; MCI_WAVE_OPEN_PARMSA* = RECORD [noalign] dwCallback*: INTEGER; wDeviceID*: MCIDEVICEID; lpstrDeviceType*: WinApi.PtrSTR; lpstrElementName*: WinApi.PtrSTR; lpstrAlias*: WinApi.PtrSTR; dwBufferSeconds*: INTEGER; END; PtrMCI_WAVE_OPEN_PARMSA* = POINTER TO MCI_WAVE_OPEN_PARMSA; MCI_WAVE_OPEN_PARMSW* = RECORD [noalign] dwCallback*: INTEGER; wDeviceID*: MCIDEVICEID; lpstrDeviceType*: WinApi.PtrWSTR; lpstrElementName*: WinApi.PtrWSTR; lpstrAlias*: WinApi.PtrWSTR; dwBufferSeconds*: INTEGER; END; PtrMCI_WAVE_OPEN_PARMSW* = POINTER TO MCI_WAVE_OPEN_PARMSW; MCI_WAVE_OPEN_PARMS* = MCI_WAVE_OPEN_PARMSA; PtrMCI_WAVE_OPEN_PARMS* = PtrMCI_WAVE_OPEN_PARMSA; MCI_WAVE_DELETE_PARMS* = RECORD [noalign] dwCallback*: INTEGER; dwFrom*: INTEGER; dwTo*: INTEGER; END; PtrMCI_WAVE_DELETE_PARMS* = POINTER TO MCI_WAVE_DELETE_PARMS; MCI_WAVE_SET_PARMS* = RECORD [noalign] dwCallback*: INTEGER; dwTimeFormat*: INTEGER; dwAudio*: INTEGER; wInput*: INTEGER; wOutput*: INTEGER; wFormatTag*: SHORTINT; wReserved2*: SHORTINT; nChannels*: SHORTINT; wReserved3*: SHORTINT; nSamplesPerSec*: INTEGER; nAvgBytesPerSec*: INTEGER; nBlockAlign*: SHORTINT; wReserved4*: SHORTINT; wBitsPerSample*: SHORTINT; wReserved5*: SHORTINT; END; PtrMCI_WAVE_SET_PARMS* = POINTER TO MCI_WAVE_SET_PARMS; MCI_SEQ_SET_PARMS* = RECORD [noalign] dwCallback*: INTEGER; dwTimeFormat*: INTEGER; dwAudio*: INTEGER; dwTempo*: INTEGER; dwPort*: INTEGER; dwSlave*: INTEGER; dwMaster*: INTEGER; dwOffset*: INTEGER; END; PtrMCI_SEQ_SET_PARMS* = POINTER TO MCI_SEQ_SET_PARMS; MCI_ANIM_OPEN_PARMSA* = RECORD [noalign] dwCallback*: INTEGER; wDeviceID*: MCIDEVICEID; lpstrDeviceType*: WinApi.PtrSTR; lpstrElementName*: WinApi.PtrSTR; lpstrAlias*: WinApi.PtrSTR; dwStyle*: SET; hWndParent*: WinApi.HWND; END; PtrMCI_ANIM_OPEN_PARMSA* = POINTER TO MCI_ANIM_OPEN_PARMSA; MCI_ANIM_OPEN_PARMSW* = RECORD [noalign] dwCallback*: INTEGER; wDeviceID*: MCIDEVICEID; lpstrDeviceType*: WinApi.PtrWSTR; lpstrElementName*: WinApi.PtrWSTR; lpstrAlias*: WinApi.PtrWSTR; dwStyle*: SET; hWndParent*: WinApi.HWND; END; PtrMCI_ANIM_OPEN_PARMSW* = POINTER TO MCI_ANIM_OPEN_PARMSW; MCI_ANIM_OPEN_PARMS* = MCI_ANIM_OPEN_PARMSA; PtrMCI_ANIM_OPEN_PARMS* = PtrMCI_ANIM_OPEN_PARMSA; MCI_ANIM_PLAY_PARMS* = RECORD [noalign] dwCallback*: INTEGER; dwFrom*: INTEGER; dwTo*: INTEGER; dwSpeed*: INTEGER; END; PtrMCI_ANIM_PLAY_PARMS* = POINTER TO MCI_ANIM_PLAY_PARMS; MCI_ANIM_STEP_PARMS* = RECORD [noalign] dwCallback*: INTEGER; dwFrames*: INTEGER; END; PtrMCI_ANIM_STEP_PARMS* = POINTER TO MCI_ANIM_STEP_PARMS; MCI_ANIM_WINDOW_PARMSA* = RECORD [noalign] dwCallback*: INTEGER; hWnd*: WinApi.HWND; nCmdShow*: INTEGER; lpstrText*: WinApi.PtrSTR; END; PtrMCI_ANIM_WINDOW_PARMSA* = POINTER TO MCI_ANIM_WINDOW_PARMSA; MCI_ANIM_WINDOW_PARMSW* = RECORD [noalign] dwCallback*: INTEGER; hWnd*: WinApi.HWND; nCmdShow*: INTEGER; lpstrText*: WinApi.PtrWSTR; END; PtrMCI_ANIM_WINDOW_PARMSW* = POINTER TO MCI_ANIM_WINDOW_PARMSW; MCI_ANIM_WINDOW_PARMS* = MCI_ANIM_WINDOW_PARMSA; PtrMCI_ANIM_WINDOW_PARMS* = PtrMCI_ANIM_WINDOW_PARMSA; MCI_ANIM_RECT_PARMS* = RECORD [noalign] dwCallback*: INTEGER; rc*: WinApi.RECT; END; PtrMCI_ANIM_RECT_PARMS* = POINTER TO MCI_ANIM_RECT_PARMS; MCI_ANIM_UPDATE_PARMS* = RECORD [noalign] dwCallback*: INTEGER; rc*: WinApi.RECT; hDC*: WinApi.HDC; END; PtrMCI_ANIM_UPDATE_PARMS* = POINTER TO MCI_ANIM_UPDATE_PARMS; MCI_OVLY_OPEN_PARMSA* = RECORD [noalign] dwCallback*: INTEGER; wDeviceID*: MCIDEVICEID; lpstrDeviceType*: WinApi.PtrSTR; lpstrElementName*: WinApi.PtrSTR; lpstrAlias*: WinApi.PtrSTR; dwStyle*: SET; hWndParent*: WinApi.HWND; END; PtrMCI_OVLY_OPEN_PARMSA* = POINTER TO MCI_OVLY_OPEN_PARMSA; MCI_OVLY_OPEN_PARMSW* = RECORD [noalign] dwCallback*: INTEGER; wDeviceID*: MCIDEVICEID; lpstrDeviceType*: WinApi.PtrWSTR; lpstrElementName*: WinApi.PtrWSTR; lpstrAlias*: WinApi.PtrWSTR; dwStyle*: SET; hWndParent*: WinApi.HWND; END; PtrMCI_OVLY_OPEN_PARMSW* = POINTER TO MCI_OVLY_OPEN_PARMSW; MCI_OVLY_OPEN_PARMS* = MCI_OVLY_OPEN_PARMSA; PtrMCI_OVLY_OPEN_PARMS* = PtrMCI_OVLY_OPEN_PARMSA; MCI_OVLY_WINDOW_PARMSA* = RECORD [noalign] dwCallback*: INTEGER; hWnd*: WinApi.HWND; nCmdShow*: INTEGER; lpstrText*: WinApi.PtrSTR; END; PtrMCI_OVLY_WINDOW_PARMSA* = POINTER TO MCI_OVLY_WINDOW_PARMSA; MCI_OVLY_WINDOW_PARMSW* = RECORD [noalign] dwCallback*: INTEGER; hWnd*: WinApi.HWND; nCmdShow*: INTEGER; lpstrText*: WinApi.PtrWSTR; END; PtrMCI_OVLY_WINDOW_PARMSW* = POINTER TO MCI_OVLY_WINDOW_PARMSW; MCI_OVLY_WINDOW_PARMS* = MCI_OVLY_WINDOW_PARMSA; PtrMCI_OVLY_WINDOW_PARMS* = PtrMCI_OVLY_WINDOW_PARMSA; MCI_OVLY_RECT_PARMS* = RECORD [noalign] dwCallback*: INTEGER; rc*: WinApi.RECT; END; PtrMCI_OVLY_RECT_PARMS* = POINTER TO MCI_OVLY_RECT_PARMS; MCI_OVLY_SAVE_PARMSA* = RECORD [noalign] dwCallback*: INTEGER; lpfilename*: WinApi.PtrSTR; rc*: WinApi.RECT; END; PtrMCI_OVLY_SAVE_PARMSA* = POINTER TO MCI_OVLY_SAVE_PARMSA; MCI_OVLY_SAVE_PARMSW* = RECORD [noalign] dwCallback*: INTEGER; lpfilename*: WinApi.PtrWSTR; rc*: WinApi.RECT; END; PtrMCI_OVLY_SAVE_PARMSW* = POINTER TO MCI_OVLY_SAVE_PARMSW; MCI_OVLY_SAVE_PARMS* = MCI_OVLY_SAVE_PARMSA; PtrMCI_OVLY_SAVE_PARMS* = PtrMCI_OVLY_SAVE_PARMSA; MCI_OVLY_LOAD_PARMSA* = RECORD [noalign] dwCallback*: INTEGER; lpfilename*: WinApi.PtrSTR; rc*: WinApi.RECT; END; PtrMCI_OVLY_LOAD_PARMSA* = POINTER TO MCI_OVLY_LOAD_PARMSA; MCI_OVLY_LOAD_PARMSW* = RECORD [noalign] dwCallback*: INTEGER; lpfilename*: WinApi.PtrWSTR; rc*: WinApi.RECT; END; PtrMCI_OVLY_LOAD_PARMSW* = POINTER TO MCI_OVLY_LOAD_PARMSW; MCI_OVLY_LOAD_PARMS* = MCI_OVLY_LOAD_PARMSA; PtrMCI_OVLY_LOAD_PARMS* = PtrMCI_OVLY_LOAD_PARMSA; PROCEDURE CloseDriver* (hDriver: HDRVR; lParam1: INTEGER; lParam2: INTEGER): WinApi.LRESULT; (*END CloseDriver;*) PROCEDURE OpenDriver* (szDriverName: WinApi.PtrWSTR; szSectionName: WinApi.PtrWSTR; lParam2: INTEGER): HDRVR; (*END OpenDriver;*) PROCEDURE SendDriverMessage* (hDriver: HDRVR; message: INTEGER; lParam1: INTEGER; lParam2: INTEGER): WinApi.LRESULT; (*END SendDriverMessage;*) PROCEDURE DrvGetModuleHandle* (hDriver: HDRVR): WinApi.HMODULE; (*END DrvGetModuleHandle;*) PROCEDURE GetDriverModuleHandle* (hDriver: HDRVR): WinApi.HMODULE; (*END GetDriverModuleHandle;*) PROCEDURE DefDriverProc* (dwDriverIdentifier: INTEGER; hdrvr: HDRVR; uMsg: INTEGER; lParam1: WinApi.LPARAM; lParam2: WinApi.LPARAM): WinApi.LRESULT; (*END DefDriverProc;*) PROCEDURE OutputDebugStr* ["KERNEL32.dll", "WinApi.OutputDebugStringA"] (lpOutputString: WinApi.PtrSTR); (*END OutputDebugStr;*) PROCEDURE sndPlaySoundA* (pszSound: WinApi.PtrSTR; fuSound: INTEGER): WinApi.BOOL; (*END sndPlaySoundA;*) PROCEDURE sndPlaySoundW* (pszSound: WinApi.PtrWSTR; fuSound: INTEGER): WinApi.BOOL; (*END sndPlaySoundW;*) PROCEDURE sndPlaySound* ["sndPlaySoundA"] (pszSound: WinApi.PtrSTR; fuSound: INTEGER): WinApi.BOOL; (*END sndPlaySound;*) PROCEDURE PlaySoundA* (pszSound: WinApi.PtrSTR; hmod: WinApi.HMODULE; fdwSound: INTEGER): WinApi.BOOL; (*END PlaySoundA;*) PROCEDURE PlaySoundW* (pszSound: WinApi.PtrWSTR; hmod: WinApi.HMODULE; fdwSound: INTEGER): WinApi.BOOL; (*END PlaySoundW;*) PROCEDURE PlaySound* ["PlaySoundA"] (pszSound: WinApi.PtrSTR; hmod: WinApi.HMODULE; fdwSound: INTEGER): WinApi.BOOL; (*END PlaySound;*) PROCEDURE waveOutGetNumDevs* (): INTEGER; (*END waveOutGetNumDevs;*) PROCEDURE waveOutGetDevCapsA* (uDeviceID: INTEGER; VAR [nil] pwoc: WAVEOUTCAPSA; cbwoc: INTEGER): MMRESULT; (*END waveOutGetDevCapsA;*) PROCEDURE waveOutGetDevCapsW* (uDeviceID: INTEGER; VAR [nil] pwoc: WAVEOUTCAPSW; cbwoc: INTEGER): MMRESULT; (*END waveOutGetDevCapsW;*) PROCEDURE waveOutGetDevCaps* ["waveOutGetDevCapsA"] (uDeviceID: INTEGER; VAR [nil] pwoc: WAVEOUTCAPSA; cbwoc: INTEGER): MMRESULT; (*END waveOutGetDevCaps;*) PROCEDURE waveOutGetVolume* (hwo: HWAVEOUT; VAR [nil] pdwVolume: INTEGER): MMRESULT; (*END waveOutGetVolume;*) PROCEDURE waveOutSetVolume* (hwo: HWAVEOUT; dwVolume: INTEGER): MMRESULT; (*END waveOutSetVolume;*) PROCEDURE waveOutGetErrorTextA* (mmrError: MMRESULT; pszText: WinApi.PtrSTR; cchText: INTEGER): MMRESULT; (*END waveOutGetErrorTextA;*) PROCEDURE waveOutGetErrorTextW* (mmrError: MMRESULT; pszText: WinApi.PtrWSTR; cchText: INTEGER): MMRESULT; (*END waveOutGetErrorTextW;*) PROCEDURE waveOutGetErrorText* ["waveOutGetErrorTextA"] (mmrError: MMRESULT; pszText: WinApi.PtrSTR; cchText: INTEGER): MMRESULT; (*END waveOutGetErrorText;*) PROCEDURE waveOutOpen* (VAR [nil] phwo: HWAVEOUT; uDeviceID: INTEGER; VAR [nil] pwfx: WAVEFORMATEX; dwCallback: INTEGER; dwInstance: INTEGER; fdwOpen: INTEGER): MMRESULT; (*END waveOutOpen;*) PROCEDURE waveOutClose* (hwo: HWAVEOUT): MMRESULT; (*END waveOutClose;*) PROCEDURE waveOutPrepareHeader* (hwo: HWAVEOUT; VAR [nil] pwh: WAVEHDR; cbwh: INTEGER): MMRESULT; (*END waveOutPrepareHeader;*) PROCEDURE waveOutUnprepareHeader* (hwo: HWAVEOUT; VAR [nil] pwh: WAVEHDR; cbwh: INTEGER): MMRESULT; (*END waveOutUnprepareHeader;*) PROCEDURE waveOutWrite* (hwo: HWAVEOUT; VAR [nil] pwh: WAVEHDR; cbwh: INTEGER): MMRESULT; (*END waveOutWrite;*) PROCEDURE waveOutPause* (hwo: HWAVEOUT): MMRESULT; (*END waveOutPause;*) PROCEDURE waveOutRestart* (hwo: HWAVEOUT): MMRESULT; (*END waveOutRestart;*) PROCEDURE waveOutReset* (hwo: HWAVEOUT): MMRESULT; (*END waveOutReset;*) PROCEDURE waveOutBreakLoop* (hwo: HWAVEOUT): MMRESULT; (*END waveOutBreakLoop;*) PROCEDURE waveOutGetPosition* (hwo: HWAVEOUT; VAR [nil] pmmt: MMTIME; cbmmt: INTEGER): MMRESULT; (*END waveOutGetPosition;*) PROCEDURE waveOutGetPitch* (hwo: HWAVEOUT; VAR [nil] pdwPitch: INTEGER): MMRESULT; (*END waveOutGetPitch;*) PROCEDURE waveOutSetPitch* (hwo: HWAVEOUT; dwPitch: INTEGER): MMRESULT; (*END waveOutSetPitch;*) PROCEDURE waveOutGetPlaybackRate* (hwo: HWAVEOUT; VAR [nil] pdwRate: INTEGER): MMRESULT; (*END waveOutGetPlaybackRate;*) PROCEDURE waveOutSetPlaybackRate* (hwo: HWAVEOUT; dwRate: INTEGER): MMRESULT; (*END waveOutSetPlaybackRate;*) PROCEDURE waveOutGetID* (hwo: HWAVEOUT; VAR [nil] puDeviceID: INTEGER): MMRESULT; (*END waveOutGetID;*) PROCEDURE waveOutMessage* (hwo: HWAVEOUT; uMsg: INTEGER; dw1: INTEGER; dw2: INTEGER): MMRESULT; (*END waveOutMessage;*) PROCEDURE waveInGetNumDevs* (): INTEGER; (*END waveInGetNumDevs;*) PROCEDURE waveInGetDevCapsA* (uDeviceID: INTEGER; VAR [nil] pwic: WAVEINCAPSA; cbwic: INTEGER): MMRESULT; (*END waveInGetDevCapsA;*) PROCEDURE waveInGetDevCapsW* (uDeviceID: INTEGER; VAR [nil] pwic: WAVEINCAPSW; cbwic: INTEGER): MMRESULT; (*END waveInGetDevCapsW;*) PROCEDURE waveInGetDevCaps* ["waveInGetDevCapsA"] (uDeviceID: INTEGER; VAR [nil] pwic: WAVEINCAPSA; cbwic: INTEGER): MMRESULT; (*END waveInGetDevCaps;*) PROCEDURE waveInGetErrorTextA* (mmrError: MMRESULT; pszText: WinApi.PtrSTR; cchText: INTEGER): MMRESULT; (*END waveInGetErrorTextA;*) PROCEDURE waveInGetErrorTextW* (mmrError: MMRESULT; pszText: WinApi.PtrWSTR; cchText: INTEGER): MMRESULT; (*END waveInGetErrorTextW;*) PROCEDURE waveInGetErrorText* ["waveInGetErrorTextA"] (mmrError: MMRESULT; pszText: WinApi.PtrSTR; cchText: INTEGER): MMRESULT; (*END waveInGetErrorText;*) PROCEDURE waveInOpen* (VAR [nil] phwi: HWAVEIN; uDeviceID: INTEGER; VAR [nil] pwfx: WAVEFORMATEX; dwCallback: INTEGER; dwInstance: INTEGER; fdwOpen: INTEGER): MMRESULT; (*END waveInOpen;*) PROCEDURE waveInClose* (hwi: HWAVEIN): MMRESULT; (*END waveInClose;*) PROCEDURE waveInPrepareHeader* (hwi: HWAVEIN; VAR [nil] pwh: WAVEHDR; cbwh: INTEGER): MMRESULT; (*END waveInPrepareHeader;*) PROCEDURE waveInUnprepareHeader* (hwi: HWAVEIN; VAR [nil] pwh: WAVEHDR; cbwh: INTEGER): MMRESULT; (*END waveInUnprepareHeader;*) PROCEDURE waveInAddBuffer* (hwi: HWAVEIN; VAR [nil] pwh: WAVEHDR; cbwh: INTEGER): MMRESULT; (*END waveInAddBuffer;*) PROCEDURE waveInStart* (hwi: HWAVEIN): MMRESULT; (*END waveInStart;*) PROCEDURE waveInStop* (hwi: HWAVEIN): MMRESULT; (*END waveInStop;*) PROCEDURE waveInReset* (hwi: HWAVEIN): MMRESULT; (*END waveInReset;*) PROCEDURE waveInGetPosition* (hwi: HWAVEIN; VAR [nil] pmmt: MMTIME; cbmmt: INTEGER): MMRESULT; (*END waveInGetPosition;*) PROCEDURE waveInGetID* (hwi: HWAVEIN; VAR [nil] puDeviceID: INTEGER): MMRESULT; (*END waveInGetID;*) PROCEDURE waveInMessage* (hwi: HWAVEIN; uMsg: INTEGER; dw1: INTEGER; dw2: INTEGER): MMRESULT; (*END waveInMessage;*) PROCEDURE midiOutGetNumDevs* (): INTEGER; (*END midiOutGetNumDevs;*) PROCEDURE midiStreamOpen* (VAR [nil] phms: HMIDISTRM; VAR [nil] puDeviceID: INTEGER; cMidi: INTEGER; dwCallback: INTEGER; dwInstance: INTEGER; fdwOpen: INTEGER): MMRESULT; (*END midiStreamOpen;*) PROCEDURE midiStreamClose* (hms: HMIDISTRM): MMRESULT; (*END midiStreamClose;*) PROCEDURE midiStreamProperty* (hms: HMIDISTRM; VAR [nil] lppropdata: SHORTCHAR; dwProperty: INTEGER): MMRESULT; (*END midiStreamProperty;*) PROCEDURE midiStreamPosition* (hms: HMIDISTRM; VAR [nil] lpmmt: MMTIME; cbmmt: INTEGER): MMRESULT; (*END midiStreamPosition;*) PROCEDURE midiStreamOut* (hms: HMIDISTRM; VAR [nil] pmh: MIDIHDR; cbmh: INTEGER): MMRESULT; (*END midiStreamOut;*) PROCEDURE midiStreamPause* (hms: HMIDISTRM): MMRESULT; (*END midiStreamPause;*) PROCEDURE midiStreamRestart* (hms: HMIDISTRM): MMRESULT; (*END midiStreamRestart;*) PROCEDURE midiStreamStop* (hms: HMIDISTRM): MMRESULT; (*END midiStreamStop;*) PROCEDURE midiConnect* (hmi: HMIDI; hmo: HMIDIOUT; pReserved: WinApi.PtrVoid): MMRESULT; (*END midiConnect;*) PROCEDURE midiDisconnect* (hmi: HMIDI; hmo: HMIDIOUT; pReserved: WinApi.PtrVoid): MMRESULT; (*END midiDisconnect;*) PROCEDURE midiOutGetDevCapsA* (uDeviceID: INTEGER; VAR [nil] pmoc: MIDIOUTCAPSA; cbmoc: INTEGER): MMRESULT; (*END midiOutGetDevCapsA;*) PROCEDURE midiOutGetDevCapsW* (uDeviceID: INTEGER; VAR [nil] pmoc: MIDIOUTCAPSW; cbmoc: INTEGER): MMRESULT; (*END midiOutGetDevCapsW;*) PROCEDURE midiOutGetDevCaps* ["midiOutGetDevCapsA"] (uDeviceID: INTEGER; VAR [nil] pmoc: MIDIOUTCAPSA; cbmoc: INTEGER): MMRESULT; (*END midiOutGetDevCaps;*) PROCEDURE midiOutGetVolume* (hmo: HMIDIOUT; VAR [nil] pdwVolume: INTEGER): MMRESULT; (*END midiOutGetVolume;*) PROCEDURE midiOutSetVolume* (hmo: HMIDIOUT; dwVolume: INTEGER): MMRESULT; (*END midiOutSetVolume;*) PROCEDURE midiOutGetErrorTextA* (mmrError: MMRESULT; pszText: WinApi.PtrSTR; cchText: INTEGER): MMRESULT; (*END midiOutGetErrorTextA;*) PROCEDURE midiOutGetErrorTextW* (mmrError: MMRESULT; pszText: WinApi.PtrWSTR; cchText: INTEGER): MMRESULT; (*END midiOutGetErrorTextW;*) PROCEDURE midiOutGetErrorText* ["midiOutGetErrorTextA"] (mmrError: MMRESULT; pszText: WinApi.PtrSTR; cchText: INTEGER): MMRESULT; (*END midiOutGetErrorText;*) PROCEDURE midiOutOpen* (VAR [nil] phmo: HMIDIOUT; uDeviceID: INTEGER; dwCallback: INTEGER; dwInstance: INTEGER; fdwOpen: INTEGER): MMRESULT; (*END midiOutOpen;*) PROCEDURE midiOutClose* (hmo: HMIDIOUT): MMRESULT; (*END midiOutClose;*) PROCEDURE midiOutPrepareHeader* (hmo: HMIDIOUT; VAR [nil] pmh: MIDIHDR; cbmh: INTEGER): MMRESULT; (*END midiOutPrepareHeader;*) PROCEDURE midiOutUnprepareHeader* (hmo: HMIDIOUT; VAR [nil] pmh: MIDIHDR; cbmh: INTEGER): MMRESULT; (*END midiOutUnprepareHeader;*) PROCEDURE midiOutShortMsg* (hmo: HMIDIOUT; dwMsg: INTEGER): MMRESULT; (*END midiOutShortMsg;*) PROCEDURE midiOutLongMsg* (hmo: HMIDIOUT; VAR [nil] pmh: MIDIHDR; cbmh: INTEGER): MMRESULT; (*END midiOutLongMsg;*) PROCEDURE midiOutReset* (hmo: HMIDIOUT): MMRESULT; (*END midiOutReset;*) PROCEDURE midiOutCachePatches* (hmo: HMIDIOUT; uBank: INTEGER; VAR [nil] pwpa: SHORTINT; fuCache: INTEGER): MMRESULT; (*END midiOutCachePatches;*) PROCEDURE midiOutCacheDrumPatches* (hmo: HMIDIOUT; uPatch: INTEGER; VAR [nil] pwkya: SHORTINT; fuCache: INTEGER): MMRESULT; (*END midiOutCacheDrumPatches;*) PROCEDURE midiOutGetID* (hmo: HMIDIOUT; VAR [nil] puDeviceID: INTEGER): MMRESULT; (*END midiOutGetID;*) PROCEDURE midiOutMessage* (hmo: HMIDIOUT; uMsg: INTEGER; dw1: INTEGER; dw2: INTEGER): MMRESULT; (*END midiOutMessage;*) PROCEDURE midiInGetNumDevs* (): INTEGER; (*END midiInGetNumDevs;*) PROCEDURE midiInGetDevCapsA* (uDeviceID: INTEGER; VAR [nil] pmic: MIDIINCAPSA; cbmic: INTEGER): MMRESULT; (*END midiInGetDevCapsA;*) PROCEDURE midiInGetDevCapsW* (uDeviceID: INTEGER; VAR [nil] pmic: MIDIINCAPSW; cbmic: INTEGER): MMRESULT; (*END midiInGetDevCapsW;*) PROCEDURE midiInGetDevCaps* ["midiInGetDevCapsA"] (uDeviceID: INTEGER; VAR [nil] pmic: MIDIINCAPSA; cbmic: INTEGER): MMRESULT; (*END midiInGetDevCaps;*) PROCEDURE midiInGetErrorTextA* (mmrError: MMRESULT; pszText: WinApi.PtrSTR; cchText: INTEGER): MMRESULT; (*END midiInGetErrorTextA;*) PROCEDURE midiInGetErrorTextW* (mmrError: MMRESULT; pszText: WinApi.PtrWSTR; cchText: INTEGER): MMRESULT; (*END midiInGetErrorTextW;*) PROCEDURE midiInGetErrorText* ["midiInGetErrorTextA"] (mmrError: MMRESULT; pszText: WinApi.PtrSTR; cchText: INTEGER): MMRESULT; (*END midiInGetErrorText;*) PROCEDURE midiInOpen* (VAR [nil] phmi: HMIDIIN; uDeviceID: INTEGER; dwCallback: INTEGER; dwInstance: INTEGER; fdwOpen: INTEGER): MMRESULT; (*END midiInOpen;*) PROCEDURE midiInClose* (hmi: HMIDIIN): MMRESULT; (*END midiInClose;*) PROCEDURE midiInPrepareHeader* (hmi: HMIDIIN; VAR [nil] pmh: MIDIHDR; cbmh: INTEGER): MMRESULT; (*END midiInPrepareHeader;*) PROCEDURE midiInUnprepareHeader* (hmi: HMIDIIN; VAR [nil] pmh: MIDIHDR; cbmh: INTEGER): MMRESULT; (*END midiInUnprepareHeader;*) PROCEDURE midiInAddBuffer* (hmi: HMIDIIN; VAR [nil] pmh: MIDIHDR; cbmh: INTEGER): MMRESULT; (*END midiInAddBuffer;*) PROCEDURE midiInStart* (hmi: HMIDIIN): MMRESULT; (*END midiInStart;*) PROCEDURE midiInStop* (hmi: HMIDIIN): MMRESULT; (*END midiInStop;*) PROCEDURE midiInReset* (hmi: HMIDIIN): MMRESULT; (*END midiInReset;*) PROCEDURE midiInGetID* (hmi: HMIDIIN; VAR [nil] puDeviceID: INTEGER): MMRESULT; (*END midiInGetID;*) PROCEDURE midiInMessage* (hmi: HMIDIIN; uMsg: INTEGER; dw1: INTEGER; dw2: INTEGER): MMRESULT; (*END midiInMessage;*) PROCEDURE auxGetNumDevs* (): INTEGER; (*END auxGetNumDevs;*) PROCEDURE auxGetDevCapsA* (uDeviceID: INTEGER; VAR [nil] pac: AUXCAPSA; cbac: INTEGER): MMRESULT; (*END auxGetDevCapsA;*) PROCEDURE auxGetDevCapsW* (uDeviceID: INTEGER; VAR [nil] pac: AUXCAPSW; cbac: INTEGER): MMRESULT; (*END auxGetDevCapsW;*) PROCEDURE auxGetDevCaps* ["auxGetDevCapsA"] (uDeviceID: INTEGER; VAR [nil] pac: AUXCAPSA; cbac: INTEGER): MMRESULT; (*END auxGetDevCaps;*) PROCEDURE auxSetVolume* (uDeviceID: INTEGER; dwVolume: INTEGER): MMRESULT; (*END auxSetVolume;*) PROCEDURE auxGetVolume* (uDeviceID: INTEGER; VAR [nil] pdwVolume: INTEGER): MMRESULT; (*END auxGetVolume;*) PROCEDURE auxOutMessage* (uDeviceID: INTEGER; uMsg: INTEGER; dw1: INTEGER; dw2: INTEGER): MMRESULT; (*END auxOutMessage;*) PROCEDURE mixerGetNumDevs* (): INTEGER; (*END mixerGetNumDevs;*) PROCEDURE mixerGetDevCapsA* (uMxId: INTEGER; VAR [nil] pmxcaps: MIXERCAPSA; cbmxcaps: INTEGER): MMRESULT; (*END mixerGetDevCapsA;*) PROCEDURE mixerGetDevCapsW* (uMxId: INTEGER; VAR [nil] pmxcaps: MIXERCAPSW; cbmxcaps: INTEGER): MMRESULT; (*END mixerGetDevCapsW;*) PROCEDURE mixerGetDevCaps* ["mixerGetDevCapsA"] (uMxId: INTEGER; VAR [nil] pmxcaps: MIXERCAPSA; cbmxcaps: INTEGER): MMRESULT; (*END mixerGetDevCaps;*) PROCEDURE mixerOpen* (VAR [nil] phmx: HMIXER; uMxId: INTEGER; dwCallback: INTEGER; dwInstance: INTEGER; fdwOpen: INTEGER): MMRESULT; (*END mixerOpen;*) PROCEDURE mixerClose* (hmx: HMIXER): MMRESULT; (*END mixerClose;*) PROCEDURE mixerMessage* (hmx: HMIXER; uMsg: INTEGER; dwParam1: INTEGER; dwParam2: INTEGER): INTEGER; (*END mixerMessage;*) PROCEDURE mixerGetLineInfoA* (hmxobj: HMIXEROBJ; VAR [nil] pmxl: MIXERLINEA; fdwInfo: INTEGER): MMRESULT; (*END mixerGetLineInfoA;*) PROCEDURE mixerGetLineInfoW* (hmxobj: HMIXEROBJ; VAR [nil] pmxl: MIXERLINEW; fdwInfo: INTEGER): MMRESULT; (*END mixerGetLineInfoW;*) PROCEDURE mixerGetLineInfo* ["mixerGetLineInfoA"] (hmxobj: HMIXEROBJ; VAR [nil] pmxl: MIXERLINEA; fdwInfo: INTEGER): MMRESULT; (*END mixerGetLineInfo;*) PROCEDURE mixerGetID* (hmxobj: HMIXEROBJ; VAR [nil] puMxId: INTEGER; fdwId: INTEGER): MMRESULT; (*END mixerGetID;*) PROCEDURE mixerGetLineControlsA* (hmxobj: HMIXEROBJ; VAR [nil] pmxlc: MIXERLINECONTROLSA; fdwControls: INTEGER): MMRESULT; (*END mixerGetLineControlsA;*) PROCEDURE mixerGetLineControlsW* (hmxobj: HMIXEROBJ; VAR [nil] pmxlc: MIXERLINECONTROLSW; fdwControls: INTEGER): MMRESULT; (*END mixerGetLineControlsW;*) PROCEDURE mixerGetLineControls* ["mixerGetLineControlsA"] (hmxobj: HMIXEROBJ; VAR [nil] pmxlc: MIXERLINECONTROLSA; fdwControls: INTEGER): MMRESULT; (*END mixerGetLineControls;*) PROCEDURE mixerGetControlDetailsA* (hmxobj: HMIXEROBJ; VAR [nil] pmxcd: MIXERCONTROLDETAILS; fdwDetails: INTEGER): MMRESULT; (*END mixerGetControlDetailsA;*) PROCEDURE mixerGetControlDetailsW* (hmxobj: HMIXEROBJ; VAR [nil] pmxcd: MIXERCONTROLDETAILS; fdwDetails: INTEGER): MMRESULT; (*END mixerGetControlDetailsW;*) PROCEDURE mixerGetControlDetails* ["mixerGetControlDetailsA"] (hmxobj: HMIXEROBJ; VAR [nil] pmxcd: MIXERCONTROLDETAILS; fdwDetails: INTEGER): MMRESULT; (*END mixerGetControlDetails;*) PROCEDURE mixerSetControlDetails* (hmxobj: HMIXEROBJ; VAR [nil] pmxcd: MIXERCONTROLDETAILS; fdwDetails: INTEGER): MMRESULT; (*END mixerSetControlDetails;*) PROCEDURE timeGetSystemTime* (VAR [nil] pmmt: MMTIME; cbmmt: INTEGER): MMRESULT; (*END timeGetSystemTime;*) PROCEDURE timeGetTime* (): INTEGER; (*END timeGetTime;*) PROCEDURE timeSetEvent* (uDelay: INTEGER; uResolution: INTEGER; fptc: TIMECALLBACK; dwUser: INTEGER; fuEvent: INTEGER): MMRESULT; (*END timeSetEvent;*) PROCEDURE timeKillEvent* (uTimerID: INTEGER): MMRESULT; (*END timeKillEvent;*) PROCEDURE timeGetDevCaps* (VAR [nil] ptc: TIMECAPS; cbtc: INTEGER): MMRESULT; (*END timeGetDevCaps;*) PROCEDURE timeBeginPeriod* (uPeriod: INTEGER): MMRESULT; (*END timeBeginPeriod;*) PROCEDURE timeEndPeriod* (uPeriod: INTEGER): MMRESULT; (*END timeEndPeriod;*) PROCEDURE joyGetNumDevs* (): INTEGER; (*END joyGetNumDevs;*) PROCEDURE joyGetDevCapsA* (uJoyID: INTEGER; VAR [nil] pjc: JOYCAPSA; cbjc: INTEGER): MMRESULT; (*END joyGetDevCapsA;*) PROCEDURE joyGetDevCapsW* (uJoyID: INTEGER; VAR [nil] pjc: JOYCAPSW; cbjc: INTEGER): MMRESULT; (*END joyGetDevCapsW;*) PROCEDURE joyGetDevCaps* ["joyGetDevCapsA"] (uJoyID: INTEGER; VAR [nil] pjc: JOYCAPSA; cbjc: INTEGER): MMRESULT; (*END joyGetDevCaps;*) PROCEDURE joyGetPos* (uJoyID: INTEGER; VAR [nil] pji: JOYINFO): MMRESULT; (*END joyGetPos;*) PROCEDURE joyGetPosEx* (uJoyID: INTEGER; VAR [nil] pji: JOYINFOEX): MMRESULT; (*END joyGetPosEx;*) PROCEDURE joyGetThreshold* (uJoyID: INTEGER; VAR [nil] puThreshold: INTEGER): MMRESULT; (*END joyGetThreshold;*) PROCEDURE joyReleaseCapture* (uJoyID: INTEGER): MMRESULT; (*END joyReleaseCapture;*) PROCEDURE joySetCapture* (hwnd: WinApi.HWND; uJoyID: INTEGER; uPeriod: INTEGER; fChanged: WinApi.BOOL): MMRESULT; (*END joySetCapture;*) PROCEDURE joySetThreshold* (uJoyID: INTEGER; uThreshold: INTEGER): MMRESULT; (*END joySetThreshold;*) PROCEDURE mmioStringToFOURCCA* (sz: WinApi.PtrSTR; uFlags: SET): FOURCC; (*END mmioStringToFOURCCA;*) PROCEDURE mmioStringToFOURCCW* (sz: WinApi.PtrWSTR; uFlags: SET): FOURCC; (*END mmioStringToFOURCCW;*) PROCEDURE mmioStringToFOURCC* ["mmioStringToFOURCCA"] (sz: WinApi.PtrSTR; uFlags: SET): FOURCC; (*END mmioStringToFOURCC;*) PROCEDURE mmioInstallIOProcA* (fccIOProc: FOURCC; pIOProc: MMIOPROC; dwFlags: SET): MMIOPROC; (*END mmioInstallIOProcA;*) PROCEDURE mmioInstallIOProcW* (fccIOProc: FOURCC; pIOProc: MMIOPROC; dwFlags: SET): MMIOPROC; (*END mmioInstallIOProcW;*) PROCEDURE mmioInstallIOProc* ["mmioInstallIOProcA"] (fccIOProc: FOURCC; pIOProc: MMIOPROC; dwFlags: SET): MMIOPROC; (*END mmioInstallIOProc;*) PROCEDURE mmioOpenA* (pszFileName: WinApi.PtrSTR; VAR [nil] pmmioinfo: MMIOINFO; fdwOpen: INTEGER): HMMIO; (*END mmioOpenA;*) PROCEDURE mmioOpenW* (pszFileName: WinApi.PtrWSTR; VAR [nil] pmmioinfo: MMIOINFO; fdwOpen: INTEGER): HMMIO; (*END mmioOpenW;*) PROCEDURE mmioOpen* ["mmioOpenA"] (pszFileName: WinApi.PtrSTR; VAR [nil] pmmioinfo: MMIOINFO; fdwOpen: INTEGER): HMMIO; (*END mmioOpen;*) PROCEDURE mmioRenameA* (pszFileName: WinApi.PtrSTR; pszNewFileName: WinApi.PtrSTR; VAR [nil] pmmioinfo: MMIOINFO; fdwRename: INTEGER): MMRESULT; (*END mmioRenameA;*) PROCEDURE mmioRenameW* (pszFileName: WinApi.PtrWSTR; pszNewFileName: WinApi.PtrWSTR; VAR [nil] pmmioinfo: MMIOINFO; fdwRename: INTEGER): MMRESULT; (*END mmioRenameW;*) PROCEDURE mmioRename* ["mmioRenameA"] (pszFileName: WinApi.PtrSTR; pszNewFileName: WinApi.PtrSTR; VAR [nil] pmmioinfo: MMIOINFO; fdwRename: INTEGER): MMRESULT; (*END mmioRename;*) PROCEDURE mmioClose* (hmmio: HMMIO; fuClose: INTEGER): MMRESULT; (*END mmioClose;*) PROCEDURE mmioRead* (hmmio: HMMIO; pch: WinApi.PtrSTR; cch: INTEGER): INTEGER; (*END mmioRead;*) PROCEDURE mmioWrite* (hmmio: HMMIO; pch: WinApi.PtrSTR; cch: INTEGER): INTEGER; (*END mmioWrite;*) PROCEDURE mmioSeek* (hmmio: HMMIO; lOffset: INTEGER; iOrigin: INTEGER): INTEGER; (*END mmioSeek;*) PROCEDURE mmioGetInfo* (hmmio: HMMIO; VAR [nil] pmmioinfo: MMIOINFO; fuInfo: INTEGER): MMRESULT; (*END mmioGetInfo;*) PROCEDURE mmioSetInfo* (hmmio: HMMIO; VAR [nil] pmmioinfo: MMIOINFO; fuInfo: INTEGER): MMRESULT; (*END mmioSetInfo;*) PROCEDURE mmioSetBuffer* (hmmio: HMMIO; pchBuffer: WinApi.PtrSTR; cchBuffer: INTEGER; fuBuffer: INTEGER): MMRESULT; (*END mmioSetBuffer;*) PROCEDURE mmioFlush* (hmmio: HMMIO; fuFlush: INTEGER): MMRESULT; (*END mmioFlush;*) PROCEDURE mmioAdvance* (hmmio: HMMIO; VAR [nil] pmmioinfo: MMIOINFO; fuAdvance: INTEGER): MMRESULT; (*END mmioAdvance;*) PROCEDURE mmioSendMessage* (hmmio: HMMIO; uMsg: INTEGER; lParam1: WinApi.LPARAM; lParam2: WinApi.LPARAM): WinApi.LRESULT; (*END mmioSendMessage;*) PROCEDURE mmioDescend* (hmmio: HMMIO; VAR [nil] pmmcki: MMCKINFO; VAR [nil] pmmckiParent: MMCKINFO; fuDescend: INTEGER): MMRESULT; (*END mmioDescend;*) PROCEDURE mmioAscend* (hmmio: HMMIO; VAR [nil] pmmcki: MMCKINFO; fuAscend: INTEGER): MMRESULT; (*END mmioAscend;*) PROCEDURE mmioCreateChunk* (hmmio: HMMIO; VAR [nil] pmmcki: MMCKINFO; fuCreate: INTEGER): MMRESULT; (*END mmioCreateChunk;*) PROCEDURE mciSendCommandA* (mciId: MCIDEVICEID; uMsg: INTEGER; dwParam1: INTEGER; dwParam2: INTEGER): MCIERROR; (*END mciSendCommandA;*) PROCEDURE mciSendCommandW* (mciId: MCIDEVICEID; uMsg: INTEGER; dwParam1: INTEGER; dwParam2: INTEGER): MCIERROR; (*END mciSendCommandW;*) PROCEDURE mciSendCommand* ["mciSendCommandA"] (mciId: MCIDEVICEID; uMsg: INTEGER; dwParam1: INTEGER; dwParam2: INTEGER): MCIERROR; (*END mciSendCommand;*) PROCEDURE mciSendStringA* (lpstrCommand: WinApi.PtrSTR; lpstrReturnString: WinApi.PtrSTR; uReturnLength: INTEGER; hwndCallback: WinApi.HWND): MCIERROR; (*END mciSendStringA;*) PROCEDURE mciSendStringW* (lpstrCommand: WinApi.PtrWSTR; lpstrReturnString: WinApi.PtrWSTR; uReturnLength: INTEGER; hwndCallback: WinApi.HWND): MCIERROR; (*END mciSendStringW;*) PROCEDURE mciSendString* ["mciSendStringA"] (lpstrCommand: WinApi.PtrSTR; lpstrReturnString: WinApi.PtrSTR; uReturnLength: INTEGER; hwndCallback: WinApi.HWND): MCIERROR; (*END mciSendString;*) PROCEDURE mciGetDeviceIDA* (pszDevice: WinApi.PtrSTR): MCIDEVICEID; (*END mciGetDeviceIDA;*) PROCEDURE mciGetDeviceIDW* (pszDevice: WinApi.PtrWSTR): MCIDEVICEID; (*END mciGetDeviceIDW;*) PROCEDURE mciGetDeviceID* ["mciGetDeviceIDA"] (pszDevice: WinApi.PtrSTR): MCIDEVICEID; (*END mciGetDeviceID;*) PROCEDURE mciGetDeviceIDFromElementIDA* (dwElementID: INTEGER; lpstrType: WinApi.PtrSTR): MCIDEVICEID; (*END mciGetDeviceIDFromElementIDA;*) PROCEDURE mciGetDeviceIDFromElementIDW* (dwElementID: INTEGER; lpstrType: WinApi.PtrWSTR): MCIDEVICEID; (*END mciGetDeviceIDFromElementIDW;*) PROCEDURE mciGetDeviceIDFromElementID* ["mciGetDeviceIDFromElementIDA"] (dwElementID: INTEGER; lpstrType: WinApi.PtrSTR): MCIDEVICEID; (*END mciGetDeviceIDFromElementID;*) PROCEDURE mciGetErrorStringA* (mcierr: MCIERROR; pszText: WinApi.PtrSTR; cchText: INTEGER): WinApi.BOOL; (*END mciGetErrorStringA;*) PROCEDURE mciGetErrorStringW* (mcierr: MCIERROR; pszText: WinApi.PtrWSTR; cchText: INTEGER): WinApi.BOOL; (*END mciGetErrorStringW;*) PROCEDURE mciGetErrorString* ["mciGetErrorStringA"] (mcierr: MCIERROR; pszText: WinApi.PtrSTR; cchText: INTEGER): WinApi.BOOL; (*END mciGetErrorString;*) PROCEDURE mciSetYieldProc* (mciId: MCIDEVICEID; fpYieldProc: YIELDPROC; dwYieldData: INTEGER): WinApi.BOOL; (*END mciSetYieldProc;*) PROCEDURE mciGetCreatorTask* (mciId: MCIDEVICEID): WinApi.HTASK; (*END mciGetCreatorTask;*) PROCEDURE mciGetYieldProc* (mciId: MCIDEVICEID; VAR [nil] pdwYieldData: INTEGER): YIELDPROC; (*END mciGetYieldProc;*) END WinMM.
Win/Mod/MM.odc
MODULE WinNet ["MPR.dll"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) IMPORT WinApi; CONST (* macros *) WNNC_NET_MSNET* = 65536; WNNC_NET_LANMAN* = 131072; WNNC_NET_NETWARE* = 196608; WNNC_NET_VINES* = 262144; WNNC_NET_10NET* = 327680; WNNC_NET_LOCUS* = 393216; WNNC_NET_SUN_PC_NFS* = 458752; WNNC_NET_LANSTEP* = 524288; WNNC_NET_9TILES* = 589824; WNNC_NET_LANTASTIC* = 655360; WNNC_NET_AS400* = 720896; WNNC_NET_FTP_NFS* = 786432; WNNC_NET_PATHWORKS* = 851968; WNNC_NET_LIFENET* = 917504; WNNC_NET_POWERLAN* = 983040; WNNC_NET_BWNFS* = 1048576; WNNC_NET_COGENT* = 1114112; WNNC_NET_FARALLON* = 1179648; WNNC_NET_APPLETALK* = 1245184; RESOURCE_CONNECTED* = 1; RESOURCE_GLOBALNET* = 2; RESOURCE_REMEMBERED* = 3; RESOURCE_RECENT* = 4; RESOURCE_CONTEXT* = 5; RESOURCETYPE_ANY* = 0; RESOURCETYPE_DISK* = 1; RESOURCETYPE_PRINT* = 2; RESOURCETYPE_RESERVED* = 8; RESOURCETYPE_UNKNOWN* = -1; RESOURCEUSAGE_CONNECTABLE* = 1; RESOURCEUSAGE_CONTAINER* = 2; RESOURCEUSAGE_NOLOCALDEVICE* = 4; RESOURCEUSAGE_SIBLING* = 8; RESOURCEUSAGE_ALL* = 3; RESOURCEUSAGE_RESERVED* = 80000000H; RESOURCEDISPLAYTYPE_GENERIC* = 0; RESOURCEDISPLAYTYPE_DOMAIN* = 1; RESOURCEDISPLAYTYPE_SERVER* = 2; RESOURCEDISPLAYTYPE_SHARE* = 3; RESOURCEDISPLAYTYPE_FILE* = 4; RESOURCEDISPLAYTYPE_GROUP* = 5; RESOURCEDISPLAYTYPE_NETWORK* = 6; RESOURCEDISPLAYTYPE_ROOT* = 7; RESOURCEDISPLAYTYPE_SHAREADMIN* = 8; RESOURCEDISPLAYTYPE_DIRECTORY* = 9; RESOURCEDISPLAYTYPE_TREE* = 10; NETPROPERTY_PERSISTENT* = 1; CONNECT_UPDATE_PROFILE* = {0}; CONNECT_UPDATE_RECENT* = {1}; CONNECT_TEMPORARY* = {2}; CONNECT_INTERACTIVE* = {3}; CONNECT_PROMPT* = {4}; CONNECT_NEED_DRIVE* = {5}; CONNECT_REFCOUNT* = {6}; CONNECT_REDIRECT* = {7}; CONNECT_LOCALDRIVE* = {8}; CONNECT_CURRENT_MEDIA* = {9}; CONNDLG_RO_PATH* = {0}; CONNDLG_CONN_POINT* = {1}; CONNDLG_USE_MRU* = {2}; CONNDLG_HIDE_BOX* = {3}; CONNDLG_PERSIST* = {4}; CONNDLG_NOT_PERSIST* = {5}; DISC_UPDATE_PROFILE* = 1; DISC_NO_FORCE* = 64; UNIVERSAL_NAME_INFO_LEVEL* = 1; REMOTE_NAME_INFO_LEVEL* = 2; WNFMT_MULTILINE* = {0}; WNFMT_ABBREVIATED* = {1}; WNFMT_INENUM* = {4}; WNFMT_CONNECTION* = {5}; NETINFO_DLL16* = {0}; NETINFO_DISKRED* = {2}; NETINFO_PRINTERRED* = {3}; RP_LOGON* = 1; RP_INIFILE* = 2; PP_DISPLAYERRORS* = 1; WN_SUCCESS* = 0; WN_NO_ERROR* = 0; WN_NOT_SUPPORTED* = 50; WN_CANCEL* = 1223; WN_RETRY* = 1237; WN_NET_ERROR* = 59; WN_MORE_DATA* = 234; WN_BAD_POINTER* = 487; WN_BAD_VALUE* = 87; WN_BAD_USER* = 2202; WN_BAD_PASSWORD* = 86; WN_ACCESS_DENIED* = 5; WN_FUNCTION_BUSY* = 170; WN_WINDOWS_ERROR* = 59; WN_OUT_OF_MEMORY* = 8; WN_NO_NETWORK* = 1222; WN_EXTENDED_ERROR* = 1208; WN_BAD_LEVEL* = 124; WN_BAD_HANDLE* = 6; WN_NOT_INITIALIZING* = 1247; WN_NO_MORE_DEVICES* = 1248; WN_NOT_CONNECTED* = 2250; WN_OPEN_FILES* = 2401; WN_DEVICE_IN_USE* = 2404; WN_BAD_NETNAME* = 67; WN_BAD_LOCALNAME* = 1200; WN_ALREADY_CONNECTED* = 85; WN_DEVICE_ERROR* = 31; WN_CONNECTION_CLOSED* = 1201; WN_NO_NET_OR_BAD_PATH* = 1203; WN_BAD_PROVIDER* = 1204; WN_CANNOT_OPEN_PROFILE* = 1205; WN_BAD_PROFILE* = 1206; WN_BAD_DEV_TYPE* = 66; WN_DEVICE_ALREADY_REMEMBERED* = 1202; WN_NO_MORE_ENTRIES* = 259; WN_NOT_CONTAINER* = 1207; WN_NOT_AUTHENTICATED* = 1244; WN_NOT_LOGGED_ON* = 1245; WN_NOT_VALIDATED* = 1311; WNCON_FORNETCARD* = 1; WNCON_NOTROUTED* = 2; WNCON_SLOWLINK* = 4; WNCON_DYNAMIC* = 8; NCBNAMSZ* = 16; MAX_LANA* = 254; NAME_FLAGS_MASK* = 135; GROUP_NAME* = 128; UNIQUE_NAME* = 0; REGISTERING* = 0; REGISTERED* = 4; DEREGISTERED* = 5; DUPLICATE* = 6; DUPLICATE_DEREG* = 7; LISTEN_OUTSTANDING* = 1; CALL_PENDING* = 2; SESSION_ESTABLISHED* = 3; HANGUP_PENDING* = 4; HANGUP_COMPLETE* = 5; SESSION_ABORTED* = 6; ALL_TRANSPORTS* = "M"; MS_NBF* = "MNBF"; NCBCALL* = 16; NCBLISTEN* = 17; NCBHANGUP* = 18; NCBSEND* = 20; NCBRECV* = 21; NCBRECVANY* = 22; NCBCHAINSEND* = 23; NCBDGSEND* = 32; NCBDGRECV* = 33; NCBDGSENDBC* = 34; NCBDGRECVBC* = 35; NCBADDNAME* = 48; NCBDELNAME* = 49; NCBRESET* = 50; NCBASTAT* = 51; NCBSSTAT* = 52; NCBCANCEL* = 53; NCBADDGRNAME* = 54; NCBENUM* = 55; NCBUNLINK* = 112; NCBSENDNA* = 113; NCBCHAINSENDNA* = 114; NCBLANSTALERT* = 115; NCBACTION* = 119; NCBFINDNAME* = 120; NCBTRACE* = 121; ASYNCH* = 128; NRC_GOODRET* = 0; NRC_BUFLEN* = 1; NRC_ILLCMD* = 3; NRC_CMDTMO* = 5; NRC_INCOMP* = 6; NRC_BADDR* = 7; NRC_SNUMOUT* = 8; NRC_NORES* = 9; NRC_SCLOSED* = 10; NRC_CMDCAN* = 11; NRC_DUPNAME* = 13; NRC_NAMTFUL* = 14; NRC_ACTSES* = 15; NRC_LOCTFUL* = 17; NRC_REMTFUL* = 18; NRC_ILLNN* = 19; NRC_NOCALL* = 20; NRC_NOWILD* = 21; NRC_INUSE* = 22; NRC_NAMERR* = 23; NRC_SABORT* = 24; NRC_NAMCONF* = 25; NRC_IFBUSY* = 33; NRC_TOOMANY* = 34; NRC_BRIDGE* = 35; NRC_CANOCCR* = 36; NRC_CANCEL* = 38; NRC_DUPENV* = 48; NRC_ENVNOTDEF* = 52; NRC_OSRESNOTAV* = 53; NRC_MAXAPPS* = 54; NRC_NOSAPS* = 55; NRC_NORESOURCES* = 56; NRC_INVADDRESS* = 57; NRC_INVDDID* = 59; NRC_LOCKFAIL* = 60; NRC_OPENERR* = 63; NRC_SYSTEM* = 64; NRC_PENDING* = 255; INCL_WINSOCK_API_PROTOTYPES* = 1; INCL_WINSOCK_API_TYPEDEFS* = 0; FD_SETSIZE* = 64; IOCPARM_MASK* = 127; IOC_VOID* = 536870912; IOC_OUT* = 1073741824; IOC_IN* = 80000000H; IOC_INOUT* = -1073741824; IPPROTO_IP* = 0; IPPROTO_ICMP* = 1; IPPROTO_IGMP* = 2; IPPROTO_GGP* = 3; IPPROTO_TCP* = 6; IPPROTO_PUP* = 12; IPPROTO_UDP* = 17; IPPROTO_IDP* = 22; IPPROTO_ND* = 77; IPPROTO_RAW* = 255; IPPROTO_MAX* = 256; IPPORT_ECHO* = 7; IPPORT_DISCARD* = 9; IPPORT_SYSTAT* = 11; IPPORT_DAYTIME* = 13; IPPORT_NETSTAT* = 15; IPPORT_FTP* = 21; IPPORT_TELNET* = 23; IPPORT_SMTP* = 25; IPPORT_TIMESERVER* = 37; IPPORT_NAMESERVER* = 42; IPPORT_WHOIS* = 43; IPPORT_MTP* = 57; IPPORT_TFTP* = 69; IPPORT_RJE* = 77; IPPORT_FINGER* = 79; IPPORT_TTYLINK* = 87; IPPORT_SUPDUP* = 95; IPPORT_EXECSERVER* = 512; IPPORT_LOGINSERVER* = 513; IPPORT_CMDSERVER* = 514; IPPORT_EFSSERVER* = 520; IPPORT_BIFFUDP* = 512; IPPORT_WHOSERVER* = 513; IPPORT_ROUTESERVER* = 520; IPPORT_RESERVED* = 1024; IMPLINK_IP* = 155; IMPLINK_LOWEXPER* = 156; IMPLINK_HIGHEXPER* = 158; IN_CLASSA_NET* = -16777216; IN_CLASSA_NSHIFT* = 24; IN_CLASSA_HOST* = 16777215; IN_CLASSA_MAX* = 128; IN_CLASSB_NET* = -65536; IN_CLASSB_NSHIFT* = 16; IN_CLASSB_HOST* = 65535; IN_CLASSB_MAX* = 65536; IN_CLASSC_NET* = -256; IN_CLASSC_NSHIFT* = 8; IN_CLASSC_HOST* = 255; IN_CLASSD_NET* = -268435456; IN_CLASSD_NSHIFT* = 28; IN_CLASSD_HOST* = 268435455; INADDR_LOOPBACK* = 2130706433; INADDR_NONE* = -1; WSADESCRIPTION_LEN* = 256; WSASYS_STATUS_LEN* = 128; SOCKET_ERROR* = -1; SOCK_STREAM* = 1; SOCK_DGRAM* = 2; SOCK_RAW* = 3; SOCK_RDM* = 4; SOCK_SEQPACKET* = 5; SO_DEBUG* = 1; SO_ACCEPTCONN* = 2; SO_REUSEADDR* = 4; SO_KEEPALIVE* = 8; SO_DONTROUTE* = 16; SO_BROADCAST* = 32; SO_USELOOPBACK* = 64; SO_LINGER* = 128; SO_OOBINLINE* = 256; SO_DONTLINGER* = -129; SO_SNDBUF* = 4097; SO_RCVBUF* = 4098; SO_SNDLOWAT* = 4099; SO_RCVLOWAT* = 4100; SO_SNDTIMEO* = 4101; SO_RCVTIMEO* = 4102; SO_ERROR* = 4103; SO_TYPE* = 4104; SO_GROUP_ID* = 8193; SO_GROUP_PRIORITY* = 8194; SO_MAX_MSG_SIZE* = 8195; SO_PROTOCOL_INFOA* = 8196; SO_PROTOCOL_INFOW* = 8197; SO_PROTOCOL_INFO* = 8196; PVD_CONFIG* = 12289; TCP_NODELAY* = 1; AF_UNSPEC* = 0; AF_UNIX* = 1; AF_INET* = 2; AF_IMPLINK* = 3; AF_PUP* = 4; AF_CHAOS* = 5; AF_NS* = 6; AF_IPX* = 6; AF_ISO* = 7; AF_OSI* = 7; AF_ECMA* = 8; AF_DATAKIT* = 9; AF_CCITT* = 10; AF_SNA* = 11; AF_DECnet* = 12; AF_DLI* = 13; AF_LAT* = 14; AF_HYLINK* = 15; AF_APPLETALK* = 16; AF_NETBIOS* = 17; AF_VOICEVIEW* = 18; AF_FIREFOX* = 19; AF_UNKNOWN1* = 20; AF_BAN* = 21; AF_ATM* = 22; AF_MAX* = 23; PF_UNSPEC* = 0; PF_UNIX* = 1; PF_INET* = 2; PF_IMPLINK* = 3; PF_PUP* = 4; PF_CHAOS* = 5; PF_NS* = 6; PF_IPX* = 6; PF_ISO* = 7; PF_OSI* = 7; PF_ECMA* = 8; PF_DATAKIT* = 9; PF_CCITT* = 10; PF_SNA* = 11; PF_DECnet* = 12; PF_DLI* = 13; PF_LAT* = 14; PF_HYLINK* = 15; PF_APPLETALK* = 16; PF_VOICEVIEW* = 18; PF_FIREFOX* = 19; PF_UNKNOWN1* = 20; PF_BAN* = 21; PF_ATM* = 22; PF_MAX* = 23; SOL_SOCKET* = 65535; SOMAXCONN* = 5; MSG_OOB* = 1; MSG_PEEK* = 2; MSG_DONTROUTE* = 4; MSG_PARTIAL* = 32768; MSG_INTERRUPT* = 16; MSG_MAXIOVLEN* = 16; MAXGETHOSTSTRUCT* = 1024; FD_READ_BIT* = 0; FD_READ* = 1; FD_WRITE_BIT* = 1; FD_WRITE* = 2; FD_OOB_BIT* = 2; FD_OOB* = 4; FD_ACCEPT_BIT* = 3; FD_ACCEPT* = 8; FD_CONNECT_BIT* = 4; FD_CONNECT* = 16; FD_CLOSE_BIT* = 5; FD_CLOSE* = 32; FD_QOS_BIT* = 6; FD_QOS* = 64; FD_GROUP_QOS_BIT* = 7; FD_GROUP_QOS* = 128; FD_MAX_EVENTS* = 8; FD_ALL_EVENTS* = 255; WSABASEERR* = 10000; WSAEINTR* = 10004; WSAEBADF* = 10009; WSAEACCES* = 10013; WSAEFAULT* = 10014; WSAEINVAL* = 10022; WSAEMFILE* = 10024; WSAEWOULDBLOCK* = 10035; WSAEINPROGRESS* = 10036; WSAEALREADY* = 10037; WSAENOTSOCK* = 10038; WSAEDESTADDRREQ* = 10039; WSAEMSGSIZE* = 10040; WSAEPROTOTYPE* = 10041; WSAENOPROTOOPT* = 10042; WSAEPROTONOSUPPORT* = 10043; WSAESOCKTNOSUPPORT* = 10044; WSAEOPNOTSUPP* = 10045; WSAEPFNOSUPPORT* = 10046; WSAEAFNOSUPPORT* = 10047; WSAEADDRINUSE* = 10048; WSAEADDRNOTAVAIL* = 10049; WSAENETDOWN* = 10050; WSAENETUNREACH* = 10051; WSAENETRESET* = 10052; WSAECONNABORTED* = 10053; WSAECONNRESET* = 10054; WSAENOBUFS* = 10055; WSAEISCONN* = 10056; WSAENOTCONN* = 10057; WSAESHUTDOWN* = 10058; WSAETOOMANYREFS* = 10059; WSAETIMEDOUT* = 10060; WSAECONNREFUSED* = 10061; WSAELOOP* = 10062; WSAENAMETOOLONG* = 10063; WSAEHOSTDOWN* = 10064; WSAEHOSTUNREACH* = 10065; WSAENOTEMPTY* = 10066; WSAEPROCLIM* = 10067; WSAEUSERS* = 10068; WSAEDQUOT* = 10069; WSAESTALE* = 10070; WSAEREMOTE* = 10071; WSASYSNOTREADY* = 10091; WSAVERNOTSUPPORTED* = 10092; WSANOTINITIALISED* = 10093; WSAEDISCON* = 10101; WSAHOST_NOT_FOUND* = 11001; HOST_NOT_FOUND* = 11001; WSATRY_AGAIN* = 11002; TRY_AGAIN* = 11002; WSANO_RECOVERY* = 11003; NO_RECOVERY* = 11003; WSANO_DATA* = 11004; NO_DATA* = 11004; WSANO_ADDRESS* = 11004; NO_ADDRESS* = 11004; WSA_IO_PENDING* = 10035; WSA_IO_INCOMPLETE* = 10035; WSA_INVALID_HANDLE* = 10038; WSA_INVALID_PARAMETER* = 10022; WSA_NOT_ENOUGH_MEMORY* = 10055; WSA_OPERATION_ABORTED* = 10004; WSA_MAXIMUM_WAIT_EVENTS* = 64; WSA_WAIT_FAILED* = -1; WSA_WAIT_EVENT_0* = 0; WSA_WAIT_TIMEOUT* = 258; WSA_INFINITE* = -1; CF_ACCEPT* = 0; CF_REJECT* = 1; CF_DEFER* = 2; SD_RECEIVE* = 0; SD_SEND* = 1; SD_BOTH* = 2; SG_UNCONSTRAINED_GROUP* = 1; SG_CONSTRAINED_GROUP* = 2; MAX_PROTOCOL_CHAIN* = 8; BASE_PROTOCOL* = 1; LAYERED_PROTOCOL* = 0; WSAPROTOCOL_LEN* = 255; XP1_CONNECTIONLESS* = {0}; XP1_GUARANTEED_DELIVERY* = {1}; XP1_GUARANTEED_ORDER* = {2}; XP1_MESSAGE_ORIENTED* = {3}; XP1_PSEUDO_STREAM* = {4}; XP1_GRACEFUL_CLOSE* = {5}; XP1_EXPEDITED_DATA* = {6}; XP1_CONNECT_DATA* = {7}; XP1_DISCONNECT_DATA* = {8}; XP1_SUPPORT_BROADCAST* = {9}; XP1_SUPPORT_MULTIPOINT* = {10}; XP1_MULTIPOINT_CONTROL_PLANE* = {11}; XP1_MULTIPOINT_DATA_PLANE* = {12}; XP1_QOS_SUPPORTED* = {13}; XP1_INTERRUPT* = {14}; XP1_UNI_SEND* = {15}; XP1_UNI_RECV* = {16}; XP1_IFS_HANDLES* = {17}; XP1_PARTIAL_MESSAGE* = {18}; BIGENDIAN* = 0; LITTLEENDIAN* = 1; SECURITY_PROTOCOL_NONE* = 0; JL_SENDER_ONLY* = 1; JL_RECEIVER_ONLY* = 2; JL_BOTH* = 4; WSA_FLAG_OVERLAPPED* = {0}; WSA_FLAG_MULTIPOINT_C_ROOT* = {1}; WSA_FLAG_MULTIPOINT_C_LEAF* = {2}; WSA_FLAG_MULTIPOINT_D_ROOT* = {3}; WSA_FLAG_MULTIPOINT_D_LEAF* = {4}; IOC_UNIX* = 0; IOC_WS2* = 134217728; IOC_PROTOCOL* = 268435456; IOC_VENDOR* = 402653184; SIO_ASSOCIATE_HANDLE* = -2013265919; SIO_ENABLE_CIRCULAR_QUEUEING* = 671088642; SIO_FIND_ROUTE* = 1207959555; SIO_FLUSH* = 671088644; SIO_GET_BROADCAST_ADDRESS* = 1207959557; SIO_GET_EXTENSION_FUNCTION_POINTER* = 1207959558; SIO_GET_QOS* = 1207959559; SIO_GET_GROUP_QOS* = 1207959560; SIO_MULTIPOINT_LOOPBACK* = -2013265911; SIO_MULTICAST_SCOPE* = -2013265910; SIO_SET_QOS* = -2013265909; SIO_SET_GROUP_QOS* = -2013265908; SIO_TRANSLATE_HANDLE* = -939524083; TH_NETDEV* = 1; TH_TAPI* = 2; SO_CONNDATA* = 28672; SO_CONNOPT* = 28673; SO_DISCDATA* = 28674; SO_DISCOPT* = 28675; SO_CONNDATALEN* = 28676; SO_CONNOPTLEN* = 28677; SO_DISCDATALEN* = 28678; SO_DISCOPTLEN* = 28679; SO_OPENTYPE* = 28680; SO_SYNCHRONOUS_ALERT* = 16; SO_SYNCHRONOUS_NONALERT* = 32; SO_MAXDG* = 28681; SO_MAXPATHDG* = 28682; SO_UPDATE_ACCEPT_CONTEXT* = 28683; SO_CONNECT_TIME* = 28684; TCP_BSDURGENT* = 28672; TF_DISCONNECT* = 1; TF_REUSE_SOCKET* = 2; CONST (* enumerations *) BestEffortService* = 0; PredictiveService* = 1; GuaranteedService* = 2; TYPE NETRESOURCEA* = RECORD [untagged] dwScope*: INTEGER; dwType*: INTEGER; dwDisplayType*: INTEGER; dwUsage*: INTEGER; lpLocalName*: WinApi.PtrSTR; lpRemoteName*: WinApi.PtrSTR; lpComment*: WinApi.PtrSTR; lpProvider*: WinApi.PtrSTR; END; PtrNETRESOURCEA* = POINTER TO NETRESOURCEA; NETRESOURCEW* = RECORD [untagged] dwScope*: INTEGER; dwType*: INTEGER; dwDisplayType*: INTEGER; dwUsage*: INTEGER; lpLocalName*: WinApi.PtrWSTR; lpRemoteName*: WinApi.PtrWSTR; lpComment*: WinApi.PtrWSTR; lpProvider*: WinApi.PtrWSTR; END; PtrNETRESOURCEW* = POINTER TO NETRESOURCEW; NETRESOURCE* = NETRESOURCEA; PtrNETRESOURCE* = PtrNETRESOURCEA; CONNECTDLGSTRUCTA* = RECORD [untagged] cbStructure*: INTEGER; hwndOwner*: WinApi.HWND; lpConnRes*: PtrNETRESOURCEA; dwFlags*: SET; dwDevNum*: INTEGER; END; PtrCONNECTDLGSTRUCTA* = POINTER TO CONNECTDLGSTRUCTA; CONNECTDLGSTRUCTW* = RECORD [untagged] cbStructure*: INTEGER; hwndOwner*: WinApi.HWND; lpConnRes*: PtrNETRESOURCEW; dwFlags*: SET; dwDevNum*: INTEGER; END; PtrCONNECTDLGSTRUCTW* = POINTER TO CONNECTDLGSTRUCTW; CONNECTDLGSTRUCT* = CONNECTDLGSTRUCTA; PtrCONNECTDLGSTRUCT* = PtrCONNECTDLGSTRUCTA; DISCDLGSTRUCTA* = RECORD [untagged] cbStructure*: INTEGER; hwndOwner*: WinApi.HWND; lpLocalName*: WinApi.PtrSTR; lpRemoteName*: WinApi.PtrSTR; dwFlags*: SET; END; PtrDISCDLGSTRUCTA* = POINTER TO DISCDLGSTRUCTA; DISCDLGSTRUCTW* = RECORD [untagged] cbStructure*: INTEGER; hwndOwner*: WinApi.HWND; lpLocalName*: WinApi.PtrWSTR; lpRemoteName*: WinApi.PtrWSTR; dwFlags*: SET; END; PtrDISCDLGSTRUCTW* = POINTER TO DISCDLGSTRUCTW; DISCDLGSTRUCT* = DISCDLGSTRUCTA; PtrDISCDLGSTRUCT* = PtrDISCDLGSTRUCTA; UNIVERSAL_NAME_INFOA* = RECORD [untagged] lpUniversalName*: WinApi.PtrSTR; END; PtrUNIVERSAL_NAME_INFOA* = POINTER TO UNIVERSAL_NAME_INFOA; UNIVERSAL_NAME_INFOW* = RECORD [untagged] lpUniversalName*: WinApi.PtrWSTR; END; PtrUNIVERSAL_NAME_INFOW* = POINTER TO UNIVERSAL_NAME_INFOW; UNIVERSAL_NAME_INFO* = UNIVERSAL_NAME_INFOA; PtrUNIVERSAL_NAME_INFO* = PtrUNIVERSAL_NAME_INFOA; REMOTE_NAME_INFOA* = RECORD [untagged] lpUniversalName*: WinApi.PtrSTR; lpConnectionName*: WinApi.PtrSTR; lpRemainingPath*: WinApi.PtrSTR; END; PtrREMOTE_NAME_INFOA* = POINTER TO REMOTE_NAME_INFOA; REMOTE_NAME_INFOW* = RECORD [untagged] lpUniversalName*: WinApi.PtrWSTR; lpConnectionName*: WinApi.PtrWSTR; lpRemainingPath*: WinApi.PtrWSTR; END; PtrREMOTE_NAME_INFOW* = POINTER TO REMOTE_NAME_INFOW; REMOTE_NAME_INFO* = REMOTE_NAME_INFOA; PtrREMOTE_NAME_INFO* = PtrREMOTE_NAME_INFOA; NETINFOSTRUCT* = RECORD [untagged] cbStructure*: INTEGER; dwProviderVersion*: INTEGER; dwStatus*: SET; dwCharacteristics*: INTEGER; dwHandle*: INTEGER; wNetType*: SHORTINT; dwPrinters*: INTEGER; dwDrives*: INTEGER; END; PtrNETINFOSTRUCT* = POINTER TO NETINFOSTRUCT; FNGETPROFILEPATHA* = PROCEDURE (pszUsername: WinApi.PtrSTR; pszBuffer: WinApi.PtrSTR; cbBuffer: INTEGER): INTEGER; FNGETPROFILEPATHW* = PROCEDURE (pszUsername: WinApi.PtrWSTR; pszBuffer: WinApi.PtrWSTR; cbBuffer: INTEGER): INTEGER; FNRECONCILEPROFILEA* = PROCEDURE (pszCentralFile: WinApi.PtrSTR; pszLocalFile: WinApi.PtrSTR; dwFlags: SET): INTEGER; FNRECONCILEPROFILEW* = PROCEDURE (pszCentralFile: WinApi.PtrWSTR; pszLocalFile: WinApi.PtrWSTR; dwFlags: SET): INTEGER; FNPROCESSPOLICIESA* = PROCEDURE (hwnd: WinApi.HWND; pszPath: WinApi.PtrSTR; pszUsername: WinApi.PtrSTR; pszComputerName: WinApi.PtrSTR; dwFlags: SET): WinApi.BOOL; FNPROCESSPOLICIESW* = PROCEDURE (hwnd: WinApi.HWND; pszPath: WinApi.PtrWSTR; pszUsername: WinApi.PtrWSTR; pszComputerName: WinApi.PtrWSTR; dwFlags: SET): WinApi.BOOL; NETCONNECTINFOSTRUCT* = RECORD [untagged] cbStructure*: INTEGER; dwFlags*: SET; dwSpeed*: INTEGER; dwDelay*: INTEGER; dwOptDataSize*: INTEGER; END; PtrNETCONNECTINFOSTRUCT* = POINTER TO NETCONNECTINFOSTRUCT; PtrNCB* = POINTER TO NCB; NCB* = RECORD [untagged] ncb_command*: SHORTCHAR; ncb_retcode*: SHORTCHAR; ncb_lsn*: SHORTCHAR; ncb_num*: SHORTCHAR; ncb_buffer*: WinApi.PtrSTR; ncb_length*: SHORTINT; ncb_callname*: ARRAY [untagged] 16 OF SHORTCHAR; ncb_name*: ARRAY [untagged] 16 OF SHORTCHAR; ncb_rto*: SHORTCHAR; ncb_sto*: SHORTCHAR; ncb_post*: PROCEDURE (p0: PtrNCB); ncb_lana_num*: SHORTCHAR; ncb_cmd_cplt*: SHORTCHAR; ncb_reserve*: ARRAY [untagged] 10 OF SHORTCHAR; ncb_event*: WinApi.HANDLE; END; ADAPTER_STATUS* = RECORD [untagged] adapter_address*: ARRAY [untagged] 6 OF SHORTCHAR; rev_major*: SHORTCHAR; reserved0*: SHORTCHAR; adapter_type*: SHORTCHAR; rev_minor*: SHORTCHAR; duration*: SHORTINT; frmr_recv*: SHORTINT; frmr_xmit*: SHORTINT; iframe_recv_err*: SHORTINT; xmit_aborts*: SHORTINT; xmit_success*: INTEGER; recv_success*: INTEGER; iframe_xmit_err*: SHORTINT; recv_buff_unavail*: SHORTINT; t1_timeouts*: SHORTINT; ti_timeouts*: SHORTINT; reserved1*: INTEGER; free_ncbs*: SHORTINT; max_cfg_ncbs*: SHORTINT; max_ncbs*: SHORTINT; xmit_buf_unavail*: SHORTINT; max_dgram_size*: SHORTINT; pending_sess*: SHORTINT; max_cfg_sess*: SHORTINT; max_sess*: SHORTINT; max_sess_pkt_size*: SHORTINT; name_count*: SHORTINT; END; PtrADAPTER_STATUS* = POINTER TO ADAPTER_STATUS; NAME_BUFFER* = RECORD [untagged] name*: ARRAY [untagged] 16 OF SHORTCHAR; name_num*: SHORTCHAR; name_flags*: SHORTCHAR; END; PtrNAME_BUFFER* = POINTER TO NAME_BUFFER; SESSION_HEADER* = RECORD [untagged] sess_name*: SHORTCHAR; num_sess*: SHORTCHAR; rcv_dg_outstanding*: SHORTCHAR; rcv_any_outstanding*: SHORTCHAR; END; PtrSESSION_HEADER* = POINTER TO SESSION_HEADER; SESSION_BUFFER* = RECORD [untagged] lsn*: SHORTCHAR; state*: SHORTCHAR; local_name*: ARRAY [untagged] 16 OF SHORTCHAR; remote_name*: ARRAY [untagged] 16 OF SHORTCHAR; rcvs_outstanding*: SHORTCHAR; sends_outstanding*: SHORTCHAR; END; PtrSESSION_BUFFER* = POINTER TO SESSION_BUFFER; LANA_ENUM* = RECORD [untagged] length*: SHORTCHAR; lana*: ARRAY [untagged] 255 OF SHORTCHAR; END; PtrLANA_ENUM* = POINTER TO LANA_ENUM; FIND_NAME_HEADER* = RECORD [untagged] node_count*: SHORTINT; reserved*: SHORTCHAR; unique_group*: SHORTCHAR; END; PtrFIND_NAME_HEADER* = POINTER TO FIND_NAME_HEADER; FIND_NAME_BUFFER* = RECORD [untagged] length*: SHORTCHAR; access_control*: SHORTCHAR; frame_control*: SHORTCHAR; destination_addr*: ARRAY [untagged] 6 OF SHORTCHAR; source_addr*: ARRAY [untagged] 6 OF SHORTCHAR; routing_info*: ARRAY [untagged] 18 OF SHORTCHAR; END; PtrFIND_NAME_BUFFER* = POINTER TO FIND_NAME_BUFFER; ACTION_HEADER* = RECORD [untagged] transport_id*: INTEGER; action_code*: SHORTINT; reserved*: SHORTINT; END; PtrACTION_HEADER* = POINTER TO ACTION_HEADER; u_char* = SHORTCHAR; u_short* = SHORTINT; u_int* = INTEGER; u_long* = INTEGER; SOCKET* = u_int; fd_set* = RECORD [untagged] fd_count*: u_int; fd_array*: ARRAY [untagged] 64 OF SOCKET; END; Ptrfd_set* = POINTER TO fd_set; timeval* = RECORD [untagged] tv_sec*: INTEGER; tv_usec*: INTEGER; END; Ptrtimeval* = POINTER TO timeval; hostent* = RECORD [untagged] h_name*: WinApi.PtrSTR; h_aliases*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.PtrSTR; h_addrtype*: SHORTINT; h_length*: SHORTINT; h_addr_list*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.PtrSTR; END; Ptrhostent* = POINTER TO hostent; netent* = RECORD [untagged] n_name*: WinApi.PtrSTR; n_aliases*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.PtrSTR; n_addrtype*: SHORTINT; n_net*: u_long; END; servent* = RECORD [untagged] s_name*: WinApi.PtrSTR; s_aliases*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.PtrSTR; s_port*: SHORTINT; s_proto*: WinApi.PtrSTR; END; Ptrservent* = POINTER TO servent; protoent* = RECORD [untagged] p_name*: WinApi.PtrSTR; p_aliases*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.PtrSTR; p_proto*: SHORTINT; END; Ptrprotoent* = POINTER TO protoent; in_addr* = RECORD [untagged] S_un*: RECORD [union] S_un_b*: RECORD [untagged] s_b1*: u_char; s_b2*: u_char; s_b3*: u_char; s_b4*: u_char; END; S_un_w*: RECORD [untagged] s_w1*: u_short; s_w2*: u_short; END; S_addr*: u_long; END; END; Ptrin_addr* = POINTER TO in_addr; sockaddr_in* = RECORD [untagged] sin_family*: SHORTINT; sin_port*: u_short; sin_addr*: in_addr; sin_zero*: ARRAY [untagged] 8 OF SHORTCHAR; END; Ptrsockaddr_in* = POINTER TO sockaddr_in; WSADATA* = RECORD [untagged] wVersion*: SHORTINT; wHighVersion*: SHORTINT; szDescription*: ARRAY [untagged] 257 OF SHORTCHAR; szSystemStatus*: ARRAY [untagged] 129 OF SHORTCHAR; iMaxSockets*: SHORTINT; iMaxUdpDg*: SHORTINT; lpVendorInfo*: WinApi.PtrSTR; END; PtrWSADATA* = POINTER TO WSADATA; sockaddr* = RECORD [untagged] sa_family*: u_short; sa_data*: ARRAY [untagged] 14 OF SHORTCHAR; END; Ptrsockaddr* = POINTER TO sockaddr; sockproto* = RECORD [untagged] sp_family*: u_short; sp_protocol*: u_short; END; linger* = RECORD [untagged] l_onoff*: u_short; l_linger*: u_short; END; Ptrlinger* = POINTER TO linger; WSAEVENT* = INTEGER; WSAOVERLAPPED* = RECORD [untagged] Internal*: INTEGER; InternalHigh*: INTEGER; Offset*: INTEGER; OffsetHigh*: INTEGER; hEvent*: WSAEVENT; END; PtrWSAOVERLAPPED* = POINTER TO WSAOVERLAPPED; WSABUF* = RECORD [untagged] len*: u_long; buf*: WinApi.PtrSTR; END; PtrWSABUF* = POINTER TO WSABUF; GUARANTEE* = INTEGER; int32* = INTEGER; FLOWSPEC* = RECORD [untagged] TokenRate*: int32; TokenBucketSize*: int32; PeakBandwidth*: int32; Latency*: int32; DelayVariation*: int32; LevelOfGuarantee*: GUARANTEE; CostOfCall*: int32; NetworkAvailability*: int32; END; PtrFLOWSPEC* = POINTER TO FLOWSPEC; QOS* = RECORD [untagged] SendingFlowspec*: WSABUF; ReceivingFlowspec*: WSABUF; END; PtrQOS* = POINTER TO QOS; GROUP* = INTEGER; WSANETWORKEVENTS* = RECORD [untagged] lNetworkEvents*: INTEGER; iErrorCode*: ARRAY [untagged] 8 OF INTEGER; END; PtrWSANETWORKEVENTS* = POINTER TO WSANETWORKEVENTS; WSAPROTOCOLCHAIN* = RECORD [untagged] ChainLen*: INTEGER; ChainEntries*: ARRAY [untagged] 8 OF INTEGER; END; PtrWSAPROTOCOLCHAIN* = POINTER TO WSAPROTOCOLCHAIN; WSAPROTOCOL_INFOA* = RECORD [untagged] dwServiceFlags1*: INTEGER; dwServiceFlags2*: INTEGER; dwServiceFlags3*: INTEGER; dwServiceFlags4*: INTEGER; dwProviderId*: INTEGER; dwCatalogEntryId*: INTEGER; ProtocolChain*: WSAPROTOCOLCHAIN; iVersion*: INTEGER; iAddressFamily*: INTEGER; iMaxSockAddr*: INTEGER; iMinSockAddr*: INTEGER; iSocketType*: INTEGER; iProtocol*: INTEGER; iNetworkByteOrder*: INTEGER; iSecurityScheme*: INTEGER; bMultiple*: WinApi.BOOL; bFirst*: WinApi.BOOL; dwMessageSize*: INTEGER; dwProviderReserved*: INTEGER; szProtocol*: ARRAY [untagged] 256 OF SHORTCHAR; END; PtrWSAPROTOCOL_INFOA* = POINTER TO WSAPROTOCOL_INFOA; WSAPROTOCOL_INFOW* = RECORD [untagged] dwServiceFlags1*: INTEGER; dwServiceFlags2*: INTEGER; dwServiceFlags3*: INTEGER; dwServiceFlags4*: INTEGER; dwProviderId*: INTEGER; dwCatalogEntryId*: INTEGER; ProtocolChain*: WSAPROTOCOLCHAIN; iVersion*: INTEGER; iAddressFamily*: INTEGER; iMaxSockAddr*: INTEGER; iMinSockAddr*: INTEGER; iSocketType*: INTEGER; iProtocol*: INTEGER; iNetworkByteOrder*: INTEGER; iSecurityScheme*: INTEGER; bMultiple*: WinApi.BOOL; bFirst*: WinApi.BOOL; dwMessageSize*: INTEGER; dwProviderReserved*: INTEGER; szProtocol*: ARRAY [untagged] 256 OF CHAR; END; PtrWSAPROTOCOL_INFOW* = POINTER TO WSAPROTOCOL_INFOW; WSAPROTOCOL_INFO* = WSAPROTOCOL_INFOA; PtrWSAPROTOCOL_INFO* = PtrWSAPROTOCOL_INFOA; CONDITIONPROC* = PROCEDURE (VAR [nil] lpCallerId: WSABUF; VAR [nil] lpCallerData: WSABUF; VAR [nil] lpSQOS: QOS; VAR [nil] lpGQOS: QOS; VAR [nil] lpCalleeId: WSABUF; VAR [nil] lpCalleeData: WSABUF; VAR [nil] g: GROUP; dwCallbackData: INTEGER): INTEGER; WSAOVERLAPPED_COMPLETION_ROUTINE* = PROCEDURE (dwError: INTEGER; cbTransferred: INTEGER; VAR [nil] lpOverlapped: WSAOVERLAPPED; dwFlags: SET); SOCKADDR* = sockaddr; PtrSOCKADDR* = Ptrsockaddr; SOCKADDR_IN* = sockaddr_in; PtrSOCKADDR_IN* = Ptrsockaddr_in; LINGER* = linger; PtrLINGER* = Ptrlinger; IN_ADDR* = in_addr; PtrIN_ADDR* = Ptrin_addr; FD_SET* = fd_set; PtrFD_SET* = Ptrfd_set; HOSTENT* = hostent; PtrHOSTENT* = Ptrhostent; SERVENT* = servent; PtrSERVENT* = Ptrservent; PROTOENT* = protoent; PtrPROTOENT* = Ptrprotoent; TIMEVAL* = timeval; PtrTIMEVAL* = Ptrtimeval; TRANSMIT_FILE_BUFFERS* = RECORD [untagged] Head*: WinApi.PtrVoid; HeadLength*: INTEGER; Tail*: WinApi.PtrVoid; TailLength*: INTEGER; END; PtrTRANSMIT_FILE_BUFFERS* = POINTER TO TRANSMIT_FILE_BUFFERS; PROCEDURE WNetAddConnectionA* (lpRemoteName: WinApi.PtrSTR; lpPassword: WinApi.PtrSTR; lpLocalName: WinApi.PtrSTR): INTEGER; (*END WNetAddConnectionA;*) PROCEDURE WNetAddConnectionW* (lpRemoteName: WinApi.PtrWSTR; lpPassword: WinApi.PtrWSTR; lpLocalName: WinApi.PtrWSTR): INTEGER; (*END WNetAddConnectionW;*) PROCEDURE WNetAddConnection* ["WNetAddConnectionA"] (lpRemoteName: WinApi.PtrSTR; lpPassword: WinApi.PtrSTR; lpLocalName: WinApi.PtrSTR): INTEGER; (*END WNetAddConnection;*) PROCEDURE WNetAddConnection2A* (VAR [nil] lpNetResource: NETRESOURCEA; lpPassword: WinApi.PtrSTR; lpUserName: WinApi.PtrSTR; dwFlags: SET): INTEGER; (*END WNetAddConnection2A;*) PROCEDURE WNetAddConnection2W* (VAR [nil] lpNetResource: NETRESOURCEW; lpPassword: WinApi.PtrWSTR; lpUserName: WinApi.PtrWSTR; dwFlags: SET): INTEGER; (*END WNetAddConnection2W;*) PROCEDURE WNetAddConnection2* ["WNetAddConnection2A"] (VAR [nil] lpNetResource: NETRESOURCEA; lpPassword: WinApi.PtrSTR; lpUserName: WinApi.PtrSTR; dwFlags: SET): INTEGER; (*END WNetAddConnection2;*) PROCEDURE WNetAddConnection3A* (hwndOwner: WinApi.HWND; VAR [nil] lpNetResource: NETRESOURCEA; lpPassword: WinApi.PtrSTR; lpUserName: WinApi.PtrSTR; dwFlags: SET): INTEGER; (*END WNetAddConnection3A;*) PROCEDURE WNetAddConnection3W* (hwndOwner: WinApi.HWND; VAR [nil] lpNetResource: NETRESOURCEW; lpPassword: WinApi.PtrWSTR; lpUserName: WinApi.PtrWSTR; dwFlags: SET): INTEGER; (*END WNetAddConnection3W;*) PROCEDURE WNetAddConnection3* ["WNetAddConnection3A"] (hwndOwner: WinApi.HWND; VAR [nil] lpNetResource: NETRESOURCEA; lpPassword: WinApi.PtrSTR; lpUserName: WinApi.PtrSTR; dwFlags: SET): INTEGER; (*END WNetAddConnection3;*) PROCEDURE WNetCancelConnectionA* (lpName: WinApi.PtrSTR; fForce: WinApi.BOOL): INTEGER; (*END WNetCancelConnectionA;*) PROCEDURE WNetCancelConnectionW* (lpName: WinApi.PtrWSTR; fForce: WinApi.BOOL): INTEGER; (*END WNetCancelConnectionW;*) PROCEDURE WNetCancelConnection* ["WNetCancelConnectionA"] (lpName: WinApi.PtrSTR; fForce: WinApi.BOOL): INTEGER; (*END WNetCancelConnection;*) PROCEDURE WNetCancelConnection2A* (lpName: WinApi.PtrSTR; dwFlags: SET; fForce: WinApi.BOOL): INTEGER; (*END WNetCancelConnection2A;*) PROCEDURE WNetCancelConnection2W* (lpName: WinApi.PtrWSTR; dwFlags: SET; fForce: WinApi.BOOL): INTEGER; (*END WNetCancelConnection2W;*) PROCEDURE WNetCancelConnection2* ["WNetCancelConnection2A"] (lpName: WinApi.PtrSTR; dwFlags: SET; fForce: WinApi.BOOL): INTEGER; (*END WNetCancelConnection2;*) PROCEDURE WNetGetConnectionA* (lpLocalName: WinApi.PtrSTR; lpRemoteName: WinApi.PtrSTR; VAR [nil] lpnLength: INTEGER): INTEGER; (*END WNetGetConnectionA;*) PROCEDURE WNetGetConnectionW* (lpLocalName: WinApi.PtrWSTR; lpRemoteName: WinApi.PtrWSTR; VAR [nil] lpnLength: INTEGER): INTEGER; (*END WNetGetConnectionW;*) PROCEDURE WNetGetConnection* ["WNetGetConnectionA"] (lpLocalName: WinApi.PtrSTR; lpRemoteName: WinApi.PtrSTR; VAR [nil] lpnLength: INTEGER): INTEGER; (*END WNetGetConnection;*) PROCEDURE WNetUseConnectionA* (hwndOwner: WinApi.HWND; VAR [nil] lpNetResource: NETRESOURCEA; lpUserID: WinApi.PtrSTR; lpPassword: WinApi.PtrSTR; dwFlags: SET; lpAccessName: WinApi.PtrSTR; VAR [nil] lpBufferSize: INTEGER; VAR [nil] lpResult: INTEGER): INTEGER; (*END WNetUseConnectionA;*) PROCEDURE WNetUseConnectionW* (hwndOwner: WinApi.HWND; VAR [nil] lpNetResource: NETRESOURCEW; lpUserID: WinApi.PtrWSTR; lpPassword: WinApi.PtrWSTR; dwFlags: SET; lpAccessName: WinApi.PtrWSTR; VAR [nil] lpBufferSize: INTEGER; VAR [nil] lpResult: INTEGER): INTEGER; (*END WNetUseConnectionW;*) PROCEDURE WNetUseConnection* ["WNetUseConnectionA"] (hwndOwner: WinApi.HWND; VAR [nil] lpNetResource: NETRESOURCEA; lpUserID: WinApi.PtrSTR; lpPassword: WinApi.PtrSTR; dwFlags: SET; lpAccessName: WinApi.PtrSTR; VAR [nil] lpBufferSize: INTEGER; VAR [nil] lpResult: INTEGER): INTEGER; (*END WNetUseConnection;*) PROCEDURE WNetSetConnectionA* (lpName: WinApi.PtrSTR; dwProperties: INTEGER; pvValues: WinApi.PtrVoid): INTEGER; (*END WNetSetConnectionA;*) PROCEDURE WNetSetConnectionW* (lpName: WinApi.PtrWSTR; dwProperties: INTEGER; pvValues: WinApi.PtrVoid): INTEGER; (*END WNetSetConnectionW;*) PROCEDURE WNetSetConnection* ["WNetSetConnectionA"] (lpName: WinApi.PtrSTR; dwProperties: INTEGER; pvValues: WinApi.PtrVoid): INTEGER; (*END WNetSetConnection;*) PROCEDURE WNetConnectionDialog* (hwnd: WinApi.HWND; dwType: INTEGER): INTEGER; (*END WNetConnectionDialog;*) PROCEDURE WNetDisconnectDialog* (hwnd: WinApi.HWND; dwType: INTEGER): INTEGER; (*END WNetDisconnectDialog;*) PROCEDURE WNetConnectionDialog1A* (VAR [nil] lpConnDlgStruct: CONNECTDLGSTRUCTA): INTEGER; (*END WNetConnectionDialog1A;*) PROCEDURE WNetConnectionDialog1W* (VAR [nil] lpConnDlgStruct: CONNECTDLGSTRUCTW): INTEGER; (*END WNetConnectionDialog1W;*) PROCEDURE WNetConnectionDialog1* ["WNetConnectionDialog1A"] (VAR [nil] lpConnDlgStruct: CONNECTDLGSTRUCTA): INTEGER; (*END WNetConnectionDialog1;*) PROCEDURE WNetDisconnectDialog1A* (VAR [nil] lpConnDlgStruct: DISCDLGSTRUCTA): INTEGER; (*END WNetDisconnectDialog1A;*) PROCEDURE WNetDisconnectDialog1W* (VAR [nil] lpConnDlgStruct: DISCDLGSTRUCTW): INTEGER; (*END WNetDisconnectDialog1W;*) PROCEDURE WNetDisconnectDialog1* ["WNetDisconnectDialog1A"] (VAR [nil] lpConnDlgStruct: DISCDLGSTRUCTA): INTEGER; (*END WNetDisconnectDialog1;*) PROCEDURE WNetOpenEnumA* (dwScope: INTEGER; dwType: INTEGER; dwUsage: INTEGER; VAR [nil] lpNetResource: NETRESOURCEA; VAR [nil] lphEnum: WinApi.HANDLE): INTEGER; (*END WNetOpenEnumA;*) PROCEDURE WNetOpenEnumW* (dwScope: INTEGER; dwType: INTEGER; dwUsage: INTEGER; VAR [nil] lpNetResource: NETRESOURCEW; VAR [nil] lphEnum: WinApi.HANDLE): INTEGER; (*END WNetOpenEnumW;*) PROCEDURE WNetOpenEnum* ["WNetOpenEnumA"] (dwScope: INTEGER; dwType: INTEGER; dwUsage: INTEGER; VAR [nil] lpNetResource: NETRESOURCEA; VAR [nil] lphEnum: WinApi.HANDLE): INTEGER; (*END WNetOpenEnum;*) PROCEDURE WNetEnumResourceA* (hEnum: WinApi.HANDLE; VAR [nil] lpcCount: INTEGER; lpBuffer: WinApi.PtrVoid; VAR [nil] lpBufferSize: INTEGER): INTEGER; (*END WNetEnumResourceA;*) PROCEDURE WNetEnumResourceW* (hEnum: WinApi.HANDLE; VAR [nil] lpcCount: INTEGER; lpBuffer: WinApi.PtrVoid; VAR [nil] lpBufferSize: INTEGER): INTEGER; (*END WNetEnumResourceW;*) PROCEDURE WNetEnumResource* ["WNetEnumResourceA"] (hEnum: WinApi.HANDLE; VAR [nil] lpcCount: INTEGER; lpBuffer: WinApi.PtrVoid; VAR [nil] lpBufferSize: INTEGER): INTEGER; (*END WNetEnumResource;*) PROCEDURE WNetCloseEnum* (hEnum: WinApi.HANDLE): INTEGER; (*END WNetCloseEnum;*) PROCEDURE WNetGetResourceParentA* (VAR [nil] lpNetResource: NETRESOURCEA; lpBuffer: WinApi.PtrVoid; VAR [nil] cbBuffer: INTEGER): INTEGER; (*END WNetGetResourceParentA;*) PROCEDURE WNetGetResourceParentW* (VAR [nil] lpNetResource: NETRESOURCEW; lpBuffer: WinApi.PtrVoid; VAR [nil] cbBuffer: INTEGER): INTEGER; (*END WNetGetResourceParentW;*) PROCEDURE WNetGetResourceParent* ["WNetGetResourceParentA"] (VAR [nil] lpNetResource: NETRESOURCEA; lpBuffer: WinApi.PtrVoid; VAR [nil] cbBuffer: INTEGER): INTEGER; (*END WNetGetResourceParent;*) PROCEDURE WNetGetResourceInformationA* (VAR [nil] lpNetResource: NETRESOURCEA; lpBuffer: WinApi.PtrVoid; VAR [nil] cbBuffer: INTEGER; VAR [nil] lplpSystem: WinApi.PtrSTR): INTEGER; (*END WNetGetResourceInformationA;*) PROCEDURE WNetGetResourceInformationW* (VAR [nil] lpNetResource: NETRESOURCEW; lpBuffer: WinApi.PtrVoid; VAR [nil] cbBuffer: INTEGER; VAR [nil] lplpSystem: WinApi.PtrWSTR): INTEGER; (*END WNetGetResourceInformationW;*) PROCEDURE WNetGetResourceInformation* ["WNetGetResourceInformationA"] (VAR [nil] lpNetResource: NETRESOURCEA; lpBuffer: WinApi.PtrVoid; VAR [nil] cbBuffer: INTEGER; VAR [nil] lplpSystem: WinApi.PtrSTR): INTEGER; (*END WNetGetResourceInformation;*) PROCEDURE WNetGetUniversalNameA* (lpLocalPath: WinApi.PtrSTR; dwInfoLevel: INTEGER; lpBuffer: WinApi.PtrVoid; VAR [nil] lpBufferSize: INTEGER): INTEGER; (*END WNetGetUniversalNameA;*) PROCEDURE WNetGetUniversalNameW* (lpLocalPath: WinApi.PtrWSTR; dwInfoLevel: INTEGER; lpBuffer: WinApi.PtrVoid; VAR [nil] lpBufferSize: INTEGER): INTEGER; (*END WNetGetUniversalNameW;*) PROCEDURE WNetGetUniversalName* ["WNetGetUniversalNameA"] (lpLocalPath: WinApi.PtrSTR; dwInfoLevel: INTEGER; lpBuffer: WinApi.PtrVoid; VAR [nil] lpBufferSize: INTEGER): INTEGER; (*END WNetGetUniversalName;*) PROCEDURE WNetGetUserA* (lpName: WinApi.PtrSTR; lpUserName: WinApi.PtrSTR; VAR [nil] lpnLength: INTEGER): INTEGER; (*END WNetGetUserA;*) PROCEDURE WNetGetUserW* (lpName: WinApi.PtrWSTR; lpUserName: WinApi.PtrWSTR; VAR [nil] lpnLength: INTEGER): INTEGER; (*END WNetGetUserW;*) PROCEDURE WNetGetUser* ["WNetGetUserA"] (lpName: WinApi.PtrSTR; lpUserName: WinApi.PtrSTR; VAR [nil] lpnLength: INTEGER): INTEGER; (*END WNetGetUser;*) PROCEDURE WNetGetProviderNameA* (dwNetType: INTEGER; lpProviderName: WinApi.PtrSTR; VAR [nil] lpBufferSize: INTEGER): INTEGER; (*END WNetGetProviderNameA;*) PROCEDURE WNetGetProviderNameW* (dwNetType: INTEGER; lpProviderName: WinApi.PtrWSTR; VAR [nil] lpBufferSize: INTEGER): INTEGER; (*END WNetGetProviderNameW;*) PROCEDURE WNetGetProviderName* ["WNetGetProviderNameA"] (dwNetType: INTEGER; lpProviderName: WinApi.PtrSTR; VAR [nil] lpBufferSize: INTEGER): INTEGER; (*END WNetGetProviderName;*) PROCEDURE WNetGetNetworkInformationA* (lpProvider: WinApi.PtrSTR; VAR [nil] lpNetInfoStruct: NETINFOSTRUCT): INTEGER; (*END WNetGetNetworkInformationA;*) PROCEDURE WNetGetNetworkInformationW* (lpProvider: WinApi.PtrWSTR; VAR [nil] lpNetInfoStruct: NETINFOSTRUCT): INTEGER; (*END WNetGetNetworkInformationW;*) PROCEDURE WNetGetNetworkInformation* ["WNetGetNetworkInformationA"] (lpProvider: WinApi.PtrSTR; VAR [nil] lpNetInfoStruct: NETINFOSTRUCT): INTEGER; (*END WNetGetNetworkInformation;*) PROCEDURE WNetGetLastErrorA* (VAR [nil] lpError: INTEGER; lpErrorBuf: WinApi.PtrSTR; nErrorBufSize: INTEGER; lpNameBuf: WinApi.PtrSTR; nNameBufSize: INTEGER): INTEGER; (*END WNetGetLastErrorA;*) PROCEDURE WNetGetLastErrorW* (VAR [nil] lpError: INTEGER; lpErrorBuf: WinApi.PtrWSTR; nErrorBufSize: INTEGER; lpNameBuf: WinApi.PtrWSTR; nNameBufSize: INTEGER): INTEGER; (*END WNetGetLastErrorW;*) PROCEDURE WNetGetLastError* ["WNetGetLastErrorA"] (VAR [nil] lpError: INTEGER; lpErrorBuf: WinApi.PtrSTR; nErrorBufSize: INTEGER; lpNameBuf: WinApi.PtrSTR; nNameBufSize: INTEGER): INTEGER; (*END WNetGetLastError;*) PROCEDURE MultinetGetConnectionPerformanceA* (VAR [nil] lpNetResource: NETRESOURCEA; VAR [nil] lpNetConnectInfoStruct: NETCONNECTINFOSTRUCT): INTEGER; (*END MultinetGetConnectionPerformanceA;*) PROCEDURE MultinetGetConnectionPerformanceW* (VAR [nil] lpNetResource: NETRESOURCEW; VAR [nil] lpNetConnectInfoStruct: NETCONNECTINFOSTRUCT): INTEGER; (*END MultinetGetConnectionPerformanceW;*) PROCEDURE MultinetGetConnectionPerformance* ["MultinetGetConnectionPerformanceA"] (VAR [nil] lpNetResource: NETRESOURCEA; VAR [nil] lpNetConnectInfoStruct: NETCONNECTINFOSTRUCT): INTEGER; (*END MultinetGetConnectionPerformance;*) PROCEDURE Netbios* ["NETAPI32.dll", ""] (VAR [nil] pncb: NCB): SHORTCHAR; (*END Netbios;*) PROCEDURE __WSAFDIsSet* ["WSOCK32.dll", ""] (p0: SOCKET; VAR [nil] p1: fd_set): INTEGER; (*END __WSAFDIsSet;*) PROCEDURE accept* ["WSOCK32.dll", ""] (s: SOCKET; VAR [nil] addr: sockaddr; VAR [nil] addrlen: INTEGER): SOCKET; (*END accept;*) PROCEDURE bind* ["WSOCK32.dll", ""] (s: SOCKET; VAR [nil] name: sockaddr; namelen: INTEGER): INTEGER; (*END bind;*) PROCEDURE closesocket* ["WSOCK32.dll", ""] (s: SOCKET): INTEGER; (*END closesocket;*) PROCEDURE connect* ["WSOCK32.dll", ""] (s: SOCKET; VAR [nil] name: sockaddr; namelen: INTEGER): INTEGER; (*END connect;*) PROCEDURE ioctlsocket* ["WSOCK32.dll", ""] (s: SOCKET; cmd: INTEGER; VAR [nil] argp: u_long): INTEGER; (*END ioctlsocket;*) PROCEDURE getpeername* ["WSOCK32.dll", ""] (s: SOCKET; VAR [nil] name: sockaddr; VAR [nil] namelen: INTEGER): INTEGER; (*END getpeername;*) PROCEDURE getsockname* ["WSOCK32.dll", ""] (s: SOCKET; VAR [nil] name: sockaddr; VAR [nil] namelen: INTEGER): INTEGER; (*END getsockname;*) PROCEDURE getsockopt* ["WSOCK32.dll", ""] (s: SOCKET; level: INTEGER; optname: INTEGER; optval: WinApi.PtrSTR; VAR [nil] optlen: INTEGER): INTEGER; (*END getsockopt;*) PROCEDURE htonl* ["WSOCK32.dll", ""] (hostlong: u_long): u_long; (*END htonl;*) PROCEDURE htons* ["WSOCK32.dll", ""] (hostshort: u_short): u_short; (*END htons;*) PROCEDURE inet_addr* ["WSOCK32.dll", ""] (cp: WinApi.PtrSTR): INTEGER; (*END inet_addr;*) PROCEDURE inet_ntoa* ["WSOCK32.dll", ""] (in: in_addr): WinApi.PtrSTR; (*END inet_ntoa;*) PROCEDURE listen* ["WSOCK32.dll", ""] (s: SOCKET; backlog: INTEGER): INTEGER; (*END listen;*) PROCEDURE ntohl* ["WSOCK32.dll", ""] (netlong: u_long): u_long; (*END ntohl;*) PROCEDURE ntohs* ["WSOCK32.dll", ""] (netshort: u_short): u_short; (*END ntohs;*) PROCEDURE recv* ["WSOCK32.dll", ""] (s: SOCKET; buf: WinApi.PtrSTR; len: INTEGER; flags: SET): INTEGER; (*END recv;*) PROCEDURE recvfrom* ["WSOCK32.dll", ""] (s: SOCKET; buf: WinApi.PtrSTR; len: INTEGER; flags: SET; VAR [nil] from: sockaddr; VAR [nil] fromlen: INTEGER): INTEGER; (*END recvfrom;*) PROCEDURE select* ["WSOCK32.dll", ""] (nfds: INTEGER; VAR [nil] readfds: fd_set; VAR [nil] writefds: fd_set; VAR [nil] exceptfds: fd_set; VAR [nil] timeout: timeval): INTEGER; (*END select;*) PROCEDURE send* ["WSOCK32.dll", ""] (s: SOCKET; buf: WinApi.PtrSTR; len: INTEGER; flags: SET): INTEGER; (*END send;*) PROCEDURE sendto* ["WSOCK32.dll", ""] (s: SOCKET; buf: WinApi.PtrSTR; len: INTEGER; flags: SET; VAR [nil] to: sockaddr; tolen: INTEGER): INTEGER; (*END sendto;*) PROCEDURE setsockopt* ["WSOCK32.dll", ""] (s: SOCKET; level: INTEGER; optname: INTEGER; optval: WinApi.PtrSTR; optlen: INTEGER): INTEGER; (*END setsockopt;*) PROCEDURE shutdown* ["WSOCK32.dll", ""] (s: SOCKET; how: INTEGER): INTEGER; (*END shutdown;*) PROCEDURE socket* ["WSOCK32.dll", ""] (af: INTEGER; type: INTEGER; protocol: INTEGER): SOCKET; (*END socket;*) PROCEDURE gethostbyaddr* ["WSOCK32.dll", ""] (addr: WinApi.PtrSTR; len: INTEGER; type: INTEGER): Ptrhostent; (*END gethostbyaddr;*) PROCEDURE gethostbyname* ["WSOCK32.dll", ""] (name: WinApi.PtrSTR): Ptrhostent; (*END gethostbyname;*) PROCEDURE gethostname* ["WSOCK32.dll", ""] (name: WinApi.PtrSTR; namelen: INTEGER): INTEGER; (*END gethostname;*) PROCEDURE getservbyport* ["WSOCK32.dll", ""] (port: INTEGER; proto: WinApi.PtrSTR): Ptrservent; (*END getservbyport;*) PROCEDURE getservbyname* ["WSOCK32.dll", ""] (name: WinApi.PtrSTR; proto: WinApi.PtrSTR): Ptrservent; (*END getservbyname;*) PROCEDURE getprotobynumber* ["WSOCK32.dll", ""] (number: INTEGER): Ptrprotoent; (*END getprotobynumber;*) PROCEDURE getprotobyname* ["WSOCK32.dll", ""] (name: WinApi.PtrSTR): Ptrprotoent; (*END getprotobyname;*) PROCEDURE WSAStartup* ["WSOCK32.dll", ""] (wVersionRequested: SHORTINT; VAR [nil] lpWSAData: WSADATA): INTEGER; (*END WSAStartup;*) PROCEDURE WSACleanup* ["WSOCK32.dll", ""] (): INTEGER; (*END WSACleanup;*) PROCEDURE WSASetLastError* ["WSOCK32.dll", ""] (iError: INTEGER); (*END WSASetLastError;*) PROCEDURE WSAGetLastError* ["WSOCK32.dll", ""] (): INTEGER; (*END WSAGetLastError;*) PROCEDURE WSAIsBlocking* ["WSOCK32.dll", ""] (): WinApi.BOOL; (*END WSAIsBlocking;*) PROCEDURE WSAUnhookBlockingHook* ["WSOCK32.dll", ""] (): INTEGER; (*END WSAUnhookBlockingHook;*) PROCEDURE WSASetBlockingHook* ["WSOCK32.dll", ""] (lpBlockFunc: WinApi.FARPROC): WinApi.FARPROC; (*END WSASetBlockingHook;*) PROCEDURE WSACancelBlockingCall* ["WSOCK32.dll", ""] (): INTEGER; (*END WSACancelBlockingCall;*) PROCEDURE WSAAsyncGetServByName* ["WSOCK32.dll", ""] (hWnd: WinApi.HWND; wMsg: u_int; name: WinApi.PtrSTR; proto: WinApi.PtrSTR; buf: WinApi.PtrSTR; buflen: INTEGER): WinApi.HANDLE; (*END WSAAsyncGetServByName;*) PROCEDURE WSAAsyncGetServByPort* ["WSOCK32.dll", ""] (hWnd: WinApi.HWND; wMsg: u_int; port: INTEGER; proto: WinApi.PtrSTR; buf: WinApi.PtrSTR; buflen: INTEGER): WinApi.HANDLE; (*END WSAAsyncGetServByPort;*) PROCEDURE WSAAsyncGetProtoByName* ["WSOCK32.dll", ""] (hWnd: WinApi.HWND; wMsg: u_int; name: WinApi.PtrSTR; buf: WinApi.PtrSTR; buflen: INTEGER): WinApi.HANDLE; (*END WSAAsyncGetProtoByName;*) PROCEDURE WSAAsyncGetProtoByNumber* ["WSOCK32.dll", ""] (hWnd: WinApi.HWND; wMsg: u_int; number: INTEGER; buf: WinApi.PtrSTR; buflen: INTEGER): WinApi.HANDLE; (*END WSAAsyncGetProtoByNumber;*) PROCEDURE WSAAsyncGetHostByName* ["WSOCK32.dll", ""] (hWnd: WinApi.HWND; wMsg: u_int; name: WinApi.PtrSTR; buf: WinApi.PtrSTR; buflen: INTEGER): WinApi.HANDLE; (*END WSAAsyncGetHostByName;*) PROCEDURE WSAAsyncGetHostByAddr* ["WSOCK32.dll", ""] (hWnd: WinApi.HWND; wMsg: u_int; addr: WinApi.PtrSTR; len: INTEGER; type: INTEGER; buf: WinApi.PtrSTR; buflen: INTEGER): WinApi.HANDLE; (*END WSAAsyncGetHostByAddr;*) PROCEDURE WSACancelAsyncRequest* ["WSOCK32.dll", ""] (hAsyncTaskHandle: WinApi.HANDLE): INTEGER; (*END WSACancelAsyncRequest;*) PROCEDURE WSAAsyncSelect* ["WSOCK32.dll", ""] (s: SOCKET; hWnd: WinApi.HWND; wMsg: u_int; lEvent: INTEGER): INTEGER; (*END WSAAsyncSelect;*) PROCEDURE WSAAccept* ["WS2_32.dll", ""] (s: SOCKET; VAR [nil] addr: sockaddr; VAR [nil] addrlen: INTEGER; lpfnCondition: CONDITIONPROC; dwCallbackData: INTEGER): SOCKET; (*END WSAAccept;*) PROCEDURE WSACloseEvent* ["WS2_32.dll", ""] (hEvent: WSAEVENT): WinApi.BOOL; (*END WSACloseEvent;*) PROCEDURE WSAConnect* ["WS2_32.dll", ""] (s: SOCKET; VAR [nil] name: sockaddr; namelen: INTEGER; VAR [nil] lpCallerData: WSABUF; VAR [nil] lpCalleeData: WSABUF; VAR [nil] lpSQOS: QOS; VAR [nil] lpGQOS: QOS): INTEGER; (*END WSAConnect;*) PROCEDURE WSACreateEvent* ["WS2_32.dll", ""] (): WSAEVENT; (*END WSACreateEvent;*) PROCEDURE WSADuplicateSocketA* ["WS2_32.dll", ""] (s: SOCKET; dwProcessId: INTEGER; VAR [nil] lpProtocolInfo: WSAPROTOCOL_INFOA): INTEGER; (*END WSADuplicateSocketA;*) PROCEDURE WSADuplicateSocketW* ["WS2_32.dll", ""] (s: SOCKET; dwProcessId: INTEGER; VAR [nil] lpProtocolInfo: WSAPROTOCOL_INFOW): INTEGER; (*END WSADuplicateSocketW;*) PROCEDURE WSADuplicateSocket* ["WS2_32.dll", "WSADuplicateSocketA"] (s: SOCKET; dwProcessId: INTEGER; VAR [nil] lpProtocolInfo: WSAPROTOCOL_INFOA): INTEGER; (*END WSADuplicateSocket;*) PROCEDURE WSAEnumNetworkEvents* ["WS2_32.dll", ""] (s: SOCKET; hEventObject: WSAEVENT; VAR [nil] lpNetworkEvents: WSANETWORKEVENTS): INTEGER; (*END WSAEnumNetworkEvents;*) PROCEDURE WSAEnumProtocolsA* ["WS2_32.dll", ""] (VAR [nil] lpiProtocols: INTEGER; VAR [nil] lpProtocolBuffer: WSAPROTOCOL_INFOA; VAR [nil] lpdwBufferLength: INTEGER): INTEGER; (*END WSAEnumProtocolsA;*) PROCEDURE WSAEnumProtocolsW* ["WS2_32.dll", ""] (VAR [nil] lpiProtocols: INTEGER; VAR [nil] lpProtocolBuffer: WSAPROTOCOL_INFOW; VAR [nil] lpdwBufferLength: INTEGER): INTEGER; (*END WSAEnumProtocolsW;*) PROCEDURE WSAEnumProtocols* ["WS2_32.dll", "WSAEnumProtocolsA"] (VAR [nil] lpiProtocols: INTEGER; VAR [nil] lpProtocolBuffer: WSAPROTOCOL_INFOA; VAR [nil] lpdwBufferLength: INTEGER): INTEGER; (*END WSAEnumProtocols;*) PROCEDURE WSAEventSelect* ["WS2_32.dll", ""] (s: SOCKET; hEventObject: WSAEVENT; lNetworkEvents: INTEGER): INTEGER; (*END WSAEventSelect;*) PROCEDURE WSAGetOverlappedResult* ["WS2_32.dll", ""] (s: SOCKET; VAR [nil] lpOverlapped: WSAOVERLAPPED; VAR [nil] lpcbTransfer: INTEGER; fWait: WinApi.BOOL; VAR [nil] lpdwFlags: SET): WinApi.BOOL; (*END WSAGetOverlappedResult;*) PROCEDURE WSAGetQOSByName* ["WS2_32.dll", ""] (s: SOCKET; VAR [nil] lpQOSName: WSABUF; VAR [nil] lpQOS: QOS): WinApi.BOOL; (*END WSAGetQOSByName;*) PROCEDURE WSAHtonl* ["WS2_32.dll", ""] (s: SOCKET; hostlong: u_long; VAR [nil] lpnetlong: u_long): INTEGER; (*END WSAHtonl;*) PROCEDURE WSAHtons* ["WS2_32.dll", ""] (s: SOCKET; hostshort: u_short; VAR [nil] lpnetshort: u_short): INTEGER; (*END WSAHtons;*) PROCEDURE WSAIoctl* ["WS2_32.dll", ""] (s: SOCKET; dwIoControlCode: INTEGER; lpvInBuffer: WinApi.PtrVoid; cbInBuffer: INTEGER; lpvOutBuffer: WinApi.PtrVoid; cbOutBuffer: INTEGER; VAR [nil] lpcbBytesReturned: INTEGER; VAR [nil] lpOverlapped: WSAOVERLAPPED; lpCompletionRoutine: WSAOVERLAPPED_COMPLETION_ROUTINE): INTEGER; (*END WSAIoctl;*) PROCEDURE WSAJoinLeaf* ["WS2_32.dll", ""] (s: SOCKET; VAR [nil] name: sockaddr; namelen: INTEGER; VAR [nil] lpCallerData: WSABUF; VAR [nil] lpCalleeData: WSABUF; VAR [nil] lpSQOS: QOS; VAR [nil] lpGQOS: QOS; dwFlags: SET): SOCKET; (*END WSAJoinLeaf;*) PROCEDURE WSANtohl* ["WS2_32.dll", ""] (s: SOCKET; netlong: u_long; VAR [nil] lphostlong: u_long): INTEGER; (*END WSANtohl;*) PROCEDURE WSANtohs* ["WS2_32.dll", ""] (s: SOCKET; netshort: u_short; VAR [nil] lphostshort: u_short): INTEGER; (*END WSANtohs;*) PROCEDURE WSARecv* ["WS2_32.dll", ""] (s: SOCKET; VAR [nil] lpBuffers: WSABUF; dwBufferCount: INTEGER; VAR [nil] lpNumberOfBytesRecvd: INTEGER; VAR [nil] lpFlags: INTEGER; VAR [nil] lpOverlapped: WSAOVERLAPPED; lpCompletionRoutine: WSAOVERLAPPED_COMPLETION_ROUTINE): INTEGER; (*END WSARecv;*) PROCEDURE WSARecvDisconnect* ["WS2_32.dll", ""] (s: SOCKET; VAR [nil] lpInboundDisconnectData: WSABUF): INTEGER; (*END WSARecvDisconnect;*) PROCEDURE WSARecvFrom* ["WS2_32.dll", ""] (s: SOCKET; VAR [nil] lpBuffers: WSABUF; dwBufferCount: INTEGER; VAR [nil] lpNumberOfBytesRecvd: INTEGER; VAR [nil] lpFlags: INTEGER; VAR [nil] lpFrom: sockaddr; VAR [nil] lpFromlen: INTEGER; VAR [nil] lpOverlapped: WSAOVERLAPPED; lpCompletionRoutine: WSAOVERLAPPED_COMPLETION_ROUTINE): INTEGER; (*END WSARecvFrom;*) PROCEDURE WSAResetEvent* ["WS2_32.dll", ""] (hEvent: WSAEVENT): WinApi.BOOL; (*END WSAResetEvent;*) PROCEDURE WSASend* ["WS2_32.dll", ""] (s: SOCKET; VAR [nil] lpBuffers: WSABUF; dwBufferCount: INTEGER; VAR [nil] lpNumberOfBytesSent: INTEGER; dwFlags: SET; VAR [nil] lpOverlapped: WSAOVERLAPPED; lpCompletionRoutine: WSAOVERLAPPED_COMPLETION_ROUTINE): INTEGER; (*END WSASend;*) PROCEDURE WSASendDisconnect* ["WS2_32.dll", ""] (s: SOCKET; VAR [nil] lpOutboundDisconnectData: WSABUF): INTEGER; (*END WSASendDisconnect;*) PROCEDURE WSASendTo* ["WS2_32.dll", ""] (s: SOCKET; VAR [nil] lpBuffers: WSABUF; dwBufferCount: INTEGER; VAR [nil] lpNumberOfBytesSent: INTEGER; dwFlags: SET; VAR [nil] lpTo: sockaddr; iTolen: INTEGER; VAR [nil] lpOverlapped: WSAOVERLAPPED; lpCompletionRoutine: WSAOVERLAPPED_COMPLETION_ROUTINE): INTEGER; (*END WSASendTo;*) PROCEDURE WSASetEvent* ["WS2_32.dll", ""] (hEvent: WSAEVENT): WinApi.BOOL; (*END WSASetEvent;*) PROCEDURE WSASocketA* ["WS2_32.dll", ""] (af: INTEGER; type: INTEGER; protocol: INTEGER; VAR [nil] lpProtocolInfo: WSAPROTOCOL_INFOA; g: GROUP; dwFlags: SET): SOCKET; (*END WSASocketA;*) PROCEDURE WSASocketW* ["WS2_32.dll", ""] (af: INTEGER; type: INTEGER; protocol: INTEGER; VAR [nil] lpProtocolInfo: WSAPROTOCOL_INFOW; g: GROUP; dwFlags: SET): SOCKET; (*END WSASocketW;*) PROCEDURE WSASocket* ["WS2_32.dll", "WSASocketA"] (af: INTEGER; type: INTEGER; protocol: INTEGER; VAR [nil] lpProtocolInfo: WSAPROTOCOL_INFOA; g: GROUP; dwFlags: SET): SOCKET; (*END WSASocket;*) PROCEDURE WSAWaitForMultipleEvents* ["WS2_32.dll", ""] (cEvents: INTEGER; VAR [nil] lphEvents: WSAEVENT; fWaitAll: WinApi.BOOL; dwTimeout: INTEGER; fAlertable: WinApi.BOOL): INTEGER; (*END WSAWaitForMultipleEvents;*) PROCEDURE WSARecvEx* ["WSOCK32.dll", ""] (s: SOCKET; buf: WinApi.PtrSTR; len: INTEGER; VAR [nil] flags: SET): INTEGER; (*END WSARecvEx;*) PROCEDURE TransmitFile* ["WSOCK32.dll", ""] (hSocket: SOCKET; hFile: WinApi.HANDLE; nNumberOfBytesToWrite: INTEGER; nNumberOfBytesPerSend: INTEGER; VAR [nil] lpOverlapped: WinApi.OVERLAPPED; VAR [nil] lpTransmitBuffers: TRANSMIT_FILE_BUFFERS; dwReserved: INTEGER): WinApi.BOOL; (*END TransmitFile;*) PROCEDURE AcceptEx* ["WSOCK32.dll", ""] (sListenSocket: SOCKET; sAcceptSocket: SOCKET; lpOutputBuffer: WinApi.PtrVoid; dwReceiveDataLength: INTEGER; dwLocalAddressLength: INTEGER; dwRemoteAddressLength: INTEGER; VAR [nil] lpdwBytesReceived: INTEGER; VAR [nil] lpOverlapped: WinApi.OVERLAPPED): WinApi.BOOL; (*END AcceptEx;*) PROCEDURE GetAcceptExSockaddrs* ["WSOCK32.dll", ""] (lpOutputBuffer: WinApi.PtrVoid; dwReceiveDataLength: INTEGER; dwLocalAddressLength: INTEGER; dwRemoteAddressLength: INTEGER; VAR [nil] LocalSockaddr: Ptrsockaddr; VAR [nil] LocalSockaddrLength: INTEGER; VAR [nil] RemoteSockaddr: Ptrsockaddr; VAR [nil] RemoteSockaddrLength: INTEGER); (*END GetAcceptExSockaddrs;*) END WinNet.
Win/Mod/Net.odc
MODULE WinOle ["OLE32.dll"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) IMPORT COM, WinApi; CONST GUID_NULL* = "{00000000-0000-0000-0000-000000000000}"; CONST (* macros *) WIN32* = 100; CLSCTX_ALL* = {0..2, 4}; CLSCTX_INPROC* = {0, 1}; CLSCTX_SERVER* = {0, 2, 4}; MARSHALINTERFACE_MIN* = 500; CWCSTORAGENAME* = 32; STGM_DIRECT* = {}; STGM_TRANSACTED* = {16}; STGM_SIMPLE* = {27}; STGM_READ* = {}; STGM_WRITE* = {0}; STGM_READWRITE* = {1}; STGM_SHARE_DENY_NONE* = {6}; STGM_SHARE_DENY_READ* = {4, 5}; STGM_SHARE_DENY_WRITE* = {5}; STGM_SHARE_EXCLUSIVE* = {4}; STGM_PRIORITY* = {18}; STGM_DELETEONRELEASE* = {26}; STGM_NOSCRATCH* = {20}; STGM_CREATE* = {12}; STGM_CONVERT* = {17}; STGM_FAILIFTHERE* = {}; ROTFLAGS_REGISTRATIONKEEPSALIVE* = {0}; ROT_COMPARE_MAX* = 2048; WDT_INPROC_CALL* = 1232364631; WDT_REMOTE_CALL* = 1383359575; DECIMAL_NEG* = 128; PROPSETFLAG_DEFAULT* = 0; PROPSETFLAG_NONSIMPLE* = 1; PROPSETFLAG_ANSI* = 2; PID_DICTIONARY* = 0; PID_CODEPAGE* = 1; PID_FIRST_NAME_DEFAULT* = 4095; PID_LOCALE* = 80000000H; PID_MODIFY_TIME* = -2147483647; PID_SECURITY* = -2147483646; PID_ILLEGAL* = -1; PRSPEC_INVALID* = -1; PRSPEC_LPWSTR* = 0; PRSPEC_PROPID* = 1; COM_RIGHTS_EXECUTE* = 1; E_DRAW* = -2147221184; DATA_E_FORMATETC* = -2147221404; OLEIVERB_PRIMARY* = 0; OLEIVERB_SHOW* = -1; OLEIVERB_OPEN* = -2; OLEIVERB_HIDE* = -3; OLEIVERB_UIACTIVATE* = -4; OLEIVERB_INPLACEACTIVATE* = -5; OLEIVERB_DISCARDUNDOSTATE* = -6; EMBDHLP_INPROC_HANDLER* = {}; EMBDHLP_INPROC_SERVER* = {0}; EMBDHLP_CREATENOW* = {}; EMBDHLP_DELAYCREATE* = {16}; UPDFCACHE_NODATACACHE* = {0}; UPDFCACHE_ONSAVECACHE* = {1}; UPDFCACHE_ONSTOPCACHE* = {2}; UPDFCACHE_NORMALCACHE* = {3}; UPDFCACHE_IFBLANK* = {4}; UPDFCACHE_ONLYIFBLANK* = {31}; UPDFCACHE_IFBLANKORONSAVECACHE* = {1, 4}; UPDFCACHE_ALL* = {0..30}; UPDFCACHE_ALLBUTNODATACACHE* = {1..30}; MK_ALT* = {5}; DROPEFFECT_NONE* = {}; DROPEFFECT_COPY* = {0}; DROPEFFECT_MOVE* = {1}; DROPEFFECT_LINK* = {2}; DROPEFFECT_SCROLL* = {31}; DD_DEFSCROLLINSET* = 11; DD_DEFSCROLLDELAY* = 50; DD_DEFSCROLLINTERVAL* = 50; DD_DEFDRAGDELAY* = 200; DD_DEFDRAGMINDIST* = 2; CONST (* enumerations *) REGCLS_SINGLEUSE* = {}; REGCLS_MULTIPLEUSE* = {0}; REGCLS_MULTI_SEPARATE* = {1}; MEMCTX_TASK* = 1; MEMCTX_SHARED* = 2; MEMCTX_MACSYSTEM* = 3; MEMCTX_UNKNOWN* = -1; MEMCTX_SAME* = -2; CLSCTX_INPROC_SERVER* = {0}; CLSCTX_INPROC_HANDLER* = {1}; CLSCTX_LOCAL_SERVER* = {2}; CLSCTX_INPROC_SERVER16* = {3}; CLSCTX_REMOTE_SERVER* = {4}; CLSCTX_INPROC_HANDLER16* = {5}; CLSCTX_INPROC_SERVERX86* = {6}; CLSCTX_INPROC_HANDLERX86* = {7}; MSHLFLAGS_NORMAL* = {}; MSHLFLAGS_TABLESTRONG* = {0}; MSHLFLAGS_TABLEWEAK* = {1}; MSHCTX_LOCAL* = 0; MSHCTX_NOSHAREDMEM* = 1; MSHCTX_DIFFERENTMACHINE* = 2; MSHCTX_INPROC* = 3; DVASPECT_CONTENT* = {0}; DVASPECT_THUMBNAIL* = {1}; DVASPECT_ICON* = {2}; DVASPECT_DOCPRINT* = {3}; STGC_DEFAULT* = {}; STGC_OVERWRITE* = {0}; STGC_ONLYIFCURRENT* = {1}; STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE* = {2}; STGMOVE_MOVE* = 0; STGMOVE_COPY* = 1; STGMOVE_SHALLOWCOPY* = 2; STATFLAG_DEFAULT* = 0; STATFLAG_NONAME* = 1; STATFLAG_NOOPEN* = 2; VT_EMPTY* = 0; VT_NULL* = 1; VT_I2* = 2; VT_I4* = 3; VT_R4* = 4; VT_R8* = 5; VT_CY* = 6; VT_DATE* = 7; VT_BSTR* = 8; VT_DISPATCH* = 9; VT_ERROR* = 10; VT_BOOL* = 11; VT_VARIANT* = 12; VT_UNKNOWN* = 13; VT_DECIMAL* = 14; VT_I1* = 16; VT_UI1* = 17; VT_UI2* = 18; VT_UI4* = 19; VT_I8* = 20; VT_UI8* = 21; VT_INT* = 22; VT_UINT* = 23; VT_VOID* = 24; VT_HRESULT* = 25; VT_PTR* = 26; VT_SAFEARRAY* = 27; VT_CARRAY* = 28; VT_USERDEFINED* = 29; VT_LPSTR* = 30; VT_LPWSTR* = 31; VT_FILETIME* = 64; VT_BLOB* = 65; VT_STREAM* = 66; VT_STORAGE* = 67; VT_STREAMED_OBJECT* = 68; VT_STORED_OBJECT* = 69; VT_BLOB_OBJECT* = 70; VT_CF* = 71; VT_CLSID* = 72; VT_VECTOR* = 4096; VT_ARRAY* = 8192; VT_BYREF* = 16384; VT_RESERVED* = 32768; VT_ILLEGAL* = 65535; VT_ILLEGALMASKED* = 4095; VT_TYPEMASK* = 4095; EXTCONN_STRONG* = {0}; EXTCONN_WEAK* = {1}; EXTCONN_CALLABLE* = {2}; BIND_MAYBOTHERUSER* = {0}; BIND_JUSTTESTEXISTENCE* = {1}; MKSYS_NONE* = 0; MKSYS_GENERICCOMPOSITE* = 1; MKSYS_FILEMONIKER* = 2; MKSYS_ANTIMONIKER* = 3; MKSYS_ITEMMONIKER* = 4; MKSYS_POINTERMONIKER* = 5; MKRREDUCE_ONE* = 196608; MKRREDUCE_TOUSER* = 131072; MKRREDUCE_THROUGHUSER* = 65536; MKRREDUCE_ALL* = 0; STGTY_STORAGE* = 1; STGTY_STREAM* = 2; STGTY_LOCKBYTES* = 3; STGTY_PROPERTY* = 4; STREAM_SEEK_SET* = 0; STREAM_SEEK_CUR* = 1; STREAM_SEEK_END* = 2; LOCK_WRITE* = {0}; LOCK_EXCLUSIVE* = {1}; LOCK_ONLYONCE* = {2}; ADVF_NODATA* = {0}; ADVF_PRIMEFIRST* = {1}; ADVF_ONLYONCE* = {2}; ADVF_DATAONSTOP* = {6}; ADVFCACHE_NOHANDLER* = {3}; ADVFCACHE_FORCEBUILTIN* = {4}; ADVFCACHE_ONSAVE* = {5}; TYMED_HGLOBAL* = {0}; TYMED_FILE* = {1}; TYMED_ISTREAM* = {2}; TYMED_ISTORAGE* = {3}; TYMED_GDI* = {4}; TYMED_MFPICT* = {5}; TYMED_ENHMF* = {6}; TYMED_NULL* = {}; DATADIR_GET* = {0}; DATADIR_SET* = {1}; CALLTYPE_TOPLEVEL* = 1; CALLTYPE_NESTED* = 2; CALLTYPE_ASYNC* = 3; CALLTYPE_TOPLEVEL_CALLPENDING* = 4; CALLTYPE_ASYNC_CALLPENDING* = 5; SERVERCALL_ISHANDLED* = 0; SERVERCALL_REJECTED* = 1; SERVERCALL_RETRYLATER* = 2; PENDINGTYPE_TOPLEVEL* = 1; PENDINGTYPE_NESTED* = 2; PENDINGMSG_CANCELCALL* = 0; PENDINGMSG_WAITNOPROCESS* = 1; PENDINGMSG_WAITDEFPROCESS* = 2; EOAC_NONE* = 0; EOAC_MUTUAL_AUTH* = 1; COINIT_MULTITHREADED* = 0; COINIT_APARTMENTTHREADED* = 2; COINIT_DISABLE_OLE1DDE* = 4; DISCARDCACHE_SAVEIFDIRTY* = 0; DISCARDCACHE_NOSAVE* = 1; OLEGETMONIKER_ONLYIFTHERE* = 1; OLEGETMONIKER_FORCEASSIGN* = 2; OLEGETMONIKER_UNASSIGN* = 3; OLEGETMONIKER_TEMPFORUSER* = 4; OLEWHICHMK_CONTAINER* = 1; OLEWHICHMK_OBJREL* = 2; OLEWHICHMK_OBJFULL* = 3; USERCLASSTYPE_FULL* = 1; USERCLASSTYPE_SHORT* = 2; USERCLASSTYPE_APPNAME* = 3; OLEMISC_RECOMPOSEONRESIZE* = {0}; OLEMISC_ONLYICONIC* = {1}; OLEMISC_INSERTNOTREPLACE* = {2}; OLEMISC_STATIC* = {3}; OLEMISC_CANTLINKINSIDE* = {4}; OLEMISC_CANLINKBYOLE1* = {5}; OLEMISC_ISLINKOBJECT* = {6}; OLEMISC_INSIDEOUT* = {7}; OLEMISC_ACTIVATEWHENVISIBLE* = {8}; OLEMISC_RENDERINGISDEVICEINDEPENDENT* = {9}; OLECLOSE_SAVEIFDIRTY* = 0; OLECLOSE_NOSAVE* = 1; OLECLOSE_PROMPTSAVE* = 2; OLERENDER_NONE* = 0; OLERENDER_DRAW* = 1; OLERENDER_FORMAT* = 2; OLERENDER_ASIS* = 3; OLEUPDATE_ALWAYS* = 1; OLEUPDATE_ONCALL* = 3; OLELINKBIND_EVENIFCLASSDIFF* = {0}; BINDSPEED_INDEFINITE* = 1; BINDSPEED_MODERATE* = 2; BINDSPEED_IMMEDIATE* = 3; OLECONTF_EMBEDDINGS* = {0}; OLECONTF_LINKS* = {1}; OLECONTF_OTHERS* = {2}; OLECONTF_ONLYUSER* = {3}; OLECONTF_ONLYIFRUNNING* = {4}; OLEVERBATTRIB_NEVERDIRTIES* = {0}; OLEVERBATTRIB_ONCONTAINERMENU* = {1}; CONST (* additional *) STGFMT_DOCUMENT* = 0; STGFMT_DIRECTORY* = 1; STGFMT_CATALOG* = 2; STGFMT_FILE* = 3; TYPE BSTR* = POINTER TO ARRAY [untagged] OF CHAR; PtrWSTR* = WinApi.PtrWSTR; REGCLS* = INTEGER; RemHGLOBAL* = RECORD [untagged] fNullHGlobal*: INTEGER; cbData*: INTEGER; data*: ARRAY [untagged] 1 OF SHORTCHAR; END; RemHMETAFILEPICT* = RECORD [untagged] mm*: INTEGER; xExt*: INTEGER; yExt*: INTEGER; cbData*: INTEGER; data*: ARRAY [untagged] 1 OF SHORTCHAR; END; RemHENHMETAFILE* = RECORD [untagged] cbData*: INTEGER; data*: ARRAY [untagged] 1 OF SHORTCHAR; END; RemHBITMAP* = RECORD [untagged] cbData*: INTEGER; data*: ARRAY [untagged] 1 OF SHORTCHAR; END; RemHPALETTE* = RECORD [untagged] cbData*: INTEGER; data*: ARRAY [untagged] 1 OF SHORTCHAR; END; RemHBRUSH* = RECORD [untagged] cbData*: INTEGER; data*: ARRAY [untagged] 1 OF SHORTCHAR; END; MEMCTX* = INTEGER; CLSCTX* = INTEGER; MSHLFLAGS* = INTEGER; MSHCTX* = INTEGER; DVASPECT* = INTEGER; STGC* = INTEGER; STGMOVE* = INTEGER; STATFLAG* = INTEGER; LCID* = INTEGER; BYTE_BLOB* = RECORD [untagged] clSize*: INTEGER; abData*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrBYTE_BLOB* = POINTER TO BYTE_BLOB; WORD_BLOB* = RECORD [untagged] clSize*: INTEGER; asData*: ARRAY [untagged] 1 OF SHORTINT; END; PtrWORD_BLOB* = POINTER TO WORD_BLOB; DWORD_BLOB* = RECORD [untagged] clSize*: INTEGER; alData*: ARRAY [untagged] 1 OF INTEGER; END; PtrDWORD_BLOB* = POINTER TO DWORD_BLOB; FLAGGED_BYTE_BLOB* = RECORD [untagged] fFlags*: INTEGER; clSize*: INTEGER; abData*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrFLAGGED_BYTE_BLOB* = POINTER TO FLAGGED_BYTE_BLOB; FLAGGED_WORD_BLOB* = RECORD [untagged] fFlags*: INTEGER; clSize*: INTEGER; asData*: ARRAY [untagged] 1 OF SHORTINT; END; PtrFLAGGED_WORD_BLOB* = POINTER TO FLAGGED_WORD_BLOB; BYTE_SIZEDARR* = RECORD [untagged] clSize*: INTEGER; pData*: POINTER TO (*?*) ARRAY [untagged] OF SHORTCHAR; END; WORD_SIZEDARR* = RECORD [untagged] clSize*: INTEGER; pData*: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; END; DWORD_SIZEDARR* = RECORD [untagged] clSize*: INTEGER; pData*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; END; HYPER_SIZEDARR* = RECORD [untagged] clSize*: INTEGER; pData*: POINTER TO (*?*) ARRAY [untagged] OF LONGINT; END; GDI_NONREMOTE* = RECORD [untagged] fContext*: INTEGER; u*: RECORD [union] hInproc*: INTEGER; hRemote*: PtrDWORD_BLOB; hGlobal*: INTEGER; END; END; userHGLOBAL* = RECORD [untagged] fContext*: INTEGER; u*: RECORD [union] hInproc*: INTEGER; hRemote*: PtrFLAGGED_BYTE_BLOB; hGlobal*: INTEGER; END; END; PtruserHGLOBAL* = POINTER TO userHGLOBAL; userHMETAFILE* = RECORD [untagged] fContext*: INTEGER; u*: RECORD [union] hInproc*: INTEGER; hRemote*: PtrBYTE_BLOB; hGlobal*: INTEGER; END; END; PtruserHMETAFILE* = POINTER TO userHMETAFILE; remoteMETAFILEPICT* = RECORD [untagged] mm*: INTEGER; xExt*: INTEGER; yExt*: INTEGER; hMF*: PtruserHMETAFILE; END; PtrremoteMETAFILEPICT* = POINTER TO remoteMETAFILEPICT; userHMETAFILEPICT* = RECORD [untagged] fContext*: INTEGER; u*: RECORD [union] hInproc*: INTEGER; hRemote*: PtrremoteMETAFILEPICT; hGlobal*: INTEGER; END; END; PtruserHMETAFILEPICT* = POINTER TO userHMETAFILEPICT; userHENHMETAFILE* = RECORD [untagged] fContext*: INTEGER; u*: RECORD [union] hInproc*: INTEGER; hRemote*: PtrBYTE_BLOB; hGlobal*: INTEGER; END; END; PtruserHENHMETAFILE* = POINTER TO userHENHMETAFILE; userBITMAP* = RECORD [untagged] bmType*: INTEGER; bmWidth*: INTEGER; bmHeight*: INTEGER; bmWidthBytes*: INTEGER; bmPlanes*: SHORTINT; bmBitsPixel*: SHORTINT; cbSize*: INTEGER; pBuffer*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtruserBITMAP* = POINTER TO userBITMAP; userHBITMAP* = RECORD [untagged] fContext*: INTEGER; u*: RECORD [union] hInproc*: INTEGER; hRemote*: PtruserBITMAP; hGlobal*: INTEGER; END; END; PtruserHBITMAP* = POINTER TO userHBITMAP; rpcLOGPALETTE* = RECORD [untagged] palVersion*: SHORTINT; palNumEntries*: SHORTINT; palPalEntry*: ARRAY [untagged] 1 OF WinApi.PALETTEENTRY; END; PtrrpcLOGPALETTE* = POINTER TO rpcLOGPALETTE; userHPALETTE* = RECORD [untagged] fContext*: INTEGER; u*: RECORD [union] hInproc*: INTEGER; hRemote*: PtrrpcLOGPALETTE; hGlobal*: INTEGER; END; END; PtruserHPALETTE* = POINTER TO userHPALETTE; RemotableHandle* = RECORD [untagged] fContext*: INTEGER; u*: RECORD [union] hInproc*: INTEGER; hRemote*: INTEGER; hGlobal*: INTEGER; END; END; PtrRemotableHandle* = POINTER TO RemotableHandle; tagCY* = RECORD [union] r*: RECORD [untagged] Lo*: INTEGER; Hi*: INTEGER; END; int64*: LONGINT; END; DECIMAL* = RECORD [align8] wReserved*: SHORTINT; u*: RECORD [union] r*: RECORD [untagged] scale*: SHORTCHAR; sign*: SHORTCHAR; END; signscale*: SHORTINT; END; Hi32*: INTEGER; u1*: RECORD [union] r*: RECORD [untagged] Lo32*: INTEGER; Mid32*: INTEGER; END; Lo64*: LONGINT; END; END; PtrDECIMAL* = POINTER TO DECIMAL; VARIANT_BOOL* = SHORTINT; BLOB* = RECORD [untagged] cbSize*: INTEGER; pBlobData*: POINTER TO (*?*) ARRAY [untagged] OF SHORTCHAR; END; PtrBLOB* = POINTER TO BLOB; CLIPDATA* = RECORD [untagged] cbSize*: INTEGER; ulClipFmt*: INTEGER; pClipData*: POINTER TO (*?*) ARRAY [untagged] OF SHORTCHAR; END; PtrCLIPDATA* = POINTER TO CLIPDATA; VARTYPE* = SHORTINT; VARENUM* = INTEGER; PROPID* = INTEGER; IClassFactory* = POINTER TO ABSTRACT RECORD ["{00000001-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IMarshal* = POINTER TO ABSTRACT RECORD ["{00000003-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IMalloc* = POINTER TO ABSTRACT RECORD ["{00000002-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IMallocSpy* = POINTER TO ABSTRACT RECORD ["{0000001d-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IStdMarshalInfo* = POINTER TO ABSTRACT RECORD ["{00000018-0000-0000-C000-000000000046}"] (COM.IUnknown) END; EXTCONN* = INTEGER; IExternalConnection* = POINTER TO ABSTRACT RECORD ["{00000019-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IEnumUnknown* = POINTER TO ABSTRACT RECORD ["{00000100-0000-0000-C000-000000000046}"] (COM.IUnknown) END; BIND_OPTS* = RECORD [untagged] cbStruct*: INTEGER; grfFlags*: SET; grfMode*: SET; dwTickCountDeadline*: INTEGER; END; PtrBIND_OPTS* = POINTER TO BIND_OPTS; BIND_FLAGS* = INTEGER; IBindCtx* = POINTER TO ABSTRACT RECORD ["{0000000e-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IEnumMoniker* = POINTER TO ABSTRACT RECORD ["{00000102-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IRunnableObject* = POINTER TO ABSTRACT RECORD ["{00000126-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IRunningObjectTable* = POINTER TO ABSTRACT RECORD ["{00000010-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IPersist* = POINTER TO ABSTRACT RECORD ["{0000010c-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IPersistStream* = POINTER TO ABSTRACT RECORD ["{00000109-0000-0000-C000-000000000046}"] (IPersist) END; MKSYS* = INTEGER; MKRREDUCE* = INTEGER; IMoniker* = POINTER TO ABSTRACT RECORD ["{0000000f-0000-0000-C000-000000000046}"] (IPersistStream) END; IROTData* = POINTER TO ABSTRACT RECORD ["{f29f6bc0-5021-11ce-aa15-00006901293f}"] (COM.IUnknown) END; IEnumString* = POINTER TO ABSTRACT RECORD ["{00000101-0000-0000-C000-000000000046}"] (COM.IUnknown) END; ISequentialStream* = POINTER TO ABSTRACT RECORD ["{0c733a30-2a1c-11ce-ade5-00aa0044773d}"] (COM.IUnknown) END; STATSTG* = RECORD [align8] pwcsName*: WinApi.PtrWSTR; type*: INTEGER; cbSize*: LONGINT; mtime*: WinApi.FILETIME; ctime*: WinApi.FILETIME; atime*: WinApi.FILETIME; grfMode*: SET; grfLocksSupported*: SET; clsid*: COM.GUID; grfStateBits*: SET; dwStgFmt*: INTEGER; END; PtrSTATSTG* = POINTER TO STATSTG; STGTY* = INTEGER; STREAM_SEEK* = INTEGER; LOCKTYPE* = INTEGER; IStream* = POINTER TO ABSTRACT RECORD ["{0000000c-0000-0000-C000-000000000046}"] (ISequentialStream) END; IEnumSTATSTG* = POINTER TO ABSTRACT RECORD ["{0000000d-0000-0000-C000-000000000046}"] (COM.IUnknown) END; RemSNB* = RECORD [untagged] ulCntStr*: INTEGER; ulCntChar*: INTEGER; rgString*: ARRAY [untagged] 1 OF CHAR; END; PtrRemSNB* = POINTER TO RemSNB; SNB* = POINTER TO (*?*) ARRAY [untagged] OF WinApi.PtrWSTR; IStorage* = POINTER TO ABSTRACT RECORD ["{0000000b-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IPersistFile* = POINTER TO ABSTRACT RECORD ["{0000010b-0000-0000-C000-000000000046}"] (IPersist) END; IPersistStorage* = POINTER TO ABSTRACT RECORD ["{0000010a-0000-0000-C000-000000000046}"] (IPersist) END; ILockBytes* = POINTER TO ABSTRACT RECORD ["{0000000a-0000-0000-C000-000000000046}"] (COM.IUnknown) END; DVTARGETDEVICE* = RECORD [untagged] tdSize*: INTEGER; tdDriverNameOffset*: SHORTINT; tdDeviceNameOffset*: SHORTINT; tdPortNameOffset*: SHORTINT; tdExtDevmodeOffset*: SHORTINT; tdData*: ARRAY [untagged] 1 OF SHORTCHAR; END; PtrDVTARGETDEVICE* = POINTER TO DVTARGETDEVICE; CLIPFORMAT* = SHORTINT; FORMATETC* = RECORD [untagged] cfFormat*: CLIPFORMAT; ptd*: PtrDVTARGETDEVICE; dwAspect*: SET; lindex*: INTEGER; tymed*: SET; END; PtrFORMATETC* = POINTER TO FORMATETC; IEnumFORMATETC* = POINTER TO ABSTRACT RECORD ["{00000103-0000-0000-C000-000000000046}"] (COM.IUnknown) END; ADVF* = INTEGER; STATDATA* = RECORD [untagged] formatetc*: FORMATETC; advf*: SET; pAdvSink*: IAdviseSink; dwConnection*: INTEGER; END; PtrSTATDATA* = POINTER TO STATDATA; IEnumSTATDATA* = POINTER TO ABSTRACT RECORD ["{00000105-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IRootStorage* = POINTER TO ABSTRACT RECORD ["{00000012-0000-0000-C000-000000000046}"] (COM.IUnknown) END; TYMED* = INTEGER; RemSTGMEDIUM* = RECORD [untagged] tymed*: SET; dwHandleType*: INTEGER; pData*: INTEGER; pUnkForRelease*: INTEGER; cbData*: INTEGER; data*: ARRAY [untagged] 1 OF SHORTCHAR; END; STGMEDIUM* = RECORD [untagged] tymed*: SET; u*: RECORD [union] hBitmap*: WinApi.HBITMAP; hMetaFilePict*: WinApi.HMETAFILEPICT; hEnhMetaFile*: WinApi.HENHMETAFILE; hGlobal*: WinApi.HGLOBAL; lpszFileName*: WinApi.PtrWSTR; pstm*: IStream; pstg*: IStorage; END; pUnkForRelease*: COM.IUnknown; END; PtrSTGMEDIUM* = POINTER TO STGMEDIUM; GDI_OBJECT* = RECORD [untagged] ObjectType*: INTEGER; u*: RECORD [union] hBitmap*: PtruserHBITMAP; hPalette*: PtruserHPALETTE; hGeneric*: PtruserHGLOBAL; END; END; PtrGDI_OBJECT* = POINTER TO GDI_OBJECT; _STGMEDIUM_UNION* = RECORD [untagged] tymed*: SET; u*: RECORD [union] hMetaFilePict*: PtruserHMETAFILEPICT; hHEnhMetaFile*: PtruserHENHMETAFILE; hGdiHandle*: PtrGDI_OBJECT; hGlobal*: PtruserHGLOBAL; lpszFileName*: WinApi.PtrWSTR; pstm*: PtrBYTE_BLOB; pstg*: PtrBYTE_BLOB; END; END; userSTGMEDIUM* = RECORD [untagged] r*: _STGMEDIUM_UNION; pUnkForRelease*: COM.IUnknown; END; PtruserSTGMEDIUM* = POINTER TO userSTGMEDIUM; userFLAG_STGMEDIUM* = RECORD [untagged] ContextFlags*: SET; fPassOwnership*: INTEGER; Stgmed*: userSTGMEDIUM; END; PtruserFLAG_STGMEDIUM* = POINTER TO userFLAG_STGMEDIUM; FLAG_STGMEDIUM* = RECORD [untagged] ContextFlags*: SET; fPassOwnership*: INTEGER; Stgmed*: STGMEDIUM; END; PtrFLAG_STGMEDIUM* = POINTER TO FLAG_STGMEDIUM; IAdviseSink* = POINTER TO ABSTRACT RECORD ["{0000010f-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IAdviseSink2* = POINTER TO ABSTRACT RECORD ["{00000125-0000-0000-C000-000000000046}"] (IAdviseSink) END; DATADIR* = INTEGER; IDataObject* = POINTER TO ABSTRACT RECORD ["{0000010e-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IDataAdviseHolder* = POINTER TO ABSTRACT RECORD ["{00000110-0000-0000-C000-000000000046}"] (COM.IUnknown) END; CALLTYPE* = INTEGER; SERVERCALL* = INTEGER; PENDINGTYPE* = INTEGER; PENDINGMSG* = INTEGER; INTERFACEINFO* = RECORD [untagged] pUnk*: COM.IUnknown; iid*: COM.GUID; wMethod*: SHORTINT; END; PtrINTERFACEINFO* = POINTER TO INTERFACEINFO; IMessageFilter* = POINTER TO ABSTRACT RECORD ["{00000016-0000-0000-C000-000000000046}"] (COM.IUnknown) END; RPCOLEDATAREP* = INTEGER; RPCOLEMESSAGE* = RECORD [untagged] reserved1*: WinApi.PtrVoid; dataRepresentation*: RPCOLEDATAREP; Buffer*: WinApi.PtrVoid; cbBuffer*: INTEGER; iMethod*: INTEGER; reserved2*: ARRAY [untagged] 5 OF WinApi.PtrVoid; rpcFlags*: INTEGER; END; PtrRPCOLEMESSAGE* = POINTER TO RPCOLEMESSAGE; IRpcChannelBuffer* = POINTER TO ABSTRACT RECORD ["{D5F56B60-593B-101A-B569-08002B2DBF7A}"] (COM.IUnknown) END; IRpcProxyBuffer* = POINTER TO ABSTRACT RECORD ["{D5F56A34-593B-101A-B569-08002B2DBF7A}"] (COM.IUnknown) END; IRpcStubBuffer* = POINTER TO ABSTRACT RECORD ["{D5F56AFC-593B-101A-B569-08002B2DBF7A}"] (COM.IUnknown) END; IPSFactoryBuffer* = POINTER TO ABSTRACT RECORD ["{D5F569D0-593B-101A-B569-08002B2DBF7A}"] (COM.IUnknown) END; FMTID* = COM.GUID; CAUB* = RECORD [untagged] cElems*: INTEGER; pElems*: WinApi.PtrSTR; END; CAI* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; END; CAUI* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; END; CAL* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; END; CAUL* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; END; CAFLT* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF SHORTREAL; END; CADBL* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF REAL; END; CACY* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.CY; END; CADATE* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.DATE; END; CABSTR* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF BSTR; END; CABOOL* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF VARIANT_BOOL; END; CASCODE* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF COM.RESULT; END; PtrPROPVARIANT* = POINTER TO PROPVARIANT; CAPROPVARIANT* = RECORD [untagged] cElems*: INTEGER; pElems*: PtrPROPVARIANT; END; CAH* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF LONGINT; END; CAUH* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF LONGINT; END; CALPSTR* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.PtrSTR; END; CALPWSTR* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.PtrWSTR; END; CAFILETIME* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.FILETIME; END; CACLIPDATA* = RECORD [untagged] cElems*: INTEGER; pElems*: PtrCLIPDATA; END; CACLSID* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF COM.GUID; END; PROPVARIANT* = RECORD [align8] vt*: VARTYPE; wReserved1*: SHORTINT; wReserved2*: SHORTINT; wReserved3*: SHORTINT; u*: RECORD [union] bVal*: SHORTCHAR; iVal*: SHORTINT; uiVal*: SHORTINT; bool*: VARIANT_BOOL; lVal*: INTEGER; ulVal*: INTEGER; fltVal*: SHORTREAL; scode*: COM.RESULT; hVal*: LONGINT; uhVal*: LONGINT; dblVal*: REAL; cyVal*: WinApi.CY; date*: WinApi.DATE; filetime*: WinApi.FILETIME; puuid*: POINTER TO (*?*) ARRAY [untagged] OF COM.GUID; blob*: BLOB; pclipdata*: PtrCLIPDATA; pStream*: IStream; pStorage*: IStorage; bstrVal*: BSTR; pszVal*: WinApi.PtrSTR; pwszVal*: WinApi.PtrWSTR; caub*: CAUB; cai*: CAI; caui*: CAUI; cabool*: CABOOL; cal*: CAL; caul*: CAUL; caflt*: CAFLT; cascode*: CASCODE; cah*: CAH; cauh*: CAUH; cadbl*: CADBL; cacy*: CACY; cadate*: CADATE; cafiletime*: CAFILETIME; cauuid*: CACLSID; caclipdata*: CACLIPDATA; cabstr*: CABSTR; calpstr*: CALPSTR; calpwstr*: CALPWSTR; capropvar*: CAPROPVARIANT; END; END; PROPSPEC* = RECORD [untagged] ulKind*: INTEGER; u*: RECORD [union] propid*: PROPID; lpwstr*: WinApi.PtrWSTR; END; END; STATPROPSTG* = RECORD [untagged] lpwstrName*: WinApi.PtrWSTR; propid*: PROPID; vt*: VARTYPE; END; PtrSTATPROPSTG* = POINTER TO STATPROPSTG; STATPROPSETSTG* = RECORD [align8] fmtid*: FMTID; clsid*: COM.GUID; grfFlags*: SET; mtime*: WinApi.FILETIME; ctime*: WinApi.FILETIME; atime*: WinApi.FILETIME; END; PtrSTATPROPSETSTG* = POINTER TO STATPROPSETSTG; IPropertyStorage* = POINTER TO ABSTRACT RECORD ["{00000138-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IPropertySetStorage* = POINTER TO ABSTRACT RECORD ["{0000013A-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IEnumSTATPROPSTG* = POINTER TO ABSTRACT RECORD ["{00000139-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IEnumSTATPROPSETSTG* = POINTER TO ABSTRACT RECORD ["{0000013B-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IConnectionPoint* = POINTER TO ABSTRACT RECORD ["{B196B286-BAB4-101A-B69C-00AA00341D07}"] (COM.IUnknown) END; IConnectionPointContainer* = POINTER TO ABSTRACT RECORD ["{B196B284-BAB4-101A-B69C-00AA00341D07}"] (COM.IUnknown) END; CONNECTDATA* = RECORD [untagged] pUnk*: COM.IUnknown; dwCookie*: INTEGER; END; PtrCONNECTDATA* = POINTER TO CONNECTDATA; IEnumConnections* = POINTER TO ABSTRACT RECORD ["{B196B287-BAB4-101A-B69C-00AA00341D07}"] (COM.IUnknown) END; IEnumConnectionPoints* = POINTER TO ABSTRACT RECORD ["{B196B285-BAB4-101A-B69C-00AA00341D07}"] (COM.IUnknown) END; SOLE_AUTHENTICATION_SERVICE* = RECORD [untagged] dwAuthnSvc*: INTEGER; dwAuthzSvc*: INTEGER; pPrincipalName*: WinApi.PtrWSTR; hr*: COM.RESULT; END; PtrSOLE_AUTHENTICATION_SERVICE* = POINTER TO SOLE_AUTHENTICATION_SERVICE; EOLE_AUTHENTICATION_CAPABILITES* = INTEGER; IClientSecurity* = POINTER TO ABSTRACT RECORD ["{0000013D-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IServerSecurity* = POINTER TO ABSTRACT RECORD ["{0000013E-0000-0000-C000-000000000046}"] (COM.IUnknown) END; COINIT* = INTEGER; COSERVERINFO* = RECORD [untagged] dwSize*: INTEGER; pszName*: WinApi.PtrWSTR; END; PtrCOSERVERINFO* = POINTER TO COSERVERINFO; MULTI_QI* = RECORD [untagged] pIID*: POINTER TO (*?*) ARRAY [untagged] OF COM.GUID; pItf*: COM.IUnknown; hr*: COM.RESULT; END; PtrMULTI_QI* = POINTER TO MULTI_QI; FNGETCLASSOBJECT* = PROCEDURE (IN [nil] p0: COM.GUID; IN [iid] p1: COM.GUID; OUT [new] p2: COM.IUnknown): COM.RESULT; FNCANUNLOADNOW* = PROCEDURE (): COM.RESULT; IOleAdviseHolder* = POINTER TO ABSTRACT RECORD ["{00000111-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IOleCache* = POINTER TO ABSTRACT RECORD ["{0000011e-0000-0000-C000-000000000046}"] (COM.IUnknown) END; DISCARDCACHE* = INTEGER; IOleCache2* = POINTER TO ABSTRACT RECORD ["{00000128-0000-0000-C000-000000000046}"] (IOleCache) END; IOleCacheControl* = POINTER TO ABSTRACT RECORD ["{00000129-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IParseDisplayName* = POINTER TO ABSTRACT RECORD ["{0000011a-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IOleContainer* = POINTER TO ABSTRACT RECORD ["{0000011b-0000-0000-C000-000000000046}"] (IParseDisplayName) END; IOleClientSite* = POINTER TO ABSTRACT RECORD ["{00000118-0000-0000-C000-000000000046}"] (COM.IUnknown) END; OLEGETMONIKER* = INTEGER; OLEWHICHMK* = INTEGER; USERCLASSTYPE* = INTEGER; OLEMISC* = INTEGER; OLECLOSE* = INTEGER; IOleObject* = POINTER TO ABSTRACT RECORD ["{00000112-0000-0000-C000-000000000046}"] (COM.IUnknown) END; OLERENDER* = INTEGER; OBJECTDESCRIPTOR* = RECORD [untagged] cbSize*: INTEGER; clsid*: COM.GUID; dwDrawAspect*: SET; sizel*: WinApi.SIZE; pointl*: WinApi.POINT; dwStatus*: SET; dwFullUserTypeName*: INTEGER; dwSrcOfCopy*: INTEGER; END; PtrOBJECTDESCRIPTOR* = POINTER TO OBJECTDESCRIPTOR; LINKSRCDESCRIPTOR* = OBJECTDESCRIPTOR; PtrLINKSRCDESCRIPTOR* = PtrOBJECTDESCRIPTOR; IOleWindow* = POINTER TO ABSTRACT RECORD ["{00000114-0000-0000-C000-000000000046}"] (COM.IUnknown) END; OLEUPDATE* = INTEGER; OLELINKBIND* = INTEGER; IOleLink* = POINTER TO ABSTRACT RECORD ["{0000011d-0000-0000-C000-000000000046}"] (COM.IUnknown) END; BINDSPEED* = INTEGER; OLECONTF* = INTEGER; IOleItemContainer* = POINTER TO ABSTRACT RECORD ["{0000011c-0000-0000-C000-000000000046}"] (IOleContainer) END; BORDERWIDTHS* = WinApi.RECT; PtrBORDERWIDTHS* = WinApi.PtrRECT; IOleInPlaceUIWindow* = POINTER TO ABSTRACT RECORD ["{00000115-0000-0000-C000-000000000046}"] (IOleWindow) END; IOleInPlaceActiveObject* = POINTER TO ABSTRACT RECORD ["{00000117-0000-0000-C000-000000000046}"] (IOleWindow) END; OLEINPLACEFRAMEINFO* = RECORD [untagged] cb*: INTEGER; fMDIApp*: WinApi.BOOL; hwndFrame*: WinApi.HWND; haccel*: WinApi.HACCEL; cAccelEntries*: INTEGER; END; PtrOLEINPLACEFRAMEINFO* = POINTER TO OLEINPLACEFRAMEINFO; OLEMENUGROUPWIDTHS* = RECORD [untagged] width*: ARRAY [untagged] 6 OF INTEGER; END; PtrOLEMENUGROUPWIDTHS* = POINTER TO OLEMENUGROUPWIDTHS; HOLEMENU* = WinApi.HGLOBAL; IOleInPlaceFrame* = POINTER TO ABSTRACT RECORD ["{00000116-0000-0000-C000-000000000046}"] (IOleInPlaceUIWindow) END; IOleInPlaceObject* = POINTER TO ABSTRACT RECORD ["{00000113-0000-0000-C000-000000000046}"] (IOleWindow) END; IOleInPlaceSite* = POINTER TO ABSTRACT RECORD ["{00000119-0000-0000-C000-000000000046}"] (IOleWindow) END; IViewObject* = POINTER TO ABSTRACT RECORD ["{0000010d-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IViewObject2* = POINTER TO ABSTRACT RECORD ["{00000127-0000-0000-C000-000000000046}"] (IViewObject) END; IDropSource* = POINTER TO ABSTRACT RECORD ["{00000121-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IDropTarget* = POINTER TO ABSTRACT RECORD ["{00000122-0000-0000-C000-000000000046}"] (COM.IUnknown) END; OLEVERB* = RECORD [untagged] lVerb*: INTEGER; lpszVerbName*: WinApi.PtrWSTR; fuFlags*: SET; grfAttribs*: SET; END; PtrOLEVERB* = POINTER TO OLEVERB; OLEVERBATTRIB* = INTEGER; IEnumOLEVERB* = POINTER TO ABSTRACT RECORD ["{00000104-0000-0000-C000-000000000046}"] (COM.IUnknown) END; PtrOLESTREAM* = POINTER TO OLESTREAM; OLESTREAMVTBL* = RECORD [untagged] Get*: PROCEDURE (p0: PtrOLESTREAM; p1: WinApi.PtrVoid; p2: INTEGER): INTEGER; Put*: PROCEDURE (p0: PtrOLESTREAM; p1: WinApi.PtrVoid; p2: INTEGER): INTEGER; END; PtrOLESTREAMVTBL* = POINTER TO OLESTREAMVTBL; OLESTREAM* = RECORD [untagged] lpstbl*: PtrOLESTREAMVTBL; END; PROCEDURE (this: IClassFactory) CreateInstance* (pUnkOuter: COM.IUnknown; IN [iid] riid: COM.GUID; OUT [new] ppvObject: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IClassFactory) LockServer* (fLock: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMarshal) GetUnmarshalClass* (IN [nil] riid: COM.GUID; pv: WinApi.PtrVoid; dwDestContext: INTEGER; pvDestContext: WinApi.PtrVoid; mshlflags: SET; OUT [nil] pCid: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMarshal) GetMarshalSizeMax* (IN [nil] riid: COM.GUID; pv: WinApi.PtrVoid; dwDestContext: INTEGER; pvDestContext: WinApi.PtrVoid; mshlflags: SET; OUT [nil] pSize: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMarshal) MarshalInterface* (pStm: IStream; IN [nil] riid: COM.GUID; pv: WinApi.PtrVoid; dwDestContext: INTEGER; pvDestContext: WinApi.PtrVoid; mshlflags: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMarshal) UnmarshalInterface* (pStm: IStream; IN [iid] riid: COM.GUID; OUT [new] ppv: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMarshal) ReleaseMarshalData* (pStm: IStream): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMarshal) DisconnectObject* (dwReserved: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMalloc) Alloc* (cb: INTEGER): WinApi.PtrVoid, NEW, ABSTRACT; PROCEDURE (this: IMalloc) Realloc* (pv: WinApi.PtrVoid; cb: INTEGER): WinApi.PtrVoid, NEW, ABSTRACT; PROCEDURE (this: IMalloc) Free* (pv: WinApi.PtrVoid), NEW, ABSTRACT; PROCEDURE (this: IMalloc) GetSize* (pv: WinApi.PtrVoid): INTEGER, NEW, ABSTRACT; PROCEDURE (this: IMalloc) DidAlloc* (pv: WinApi.PtrVoid): INTEGER, NEW, ABSTRACT; PROCEDURE (this: IMalloc) HeapMinimize* (), NEW, ABSTRACT; PROCEDURE (this: IMallocSpy) PreAlloc* (cbRequest: INTEGER): INTEGER, NEW, ABSTRACT; PROCEDURE (this: IMallocSpy) PostAlloc* (pActual: WinApi.PtrVoid): WinApi.PtrVoid, NEW, ABSTRACT; PROCEDURE (this: IMallocSpy) PreFree* (pRequest: WinApi.PtrVoid; fSpyed: WinApi.BOOL): WinApi.PtrVoid, NEW, ABSTRACT; PROCEDURE (this: IMallocSpy) PostFree* (fSpyed: WinApi.BOOL), NEW, ABSTRACT; PROCEDURE (this: IMallocSpy) PreRealloc* (pRequest: WinApi.PtrVoid; cbRequest: INTEGER; OUT [nil] ppNewRequest: WinApi.PtrVoid; fSpyed: WinApi.BOOL): INTEGER, NEW, ABSTRACT; PROCEDURE (this: IMallocSpy) PostRealloc* (pActual: WinApi.PtrVoid; fSpyed: WinApi.BOOL): WinApi.PtrVoid, NEW, ABSTRACT; PROCEDURE (this: IMallocSpy) PreGetSize* (pRequest: WinApi.PtrVoid; fSpyed: WinApi.BOOL): WinApi.PtrVoid, NEW, ABSTRACT; PROCEDURE (this: IMallocSpy) PostGetSize* (cbActual: INTEGER; fSpyed: WinApi.BOOL): INTEGER, NEW, ABSTRACT; PROCEDURE (this: IMallocSpy) PreDidAlloc* (pRequest: WinApi.PtrVoid; fSpyed: WinApi.BOOL): WinApi.PtrVoid, NEW, ABSTRACT; PROCEDURE (this: IMallocSpy) PostDidAlloc* (pRequest: WinApi.PtrVoid; fSpyed: WinApi.BOOL; fActual: INTEGER): INTEGER, NEW, ABSTRACT; PROCEDURE (this: IMallocSpy) PreHeapMinimize* (), NEW, ABSTRACT; PROCEDURE (this: IMallocSpy) PostHeapMinimize* (), NEW, ABSTRACT; PROCEDURE (this: IStdMarshalInfo) GetClassForHandler* (dwDestContext: INTEGER; pvDestContext: WinApi.PtrVoid; OUT [nil] pClsid: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IExternalConnection) AddConnection* (extconn: SET; reserved: INTEGER): INTEGER, NEW, ABSTRACT; PROCEDURE (this: IExternalConnection) ReleaseConnection* (extconn: SET; reserved: INTEGER; fLastReleaseCloses: WinApi.BOOL): INTEGER, NEW, ABSTRACT; PROCEDURE (this: IEnumUnknown) Next* (celt: INTEGER; OUT rgelt: ARRAY [untagged] OF COM.IUnknown; OUT [nil] pceltFetched: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumUnknown) Skip* (celt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumUnknown) Reset* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumUnknown) Clone* (OUT [nil] ppenum: IEnumUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IBindCtx) RegisterObjectBound* (punk: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IBindCtx) RevokeObjectBound* (punk: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IBindCtx) ReleaseBoundObjects* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IBindCtx) SetBindOptions* (IN [nil] pbindopts: BIND_OPTS): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IBindCtx) GetBindOptions* (VAR [nil] pbindopts: BIND_OPTS): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IBindCtx) GetRunningObjectTable* (OUT [nil] pprot: IRunningObjectTable): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IBindCtx) RegisterObjectParam* (pszKey: WinApi.PtrWSTR; punk: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IBindCtx) GetObjectParam* (pszKey: WinApi.PtrWSTR; OUT [nil] ppunk: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IBindCtx) EnumObjectParam* (OUT [nil] ppenum: IEnumString): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IBindCtx) RevokeObjectParam* (pszKey: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumMoniker) Next* (celt: INTEGER; OUT rgelt: ARRAY [untagged] OF IMoniker; OUT [nil] pceltFetched: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumMoniker) Skip* (celt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumMoniker) Reset* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumMoniker) Clone* (OUT [nil] ppenum: IEnumMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRunnableObject) GetRunningClass* (OUT [nil] lpClsid: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRunnableObject) Run* (pbc: IBindCtx): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRunnableObject) IsRunning* (): WinApi.BOOL, NEW, ABSTRACT; PROCEDURE (this: IRunnableObject) LockRunning* (fLock: WinApi.BOOL; fLastUnlockCloses: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRunnableObject) SetContainedObject* (fContained: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRunningObjectTable) Register* (grfFlags: SET; punkObject: COM.IUnknown; pmkObjectName: IMoniker; OUT [nil] pdwRegister: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRunningObjectTable) Revoke* (dwRegister: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRunningObjectTable) IsRunning* (pmkObjectName: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRunningObjectTable) GetObjectA* (pmkObjectName: IMoniker; OUT [nil] ppunkObject: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRunningObjectTable) NoteChangeTime* (dwRegister: INTEGER;VAR [nil] pfiletime: WinApi.FILETIME): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRunningObjectTable) GetTimeOfLastChange* (pmkObjectName: IMoniker; OUT [nil] pfiletime: WinApi.FILETIME): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRunningObjectTable) EnumRunning* (OUT [nil] ppenumMoniker: IEnumMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersist) GetClassID* (OUT [nil] pClassID: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStream) IsDirty* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStream) Load* (pStm: IStream): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStream) Save* (pStm: IStream; fClearDirty: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStream) GetSizeMax* (OUT [nil] pcbSize: LONGINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) BindToObject* (pbc: IBindCtx; pmkToLeft: IMoniker; IN [iid] riidResult: COM.GUID; OUT [new] ppvResult: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) BindToStorage* (pbc: IBindCtx; pmkToLeft: IMoniker; IN [iid] riid: COM.GUID; OUT [new] ppvObj: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) Reduce* (pbc: IBindCtx; dwReduceHowFar: INTEGER; VAR [nil] ppmkToLeft: IMoniker; OUT [nil] ppmkReduced: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) ComposeWith* (pmkRight: IMoniker; fOnlyIfNotGeneric: WinApi.BOOL; OUT [nil] ppmkComposite: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) Enum* (fForward: WinApi.BOOL; OUT [nil] ppenumMoniker: IEnumMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) IsEqual* (pmkOtherMoniker: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) Hash* (OUT [nil] pdwHash: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) IsRunning* (pbc: IBindCtx; pmkToLeft: IMoniker; pmkNewlyRunning: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) GetTimeOfLastChange* (pbc: IBindCtx; pmkToLeft: IMoniker; OUT [nil] pFileTime: WinApi.FILETIME): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) Inverse* (OUT [nil] ppmk: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) CommonPrefixWith* (pmkOther: IMoniker; OUT [nil] ppmkPrefix: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) RelativePathTo* (pmkOther: IMoniker; OUT [nil] ppmkRelPath: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) GetDisplayName* (pbc: IBindCtx; pmkToLeft: IMoniker; OUT [nil] ppszDisplayName: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) ParseDisplayName* (pbc: IBindCtx; pmkToLeft: IMoniker; pszDisplayName: WinApi.PtrWSTR; OUT [nil] pchEaten: INTEGER; OUT [nil] ppmkOut: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMoniker) IsSystemMoniker* (OUT [nil] pdwMksys: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IROTData) GetComparisonData* (OUT [nil] pbData: SHORTCHAR; cbMax: INTEGER; OUT [nil] pcbData: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumString) Next* (celt: INTEGER; OUT rgelt: ARRAY [untagged] OF WinApi.PtrWSTR; OUT [nil] pceltFetched: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumString) Skip* (celt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumString) Reset* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumString) Clone* (OUT [nil] ppenum: IEnumString): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ISequentialStream) Read* (pv: WinApi.PtrVoid; cb: INTEGER; OUT [nil] pcbRead: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ISequentialStream) Write* (pv: WinApi.PtrVoid; cb: INTEGER; OUT [nil] pcbWritten: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStream) Seek* (dlibMove: LONGINT; dwOrigin: INTEGER; OUT [nil] plibNewPosition: LONGINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStream) SetSize* (libNewSize: LONGINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStream) CopyTo* (pstm: IStream; cb: LONGINT; OUT [nil] pcbRead: LONGINT; OUT [nil] pcbWritten: LONGINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStream) Commit* (grfCommitFlags: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStream) Revert* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStream) LockRegion* (libOffset: LONGINT; cb: LONGINT; dwLockType: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStream) UnlockRegion* (libOffset: LONGINT; cb: LONGINT; dwLockType: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStream) Stat* (OUT [nil] pstatstg: STATSTG; grfStatFlag: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStream) Clone* (OUT [nil] ppstm: IStream): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATSTG) Next* (celt: INTEGER; OUT rgelt: ARRAY [untagged] OF STATSTG; OUT [nil] pceltFetched: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATSTG) Skip* (celt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATSTG) Reset* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATSTG) Clone* (OUT [nil] ppenum: IEnumSTATSTG): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) CreateStream* (pwcsName: WinApi.PtrWSTR; grfMode: SET; reserved1: INTEGER; reserved2: INTEGER; OUT [nil] ppstm: IStream): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) OpenStream* (pwcsName: WinApi.PtrWSTR; reserved1: WinApi.PtrVoid; grfMode: SET; reserved2: INTEGER; OUT [nil] ppstm: IStream): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) CreateStorage* (pwcsName: WinApi.PtrWSTR; grfMode: SET; dwStgFmt: INTEGER; reserved2: INTEGER; OUT [nil] ppstg: IStorage): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) OpenStorage* (pwcsName: WinApi.PtrWSTR; pstgPriority: IStorage; grfMode: SET; snbExclude: SNB; reserved: INTEGER; OUT [nil] ppstg: IStorage): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) CopyTo* (ciidExclude: INTEGER; IN [nil] rgiidExclude: COM.GUID; snbExclude: SNB; pstgDest: IStorage): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) MoveElementTo* (pwcsName: WinApi.PtrWSTR; pstgDest: IStorage; pwcsNewName: WinApi.PtrWSTR; grfFlags: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) Commit* (grfCommitFlags: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) Revert* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) EnumElements* (reserved1: INTEGER; reserved2: WinApi.PtrVoid; reserved3: INTEGER; OUT [nil] ppenum: IEnumSTATSTG): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) DestroyElement* (pwcsName: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) RenameElement* (pwcsOldName: WinApi.PtrWSTR; pwcsNewName: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) SetElementTimes* (pwcsName: WinApi.PtrWSTR; VAR [nil] pctime: WinApi.FILETIME; VAR [nil] patime: WinApi.FILETIME; VAR [nil] pmtime: WinApi.FILETIME): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) SetClass* (IN [nil] clsid: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) SetStateBits* (grfStateBits: SET; grfMask: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IStorage) Stat* (OUT [nil] pstatstg: STATSTG; grfStatFlag: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistFile) IsDirty* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistFile) Load* (pszFileName: WinApi.PtrWSTR; dwMode: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistFile) Save* (pszFileName: WinApi.PtrWSTR; fRemember: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistFile) SaveCompleted* (pszFileName: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistFile) GetCurFile* (OUT [nil] ppszFileName: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStorage) IsDirty* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStorage) InitNew* (pStg: IStorage): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStorage) Load* (pStg: IStorage): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStorage) Save* (pStgSave: IStorage; fSameAsLoad: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStorage) SaveCompleted* (pStgNew: IStorage): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStorage) HandsOffStorage* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ILockBytes) ReadAt* (ulOffset: LONGINT; pv: WinApi.PtrVoid; cb: INTEGER; OUT [nil] pcbRead: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ILockBytes) WriteAt* (ulOffset: LONGINT; pv: WinApi.PtrVoid; cb: INTEGER; OUT [nil] pcbWritten: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ILockBytes) Flush* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ILockBytes) SetSize* (cb: LONGINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ILockBytes) LockRegion* (libOffset: LONGINT; cb: LONGINT; dwLockType: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ILockBytes) UnlockRegion* (libOffset: LONGINT; cb: LONGINT; dwLockType: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ILockBytes) Stat* (OUT [nil] pstatstg: STATSTG; grfStatFlag: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumFORMATETC) Next* (celt: INTEGER; OUT rgelt: ARRAY [untagged] OF FORMATETC; OUT [nil] pceltFetched: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumFORMATETC) Skip* (celt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumFORMATETC) Reset* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumFORMATETC) Clone* (OUT [nil] ppenum: IEnumFORMATETC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATDATA) Next* (celt: INTEGER; OUT rgelt: ARRAY [untagged] OF STATDATA; OUT [nil] pceltFetched: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATDATA) Skip* (celt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATDATA) Reset* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATDATA) Clone* (OUT [nil] ppenum: IEnumSTATDATA): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRootStorage) SwitchToFile* (pszFile: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IAdviseSink) OnDataChange* (IN [nil] pFormatetc: FORMATETC; IN [nil] pStgmed: STGMEDIUM), NEW, ABSTRACT; PROCEDURE (this: IAdviseSink) OnViewChange* (dwAspect: SET; lindex: INTEGER), NEW, ABSTRACT; PROCEDURE (this: IAdviseSink) OnRename* (pmk: IMoniker), NEW, ABSTRACT; PROCEDURE (this: IAdviseSink) OnSave* (), NEW, ABSTRACT; PROCEDURE (this: IAdviseSink) OnClose* (), NEW, ABSTRACT; PROCEDURE (this: IAdviseSink2) OnLinkSrcChange* (pmk: IMoniker), NEW, ABSTRACT; PROCEDURE (this: IDataObject) GetData* (IN [nil] pformatetcIn: FORMATETC; OUT [nil] pmedium: STGMEDIUM): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDataObject) GetDataHere* (IN [nil] pformatetc: FORMATETC; VAR [nil] pmedium: STGMEDIUM): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDataObject) QueryGetData* (IN [nil] pformatetc: FORMATETC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDataObject) GetCanonicalFormatEtc* (IN [nil] pformatectIn: FORMATETC; OUT [nil] pformatetcOut: FORMATETC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDataObject) SetData* (IN [nil] pformatetc: FORMATETC; IN [nil] pmedium: STGMEDIUM; fRelease: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDataObject) EnumFormatEtc* (dwDirection: SET; OUT [nil] ppenumFormatEtc: IEnumFORMATETC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDataObject) DAdvise* (IN [nil] pformatetc: FORMATETC; advf: SET; pAdvSink: IAdviseSink; OUT [nil] pdwConnection: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDataObject) DUnadvise* (dwConnection: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDataObject) EnumDAdvise* (OUT [nil] ppenumAdvise: IEnumSTATDATA): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDataAdviseHolder) Advise* (pDataObject: IDataObject; IN [nil] pFetc: FORMATETC; advf: SET; pAdvise: IAdviseSink; OUT [nil] pdwConnection: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDataAdviseHolder) Unadvise* (dwConnection: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDataAdviseHolder) EnumAdvise* (OUT [nil] ppenumAdvise: IEnumSTATDATA): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDataAdviseHolder) SendOnDataChange* (pDataObject: IDataObject; dwReserved: INTEGER; advf: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IMessageFilter) HandleInComingCall* (dwCallType: INTEGER; htaskCaller: WinApi.HTASK; dwTickCount: INTEGER; IN [nil] lpInterfaceInfo: INTERFACEINFO): INTEGER, NEW, ABSTRACT; PROCEDURE (this: IMessageFilter) RetryRejectedCall* (htaskCallee: WinApi.HTASK; dwTickCount: INTEGER; dwRejectType: INTEGER): INTEGER, NEW, ABSTRACT; PROCEDURE (this: IMessageFilter) MessagePending* (htaskCallee: WinApi.HTASK; dwTickCount: INTEGER; dwPendingType: INTEGER): INTEGER, NEW, ABSTRACT; PROCEDURE (this: IRpcChannelBuffer) GetBuffer* (IN [nil] pMessage: RPCOLEMESSAGE; IN [nil] riid: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRpcChannelBuffer) SendReceive* (VAR [nil] pMessage: RPCOLEMESSAGE; OUT [nil] pStatus: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRpcChannelBuffer) FreeBuffer* (IN [nil] pMessage: RPCOLEMESSAGE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRpcChannelBuffer) GetDestCtx* (OUT [nil] pdwDestContext: INTEGER; OUT [nil] ppvDestContext: WinApi.PtrVoid): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRpcChannelBuffer) IsConnected* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRpcProxyBuffer) Connect* (pRpcChannelBuffer: IRpcChannelBuffer): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRpcProxyBuffer) Disconnect* (), NEW, ABSTRACT; PROCEDURE (this: IRpcStubBuffer) Connect* (pUnkServer: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRpcStubBuffer) Disconnect* (), NEW, ABSTRACT; PROCEDURE (this: IRpcStubBuffer) Invoke* (IN [nil] _prpcmsg: RPCOLEMESSAGE; _pRpcChannelBuffer: IRpcChannelBuffer): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRpcStubBuffer) IsIIDSupported* (IN [nil] riid: COM.GUID): IRpcStubBuffer, NEW, ABSTRACT; PROCEDURE (this: IRpcStubBuffer) CountRefs* (): INTEGER, NEW, ABSTRACT; PROCEDURE (this: IRpcStubBuffer) DebugServerQueryInterface* (VAR [nil] ppv: WinApi.PtrVoid): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IRpcStubBuffer) DebugServerRelease* (pv: WinApi.PtrVoid), NEW, ABSTRACT; PROCEDURE (this: IPSFactoryBuffer) CreateProxy* (pUnkOuter: COM.IUnknown; IN [iid] riid: COM.GUID; OUT [nil] ppProxy: IRpcProxyBuffer; OUT [new] ppv: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPSFactoryBuffer) CreateStub* (IN [nil] riid: COM.GUID; pUnkServer: COM.IUnknown; OUT [nil] ppStub: IRpcStubBuffer): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyStorage) ReadMultiple* (cpspec: INTEGER; IN [nil] rgpspec: ARRAY [untagged] OF PROPSPEC; IN [nil] rgpropvar: ARRAY [untagged] OF PROPVARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyStorage) WriteMultiple* (cpspec: INTEGER; IN [nil] rgpspec: ARRAY [untagged] OF PROPSPEC; IN [nil] rgpropvar: ARRAY [untagged] OF PROPVARIANT; propidNameFirst: PROPID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyStorage) DeleteMultiple* (cpspec: INTEGER; IN [nil] rgpspec: ARRAY [untagged] OF PROPSPEC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyStorage) ReadPropertyNames* (cpropid: INTEGER; IN [nil] rgpropid: ARRAY [untagged] OF PROPID; IN [nil] rglpwstrName: ARRAY [untagged] OF WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyStorage) WritePropertyNames* (cpropid: INTEGER; IN [nil] rgpropid: ARRAY [untagged] OF PROPID; IN [nil] rglpwstrName: ARRAY [untagged] OF WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyStorage) DeletePropertyNames* (cpropid: INTEGER; IN [nil] rgpropid: ARRAY [untagged] OF PROPID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyStorage) Commit* (grfCommitFlags: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyStorage) Revert* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyStorage) Enum* (OUT [nil] ppenum: IEnumSTATPROPSTG): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyStorage) SetTimes* (VAR [nil] pctime: WinApi.FILETIME; VAR [nil] patime: WinApi.FILETIME; VAR [nil] pmtime: WinApi.FILETIME): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyStorage) SetClass* (IN [nil] clsid: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyStorage) Stat* (OUT [nil] pstatpsstg: STATPROPSETSTG): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertySetStorage) Create* (IN [nil] rfmtid: FMTID; IN [nil] pclsid: COM.GUID; grfFlags: SET; grfMode: SET; OUT [nil] ppprstg: IPropertyStorage): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertySetStorage) Open* (IN [nil] rfmtid: FMTID; grfMode: SET; OUT [nil] ppprstg: IPropertyStorage): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertySetStorage) Delete* (IN [nil] rfmtid: FMTID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertySetStorage) Enum* (OUT [nil] ppenum: IEnumSTATPROPSETSTG): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATPROPSTG) Next* (celt: INTEGER; OUT rgelt: ARRAY [untagged] OF STATPROPSTG; OUT [nil] pceltFetched: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATPROPSTG) Skip* (celt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATPROPSTG) Reset* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATPROPSTG) Clone* (OUT [nil] ppenum: IEnumSTATPROPSTG): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATPROPSETSTG) Next* (celt: INTEGER; OUT rgelt: ARRAY [untagged] OF STATPROPSETSTG; OUT [nil] pceltFetched: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATPROPSETSTG) Skip* (celt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATPROPSETSTG) Reset* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumSTATPROPSETSTG) Clone* (OUT [nil] ppenum: IEnumSTATPROPSETSTG): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IConnectionPoint) GetConnectionInterface* (OUT [nil] piid: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IConnectionPoint) GetConnectionPointContainer* (OUT [nil] ppCPC: IConnectionPointContainer): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IConnectionPoint) Advise* (pUnkSink: COM.IUnknown; OUT [nil] pdwCookie: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IConnectionPoint) Unadvise* (dwCookie: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IConnectionPoint) EnumConnections* (OUT [nil] ppEnum: IEnumConnections): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IConnectionPointContainer) EnumConnectionPoints* (OUT [nil] ppEnum: IEnumConnectionPoints): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IConnectionPointContainer) FindConnectionPoint* (IN [nil] riid: COM.GUID; OUT [nil] ppCP: IConnectionPoint): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumConnections) Next* (cConnections: INTEGER; OUT rgcd: ARRAY [untagged] OF CONNECTDATA; OUT [nil] lpcFetched: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumConnections) Skip* (cConnections: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumConnections) Reset* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumConnections) Clone* (OUT [nil] ppEnum: IEnumConnections): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumConnectionPoints) Next* (cConnections: INTEGER; OUT rgpcn: ARRAY [untagged] OF IConnectionPoint; OUT [nil] lpcFetched: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumConnectionPoints) Skip* (cConnections: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumConnectionPoints) Reset* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumConnectionPoints) Clone* (OUT [nil] ppEnum: IEnumConnectionPoints): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IClientSecurity) QueryBlanket* (pProxy: COM.IUnknown; OUT [nil] pAuthnSvc: INTEGER; OUT [nil] pAuthzSvc: INTEGER; OUT [nil] pServerPrincName: WinApi.PtrWSTR; OUT [nil] pAuthnLevel: INTEGER; OUT [nil] pImpLevel: INTEGER; OUT [nil] pAuthInfo: WinApi.PtrVoid; OUT [nil] pCapabilites: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IClientSecurity) SetBlanket* (pProxy: COM.IUnknown; AuthnSvc: INTEGER; AuthzSvc: INTEGER; pServerPrincName: WinApi.PtrWSTR; AuthnLevel: INTEGER; ImpLevel: INTEGER; pAuthInfo: WinApi.PtrVoid; Capabilities: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IClientSecurity) CopyProxy* (pProxy: COM.IUnknown; OUT [nil] ppCopy: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IServerSecurity) QueryBlanket* (OUT [nil] pAuthnSvc: INTEGER; OUT [nil] pAuthzSvc: INTEGER; OUT [nil] pServerPrincName: WinApi.PtrWSTR; OUT [nil] pAuthnLevel: INTEGER; OUT [nil] pImpLevel: INTEGER; OUT [nil] pPrivs: WinApi.PtrVoid; OUT [nil] pCapabilities: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IServerSecurity) ImpersonateClient* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IServerSecurity) RevertToSelf* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IServerSecurity) IsImpersonating* (): WinApi.BOOL, NEW, ABSTRACT; PROCEDURE (this: IOleAdviseHolder) Advise* (pAdvise: IAdviseSink; OUT [nil] pdwConnection: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleAdviseHolder) Unadvise* (dwConnection: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleAdviseHolder) EnumAdvise* (OUT [nil] ppenumAdvise: IEnumSTATDATA): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleAdviseHolder) SendOnRename* (pmk: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleAdviseHolder) SendOnSave* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleAdviseHolder) SendOnClose* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleCache) Cache* (IN [nil] pformatetc: FORMATETC; advf: SET; OUT [nil] pdwConnection: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleCache) Uncache* (dwConnection: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleCache) EnumCache* (OUT [nil] ppenumSTATDATA: IEnumSTATDATA): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleCache) InitCache* (pDataObject: IDataObject): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleCache) SetData* (IN [nil] pformatetc: FORMATETC; IN [nil] pmedium: STGMEDIUM; fRelease: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleCache2) UpdateCache* (pDataObject: IDataObject; grfUpdf: SET; pReserved: WinApi.PtrVoid): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleCache2) DiscardCache* (dwDiscardOptions: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleCacheControl) OnRun* (pDataObject: IDataObject): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleCacheControl) OnStop* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IParseDisplayName) ParseDisplayName* (pbc: IBindCtx; pszDisplayName: WinApi.PtrWSTR; OUT [nil] pchEaten: INTEGER; OUT [nil] ppmkOut: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleContainer) EnumObjects* (grfFlags: SET; OUT [nil] ppenum: IEnumUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleContainer) LockContainer* (fLock: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleClientSite) SaveObject* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleClientSite) GetMoniker* (dwAssign: INTEGER; dwWhichMoniker: INTEGER; OUT [nil] ppmk: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleClientSite) GetContainer* (OUT [nil] ppContainer: IOleContainer): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleClientSite) ShowObject* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleClientSite) OnShowWindow* (fShow: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleClientSite) RequestNewObjectLayout* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) SetClientSite* (pClientSite: IOleClientSite): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) GetClientSite* (OUT [nil] ppClientSite: IOleClientSite): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) SetHostNames* (szContainerApp: WinApi.PtrWSTR; szContainerObj: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) Close* (dwSaveOption: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) SetMoniker* (dwWhichMoniker: INTEGER; pmk: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) GetMoniker* (dwAssign: INTEGER; dwWhichMoniker: INTEGER; OUT [nil] ppmk: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) InitFromData* (pDataObject: IDataObject; fCreation: WinApi.BOOL; dwReserved: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) GetClipboardData* (dwReserved: INTEGER; OUT [nil] ppDataObject: IDataObject): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) DoVerb* (iVerb: INTEGER; IN [nil] lpmsg: WinApi.MSG; pActiveSite: IOleClientSite; lindex: INTEGER; hwndParent: WinApi.HWND; IN [nil] lprcPosRect: WinApi.RECT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) EnumVerbs* (OUT [nil] ppEnumOleVerb: IEnumOLEVERB): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) Update* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) IsUpToDate* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) GetUserClassID* (OUT [nil] pClsid: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) GetUserType* (dwFormOfType: INTEGER; OUT [nil] pszUserType: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) SetExtent* (dwDrawAspect: SET; IN [nil] psizel: WinApi.SIZE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) GetExtent* (dwDrawAspect: SET; OUT [nil] psizel: WinApi.SIZE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) Advise* (pAdvSink: IAdviseSink; OUT [nil] pdwConnection: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) Unadvise* (dwConnection: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) EnumAdvise* (OUT [nil] ppenumAdvise: IEnumSTATDATA): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) GetMiscStatus* (dwAspect: SET; OUT [nil] pdwStatus: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleObject) SetColorScheme* (IN [nil] pLogpal: WinApi.LOGPALETTE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleWindow) GetWindow* (OUT [nil] phwnd: WinApi.HWND): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleWindow) ContextSensitiveHelp* (fEnterMode: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleLink) SetUpdateOptions* (dwUpdateOpt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleLink) GetUpdateOptions* (OUT [nil] pdwUpdateOpt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleLink) SetSourceMoniker* (pmk: IMoniker; IN [nil] rclsid: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleLink) GetSourceMoniker* (OUT [nil] ppmk: IMoniker): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleLink) SetSourceDisplayName* (pszStatusText: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleLink) GetSourceDisplayName* (OUT [nil] ppszDisplayName: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleLink) BindToSource* (bindflags: SET; pbc: IBindCtx): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleLink) BindIfRunning* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleLink) GetBoundSource* (OUT [nil] ppunk: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleLink) UnbindSource* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleLink) Update* (pbc: IBindCtx): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleItemContainer) GetObjectA* (pszItem: WinApi.PtrWSTR; dwSpeedNeeded: INTEGER; pbc: IBindCtx; IN [iid] riid: COM.GUID; OUT [new] ppvObject: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleItemContainer) GetObjectStorage* (pszItem: WinApi.PtrWSTR; pbc: IBindCtx; IN [iid] riid: COM.GUID; OUT [new] ppvStorage: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleItemContainer) IsRunning* (pszItem: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceUIWindow) GetBorder* (OUT [nil] lprectBorder: WinApi.RECT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceUIWindow) RequestBorderSpace* (IN [nil] pborderwidths: WinApi.RECT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceUIWindow) SetBorderSpace* (IN [nil] pborderwidths: WinApi.RECT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceUIWindow) SetActiveObject* (pActiveObject: IOleInPlaceActiveObject; pszObjName: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceActiveObject) TranslateAccelerator* (IN [nil] lpmsg: WinApi.MSG): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceActiveObject) OnFrameWindowActivate* (fActivate: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceActiveObject) OnDocWindowActivate* (fActivate: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceActiveObject) ResizeBorder* (IN [nil] prcBorder: WinApi.RECT; pUIWindow: IOleInPlaceUIWindow; fFrameWindow: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceActiveObject) EnableModeless* (fEnable: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceFrame) InsertMenus* (hmenuShared: WinApi.HMENU; VAR [nil] lpMenuWidths: OLEMENUGROUPWIDTHS): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceFrame) SetMenu* (hmenuShared: WinApi.HMENU; holemenu: HOLEMENU; hwndActiveObject: WinApi.HWND): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceFrame) RemoveMenus* (hmenuShared: WinApi.HMENU): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceFrame) SetStatusText* (pszStatusText: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceFrame) EnableModeless* (fEnable: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceFrame) TranslateAccelerator* (IN [nil] lpmsg: WinApi.MSG; wID: SHORTINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceObject) InPlaceDeactivate* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceObject) UIDeactivate* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceObject) SetObjectRects* (IN [nil] lprcPosRect: WinApi.RECT; IN [nil] lprcClipRect: WinApi.RECT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceObject) ReactivateAndUndo* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceSite) CanInPlaceActivate* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceSite) OnInPlaceActivate* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceSite) OnUIActivate* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceSite) GetWindowContext* (OUT [nil] ppFrame: IOleInPlaceFrame; OUT [nil] ppDoc: IOleInPlaceUIWindow; OUT [nil] lprcPosRect: WinApi.RECT; OUT [nil] lprcClipRect: WinApi.RECT; VAR [nil] lpFrameInfo: OLEINPLACEFRAMEINFO): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceSite) Scroll* (scrollExtant: WinApi.SIZE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceSite) OnUIDeactivate* (fUndoable: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceSite) OnInPlaceDeactivate* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceSite) DiscardUndoState* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceSite) DeactivateAndUndo* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleInPlaceSite) OnPosRectChange* (IN [nil] lprcPosRect: WinApi.RECT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IViewObject) Draw* (dwDrawAspect: SET; lindex: INTEGER; pvAspect: WinApi.PtrVoid; IN [nil] ptd: DVTARGETDEVICE; hdcTargetDev: WinApi.HDC; hdcDraw: WinApi.HDC; IN [nil] lprcBounds: WinApi.RECT; IN [nil] lprcWBounds: WinApi.RECT; pfnContinue: PROCEDURE (dwContinue: INTEGER): WinApi.BOOL; dwContinue: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IViewObject) GetColorSet* (dwDrawAspect: SET; lindex: INTEGER; pvAspect: WinApi.PtrVoid; IN [nil] ptd: DVTARGETDEVICE; hicTargetDev: WinApi.HDC; OUT [nil] ppColorSet: WinApi.PtrLOGPALETTE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IViewObject) Freeze* (dwDrawAspect: SET; lindex: INTEGER; pvAspect: WinApi.PtrVoid; OUT [nil] pdwFreeze: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IViewObject) Unfreeze* (dwFreeze: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IViewObject) SetAdvise* (aspects: SET; advf: SET; pAdvSink: IAdviseSink): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IViewObject) GetAdvise* (OUT [nil] pAspects: SET; OUT [nil] pAdvf: INTEGER; OUT [nil] ppAdvSink: IAdviseSink): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IViewObject2) GetExtent* (dwDrawAspect: SET; lindex: INTEGER; IN [nil] ptd: DVTARGETDEVICE; OUT [nil] lpsizel: WinApi.SIZE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDropSource) QueryContinueDrag* (fEscapePressed: WinApi.BOOL; grfKeyState: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDropSource) GiveFeedback* (dwEffect: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDropTarget) DragEnter* (pDataObj: IDataObject; grfKeyState: SET; pt: WinApi.POINT; VAR [nil] pdwEffect: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDropTarget) DragOver* (grfKeyState: SET; pt: WinApi.POINT; VAR [nil] pdwEffect: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDropTarget) DragLeave* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDropTarget) Drop* (pDataObj: IDataObject; grfKeyState: SET; pt: WinApi.POINT; VAR [nil] pdwEffect: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumOLEVERB) Next* (celt: INTEGER; OUT rgelt: ARRAY [untagged] OF OLEVERB; OUT [nil] pceltFetched: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumOLEVERB) Skip* (celt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumOLEVERB) Reset* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumOLEVERB) Clone* (OUT [nil] ppenum: IEnumOLEVERB): COM.RESULT, NEW, ABSTRACT; PROCEDURE PropVariantCopy* (VAR [nil] pvarDest: PROPVARIANT; VAR [nil] pvarSrc: PROPVARIANT): COM.RESULT; PROCEDURE PropVariantClear* (VAR [nil] pvar: PROPVARIANT): COM.RESULT; PROCEDURE FreePropVariantArray* (cVariants: INTEGER; VAR [nil] rgvars: PROPVARIANT): COM.RESULT; PROCEDURE SNB_UserSize* (VAR [nil] p0: INTEGER; p1: INTEGER; VAR [nil] p2: SNB): INTEGER; PROCEDURE SNB_UserMarshal* (VAR [nil] p0: INTEGER; p1: WinApi.PtrSTR; VAR [nil] p2: SNB): WinApi.PtrSTR; PROCEDURE SNB_UserUnmarshal* (VAR [nil] p0: INTEGER; p1: WinApi.PtrSTR; VAR [nil] p2: SNB): WinApi.PtrSTR; PROCEDURE SNB_UserFree* (VAR [nil] p0: INTEGER; VAR [nil] p1: SNB); PROCEDURE STGMEDIUM_UserSize* (VAR [nil] p0: INTEGER; p1: INTEGER; VAR [nil] p2: STGMEDIUM): INTEGER; PROCEDURE STGMEDIUM_UserMarshal* (VAR [nil] p0: INTEGER; p1: WinApi.PtrSTR; VAR [nil] p2: STGMEDIUM): WinApi.PtrSTR; PROCEDURE STGMEDIUM_UserUnmarshal* (VAR [nil] p0: INTEGER; p1: WinApi.PtrSTR; VAR [nil] p2: STGMEDIUM): WinApi.PtrSTR; PROCEDURE STGMEDIUM_UserFree* (VAR [nil] p0: INTEGER; VAR [nil] p1: STGMEDIUM); PROCEDURE CoBuildVersion* (): INTEGER; PROCEDURE CoInitialize* (pvReserved: WinApi.PtrVoid): COM.RESULT; PROCEDURE CoInitializeEx* (pvReserved: WinApi.PtrVoid; dwCoInit: INTEGER): COM.RESULT; PROCEDURE CoUninitialize* (); PROCEDURE CoGetMalloc* (dwMemContext: INTEGER; VAR [nil] ppMalloc: IMalloc): COM.RESULT; PROCEDURE CoGetCurrentProcess* (): INTEGER; PROCEDURE CoRegisterMallocSpy* (pMallocSpy: IMallocSpy): COM.RESULT; PROCEDURE CoRevokeMallocSpy* (): COM.RESULT; PROCEDURE CoGetClassObject* (IN [nil] rclsid: COM.GUID; dwClsContext: SET; pvReserved: WinApi.PtrVoid; IN [iid] riid: COM.GUID; OUT [new] ppv: COM.IUnknown): COM.RESULT; PROCEDURE CoRegisterClassObject* (IN [nil] rclsid: COM.GUID; pUnk: COM.IUnknown; dwClsContext: SET; flags: SET; VAR [nil] lpdwRegister: INTEGER): COM.RESULT; PROCEDURE CoRevokeClassObject* (dwRegister: INTEGER): COM.RESULT; PROCEDURE CoGetMarshalSizeMax* (VAR [nil] pulSize: INTEGER; IN [nil] riid: COM.GUID; pUnk: COM.IUnknown; dwDestContext: INTEGER; pvDestContext: WinApi.PtrVoid; mshlflags: SET): COM.RESULT; PROCEDURE CoMarshalInterface* (pStm: IStream; IN [nil] riid: COM.GUID; pUnk: COM.IUnknown; dwDestContext: INTEGER; pvDestContext: WinApi.PtrVoid; mshlflags: SET): COM.RESULT; PROCEDURE CoUnmarshalInterface* (pStm: IStream; IN [iid] riid: COM.GUID; OUT [new] ppv: COM.IUnknown): COM.RESULT; PROCEDURE CoMarshalHresult* (pstm: IStream; hresult: COM.RESULT): COM.RESULT; PROCEDURE CoUnmarshalHresult* (pstm: IStream; VAR [nil] phresult: COM.RESULT): COM.RESULT; PROCEDURE CoReleaseMarshalData* (pStm: IStream): COM.RESULT; PROCEDURE CoDisconnectObject* (pUnk: COM.IUnknown; dwReserved: INTEGER): COM.RESULT; PROCEDURE CoLockObjectExternal* (pUnk: COM.IUnknown; fLock: WinApi.BOOL; fLastUnlockReleases: WinApi.BOOL): COM.RESULT; PROCEDURE CoGetStandardMarshal* (IN [nil] riid: COM.GUID; pUnk: COM.IUnknown; dwDestContext: INTEGER; pvDestContext: WinApi.PtrVoid; mshlflags: SET; VAR [nil] ppMarshal: IMarshal): COM.RESULT; PROCEDURE CoIsHandlerConnected* (pUnk: COM.IUnknown): WinApi.BOOL; PROCEDURE CoMarshalInterThreadInterfaceInStream* (IN [nil] riid: COM.GUID; pUnk: COM.IUnknown; VAR [nil] ppStm: IStream): COM.RESULT; PROCEDURE CoGetInterfaceAndReleaseStream* (pStm: IStream; IN [iid] iid: COM.GUID; OUT [new] ppv: COM.IUnknown): COM.RESULT; PROCEDURE CoCreateFreeThreadedMarshaler* (punkOuter: COM.IUnknown; VAR [nil] ppunkMarshal: COM.IUnknown): COM.RESULT; PROCEDURE CoLoadLibrary* (lpszLibName: WinApi.PtrWSTR; bAutoFree: WinApi.BOOL): WinApi.HINSTANCE; PROCEDURE CoFreeLibrary* (hInst: WinApi.HINSTANCE); PROCEDURE CoFreeAllLibraries* (); PROCEDURE CoFreeUnusedLibraries* (); PROCEDURE CoInitializeSecurity* (VAR [nil] pSecDesc: WinApi.SECURITY_DESCRIPTOR; dwAuthnLevel: INTEGER; dwImpLevel: INTEGER; pReserved: WinApi.PtrVoid): COM.RESULT; PROCEDURE CoRegisterAuthenticationServices* (cbAuthSvc: INTEGER; VAR [nil] asAuthSvc: SOLE_AUTHENTICATION_SERVICE): COM.RESULT; PROCEDURE CoGetCallContext* (IN [iid] riid: COM.GUID; OUT [new] ppInterface: COM.IUnknown): COM.RESULT; PROCEDURE CoQueryProxyBlanket* (pProxy: COM.IUnknown; VAR [nil] pwAuthnSvc: INTEGER; VAR [nil] pAuthzSvc: INTEGER; VAR [nil] pServerPrincName: WinApi.PtrWSTR; VAR [nil] pAuthnLevel: INTEGER; VAR [nil] pImpLevel: INTEGER; VAR [nil] pAuthInfo: WinApi.PtrVoid; VAR [nil] pCapabilites: INTEGER): COM.RESULT; PROCEDURE CoSetProxyBlanket* (pProxy: COM.IUnknown; dwAuthnSvc: INTEGER; dwAuthzSvc: INTEGER; pServerPrincName: WinApi.PtrWSTR; dwAuthnLevel: INTEGER; dwImpLevel: INTEGER; VAR [nil] pAuthInfo: WinApi.PtrVoid; dwCapabilities: INTEGER): COM.RESULT; PROCEDURE CoCopyProxy* (pProxy: COM.IUnknown; VAR [nil] ppCopy: COM.IUnknown): COM.RESULT; PROCEDURE CoQueryClientBlanket* (VAR [nil] pAuthnSvc: INTEGER; VAR [nil] pAuthzSvc: INTEGER; VAR [nil] pServerPrincName: WinApi.PtrWSTR; VAR [nil] pAuthnLevel: INTEGER; VAR [nil] pImpLevel: INTEGER; VAR [nil] pPrivs: WinApi.PtrVoid; VAR [nil] pCapabilities: INTEGER): COM.RESULT; PROCEDURE CoImpersonateClient* (): COM.RESULT; PROCEDURE CoRevertToSelf* (): COM.RESULT; PROCEDURE CoCreateInstance* (IN [nil] rclsid: COM.GUID; pUnkOuter: COM.IUnknown; dwClsContext: SET; IN [iid] riid: COM.GUID; OUT [new] ppv: COM.IUnknown): COM.RESULT; PROCEDURE CoGetInstanceFromFile* (VAR [nil] pServerInfo: COSERVERINFO; VAR [nil] pClsid: COM.GUID; punkOuter: COM.IUnknown; dwClsCtx: INTEGER; grfMode: SET; pwszName: WinApi.PtrWSTR; dwCount: INTEGER; VAR [nil] pResults: MULTI_QI): COM.RESULT; PROCEDURE CoGetInstanceFromIStorage* (VAR [nil] pServerInfo: COSERVERINFO; VAR [nil] pClsid: COM.GUID; punkOuter: COM.IUnknown; dwClsCtx: INTEGER; pstg: IStorage; dwCount: INTEGER; VAR [nil] pResults: MULTI_QI): COM.RESULT; PROCEDURE CoCreateInstanceEx* (IN [nil] Clsid: COM.GUID; punkOuter: COM.IUnknown; dwClsCtx: INTEGER; VAR [nil] pServerInfo: COSERVERINFO; dwCount: INTEGER; VAR [nil] pResults: MULTI_QI): COM.RESULT; PROCEDURE StringFromCLSID* (IN [nil] rclsid: COM.GUID; VAR [nil] lplpsz: WinApi.PtrWSTR): COM.RESULT; PROCEDURE CLSIDFromString* (lpsz: WinApi.PtrWSTR; VAR [nil] pclsid: COM.GUID): COM.RESULT; PROCEDURE StringFromIID* (IN [nil] rclsid: COM.GUID; VAR [nil] lplpsz: WinApi.PtrWSTR): COM.RESULT; PROCEDURE IIDFromString* (lpsz: WinApi.PtrWSTR; VAR [nil] lpiid: COM.GUID): COM.RESULT; PROCEDURE CoIsOle1Class* (IN [nil] rclsid: COM.GUID): WinApi.BOOL; PROCEDURE ProgIDFromCLSID* (IN [nil] clsid: COM.GUID; VAR [nil] lplpszProgID: WinApi.PtrWSTR): COM.RESULT; PROCEDURE CLSIDFromProgID* (lpszProgID: WinApi.PtrWSTR; VAR [nil] lpclsid: COM.GUID): COM.RESULT; PROCEDURE StringFromGUID2* (IN [nil] rguid: COM.GUID; lpsz: WinApi.PtrWSTR; cbMax: INTEGER): INTEGER; PROCEDURE CoCreateGuid* (VAR [nil] pguid: COM.GUID): COM.RESULT; PROCEDURE CoFileTimeToDosDateTime* (VAR [nil] lpFileTime: WinApi.FILETIME; VAR [nil] lpDosDate: SHORTINT; VAR [nil] lpDosTime: SHORTINT): WinApi.BOOL; PROCEDURE CoDosDateTimeToFileTime* (nDosDate: SHORTINT; nDosTime: SHORTINT; VAR [nil] lpFileTime: WinApi.FILETIME): WinApi.BOOL; PROCEDURE CoFileTimeNow* (VAR [nil] lpFileTime: WinApi.FILETIME): COM.RESULT; PROCEDURE CoRegisterMessageFilter* (lpMessageFilter: IMessageFilter; VAR [nil] lplpMessageFilter: IMessageFilter): COM.RESULT; PROCEDURE CoGetTreatAsClass* (IN [nil] clsidOld: COM.GUID; VAR [nil] pClsidNew: COM.GUID): COM.RESULT; PROCEDURE CoTreatAsClass* (IN [nil] clsidOld: COM.GUID; IN [nil] clsidNew: COM.GUID): COM.RESULT; PROCEDURE DllGetClassObject* ["OLEAUT32.dll", ""] (IN [nil] rclsid: COM.GUID; IN [iid] riid: COM.GUID; OUT [new] ppv: COM.IUnknown): COM.RESULT; PROCEDURE DllCanUnloadNow* ["OLEAUT32.dll", ""] (): COM.RESULT; PROCEDURE CoTaskMemAlloc* (cb: INTEGER): WinApi.PtrVoid; PROCEDURE CoTaskMemRealloc* (pv: WinApi.PtrVoid; cb: INTEGER): WinApi.PtrVoid; PROCEDURE CoTaskMemFree* (pv: WinApi.PtrVoid); PROCEDURE CreateDataAdviseHolder* (VAR [nil] ppDAHolder: IDataAdviseHolder): COM.RESULT; PROCEDURE CreateDataCache* (pUnkOuter: COM.IUnknown; IN [nil] rclsid: COM.GUID; IN [iid] iid: COM.GUID; OUT [new] ppv: COM.IUnknown): COM.RESULT; PROCEDURE StgCreateDocfile* (pwcsName: WinApi.PtrWSTR; grfMode: SET; reserved: INTEGER; VAR [nil] ppstgOpen: IStorage): COM.RESULT; PROCEDURE StgCreateDocfileOnILockBytes* (plkbyt: ILockBytes; grfMode: SET; reserved: INTEGER; VAR [nil] ppstgOpen: IStorage): COM.RESULT; PROCEDURE StgOpenStorage* (pwcsName: WinApi.PtrWSTR; pstgPriority: IStorage; grfMode: SET; snbExclude: SNB; reserved: INTEGER; VAR [nil] ppstgOpen: IStorage): COM.RESULT; PROCEDURE StgOpenStorageOnILockBytes* (plkbyt: ILockBytes; pstgPriority: IStorage; grfMode: SET; snbExclude: SNB; reserved: INTEGER; VAR [nil] ppstgOpen: IStorage): COM.RESULT; PROCEDURE StgIsStorageFile* (pwcsName: WinApi.PtrWSTR): COM.RESULT; PROCEDURE StgIsStorageILockBytes* (plkbyt: ILockBytes): COM.RESULT; PROCEDURE StgSetTimes* (lpszName: WinApi.PtrWSTR; VAR [nil] pctime: WinApi.FILETIME; VAR [nil] patime: WinApi.FILETIME; VAR [nil] pmtime: WinApi.FILETIME): COM.RESULT; PROCEDURE BindMoniker* (pmk: IMoniker; grfOpt: INTEGER; IN [iid] iidResult: COM.GUID; OUT [new] ppvResult: COM.IUnknown): COM.RESULT; PROCEDURE MkParseDisplayName* (pbc: IBindCtx; szUserName: WinApi.PtrWSTR; VAR [nil] pchEaten: INTEGER; VAR [nil] ppmk: IMoniker): COM.RESULT; PROCEDURE MonikerRelativePathTo* (pmkSrc: IMoniker; pmkDest: IMoniker; VAR [nil] ppmkRelPath: IMoniker; dwReserved: WinApi.BOOL): COM.RESULT; PROCEDURE MonikerCommonPrefixWith* (pmkThis: IMoniker; pmkOther: IMoniker; VAR [nil] ppmkCommon: IMoniker): COM.RESULT; PROCEDURE CreateBindCtx* (reserved: INTEGER; VAR [nil] ppbc: IBindCtx): COM.RESULT; PROCEDURE CreateGenericComposite* (pmkFirst: IMoniker; pmkRest: IMoniker; VAR [nil] ppmkComposite: IMoniker): COM.RESULT; PROCEDURE GetClassFile* (szFilename: WinApi.PtrWSTR; VAR [nil] pclsid: COM.GUID): COM.RESULT; PROCEDURE CreateFileMoniker* (lpszPathName: WinApi.PtrWSTR; VAR [nil] ppmk: IMoniker): COM.RESULT; PROCEDURE CreateItemMoniker* (lpszDelim: WinApi.PtrWSTR; lpszItem: WinApi.PtrWSTR; VAR [nil] ppmk: IMoniker): COM.RESULT; PROCEDURE CreateAntiMoniker* (VAR [nil] ppmk: IMoniker): COM.RESULT; PROCEDURE CreatePointerMoniker* (punk: COM.IUnknown; VAR [nil] ppmk: IMoniker): COM.RESULT; PROCEDURE GetRunningObjectTable* (reserved: INTEGER; VAR [nil] pprot: IRunningObjectTable): COM.RESULT; PROCEDURE HACCEL_UserSize* (VAR [nil] p0: INTEGER; p1: INTEGER; VAR [nil] p2: WinApi.HACCEL): INTEGER; PROCEDURE HACCEL_UserMarshal* (VAR [nil] p0: INTEGER; p1: WinApi.PtrSTR; VAR [nil] p2: WinApi.HACCEL): WinApi.PtrSTR; PROCEDURE HACCEL_UserUnmarshal* (VAR [nil] p0: INTEGER; p1: WinApi.PtrSTR; VAR [nil] p2: WinApi.HACCEL): WinApi.PtrSTR; PROCEDURE HACCEL_UserFree* (VAR [nil] p0: INTEGER; VAR [nil] p1: WinApi.HACCEL); PROCEDURE HGLOBAL_UserSize* (VAR [nil] p0: INTEGER; p1: INTEGER; VAR [nil] p2: WinApi.HGLOBAL): INTEGER; PROCEDURE HGLOBAL_UserMarshal* (VAR [nil] p0: INTEGER; p1: WinApi.PtrSTR; VAR [nil] p2: WinApi.HGLOBAL): WinApi.PtrSTR; PROCEDURE HGLOBAL_UserUnmarshal* (VAR [nil] p0: INTEGER; p1: WinApi.PtrSTR; VAR [nil] p2: WinApi.HGLOBAL): WinApi.PtrSTR; PROCEDURE HGLOBAL_UserFree* (VAR [nil] p0: INTEGER; VAR [nil] p1: WinApi.HGLOBAL); PROCEDURE HMENU_UserSize* (VAR [nil] p0: INTEGER; p1: INTEGER; VAR [nil] p2: WinApi.HMENU): INTEGER; PROCEDURE HMENU_UserMarshal* (VAR [nil] p0: INTEGER; p1: WinApi.PtrSTR; VAR [nil] p2: WinApi.HMENU): WinApi.PtrSTR; PROCEDURE HMENU_UserUnmarshal* (VAR [nil] p0: INTEGER; p1: WinApi.PtrSTR; VAR [nil] p2: WinApi.HMENU): WinApi.PtrSTR; PROCEDURE HMENU_UserFree* (VAR [nil] p0: INTEGER; VAR [nil] p1: WinApi.HMENU); PROCEDURE HWND_UserSize* (VAR [nil] p0: INTEGER; p1: INTEGER; VAR [nil] p2: WinApi.HWND): INTEGER; PROCEDURE HWND_UserMarshal* (VAR [nil] p0: INTEGER; p1: WinApi.PtrSTR; VAR [nil] p2: WinApi.HWND): WinApi.PtrSTR; PROCEDURE HWND_UserUnmarshal* (VAR [nil] p0: INTEGER; p1: WinApi.PtrSTR; VAR [nil] p2: WinApi.HWND): WinApi.PtrSTR; PROCEDURE HWND_UserFree* (VAR [nil] p0: INTEGER; VAR [nil] p1: WinApi.HWND); PROCEDURE OleBuildVersion* (): INTEGER; PROCEDURE ReadClassStg* (pStg: IStorage; VAR [nil] pclsid: COM.GUID): COM.RESULT; PROCEDURE WriteClassStg* (pStg: IStorage; IN [nil] rclsid: COM.GUID): COM.RESULT; PROCEDURE ReadClassStm* (pStm: IStream; VAR [nil] pclsid: COM.GUID): COM.RESULT; PROCEDURE WriteClassStm* (pStm: IStream; IN [nil] rclsid: COM.GUID): COM.RESULT; PROCEDURE WriteFmtUserTypeStg* (pstg: IStorage; cf: CLIPFORMAT; lpszUserType: WinApi.PtrWSTR): COM.RESULT; PROCEDURE ReadFmtUserTypeStg* (pstg: IStorage; VAR [nil] pcf: CLIPFORMAT; VAR [nil] lplpszUserType: WinApi.PtrWSTR): COM.RESULT; PROCEDURE OleInitialize* (pvReserved: WinApi.PtrVoid): COM.RESULT; PROCEDURE OleUninitialize* (); PROCEDURE OleQueryLinkFromData* (pSrcDataObject: IDataObject): COM.RESULT; PROCEDURE OleQueryCreateFromData* (pSrcDataObject: IDataObject): COM.RESULT; PROCEDURE OleCreate* (IN [nil] rclsid: COM.GUID; IN [iid] riid: COM.GUID; renderopt: INTEGER; VAR [nil] pFormatEtc: FORMATETC; pClientSite: IOleClientSite; pStg: IStorage; OUT [new] ppvObj: COM.IUnknown): COM.RESULT; PROCEDURE OleCreateFromData* (pSrcDataObj: IDataObject; IN [iid] riid: COM.GUID; renderopt: INTEGER; VAR [nil] pFormatEtc: FORMATETC; pClientSite: IOleClientSite; pStg: IStorage; OUT [new] ppvObj: COM.IUnknown): COM.RESULT; PROCEDURE OleCreateLinkFromData* (pSrcDataObj: IDataObject; IN [iid] riid: COM.GUID; renderopt: INTEGER; VAR [nil] pFormatEtc: FORMATETC; pClientSite: IOleClientSite; pStg: IStorage; OUT [new] ppvObj: COM.IUnknown): COM.RESULT; PROCEDURE OleCreateStaticFromData* (pSrcDataObj: IDataObject; IN [iid] iid: COM.GUID; renderopt: INTEGER; VAR [nil] pFormatEtc: FORMATETC; pClientSite: IOleClientSite; pStg: IStorage; OUT [new] ppvObj: COM.IUnknown): COM.RESULT; PROCEDURE OleCreateLink* (pmkLinkSrc: IMoniker; IN [iid] riid: COM.GUID; renderopt: INTEGER; VAR [nil] lpFormatEtc: FORMATETC; pClientSite: IOleClientSite; pStg: IStorage; OUT [new] ppvObj: COM.IUnknown): COM.RESULT; PROCEDURE OleCreateLinkToFile* (lpszFileName: WinApi.PtrWSTR; IN [iid] riid: COM.GUID; renderopt: INTEGER; VAR [nil] lpFormatEtc: FORMATETC; pClientSite: IOleClientSite; pStg: IStorage; OUT [new] ppvObj: COM.IUnknown): COM.RESULT; PROCEDURE OleCreateFromFile* (IN [nil] rclsid: COM.GUID; lpszFileName: WinApi.PtrWSTR; IN [iid] riid: COM.GUID; renderopt: INTEGER; VAR [nil] lpFormatEtc: FORMATETC; pClientSite: IOleClientSite; pStg: IStorage; OUT [new] ppvObj: COM.IUnknown): COM.RESULT; PROCEDURE OleLoad* (pStg: IStorage; IN [iid] riid: COM.GUID; pClientSite: IOleClientSite; OUT [new] ppvObj: COM.IUnknown): COM.RESULT; PROCEDURE OleSave* (pPS: IPersistStorage; pStg: IStorage; fSameAsLoad: WinApi.BOOL): COM.RESULT; PROCEDURE OleLoadFromStream* (pStm: IStream; IN [iid] iidInterface: COM.GUID; OUT [new] ppvObj: COM.IUnknown): COM.RESULT; PROCEDURE OleSaveToStream* (pPStm: IPersistStream; pStm: IStream): COM.RESULT; PROCEDURE OleSetContainedObject* (pUnknown: COM.IUnknown; fContained: WinApi.BOOL): COM.RESULT; PROCEDURE OleNoteObjectVisible* (pUnknown: COM.IUnknown; fVisible: WinApi.BOOL): COM.RESULT; PROCEDURE RegisterDragDrop* (hwnd: WinApi.HWND; pDropTarget: IDropTarget): COM.RESULT; PROCEDURE RevokeDragDrop* (hwnd: WinApi.HWND): COM.RESULT; PROCEDURE DoDragDrop* (pDataObj: IDataObject; pDropSource: IDropSource; dwOKEffects: SET; VAR [nil] pdwEffect: SET): COM.RESULT; PROCEDURE OleSetClipboard* (pDataObj: IDataObject): COM.RESULT; PROCEDURE OleGetClipboard* (VAR [nil] ppDataObj: IDataObject): COM.RESULT; PROCEDURE OleFlushClipboard* (): COM.RESULT; PROCEDURE OleIsCurrentClipboard* (pDataObj: IDataObject): COM.RESULT; PROCEDURE OleCreateMenuDescriptor* (hmenuCombined: WinApi.HMENU; VAR [nil] lpMenuWidths: OLEMENUGROUPWIDTHS): HOLEMENU; PROCEDURE OleSetMenuDescriptor* (holemenu: HOLEMENU; hwndFrame: WinApi.HWND; hwndActiveObject: WinApi.HWND; lpFrame: IOleInPlaceFrame; lpActiveObj: IOleInPlaceActiveObject): COM.RESULT; PROCEDURE OleDestroyMenuDescriptor* (holemenu: HOLEMENU): COM.RESULT; PROCEDURE OleTranslateAccelerator* (lpFrame: IOleInPlaceFrame; VAR [nil] lpFrameInfo: OLEINPLACEFRAMEINFO; VAR [nil] lpmsg: WinApi.MSG): COM.RESULT; PROCEDURE OleDuplicateData* (hSrc: WinApi.HANDLE; cfFormat: CLIPFORMAT; uiFlags: SET): WinApi.HANDLE; PROCEDURE OleDraw* (pUnknown: COM.IUnknown; dwAspect: SET; hdcDraw: WinApi.HDC; VAR [nil] lprcBounds: WinApi.RECT): COM.RESULT; PROCEDURE OleRun* (pUnknown: COM.IUnknown): COM.RESULT; PROCEDURE OleIsRunning* (pObject: IOleObject): WinApi.BOOL; PROCEDURE OleLockRunning* (pUnknown: COM.IUnknown; fLock: WinApi.BOOL; fLastUnlockCloses: WinApi.BOOL): COM.RESULT; PROCEDURE ReleaseStgMedium* (VAR [nil] p0: STGMEDIUM); PROCEDURE CreateOleAdviseHolder* (VAR [nil] ppOAHolder: IOleAdviseHolder): COM.RESULT; PROCEDURE OleCreateDefaultHandler* (IN [nil] clsid: COM.GUID; pUnkOuter: COM.IUnknown; IN [iid] riid: COM.GUID; OUT [new] lplpObj: COM.IUnknown): COM.RESULT; PROCEDURE OleCreateEmbeddingHelper* (IN [nil] clsid: COM.GUID; pUnkOuter: COM.IUnknown; flags: SET; pCF: IClassFactory; IN [iid] riid: COM.GUID; OUT [new] lplpObj: COM.IUnknown): COM.RESULT; PROCEDURE IsAccelerator* (hAccel: WinApi.HACCEL; cAccelEntries: INTEGER; VAR [nil] lpMsg: WinApi.MSG; VAR [nil] lpwCmd: SHORTINT): WinApi.BOOL; PROCEDURE OleGetIconOfFile* (lpszPath: WinApi.PtrWSTR; fUseFileAsLabel: WinApi.BOOL): WinApi.HGLOBAL; PROCEDURE OleGetIconOfClass* (IN [nil] rclsid: COM.GUID; lpszLabel: WinApi.PtrWSTR; fUseTypeAsLabel: WinApi.BOOL): WinApi.HGLOBAL; PROCEDURE OleMetafilePictFromIconAndLabel* (hIcon: WinApi.HICON; lpszLabel: WinApi.PtrWSTR; lpszSourceFile: WinApi.PtrWSTR; iIconIndex: INTEGER): WinApi.HGLOBAL; PROCEDURE OleRegGetUserType* (IN [nil] clsid: COM.GUID; dwFormOfType: INTEGER; VAR [nil] pszUserType: WinApi.PtrWSTR): COM.RESULT; PROCEDURE OleRegGetMiscStatus* (IN [nil] clsid: COM.GUID; dwAspect: SET; VAR [nil] pdwStatus: SET): COM.RESULT; PROCEDURE OleRegEnumFormatEtc* (IN [nil] clsid: COM.GUID; dwDirection: SET; VAR [nil] ppenum: IEnumFORMATETC): COM.RESULT; PROCEDURE OleRegEnumVerbs* (IN [nil] clsid: COM.GUID; VAR [nil] ppenum: IEnumOLEVERB): COM.RESULT; PROCEDURE OleConvertOLESTREAMToIStorage* (VAR [nil] lpolestream: OLESTREAM; pstg: IStorage; VAR [nil] ptd: DVTARGETDEVICE): COM.RESULT; PROCEDURE OleConvertIStorageToOLESTREAM* (pstg: IStorage; VAR [nil] lpolestream: OLESTREAM): COM.RESULT; PROCEDURE GetHGlobalFromILockBytes* (plkbyt: ILockBytes; VAR [nil] phglobal: WinApi.HGLOBAL): COM.RESULT; PROCEDURE CreateILockBytesOnHGlobal* (hGlobal: WinApi.HGLOBAL; fDeleteOnRelease: WinApi.BOOL; VAR [nil] pplkbyt: ILockBytes): COM.RESULT; PROCEDURE GetHGlobalFromStream* (pstm: IStream; VAR [nil] phglobal: WinApi.HGLOBAL): COM.RESULT; PROCEDURE CreateStreamOnHGlobal* (hGlobal: WinApi.HGLOBAL; fDeleteOnRelease: WinApi.BOOL; VAR [nil] ppstm: IStream): COM.RESULT; PROCEDURE OleDoAutoConvert* (pStg: IStorage; VAR [nil] pClsidNew: COM.GUID): COM.RESULT; PROCEDURE OleGetAutoConvert* (IN [nil] clsidOld: COM.GUID; VAR [nil] pClsidNew: COM.GUID): COM.RESULT; PROCEDURE OleSetAutoConvert* (IN [nil] clsidOld: COM.GUID; IN [nil] clsidNew: COM.GUID): COM.RESULT; PROCEDURE GetConvertStg* (pStg: IStorage): COM.RESULT; PROCEDURE SetConvertStg* (pStg: IStorage; fConvert: WinApi.BOOL): COM.RESULT; PROCEDURE OleConvertIStorageToOLESTREAMEx* (pstg: IStorage; cfFormat: CLIPFORMAT; lWidth: INTEGER; lHeight: INTEGER; dwSize: INTEGER; VAR [nil] pmedium: STGMEDIUM; VAR [nil] polestm: OLESTREAM): COM.RESULT; PROCEDURE OleConvertOLESTREAMToIStorageEx* (VAR [nil] polestm: OLESTREAM; pstg: IStorage; VAR [nil] pcfFormat: CLIPFORMAT; VAR [nil] plwWidth: INTEGER; VAR [nil] plHeight: INTEGER; VAR [nil] pdwSize: INTEGER; VAR [nil] pmedium: STGMEDIUM): COM.RESULT; END WinOle.
Win/Mod/Ole.odc
MODULE WinOleAut ["OLEAUT32.dll"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) IMPORT COM, WinOle, WinApi; CONST (* macros *) STDOLE_MAJORVERNUM* = 1; STDOLE_MINORVERNUM* = 0; STDOLE_LCID* = 0; STDOLE2_MAJORVERNUM* = 2; STDOLE2_MINORVERNUM* = 0; STDOLE2_LCID* = 0; FADF_AUTO* = 1; FADF_STATIC* = 2; FADF_EMBEDDED* = 4; FADF_FIXEDSIZE* = 16; FADF_BSTR* = 256; FADF_UNKNOWN* = 512; FADF_DISPATCH* = 1024; FADF_VARIANT* = 2048; FADF_RESERVED* = 61672; PARAMFLAG_NONE* = 0; PARAMFLAG_FIN* = 1; PARAMFLAG_FOUT* = 2; PARAMFLAG_FLCID* = 4; PARAMFLAG_FRETVAL* = 8; PARAMFLAG_FOPT* = 16; PARAMFLAG_FHASDEFAULT* = 32; IDLFLAG_NONE* = 0; IDLFLAG_FIN* = 1; IDLFLAG_FOUT* = 2; IDLFLAG_FLCID* = 4; IDLFLAG_FRETVAL* = 8; IMPLTYPEFLAG_FDEFAULT* = {0}; IMPLTYPEFLAG_FSOURCE* = {1}; IMPLTYPEFLAG_FRESTRICTED* = {2}; IMPLTYPEFLAG_FDEFAULTVTABLE* = {3}; DISPID_UNKNOWN* = -1; DISPID_VALUE* = 0; DISPID_PROPERTYPUT* = -3; DISPID_NEWENUM* = -4; DISPID_EVALUATE* = -5; DISPID_CONSTRUCTOR* = -6; DISPID_DESTRUCTOR* = -7; DISPID_COLLECT* = -8; DISPID_Name* = -800; DISPID_Delete* = -801; DISPID_Object* = -802; DISPID_Parent* = -803; VARIANT_NOVALUEPROP* = 1; VARIANT_ALPHABOOL* = 2; VAR_TIMEVALUEONLY* = 1; VAR_DATEVALUEONLY* = 2; NUMPRS_LEADING_WHITE* = {0}; NUMPRS_TRAILING_WHITE* = {1}; NUMPRS_LEADING_PLUS* = {2}; NUMPRS_TRAILING_PLUS* = {3}; NUMPRS_LEADING_MINUS* = {4}; NUMPRS_TRAILING_MINUS* = {5}; NUMPRS_HEX_OCT* = {6}; NUMPRS_PARENS* = {7}; NUMPRS_DECIMAL* = {8}; NUMPRS_THOUSANDS* = {9}; NUMPRS_CURRENCY* = {10}; NUMPRS_EXPONENT* = {11}; NUMPRS_USE_ALL* = {12}; NUMPRS_STD* = {0..12}; NUMPRS_NEG* = {16}; NUMPRS_INEXACT* = {17}; VTBIT_I1* = {16}; VTBIT_UI1* = {17}; VTBIT_I2* = {2}; VTBIT_UI2* = {18}; VTBIT_I4* = {3}; VTBIT_UI4* = {19}; VTBIT_R4* = {4}; VTBIT_R8* = {5}; VTBIT_CY* = {6}; VTBIT_DECIMAL* = {14}; VAR_VALIDDATE* = 4; VAR_CALENDAR_HIJRI* = 8; VARIANT_CALENDAR_HIJRI* = 8; MEMBERID_NIL* = -1; ID_DEFAULTINST* = -2; DISPATCH_METHOD* = 1; DISPATCH_PROPERTYGET* = 2; DISPATCH_PROPERTYPUT* = 4; DISPATCH_PROPERTYPUTREF* = 8; ACTIVEOBJECT_STRONG* = 0; ACTIVEOBJECT_WEAK* = 1; CONST (* enumerations *) SF_ERROR* = 10; SF_I1* = 16; SF_I2* = 2; SF_I4* = 3; SF_I8* = 20; SF_BSTR* = 8; SF_UNKNOWN* = 13; SF_DISPATCH* = 9; SF_VARIANT* = 12; TKIND_ENUM* = 0; TKIND_RECORD* = 1; TKIND_MODULE* = 2; TKIND_INTERFACE* = 3; TKIND_DISPATCH* = 4; TKIND_COCLASS* = 5; TKIND_ALIAS* = 6; TKIND_UNION* = 7; TKIND_MAX* = 8; CC_CDECL* = 1; CC_MSCPASCAL* = 2; CC_PASCAL* = 2; CC_MACPASCAL* = 3; CC_STDCALL* = 4; CC_RESERVED* = 5; CC_SYSCALL* = 6; CC_MPWCDECL* = 7; CC_MPWPASCAL* = 8; CC_MAX* = 9; FUNC_VIRTUAL* = 0; FUNC_PUREVIRTUAL* = 1; FUNC_NONVIRTUAL* = 2; FUNC_STATIC* = 3; FUNC_DISPATCH* = 4; INVOKE_FUNC* = 1; INVOKE_PROPERTYGET* = 2; INVOKE_PROPERTYPUT* = 4; INVOKE_PROPERTYPUTREF* = 8; VAR_PERINSTANCE* = 0; VAR_STATIC* = 1; VAR_CONST* = 2; VAR_DISPATCH* = 3; TYPEFLAG_FAPPOBJECT* = 1; TYPEFLAG_FCANCREATE* = 2; TYPEFLAG_FLICENSED* = 4; TYPEFLAG_FPREDECLID* = 8; TYPEFLAG_FHIDDEN* = 16; TYPEFLAG_FCONTROL* = 32; TYPEFLAG_FDUAL* = 64; TYPEFLAG_FNONEXTENSIBLE* = 128; TYPEFLAG_FOLEAUTOMATION* = 256; TYPEFLAG_FRESTRICTED* = 512; TYPEFLAG_FAGGREGATABLE* = 1024; TYPEFLAG_FREPLACEABLE* = 2048; TYPEFLAG_FDISPATCHABLE* = 4096; FUNCFLAG_FRESTRICTED* = 1; FUNCFLAG_FSOURCE* = 2; FUNCFLAG_FBINDABLE* = 4; FUNCFLAG_FREQUESTEDIT* = 8; FUNCFLAG_FDISPLAYBIND* = 16; FUNCFLAG_FDEFAULTBIND* = 32; FUNCFLAG_FHIDDEN* = 64; FUNCFLAG_FUSESGETLASTERROR* = 128; FUNCFLAG_FDEFAULTCOLLELEM* = 256; FUNCFLAG_FUIDEFAULT* = 512; FUNCFLAG_FNONBROWSABLE* = 1024; FUNCFLAG_FREPLACEABLE* = 2048; FUNCFLAG_FIMMEDIATEBIND* = 4096; VARFLAG_FREADONLY* = 1; VARFLAG_FSOURCE* = 2; VARFLAG_FBINDABLE* = 4; VARFLAG_FREQUESTEDIT* = 8; VARFLAG_FDISPLAYBIND* = 16; VARFLAG_FDEFAULTBIND* = 32; VARFLAG_FHIDDEN* = 64; VARFLAG_FRESTRICTED* = 128; VARFLAG_FDEFAULTCOLLELEM* = 256; VARFLAG_FUIDEFAULT* = 512; VARFLAG_FNONBROWSABLE* = 1024; VARFLAG_FREPLACEABLE* = 2048; VARFLAG_FIMMEDIATEBIND* = 4096; DESCKIND_NONE* = 0; DESCKIND_FUNCDESC* = 1; DESCKIND_VARDESC* = 2; DESCKIND_TYPECOMP* = 3; DESCKIND_IMPLICITAPPOBJ* = 4; DESCKIND_MAX* = 5; SYS_WIN16* = 0; SYS_WIN32* = 1; SYS_MAC* = 2; LIBFLAG_FRESTRICTED* = 1; LIBFLAG_FCONTROL* = 2; LIBFLAG_FHIDDEN* = 4; CHANGEKIND_ADDMEMBER* = 0; CHANGEKIND_DELETEMEMBER* = 1; CHANGEKIND_SETNAMES* = 2; CHANGEKIND_SETDOCUMENTATION* = 3; CHANGEKIND_GENERAL* = 4; CHANGEKIND_MAX* = 5; REGKIND_DEFAULT* = 0; REGKIND_REGISTER* = 1; REGKIND_NONE* = 2; TYPE CURRENCY* = WinApi.CY; SAFEARR_BSTR* = RECORD [untagged] Size*: INTEGER; aBstr*: POINTER TO (*?*) ARRAY [untagged] OF WinOle.PtrFLAGGED_WORD_BLOB; END; SAFEARR_UNKNOWN* = RECORD [untagged] Size*: INTEGER; apUnknown*: POINTER TO (*?*) ARRAY [untagged] OF COM.IUnknown; END; SAFEARR_DISPATCH* = RECORD [untagged] Size*: INTEGER; apDispatch*: POINTER TO (*?*) ARRAY [untagged] OF IDispatch; END; Ptr_wireVARIANT* = POINTER TO _wireVARIANT; SAFEARR_VARIANT* = RECORD [untagged] Size*: INTEGER; aVariant*: POINTER TO (*?*) ARRAY [untagged] OF Ptr_wireVARIANT; END; SF_TYPE* = INTEGER; SAFEARRAYBOUND* = RECORD [untagged] cElements*: INTEGER; lLbound*: INTEGER; END; PtrSAFEARRAYBOUND* = POINTER TO SAFEARRAYBOUND; SAFEARRAYUNION* = RECORD [untagged] sfType*: INTEGER; u*: RECORD [union] BstrStr*: SAFEARR_BSTR; UnknownStr*: SAFEARR_UNKNOWN; DispatchStr*: SAFEARR_DISPATCH; VariantStr*: SAFEARR_VARIANT; ByteStr*: WinOle.BYTE_SIZEDARR; WordStr*: WinOle.WORD_SIZEDARR; LongStr*: WinOle.DWORD_SIZEDARR; HyperStr*: WinOle.HYPER_SIZEDARR; END; END; _wireSAFEARRAY* = RECORD [untagged] cDims*: SHORTINT; fFeatures*: SHORTINT; cbElements*: INTEGER; cLocks*: INTEGER; uArrayStructs*: SAFEARRAYUNION; rgsabound*: ARRAY [untagged] 16 OF SAFEARRAYBOUND; END; Ptr_wireSAFEARRAY* = POINTER TO _wireSAFEARRAY; SAFEARRAY* = RECORD [untagged] cDims*: SHORTINT; fFeatures*: SHORTINT; cbElements*: INTEGER; cLocks*: INTEGER; pvData*: WinApi.PtrVoid; rgsabound*: ARRAY [untagged] 16 OF SAFEARRAYBOUND; END; PtrSAFEARRAY* = POINTER TO SAFEARRAY; _VARIANT_BOOL* = WinOle.VARIANT_BOOL; PtrVARIANT* = POINTER TO VARIANT; VARIANT* = RECORD [align8] vt*: WinOle.VARTYPE; scale*: SHORTCHAR; sign*: SHORTCHAR; Hi32*: INTEGER; u*: RECORD [union] lVal*: INTEGER; bVal*: SHORTCHAR; iVal*: SHORTINT; fltVal*: SHORTREAL; dblVal*: REAL; boolVal*: WinOle.VARIANT_BOOL; bool*: _VARIANT_BOOL; scode*: COM.RESULT; cyVal*: WinApi.CY; date*: WinApi.DATE; bstrVal*: WinOle.BSTR; punkVal*: COM.IUnknown; pdispVal*: IDispatch; parray*: PtrSAFEARRAY; pbVal*: POINTER TO (*?*) ARRAY [untagged] OF SHORTCHAR; piVal*: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; plVal*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; pfltVal*: POINTER TO (*?*) ARRAY [untagged] OF SHORTREAL; pdblVal*: POINTER TO (*?*) ARRAY [untagged] OF REAL; pboolVal*: POINTER TO (*?*) ARRAY [untagged] OF WinOle.VARIANT_BOOL; pbool*: POINTER TO (*?*) ARRAY [untagged] OF _VARIANT_BOOL; pscode*: POINTER TO (*?*) ARRAY [untagged] OF COM.RESULT; pcyVal*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.CY; pdate*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.DATE; pbstrVal*: POINTER TO (*?*) ARRAY [untagged] OF WinOle.BSTR; ppunkVal*: POINTER TO (*?*) ARRAY [untagged] OF COM.IUnknown; ppdispVal*: POINTER TO (*?*) ARRAY [untagged] OF IDispatch; pparray*: POINTER TO (*?*) ARRAY [untagged] OF PtrSAFEARRAY; pvarVal*: PtrVARIANT; byref*: WinApi.PtrVoid; cVal*: SHORTCHAR; uiVal*: SHORTINT; ulVal*: INTEGER; intVal*: INTEGER; uintVal*: INTEGER; pdecVal*: WinOle.PtrDECIMAL; pcVal*: WinApi.PtrSTR; puiVal*: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; pulVal*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; pintVal*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; puintVal*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; Lo64*: LONGINT; END END; VARIANTARG* = VARIANT; PtrVARIANTARG* = PtrVARIANT; _wireVARIANT* = RECORD [align8] vt*: SHORTINT; wReserved1*: SHORTINT; wReserved2*: SHORTINT; wReserved3*: SHORTINT; u*: RECORD [union] lVal*: INTEGER; bVal*: SHORTCHAR; iVal*: SHORTINT; fltVal*: SHORTREAL; dblVal*: REAL; boolVal*: WinOle.VARIANT_BOOL; scode*: COM.RESULT; cyVal*: WinApi.CY; date*: WinApi.DATE; bstrVal*: WinOle.PtrFLAGGED_WORD_BLOB; punkVal*: COM.IUnknown; pdispVal*: IDispatch; parray*: Ptr_wireSAFEARRAY; pbVal*: POINTER TO (*?*) ARRAY [untagged] OF SHORTCHAR; piVal*: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; plVal*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; pfltVal*: POINTER TO (*?*) ARRAY [untagged] OF SHORTREAL; pdblVal*: POINTER TO (*?*) ARRAY [untagged] OF REAL; pboolVal*: POINTER TO (*?*) ARRAY [untagged] OF WinOle.VARIANT_BOOL; pscode*: POINTER TO (*?*) ARRAY [untagged] OF COM.RESULT; pcyVal*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.CY; pdate*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.DATE; pbstrVal*: POINTER TO (*?*) ARRAY [untagged] OF WinOle.PtrFLAGGED_WORD_BLOB; ppunkVal*: POINTER TO (*?*) ARRAY [untagged] OF COM.IUnknown; ppdispVal*: POINTER TO (*?*) ARRAY [untagged] OF IDispatch; pparray*: POINTER TO (*?*) ARRAY [untagged] OF Ptr_wireSAFEARRAY; pvarVal*: POINTER TO (*?*) ARRAY [untagged] OF Ptr_wireVARIANT; byref*: WinApi.PtrVoid; cVal*: SHORTCHAR; uiVal*: SHORTINT; ulVal*: INTEGER; intVal*: INTEGER; uintVal*: INTEGER; pdecVal*: WinOle.PtrDECIMAL; pcVal*: WinApi.PtrSTR; puiVal*: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; pulVal*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; pintVal*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; puintVal*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; END; END; DISPID* = INTEGER; MEMBERID* = DISPID; HREFTYPE* = INTEGER; TYPEKIND* = INTEGER; PtrTYPEDESC* = POINTER TO TYPEDESC; PtrARRAYDESC* = POINTER TO ARRAYDESC; TYPEDESC* = RECORD [untagged] u*: RECORD [union] lptdesc*: PtrTYPEDESC; lpadesc*: PtrARRAYDESC; hreftype*: HREFTYPE; END; vt*: WinOle.VARTYPE; END; ARRAYDESC* = RECORD [untagged] tdescElem*: TYPEDESC; cDims*: SHORTINT; rgbounds*: ARRAY [untagged] 16 OF SAFEARRAYBOUND; END; PARAMDESCEX* = RECORD [align8] cBytes*: INTEGER; varDefaultValue*: VARIANTARG; END; PtrPARAMDESCEX* = POINTER TO PARAMDESCEX; PARAMDESC* = RECORD [untagged] pparamdescex*: PtrPARAMDESCEX; wParamFlags*: SHORTINT; END; PtrPARAMDESC* = POINTER TO PARAMDESC; IDLDESC* = RECORD [untagged] dwReserved*: INTEGER; wIDLFlags*: SHORTINT; END; PtrIDLDESC* = POINTER TO IDLDESC; ELEMDESC* = RECORD [untagged] tdesc*: TYPEDESC; u*: RECORD [union] idldesc*: IDLDESC; paramdesc*: PARAMDESC; END; END; PtrELEMDESC* = POINTER TO ELEMDESC; TYPEATTR* = RECORD [untagged] guid*: COM.GUID; lcid*: WinOle.LCID; dwReserved*: INTEGER; memidConstructor*: MEMBERID; memidDestructor*: MEMBERID; lpstrSchema*: WinApi.PtrWSTR; cbSizeInstance*: INTEGER; typekind*: TYPEKIND; cFuncs*: SHORTINT; cVars*: SHORTINT; cImplTypes*: SHORTINT; cbSizeVft*: SHORTINT; cbAlignment*: SHORTINT; wTypeFlags*: SHORTINT; wMajorVerNum*: SHORTINT; wMinorVerNum*: SHORTINT; tdescAlias*: TYPEDESC; idldescType*: IDLDESC; END; PtrTYPEATTR* = POINTER TO TYPEATTR; _wireDISPPARAMS* = RECORD [untagged] rgvarg*: POINTER TO (*?*) ARRAY [untagged] OF Ptr_wireVARIANT; rgdispidNamedArgs*: POINTER TO (*?*) ARRAY [untagged] OF DISPID; cArgs*: INTEGER; cNamedArgs*: INTEGER; END; Ptr_wireDISPPARAMS* = POINTER TO _wireDISPPARAMS; DISPPARAMS* = RECORD [untagged] rgvarg*: POINTER TO ARRAY [untagged] OF VARIANTARG; rgdispidNamedArgs*: POINTER TO ARRAY [untagged] OF DISPID; cArgs*: INTEGER; cNamedArgs*: INTEGER; END; PtrDISPPARAMS* = POINTER TO DISPPARAMS; _wireEXCEPINFO* = RECORD [untagged] wCode*: SHORTINT; wReserved*: SHORTINT; bstrSource*: WinOle.BSTR; bstrDescription*: WinOle.BSTR; bstrHelpFile*: WinOle.BSTR; dwHelpContext*: INTEGER; pvReserved*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; pfnDeferredFillIn*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; scode*: COM.RESULT; END; Ptr_wireEXCEPINFO* = POINTER TO _wireEXCEPINFO; PtrEXCEPINFO* = POINTER TO EXCEPINFO; EXCEPINFO* = RECORD [untagged] wCode*: SHORTINT; wReserved*: SHORTINT; bstrSource*: WinOle.BSTR; bstrDescription*: WinOle.BSTR; bstrHelpFile*: WinOle.BSTR; dwHelpContext*: INTEGER; pvReserved*: WinApi.PtrVoid; pfnDeferredFillIn*: PROCEDURE (VAR __MIDL_0012: EXCEPINFO): COM.RESULT; scode*: COM.RESULT; END; CALLCONV* = INTEGER; FUNCKIND* = INTEGER; INVOKEKIND* = INTEGER; FUNCDESC* = RECORD [untagged] memid*: MEMBERID; lprgscode*: POINTER TO (*?*) ARRAY [untagged] OF COM.RESULT; lprgelemdescParam*: POINTER TO ARRAY [untagged] OF ELEMDESC; funckind*: FUNCKIND; invkind*: INVOKEKIND; callconv*: CALLCONV; cParams*: SHORTINT; cParamsOpt*: SHORTINT; oVft*: SHORTINT; cScodes*: SHORTINT; elemdescFunc*: ELEMDESC; wFuncFlags*: SHORTINT; END; PtrFUNCDESC* = POINTER TO FUNCDESC; VARKIND* = INTEGER; VARDESC* = RECORD [untagged] memid*: MEMBERID; lpstrSchema*: WinApi.PtrWSTR; u*: RECORD [union] oInst*: INTEGER; lpvarValue*: PtrVARIANT; END; elemdescVar*: ELEMDESC; wVarFlags*: SHORTINT; varkind*: VARKIND; END; PtrVARDESC* = POINTER TO VARDESC; TYPEFLAGS* = INTEGER; FUNCFLAGS* = INTEGER; VARFLAGS* = INTEGER; ICreateTypeInfo* = POINTER TO ABSTRACT RECORD ["{00020405-0000-0000-C000-000000000046}"] (COM.IUnknown) END; ICreateTypeInfo2* = POINTER TO ABSTRACT RECORD ["{0002040E-0000-0000-C000-000000000046}"] (ICreateTypeInfo) END; ICreateTypeLib* = POINTER TO ABSTRACT RECORD ["{00020406-0000-0000-C000-000000000046}"] (COM.IUnknown) END; ICreateTypeLib2* = POINTER TO ABSTRACT RECORD ["{0002040F-0000-0000-C000-000000000046}"] (ICreateTypeLib) END; IDispatch* = POINTER TO ABSTRACT RECORD ["{00020400-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IEnumVARIANT* = POINTER TO ABSTRACT RECORD ["{00020404-0000-0000-C000-000000000046}"] (COM.IUnknown) END; DESCKIND* = INTEGER; ITypeComp* = POINTER TO ABSTRACT RECORD ["{00020403-0000-0000-C000-000000000046}"] (COM.IUnknown) END; tagBINDPTR* = RECORD [union] lpfuncdesc*: PtrFUNCDESC; lpvardesc*: PtrVARDESC; lptcomp*: ITypeComp; END; PtrtagBINDPTR* = POINTER TO tagBINDPTR; BINDPTR* = tagBINDPTR; PtrBINDPTR* = PtrtagBINDPTR; ITypeInfo* = POINTER TO ABSTRACT RECORD ["{00020401-0000-0000-C000-000000000046}"] (COM.IUnknown) END; ITypeInfo2* = POINTER TO ABSTRACT RECORD ["{00020412-0000-0000-C000-000000000046}"] (ITypeInfo) END; SYSKIND* = INTEGER; LIBFLAGS* = INTEGER; TLIBATTR* = RECORD [untagged] guid*: COM.GUID; lcid*: WinOle.LCID; syskind*: SYSKIND; wMajorVerNum*: SHORTINT; wMinorVerNum*: SHORTINT; wLibFlags*: SHORTINT; END; PtrTLIBATTR* = POINTER TO TLIBATTR; ITypeLib* = POINTER TO ABSTRACT RECORD ["{00020402-0000-0000-C000-000000000046}"] (COM.IUnknown) END; ITypeLib2* = POINTER TO ABSTRACT RECORD ["{00020411-0000-0000-C000-000000000046}"] (ITypeLib) END; CHANGEKIND* = INTEGER; ITypeChangeEvents* = POINTER TO ABSTRACT RECORD ["{00020410-0000-0000-C000-000000000046}"] (COM.IUnknown) END; IErrorInfo* = POINTER TO ABSTRACT RECORD ["{1CF2B120-547D-101B-8E65-08002B2BD119}"] (COM.IUnknown) END; ICreateErrorInfo* = POINTER TO ABSTRACT RECORD ["{22F03340-547D-101B-8E65-08002B2BD119}"] (COM.IUnknown) END; ISupportErrorInfo* = POINTER TO ABSTRACT RECORD ["{DF0B3D60-548F-101B-8E65-08002B2BD119}"] (COM.IUnknown) END; NUMPARSE* = RECORD [untagged] cDig*: INTEGER; dwInFlags*: SET; dwOutFlags*: SET; cchUsed*: INTEGER; nBaseShift*: INTEGER; nPwr10*: INTEGER; END; PtrNUMPARSE* = POINTER TO NUMPARSE; UDATE* = RECORD [untagged] st*: WinApi.SYSTEMTIME; wDayOfYear*: SHORTINT; END; PtrUDATE* = POINTER TO UDATE; REGKIND* = INTEGER; PARAMDATA* = RECORD [untagged] szName*: WinApi.PtrWSTR; vt*: WinOle.VARTYPE; END; PtrPARAMDATA* = POINTER TO PARAMDATA; METHODDATA* = RECORD [untagged] szName*: WinApi.PtrWSTR; ppdata*: PtrPARAMDATA; dispid*: DISPID; iMeth*: INTEGER; cc*: CALLCONV; cArgs*: INTEGER; wFlags*: SHORTINT; vtReturn*: WinOle.VARTYPE; END; PtrMETHODDATA* = POINTER TO METHODDATA; INTERFACEDATA* = RECORD [untagged] pmethdata*: PtrMETHODDATA; cMembers*: INTEGER; END; PtrINTERFACEDATA* = POINTER TO INTERFACEDATA; PROCEDURE (this: ICreateTypeInfo) SetGuid* (IN [nil] guid: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetTypeFlags* (uTypeFlags: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetDocString* (pStrDoc: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetHelpContext* (dwHelpContext: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetVersion* (wMajorVerNum: SHORTINT; wMinorVerNum: SHORTINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) AddRefTypeInfo* (pTInfo: ITypeInfo; VAR [nil] phRefType: HREFTYPE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) AddFuncDesc* (index: INTEGER; IN [nil] pFuncDesc: FUNCDESC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) AddImplType* (index: INTEGER; hRefType: HREFTYPE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetImplTypeFlags* (index: INTEGER; implTypeFlags: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetAlignment* (cbAlignment: SHORTINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetSchema* (pStrSchema: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) AddVarDesc* (index: INTEGER; IN [nil] pVarDesc: VARDESC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetFuncAndParamNames* (index: INTEGER; IN [nil] rgszNames: WinApi.PtrWSTR; cNames: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetVarName* (index: INTEGER; szName: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetTypeDescAlias* (IN [nil] pTDescAlias: TYPEDESC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) DefineFuncAsDllEntry* (index: INTEGER; szDllName: WinApi.PtrWSTR; szProcName: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetFuncDocString* (index: INTEGER; szDocString: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetVarDocString* (index: INTEGER; szDocString: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetFuncHelpContext* (index: INTEGER; dwHelpContext: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetVarHelpContext* (index: INTEGER; dwHelpContext: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetMops* (index: INTEGER; bstrMops: WinOle.BSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) SetTypeIdldesc* (IN [nil] pIdlDesc: IDLDESC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo) LayOut* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo2) DeleteFuncDesc* (index: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo2) DeleteFuncDescByMemId* (memid: MEMBERID; invKind: INVOKEKIND): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo2) DeleteVarDesc* (index: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo2) DeleteVarDescByMemId* (memid: MEMBERID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo2) DeleteImplType* (index: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo2) SetCustData* (IN [nil] guid: COM.GUID; IN [nil] pVarVal: VARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo2) SetFuncCustData* (index: INTEGER; IN [nil] guid: COM.GUID; IN [nil] pVarVal: VARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo2) SetParamCustData* (indexFunc: INTEGER; indexParam: INTEGER; IN [nil] guid: COM.GUID; IN [nil] pVarVal: VARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo2) SetVarCustData* (index: INTEGER; IN [nil] guid: COM.GUID; IN [nil] pVarVal: VARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo2) SetImplTypeCustData* (index: INTEGER; IN [nil] guid: COM.GUID; IN [nil] pVarVal: VARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo2) SetHelpStringContext* (dwHelpStringContext: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo2) SetFuncHelpStringContext* (index: INTEGER; dwHelpStringContext: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeInfo2) SetVarHelpStringContext* (index: INTEGER; dwHelpStringContext: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeLib) CreateTypeInfo* (szName: WinApi.PtrWSTR; tkind: TYPEKIND; OUT [nil] ppCTInfo: ICreateTypeInfo): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeLib) SetName* (szName: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeLib) SetVersion* (wMajorVerNum: SHORTINT; wMinorVerNum: SHORTINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeLib) SetGuid* (IN [nil] guid: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeLib) SetDocString* (szDoc: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeLib) SetHelpFileName* (szHelpFileName: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeLib) SetHelpContext* (dwHelpContext: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeLib) SetLcid* (lcid: WinOle.LCID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeLib) SetLibFlags* (uLibFlags: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeLib) SaveAllChanges* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeLib2) DeleteTypeInfo* (szName: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeLib2) SetCustData* (IN [nil] guid: COM.GUID; IN [nil] pVarVal: VARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateTypeLib2) SetHelpStringContext* (dwHelpStringContext: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDispatch) GetTypeInfoCount* (OUT [nil] pctinfo: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDispatch) GetTypeInfo* (iTInfo: INTEGER; lcid: WinOle.LCID; OUT [nil] ppTInfo: ITypeInfo): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDispatch) GetIDsOfNames* (IN [nil] riid: COM.GUID; IN [nil] rgszNames: WinApi.PtrWSTR; cNames: INTEGER; lcid: WinOle.LCID; OUT [nil] rgDispId: DISPID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IDispatch) Invoke* (dispIdMember: DISPID; IN riid: COM.GUID; lcid: WinOle.LCID; wFlags: SHORTINT; VAR [nil] pDispParams: DISPPARAMS; OUT [nil] pVarResult: VARIANT; OUT [nil] pExcepInfo: EXCEPINFO; OUT [nil] puArgErr: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumVARIANT) Next* (celt: INTEGER; OUT rgVar: ARRAY [untagged] OF VARIANT; OUT [nil] pCeltFetched: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumVARIANT) Skip* (celt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumVARIANT) Reset* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IEnumVARIANT) Clone* (OUT [nil] ppEnum: IEnumVARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeComp) Bind* (szName: WinApi.PtrWSTR; lHashVal: INTEGER; fFlags: SHORTINT; OUT [nil] ppTInfo: ITypeInfo; OUT [nil] pDescKind: DESCKIND; OUT [nil] pBindPtr: BINDPTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeComp) BindType* (szName: WinApi.PtrWSTR; lHashVal: INTEGER; OUT [nil] ppTInfo: ITypeInfo; OUT [nil] ppTComp: ITypeComp): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) GetTypeAttr* (OUT [nil] ppTypeAttr: PtrTYPEATTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) GetTypeComp* (OUT [nil] ppTComp: ITypeComp): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) GetFuncDesc* (index: INTEGER; OUT [nil] ppFuncDesc: PtrFUNCDESC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) GetVarDesc* (index: INTEGER; OUT [nil] ppVarDesc: PtrVARDESC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) GetNames* (memid: MEMBERID; OUT [nil] rgBstrNames: WinOle.BSTR; cMaxNames: INTEGER; OUT [nil] pcNames: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) GetRefTypeOfImplType* (index: INTEGER; OUT [nil] pRefType: HREFTYPE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) GetImplTypeFlags* (index: INTEGER; OUT [nil] pImplTypeFlags: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) GetIDsOfNames* (IN [nil] ppNames: WinApi.PtrWSTR; cNames: INTEGER; OUT [nil] pMemId: MEMBERID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) Invoke* (pvInstance: WinApi.PtrVoid; memid: MEMBERID; wFlags: SHORTINT; IN [nil] pDispParams: DISPPARAMS; OUT [nil] pVarResult: VARIANT; OUT [nil] pExcepInfo: EXCEPINFO; OUT [nil] puArgErr: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) GetDocumentation* (memid: MEMBERID; OUT [nil] pBstrName: WinOle.BSTR; OUT [nil] pBstrDocString: WinOle.BSTR; OUT [nil] pdwHelpContext: INTEGER; OUT [nil] pBstrHelpFile: WinOle.BSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) GetDllEntry* (memid: MEMBERID; invKind: INVOKEKIND; OUT [nil] pBstrDllName: WinOle.BSTR; OUT [nil] pBstrName: WinOle.BSTR; OUT [nil] pwOrdinal: SHORTINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) GetRefTypeInfo* (hRefType: HREFTYPE; OUT [nil] ppTInfo: ITypeInfo): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) AddressOfMember* (memid: MEMBERID; invKind: INVOKEKIND; OUT [nil] ppv: WinApi.PtrVoid): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) CreateInstance* (pUnkOuter: COM.IUnknown; IN [iid] riid: COM.GUID; OUT [new] ppvObj: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) GetMops* (memid: MEMBERID; OUT [nil] pBstrMops: WinOle.BSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) GetContainingTypeLib* (OUT [nil] ppTLib: ITypeLib; OUT [nil] pIndex: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) ReleaseTypeAttr* (pTypeAttr: PtrTYPEATTR), NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) ReleaseFuncDesc* (pFuncDesc: PtrFUNCDESC), NEW, ABSTRACT; PROCEDURE (this: ITypeInfo) ReleaseVarDesc* (pVarDesc: PtrVARDESC), NEW, ABSTRACT; PROCEDURE (this: ITypeInfo2) GetTypeKind* (OUT [nil] pTypeKind: TYPEKIND): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo2) GetTypeFlags* (OUT [nil] pTypeFlags: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo2) GetFuncIndexOfMemId* (memid: MEMBERID; invKind: INVOKEKIND; OUT [nil] pFuncIndex: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo2) GetVarIndexOfMemId* (memid: MEMBERID; OUT [nil] pVarIndex: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo2) GetCustData* (IN [nil] guid: COM.GUID; OUT [nil] pVarVal: VARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo2) GetFuncCustData* (index: INTEGER; IN [nil] guid: COM.GUID; OUT [nil] pVarVal: VARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo2) GetParamCustData* (indexFunc: INTEGER; indexParam: INTEGER; IN [nil] guid: COM.GUID; OUT [nil] pVarVal: VARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo2) GetVarCustData* (index: INTEGER; IN [nil] guid: COM.GUID; OUT [nil] pVarVal: VARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo2) GetImplTypeCustData* (index: INTEGER; IN [nil] guid: COM.GUID; OUT [nil] pVarVal: VARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeInfo2) GetHelpStringContext* (memid: MEMBERID; OUT [nil] pHelpStringContext: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeLib) GetTypeInfoCount* (): INTEGER, NEW, ABSTRACT; PROCEDURE (this: ITypeLib) GetTypeInfo* (index: INTEGER; OUT [nil] ppTInfo: ITypeInfo): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeLib) GetTypeInfoType* (index: INTEGER; OUT [nil] pTKind: TYPEKIND): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeLib) GetTypeInfoOfGuid* (IN [nil] guid: COM.GUID; OUT [nil] ppTinfo: ITypeInfo): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeLib) GetLibAttr* (OUT [nil] ppTLibAttr: PtrTLIBATTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeLib) GetTypeComp* (OUT [nil] ppTComp: ITypeComp): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeLib) GetDocumentation* (index: INTEGER; OUT [nil] pBstrName: WinOle.BSTR; OUT [nil] pBstrDocString: WinOle.BSTR; OUT [nil] pdwHelpContext: INTEGER; OUT [nil] pBstrHelpFile: WinOle.BSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeLib) IsName* (szNameBuf: WinApi.PtrWSTR; lHashVal: INTEGER; OUT [nil] pfName: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeLib) FindName* (szNameBuf: WinApi.PtrWSTR; lHashVal: INTEGER; OUT [nil] ppTInfo: ITypeInfo; OUT [nil] rgMemId: MEMBERID; VAR [nil] pcFound: SHORTINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeLib) ReleaseTLibAttr* (pTLibAttr: PtrTLIBATTR), NEW, ABSTRACT; PROCEDURE (this: ITypeLib2) GetCustData* (IN [nil] guid: COM.GUID; OUT [nil] pVarVal: VARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeLib2) GetLibStatistics* (OUT [nil] pcUniqueNames: INTEGER; OUT [nil] pcchUniqueNames: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeLib2) GetHelpStringContext* (index: INTEGER; OUT [nil] pHelpStringContext: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeChangeEvents) RequestTypeChange* (changeKind: CHANGEKIND; pTInfoBefore: ITypeInfo; pStrName: WinApi.PtrWSTR; OUT [nil] pfCancel: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ITypeChangeEvents) AfterTypeChange* (changeKind: CHANGEKIND; pTInfoAfter: ITypeInfo; pStrName: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IErrorInfo) GetGUID* (OUT [nil] pGUID: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IErrorInfo) GetSource* (OUT [nil] pBstrSource: WinOle.BSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IErrorInfo) GetDescription* (OUT [nil] pBstrDescription: WinOle.BSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IErrorInfo) GetHelpFile* (OUT [nil] pBstrHelpFile: WinOle.BSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IErrorInfo) GetHelpContext* (OUT [nil] pdwHelpContext: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateErrorInfo) SetGUID* (IN [nil] rguid: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateErrorInfo) SetSource* (szSource: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateErrorInfo) SetDescription* (szDescription: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateErrorInfo) SetHelpFile* (szHelpFile: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ICreateErrorInfo) SetHelpContext* (dwHelpContext: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ISupportErrorInfo) InterfaceSupportsErrorInfo* (IN [nil] riid: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE SysAllocString* (p0: WinApi.PtrWSTR): WinOle.BSTR; PROCEDURE SysReAllocString* (VAR [nil] p0: WinOle.BSTR; p1: WinApi.PtrWSTR): INTEGER; PROCEDURE SysAllocStringLen* (p0: WinApi.PtrWSTR; p1: INTEGER): WinOle.BSTR; PROCEDURE SysReAllocStringLen* (VAR [nil] p0: WinOle.BSTR; p1: WinApi.PtrWSTR; p2: INTEGER): INTEGER; PROCEDURE SysFreeString* (p0: WinOle.BSTR); PROCEDURE SysStringLen* (p0: WinOle.BSTR): INTEGER; PROCEDURE SysStringByteLen* (bstr: WinOle.BSTR): INTEGER; PROCEDURE SysAllocStringByteLen* (psz: WinApi.PtrSTR; len: INTEGER): WinOle.BSTR; PROCEDURE DosDateTimeToVariantTime* (wDosDate: SHORTINT; wDosTime: SHORTINT; VAR [nil] pvtime: REAL): INTEGER; PROCEDURE VariantTimeToDosDateTime* (vtime: REAL; VAR [nil] pwDosDate: SHORTINT; VAR [nil] pwDosTime: SHORTINT): INTEGER; PROCEDURE SafeArrayAllocDescriptor* (cDims: INTEGER; VAR [nil] ppsaOut: PtrSAFEARRAY): COM.RESULT; PROCEDURE SafeArrayAllocData* (psa: PtrSAFEARRAY): COM.RESULT; PROCEDURE SafeArrayCreate* (vt: WinOle.VARTYPE; cDims: INTEGER; VAR [nil] rgsabound: SAFEARRAYBOUND): PtrSAFEARRAY; PROCEDURE SafeArrayDestroyDescriptor* (psa: PtrSAFEARRAY): COM.RESULT; PROCEDURE SafeArrayDestroyData* (psa: PtrSAFEARRAY): COM.RESULT; PROCEDURE SafeArrayDestroy* (psa: PtrSAFEARRAY): COM.RESULT; PROCEDURE SafeArrayRedim* (psa: PtrSAFEARRAY; VAR [nil] psaboundNew: SAFEARRAYBOUND): COM.RESULT; PROCEDURE SafeArrayGetDim* (psa: PtrSAFEARRAY): INTEGER; PROCEDURE SafeArrayGetElemsize* (psa: PtrSAFEARRAY): INTEGER; PROCEDURE SafeArrayGetUBound* (psa: PtrSAFEARRAY; nDim: INTEGER; VAR [nil] plUbound: INTEGER): COM.RESULT; PROCEDURE SafeArrayGetLBound* (psa: PtrSAFEARRAY; nDim: INTEGER; VAR [nil] plLbound: INTEGER): COM.RESULT; PROCEDURE SafeArrayLock* (psa: PtrSAFEARRAY): COM.RESULT; PROCEDURE SafeArrayUnlock* (psa: PtrSAFEARRAY): COM.RESULT; PROCEDURE SafeArrayAccessData* (psa: PtrSAFEARRAY; VAR [nil] ppvData: WinApi.PtrVoid): COM.RESULT; PROCEDURE SafeArrayUnaccessData* (psa: PtrSAFEARRAY): COM.RESULT; PROCEDURE SafeArrayGetElement* (psa: PtrSAFEARRAY; VAR [nil] rgIndices: INTEGER; pv: WinApi.PtrVoid): COM.RESULT; PROCEDURE SafeArrayPutElement* (psa: PtrSAFEARRAY; VAR [nil] rgIndices: INTEGER; pv: WinApi.PtrVoid): COM.RESULT; PROCEDURE SafeArrayCopy* (psa: PtrSAFEARRAY; VAR [nil] ppsaOut: PtrSAFEARRAY): COM.RESULT; PROCEDURE SafeArrayPtrOfIndex* (psa: PtrSAFEARRAY; VAR [nil] rgIndices: INTEGER; VAR [nil] ppvData: WinApi.PtrVoid): COM.RESULT; PROCEDURE VariantInit* (VAR [nil] pvarg: VARIANTARG); PROCEDURE VariantClear* (VAR [nil] pvarg: VARIANTARG): COM.RESULT; PROCEDURE VariantCopy* (VAR [nil] pvargDest: VARIANTARG; VAR [nil] pvargSrc: VARIANTARG): COM.RESULT; PROCEDURE VariantCopyInd* (VAR [nil] pvarDest: VARIANT; VAR [nil] pvargSrc: VARIANTARG): COM.RESULT; PROCEDURE VariantChangeType* (VAR [nil] pvargDest: VARIANTARG; VAR [nil] pvarSrc: VARIANTARG; wFlags: SHORTINT; vt: WinOle.VARTYPE): COM.RESULT; PROCEDURE VariantChangeTypeEx* (VAR [nil] pvargDest: VARIANTARG; VAR [nil] pvarSrc: VARIANTARG; lcid: WinOle.LCID; wFlags: SHORTINT; vt: WinOle.VARTYPE): COM.RESULT; PROCEDURE VarUI1FromI2* (sIn: SHORTINT; VAR [nil] pbOut: SHORTCHAR): COM.RESULT; PROCEDURE VarUI1FromI4* (lIn: INTEGER; VAR [nil] pbOut: SHORTCHAR): COM.RESULT; PROCEDURE VarUI1FromR4* (fltIn: SHORTREAL; VAR [nil] pbOut: SHORTCHAR): COM.RESULT; PROCEDURE VarUI1FromR8* (dblIn: REAL; VAR [nil] pbOut: SHORTCHAR): COM.RESULT; PROCEDURE VarUI1FromCy* (cyIn: WinApi.CY; VAR [nil] pbOut: SHORTCHAR): COM.RESULT; PROCEDURE VarUI1FromDate* (dateIn: WinApi.DATE; VAR [nil] pbOut: SHORTCHAR): COM.RESULT; PROCEDURE VarUI1FromStr* (strIn: WinApi.PtrWSTR; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pbOut: SHORTCHAR): COM.RESULT; PROCEDURE VarUI1FromDisp* (pdispIn: IDispatch; lcid: WinOle.LCID; VAR [nil] pbOut: SHORTCHAR): COM.RESULT; PROCEDURE VarUI1FromBool* (boolIn: WinOle.VARIANT_BOOL; VAR [nil] pbOut: SHORTCHAR): COM.RESULT; PROCEDURE VarI2FromUI1* (bIn: SHORTCHAR; VAR [nil] psOut: SHORTINT): COM.RESULT; PROCEDURE VarI2FromI4* (lIn: INTEGER; VAR [nil] psOut: SHORTINT): COM.RESULT; PROCEDURE VarI2FromR4* (fltIn: SHORTREAL; VAR [nil] psOut: SHORTINT): COM.RESULT; PROCEDURE VarI2FromR8* (dblIn: REAL; VAR [nil] psOut: SHORTINT): COM.RESULT; PROCEDURE VarI2FromCy* (cyIn: WinApi.CY; VAR [nil] psOut: SHORTINT): COM.RESULT; PROCEDURE VarI2FromDate* (dateIn: WinApi.DATE; VAR [nil] psOut: SHORTINT): COM.RESULT; PROCEDURE VarI2FromStr* (strIn: WinApi.PtrWSTR; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] psOut: SHORTINT): COM.RESULT; PROCEDURE VarI2FromDisp* (pdispIn: IDispatch; lcid: WinOle.LCID; VAR [nil] psOut: SHORTINT): COM.RESULT; PROCEDURE VarI2FromBool* (boolIn: WinOle.VARIANT_BOOL; VAR [nil] psOut: SHORTINT): COM.RESULT; PROCEDURE VarI4FromUI1* (bIn: SHORTCHAR; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarI4FromI2* (sIn: SHORTINT; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarI4FromR4* (fltIn: SHORTREAL; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarI4FromR8* (dblIn: REAL; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarI4FromCy* (cyIn: WinApi.CY; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarI4FromDate* (dateIn: WinApi.DATE; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarI4FromStr* (strIn: WinApi.PtrWSTR; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarI4FromDisp* (pdispIn: IDispatch; lcid: WinOle.LCID; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarI4FromBool* (boolIn: WinOle.VARIANT_BOOL; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarR4FromUI1* (bIn: SHORTCHAR; VAR [nil] pfltOut: SHORTREAL): COM.RESULT; PROCEDURE VarR4FromI2* (sIn: SHORTINT; VAR [nil] pfltOut: SHORTREAL): COM.RESULT; PROCEDURE VarR4FromI4* (lIn: INTEGER; VAR [nil] pfltOut: SHORTREAL): COM.RESULT; PROCEDURE VarR4FromR8* (dblIn: REAL; VAR [nil] pfltOut: SHORTREAL): COM.RESULT; PROCEDURE VarR4FromCy* (cyIn: WinApi.CY; VAR [nil] pfltOut: SHORTREAL): COM.RESULT; PROCEDURE VarR4FromDate* (dateIn: WinApi.DATE; VAR [nil] pfltOut: SHORTREAL): COM.RESULT; PROCEDURE VarR4FromStr* (strIn: WinApi.PtrWSTR; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pfltOut: SHORTREAL): COM.RESULT; PROCEDURE VarR4FromDisp* (pdispIn: IDispatch; lcid: WinOle.LCID; VAR [nil] pfltOut: SHORTREAL): COM.RESULT; PROCEDURE VarR4FromBool* (boolIn: WinOle.VARIANT_BOOL; VAR [nil] pfltOut: SHORTREAL): COM.RESULT; PROCEDURE VarR8FromUI1* (bIn: SHORTCHAR; VAR [nil] pdblOut: REAL): COM.RESULT; PROCEDURE VarR8FromI2* (sIn: SHORTINT; VAR [nil] pdblOut: REAL): COM.RESULT; PROCEDURE VarR8FromI4* (lIn: INTEGER; VAR [nil] pdblOut: REAL): COM.RESULT; PROCEDURE VarR8FromR4* (fltIn: SHORTREAL; VAR [nil] pdblOut: REAL): COM.RESULT; PROCEDURE VarR8FromCy* (cyIn: WinApi.CY; VAR [nil] pdblOut: REAL): COM.RESULT; PROCEDURE VarR8FromDate* (dateIn: WinApi.DATE; VAR [nil] pdblOut: REAL): COM.RESULT; PROCEDURE VarR8FromStr* (strIn: WinApi.PtrWSTR; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pdblOut: REAL): COM.RESULT; PROCEDURE VarR8FromDisp* (pdispIn: IDispatch; lcid: WinOle.LCID; VAR [nil] pdblOut: REAL): COM.RESULT; PROCEDURE VarR8FromBool* (boolIn: WinOle.VARIANT_BOOL; VAR [nil] pdblOut: REAL): COM.RESULT; PROCEDURE VarDateFromUI1* (bIn: SHORTCHAR; VAR [nil] pdateOut: WinApi.DATE): COM.RESULT; PROCEDURE VarDateFromI2* (sIn: SHORTINT; VAR [nil] pdateOut: WinApi.DATE): COM.RESULT; PROCEDURE VarDateFromI4* (lIn: INTEGER; VAR [nil] pdateOut: WinApi.DATE): COM.RESULT; PROCEDURE VarDateFromR4* (fltIn: SHORTREAL; VAR [nil] pdateOut: WinApi.DATE): COM.RESULT; PROCEDURE VarDateFromR8* (dblIn: REAL; VAR [nil] pdateOut: WinApi.DATE): COM.RESULT; PROCEDURE VarDateFromCy* (cyIn: WinApi.CY; VAR [nil] pdateOut: WinApi.DATE): COM.RESULT; PROCEDURE VarDateFromStr* (strIn: WinApi.PtrWSTR; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pdateOut: WinApi.DATE): COM.RESULT; PROCEDURE VarDateFromDisp* (pdispIn: IDispatch; lcid: WinOle.LCID; VAR [nil] pdateOut: WinApi.DATE): COM.RESULT; PROCEDURE VarDateFromBool* (boolIn: WinOle.VARIANT_BOOL; VAR [nil] pdateOut: WinApi.DATE): COM.RESULT; PROCEDURE VarCyFromUI1* (bIn: SHORTCHAR; VAR [nil] pcyOut: WinApi.CY): COM.RESULT; PROCEDURE VarCyFromI2* (sIn: SHORTINT; VAR [nil] pcyOut: WinApi.CY): COM.RESULT; PROCEDURE VarCyFromI4* (lIn: INTEGER; VAR [nil] pcyOut: WinApi.CY): COM.RESULT; PROCEDURE VarCyFromR4* (fltIn: SHORTREAL; VAR [nil] pcyOut: WinApi.CY): COM.RESULT; PROCEDURE VarCyFromR8* (dblIn: REAL; VAR [nil] pcyOut: WinApi.CY): COM.RESULT; PROCEDURE VarCyFromDate* (dateIn: WinApi.DATE; VAR [nil] pcyOut: WinApi.CY): COM.RESULT; PROCEDURE VarCyFromStr* (strIn: WinApi.PtrWSTR; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pcyOut: WinApi.CY): COM.RESULT; PROCEDURE VarCyFromDisp* (pdispIn: IDispatch; lcid: WinOle.LCID; VAR [nil] pcyOut: WinApi.CY): COM.RESULT; PROCEDURE VarCyFromBool* (boolIn: WinOle.VARIANT_BOOL; VAR [nil] pcyOut: WinApi.CY): COM.RESULT; PROCEDURE VarBstrFromUI1* (bVal: SHORTCHAR; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pbstrOut: WinOle.BSTR): COM.RESULT; PROCEDURE VarBstrFromI2* (iVal: SHORTINT; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pbstrOut: WinOle.BSTR): COM.RESULT; PROCEDURE VarBstrFromI4* (lIn: INTEGER; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pbstrOut: WinOle.BSTR): COM.RESULT; PROCEDURE VarBstrFromR4* (fltIn: SHORTREAL; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pbstrOut: WinOle.BSTR): COM.RESULT; PROCEDURE VarBstrFromR8* (dblIn: REAL; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pbstrOut: WinOle.BSTR): COM.RESULT; PROCEDURE VarBstrFromCy* (cyIn: WinApi.CY; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pbstrOut: WinOle.BSTR): COM.RESULT; PROCEDURE VarBstrFromDate* (dateIn: WinApi.DATE; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pbstrOut: WinOle.BSTR): COM.RESULT; PROCEDURE VarBstrFromDisp* (pdispIn: IDispatch; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pbstrOut: WinOle.BSTR): COM.RESULT; PROCEDURE VarBstrFromBool* (boolIn: WinOle.VARIANT_BOOL; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pbstrOut: WinOle.BSTR): COM.RESULT; PROCEDURE VarBoolFromUI1* (bIn: SHORTCHAR; VAR [nil] pboolOut: WinOle.VARIANT_BOOL): COM.RESULT; PROCEDURE VarBoolFromI2* (sIn: SHORTINT; VAR [nil] pboolOut: WinOle.VARIANT_BOOL): COM.RESULT; PROCEDURE VarBoolFromI4* (lIn: INTEGER; VAR [nil] pboolOut: WinOle.VARIANT_BOOL): COM.RESULT; PROCEDURE VarBoolFromR4* (fltIn: SHORTREAL; VAR [nil] pboolOut: WinOle.VARIANT_BOOL): COM.RESULT; PROCEDURE VarBoolFromR8* (dblIn: REAL; VAR [nil] pboolOut: WinOle.VARIANT_BOOL): COM.RESULT; PROCEDURE VarBoolFromDate* (dateIn: WinApi.DATE; VAR [nil] pboolOut: WinOle.VARIANT_BOOL): COM.RESULT; PROCEDURE VarBoolFromCy* (cyIn: WinApi.CY; VAR [nil] pboolOut: WinOle.VARIANT_BOOL): COM.RESULT; PROCEDURE VarBoolFromStr* (strIn: WinApi.PtrWSTR; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pboolOut: WinOle.VARIANT_BOOL): COM.RESULT; PROCEDURE VarBoolFromDisp* (pdispIn: IDispatch; lcid: WinOle.LCID; VAR [nil] pboolOut: WinOle.VARIANT_BOOL): COM.RESULT; PROCEDURE VarUI1FromInt* ["VarUI1FromI4"] (lIn: INTEGER; VAR [nil] pbOut: SHORTCHAR): COM.RESULT; PROCEDURE VarI2FromInt* ["VarI2FromI4"] (lIn: INTEGER; VAR [nil] psOut: SHORTINT): COM.RESULT; PROCEDURE VarR4FromInt* ["VarR4FromI4"] (lIn: INTEGER; VAR [nil] pfltOut: SHORTREAL): COM.RESULT; PROCEDURE VarR8FromInt* ["VarR8FromI4"] (lIn: INTEGER; VAR [nil] pdblOut: REAL): COM.RESULT; PROCEDURE VarDateFromInt* ["VarDateFromI4"] (lIn: INTEGER; VAR [nil] pdateOut: WinApi.DATE): COM.RESULT; PROCEDURE VarCyFromInt* ["VarCyFromI4"] (lIn: INTEGER; VAR [nil] pcyOut: WinApi.CY): COM.RESULT; PROCEDURE VarBstrFromInt* ["VarBstrFromI4"] (lIn: INTEGER; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] pbstrOut: WinOle.BSTR): COM.RESULT; PROCEDURE VarBoolFromInt* ["VarBoolFromI4"] (lIn: INTEGER; VAR [nil] pboolOut: WinOle.VARIANT_BOOL): COM.RESULT; PROCEDURE VarIntFromUI1* ["VarI4FromUI1"] (bIn: SHORTCHAR; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarIntFromI2* ["VarI4FromI2"] (sIn: SHORTINT; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarIntFromR4* ["VarI4FromR4"] (fltIn: SHORTREAL; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarIntFromR8* ["VarI4FromR8"] (dblIn: REAL; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarIntFromDate* ["VarI4FromDate"] (dateIn: WinApi.DATE; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarIntFromCy* ["VarI4FromCy"] (cyIn: WinApi.CY; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarIntFromStr* ["VarI4FromStr"] (strIn: WinApi.PtrWSTR; lcid: WinOle.LCID; dwFlags: SET; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarIntFromDisp* ["VarI4FromDisp"] (pdispIn: IDispatch; lcid: WinOle.LCID; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE VarIntFromBool* ["VarI4FromBool"] (boolIn: WinOle.VARIANT_BOOL; VAR [nil] plOut: INTEGER): COM.RESULT; PROCEDURE LHashValOfNameSysA* (syskind: SYSKIND; lcid: WinOle.LCID; szName: WinApi.PtrSTR): INTEGER; PROCEDURE LHashValOfNameSys* (syskind: SYSKIND; lcid: WinOle.LCID; szName: WinApi.PtrWSTR): INTEGER; PROCEDURE LoadTypeLib* (szFile: WinApi.PtrWSTR; VAR [nil] pptlib: ITypeLib): COM.RESULT; PROCEDURE LoadRegTypeLib* (IN [nil] rguid: COM.GUID; wVerMajor: SHORTINT; wVerMinor: SHORTINT; lcid: WinOle.LCID; VAR [nil] pptlib: ITypeLib): COM.RESULT; PROCEDURE QueryPathOfRegTypeLib* (IN [nil] guid: COM.GUID; wMaj: SHORTINT; wMin: SHORTINT; lcid: WinOle.LCID; VAR [nil] lpbstrPathName: WinOle.BSTR): COM.RESULT; PROCEDURE RegisterTypeLib* (ptlib: ITypeLib; szFullPath: WinApi.PtrWSTR; szHelpDir: WinApi.PtrWSTR): COM.RESULT; PROCEDURE CreateTypeLib* (syskind: SYSKIND; szFile: WinApi.PtrWSTR; VAR [nil] ppctlib: ICreateTypeLib): COM.RESULT; PROCEDURE DispGetParam* (VAR [nil] pdispparams: DISPPARAMS; position: INTEGER; vtTarg: WinOle.VARTYPE; VAR [nil] pvarResult: VARIANT; VAR [nil] puArgErr: INTEGER): COM.RESULT; PROCEDURE DispGetIDsOfNames* (ptinfo: ITypeInfo; VAR [nil] rgszNames: WinApi.PtrWSTR; cNames: INTEGER; VAR [nil] rgdispid: DISPID): COM.RESULT; PROCEDURE DispInvoke* (_this: WinApi.PtrVoid; ptinfo: ITypeInfo; dispidMember: DISPID; wFlags: SHORTINT; VAR [nil] pparams: DISPPARAMS; VAR [nil] pvarResult: VARIANT; VAR [nil] pexcepinfo: EXCEPINFO; VAR [nil] puArgErr: INTEGER): COM.RESULT; PROCEDURE CreateDispTypeInfo* (VAR [nil] pidata: INTERFACEDATA; lcid: WinOle.LCID; VAR [nil] pptinfo: ITypeInfo): COM.RESULT; PROCEDURE CreateStdDispatch* (punkOuter: COM.IUnknown; pvThis: WinApi.PtrVoid; ptinfo: ITypeInfo; VAR [nil] ppunkStdDisp: COM.IUnknown): COM.RESULT; PROCEDURE RegisterActiveObject* (punk: COM.IUnknown; IN [nil] rclsid: COM.GUID; dwFlags: SET; VAR [nil] pdwRegister: INTEGER): COM.RESULT; PROCEDURE RevokeActiveObject* (dwRegister: INTEGER; pvReserved: WinApi.PtrVoid): COM.RESULT; PROCEDURE GetActiveObject* (IN [nil] rclsid: COM.GUID; pvReserved: WinApi.PtrVoid; VAR [nil] ppunk: COM.IUnknown): COM.RESULT; PROCEDURE SetErrorInfo* (dwReserved: INTEGER; perrinfo: IErrorInfo): COM.RESULT; PROCEDURE GetErrorInfo* (dwReserved: INTEGER; VAR [nil] pperrinfo: IErrorInfo): COM.RESULT; PROCEDURE CreateErrorInfo* (VAR [nil] pperrinfo: ICreateErrorInfo): COM.RESULT; PROCEDURE OaBuildVersion* (): INTEGER; (* manually added procedures *) PROCEDURE VariantTimeToSystemTime* (variantTime: REAL; VAR [nil] systemTime: WinApi.SYSTEMTIME): INTEGER; PROCEDURE SystemTimeToVariantTime* (VAR [nil] systemTime: WinApi.SYSTEMTIME; VAR [nil] variantTime: REAL): INTEGER; END WinOleAut.
Win/Mod/OleAut.odc
MODULE WinOleCtl ["OC30.dll"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) IMPORT WinOleAut, COM, WinOle, WinApi; CONST (* macros *) CTL_E_ILLEGALFUNCTIONCALL* = -2146828283; CTL_E_OVERFLOW* = -2146828282; CTL_E_OUTOFMEMORY* = -2146828281; CTL_E_DIVISIONBYZERO* = -2146828277; CTL_E_OUTOFSTRINGSPACE* = -2146828274; CTL_E_OUTOFSTACKSPACE* = -2146828260; CTL_E_BADFILENAMEORNUMBER* = -2146828236; CTL_E_FILENOTFOUND* = -2146828235; CTL_E_BADFILEMODE* = -2146828234; CTL_E_FILEALREADYOPEN* = -2146828233; CTL_E_DEVICEIOERROR* = -2146828231; CTL_E_FILEALREADYEXISTS* = -2146828230; CTL_E_BADRECORDLENGTH* = -2146828229; CTL_E_DISKFULL* = -2146828227; CTL_E_BADRECORDNUMBER* = -2146828225; CTL_E_BADFILENAME* = -2146828224; CTL_E_TOOMANYFILES* = -2146828221; CTL_E_DEVICEUNAVAILABLE* = -2146828220; CTL_E_PERMISSIONDENIED* = -2146828218; CTL_E_DISKNOTREADY* = -2146828217; CTL_E_PATHFILEACCESSERROR* = -2146828213; CTL_E_PATHNOTFOUND* = -2146828212; CTL_E_INVALIDPATTERNSTRING* = -2146828195; CTL_E_INVALIDUSEOFNULL* = -2146828194; CTL_E_INVALIDFILEFORMAT* = -2146827967; CTL_E_INVALIDPROPERTYVALUE* = -2146827908; CTL_E_INVALIDPROPERTYARRAYINDEX* = -2146827907; CTL_E_SETNOTSUPPORTEDATRUNTIME* = -2146827906; CTL_E_SETNOTSUPPORTED* = -2146827905; CTL_E_NEEDPROPERTYARRAYINDEX* = -2146827903; CTL_E_SETNOTPERMITTED* = -2146827901; CTL_E_GETNOTSUPPORTEDATRUNTIME* = -2146827895; CTL_E_GETNOTSUPPORTED* = -2146827894; CTL_E_PROPERTYNOTFOUND* = -2146827866; CTL_E_INVALIDCLIPBOARDFORMAT* = -2146827828; CTL_E_INVALIDPICTURE* = -2146827807; CTL_E_PRINTERERROR* = -2146827806; CTL_E_CANTSAVEFILETOTEMP* = -2146827553; CTL_E_SEARCHTEXTNOTFOUND* = -2146827544; CTL_E_REPLACEMENTSTOOLONG* = -2146827542; CTL_E_CUSTOM_FIRST* = -2146827688; CLASS_E_NOTLICENSED* = -2147221230; CONNECT_E_FIRST* = -2147220992; CONNECT_E_LAST* = -2147220977; CONNECT_S_FIRST* = 262656; CONNECT_S_LAST* = 262671; CONNECT_E_NOCONNECTION* = -2147220992; CONNECT_E_ADVISELIMIT* = -2147220991; CONNECT_E_CANNOTCONNECT* = -2147220990; CONNECT_E_OVERRIDDEN* = -2147220989; SELFREG_E_FIRST* = -2147220992; SELFREG_E_LAST* = -2147220977; SELFREG_S_FIRST* = 262656; SELFREG_S_LAST* = 262671; SELFREG_E_TYPELIB* = -2147220992; SELFREG_E_CLASS* = -2147220991; PERPROP_E_FIRST* = -2147220992; PERPROP_E_LAST* = -2147220977; PERPROP_S_FIRST* = 262656; PERPROP_S_LAST* = 262671; PERPROP_E_NOPAGEAVAILABLE* = -2147220992; OLEMISC_INVISIBLEATRUNTIME* = {10}; OLEMISC_ALWAYSRUN* = {11}; OLEMISC_ACTSLIKEBUTTON* = {12}; OLEMISC_ACTSLIKELABEL* = {13}; OLEMISC_NOUIACTIVATE* = {14}; OLEMISC_ALIGNABLE* = {15}; OLEMISC_SIMPLEFRAME* = {16}; OLEMISC_SETCLIENTSITEFIRST* = {17}; OLEMISC_IMEMODE* = {18}; OLEMISC_WANTSTOMENUMERGE* = {19}; OLEIVERB_PROPERTIES* = -7; VT_STREAMED_PROPSET* = 73; VT_STORED_PROPSET* = 74; VT_BLOB_PROPSET* = 75; VT_VERBOSE_ENUM* = 76; VT_COLOR* = 3; VT_XPOS_PIXELS* = 3; VT_YPOS_PIXELS* = 3; VT_XSIZE_PIXELS* = 3; VT_YSIZE_PIXELS* = 3; VT_XPOS_HIMETRIC* = 3; VT_YPOS_HIMETRIC* = 3; VT_XSIZE_HIMETRIC* = 3; VT_YSIZE_HIMETRIC* = 3; VT_TRISTATE* = 2; VT_OPTEXCLUSIVE* = 11; VT_FONT* = 9; VT_PICTURE* = 9; VT_HANDLE* = 3; OCM__BASE* = 8192; OCM_COMMAND* = 8465; OCM_CTLCOLORBTN* = 8501; OCM_CTLCOLOREDIT* = 8499; OCM_CTLCOLORDLG* = 8502; OCM_CTLCOLORLISTBOX* = 8500; OCM_CTLCOLORMSGBOX* = 8498; OCM_CTLCOLORSCROLLBAR* = 8503; OCM_CTLCOLORSTATIC* = 8504; OCM_DRAWITEM* = 8235; OCM_MEASUREITEM* = 8236; OCM_DELETEITEM* = 8237; OCM_VKEYTOITEM* = 8238; OCM_CHARTOITEM* = 8239; OCM_COMPAREITEM* = 8249; OCM_HSCROLL* = 8468; OCM_VSCROLL* = 8469; OCM_PARENTNOTIFY* = 8720; OCM_NOTIFY* = 8270; CTRLINFO_EATS_RETURN* = 1; CTRLINFO_EATS_ESCAPE* = 2; XFORMCOORDS_POSITION* = 1; XFORMCOORDS_SIZE* = 2; XFORMCOORDS_HIMETRICTOCONTAINER* = 4; XFORMCOORDS_CONTAINERTOHIMETRIC* = 8; GUIDKIND_DEFAULT_SOURCE_DISP_IID* = 1; PROPPAGESTATUS_DIRTY* = 1; PROPPAGESTATUS_VALIDATE* = 2; PICTURE_SCALABLE* = 1; PICTURE_TRANSPARENT* = 2; PICTYPE_UNINITIALIZED* = -1; PICTYPE_NONE* = 0; PICTYPE_BITMAP* = 1; PICTYPE_METAFILE* = 2; PICTYPE_ICON* = 3; PICTYPE_ENHMETAFILE* = 4; DISPID_AUTOSIZE* = -500; DISPID_BACKCOLOR* = -501; DISPID_BACKSTYLE* = -502; DISPID_BORDERCOLOR* = -503; DISPID_BORDERSTYLE* = -504; DISPID_BORDERWIDTH* = -505; DISPID_DRAWMODE* = -507; DISPID_DRAWSTYLE* = -508; DISPID_DRAWWIDTH* = -509; DISPID_FILLCOLOR* = -510; DISPID_FILLSTYLE* = -511; DISPID_FONT* = -512; DISPID_FORECOLOR* = -513; DISPID_ENABLED* = -514; DISPID_HWND* = -515; DISPID_TABSTOP* = -516; DISPID_TEXT* = -517; DISPID_CAPTION* = -518; DISPID_BORDERVISIBLE* = -519; DISPID_APPEARANCE* = -520; DISPID_REFRESH* = -550; DISPID_DOCLICK* = -551; DISPID_ABOUTBOX* = -552; DISPID_CLICK* = -600; DISPID_DBLCLICK* = -601; DISPID_KEYDOWN* = -602; DISPID_KEYPRESS* = -603; DISPID_KEYUP* = -604; DISPID_MOUSEDOWN* = -605; DISPID_MOUSEMOVE* = -606; DISPID_MOUSEUP* = -607; DISPID_ERROREVENT* = -608; DISPID_AMBIENT_BACKCOLOR* = -701; DISPID_AMBIENT_DISPLAYNAME* = -702; DISPID_AMBIENT_FONT* = -703; DISPID_AMBIENT_FORECOLOR* = -704; DISPID_AMBIENT_LOCALEID* = -705; DISPID_AMBIENT_MESSAGEREFLECT* = -706; DISPID_AMBIENT_SCALEUNITS* = -707; DISPID_AMBIENT_TEXTALIGN* = -708; DISPID_AMBIENT_USERMODE* = -709; DISPID_AMBIENT_UIDEAD* = -710; DISPID_AMBIENT_SHOWGRABHANDLES* = -711; DISPID_AMBIENT_SHOWHATCHING* = -712; DISPID_AMBIENT_DISPLAYASDEFAULT* = -713; DISPID_AMBIENT_SUPPORTSMNEMONICS* = -714; DISPID_AMBIENT_AUTOCLIP* = -715; DISPID_AMBIENT_APPEARANCE* = -716; DISPID_FONT_NAME* = 0; DISPID_FONT_SIZE* = 2; DISPID_FONT_BOLD* = 3; DISPID_FONT_ITALIC* = 4; DISPID_FONT_UNDER* = 5; DISPID_FONT_STRIKE* = 6; DISPID_FONT_WEIGHT* = 7; DISPID_FONT_CHARSET* = 8; DISPID_PICT_HANDLE* = 0; DISPID_PICT_HPAL* = 2; DISPID_PICT_TYPE* = 3; DISPID_PICT_WIDTH* = 4; DISPID_PICT_HEIGHT* = 5; DISPID_PICT_RENDER* = 6; CONST (* enumerations *) CLSID_CFontPropPage* = "{2542F180-3532-1069-A2CD-00AA0034B50B}"; CLSID_CColorPropPage* = "{DDF5A600-B9C0-101A-AF1A-00AA0034B50B}"; CLSID_CPicturePropPage* = "{FC7AF71D-FC74-101A-84ED-08002B2EC713}"; CLSID_PersistPropset* = "{FB8F0821-0164-101B-84ED-08002B2EC713}"; CLSID_ConvertVBX* = "{FB8F0822-0164-101B-84ED-08002B2EC713}"; CLSID_StdFont* = "{FB8F0823-0164-101B-84ED-08002B2EC713}"; CLSID_StdPicture* = "{FB8F0824-0164-101B-84ED-08002B2EC713}"; GUID_HIMETRIC* = "{66504300-BE0F-101A-8BBB-00AA00300CAB}"; GUID_COLOR* = "{66504301-BE0F-101A-8BBB-00AA00300CAB}"; GUID_XPOSPIXEL* = "{66504302-BE0F-101A-8BBB-00AA00300CAB}"; GUID_YPOSPIXEL* = "{66504303-BE0F-101A-8BBB-00AA00300CAB}"; GUID_XSIZEPIXEL* = "{66504304-BE0F-101A-8BBB-00AA00300CAB}"; GUID_YSIZEPIXEL* = "{66504305-BE0F-101A-8BBB-00AA00300CAB}"; GUID_XPOS* = "{66504306-BE0F-101A-8BBB-00AA00300CAB}"; GUID_YPOS* = "{66504307-BE0F-101A-8BBB-00AA00300CAB}"; GUID_XSIZE* = "{66504308-BE0F-101A-8BBB-00AA00300CAB}"; GUID_YSIZE* = "{66504309-BE0F-101A-8BBB-00AA00300CAB}"; GUID_TRISTATE* = "{6650430A-BE0F-101A-8BBB-00AA00300CAB}"; GUID_OPTIONVALUEEXCLUSIVE* = "{6650430B-BE0F-101A-8BBB-00AA00300CAB}"; GUID_CHECKVALUEEXCLUSIVE* = "{6650430C-BE0F-101A-8BBB-00AA00300CAB}"; GUID_FONTNAME* = "{6650430D-BE0F-101A-8BBB-00AA00300CAB}"; GUID_FONTSIZE* = "{6650430E-BE0F-101A-8BBB-00AA00300CAB}"; GUID_FONTBOLD* = "{6650430F-BE0F-101A-8BBB-00AA00300CAB}"; GUID_FONTITALIC* = "{66504310-BE0F-101A-8BBB-00AA00300CAB}"; GUID_FONTUNDERSCORE* = "{66504311-BE0F-101A-8BBB-00AA00300CAB}"; GUID_FONTSTRIKETHROUGH* = "{66504312-BE0F-101A-8BBB-00AA00300CAB}"; GUID_HANDLE* = "{66504313-BE0F-101A-8BBB-00AA00300CAB}"; triUnchecked* = 0; triChecked* = 1; triGray* = 2; TYPE TEXTMETRICOLE* = WinApi.TEXTMETRICW; PtrTEXTMETRICOLE* = WinApi.PtrTEXTMETRICW; OLE_COLOR* = INTEGER; OLE_XPOS_PIXELS* = INTEGER; OLE_YPOS_PIXELS* = INTEGER; OLE_XSIZE_PIXELS* = INTEGER; OLE_YSIZE_PIXELS* = INTEGER; OLE_XPOS_HIMETRIC* = INTEGER; OLE_YPOS_HIMETRIC* = INTEGER; OLE_XSIZE_HIMETRIC* = INTEGER; OLE_YSIZE_HIMETRIC* = INTEGER; OLE_XPOS_CONTAINER* = SHORTREAL; OLE_YPOS_CONTAINER* = SHORTREAL; OLE_XSIZE_CONTAINER* = SHORTREAL; OLE_YSIZE_CONTAINER* = SHORTREAL; OLE_TRISTATE* = INTEGER; OLE_OPTEXCLUSIVE* = WinOle.VARIANT_BOOL; OLE_CANCELBOOL* = WinOle.VARIANT_BOOL; OLE_ENABLEDEFAULTBOOL* = WinOle.VARIANT_BOOL; OLE_HANDLE* = INTEGER; POINTF* = RECORD [untagged] x*: SHORTREAL; y*: SHORTREAL; END; PtrPOINTF* = POINTER TO POINTF; CONTROLINFO* = RECORD [untagged] cb*: INTEGER; hAccel*: WinApi.HACCEL; cAccel*: SHORTINT; dwFlags*: SET; END; PtrCONTROLINFO* = POINTER TO CONTROLINFO; IOleControl* = POINTER TO ABSTRACT RECORD ["{B196B288-BAB4-101A-B69C-00AA00341D07}"] (COM.IUnknown) END; IOleControlSite* = POINTER TO ABSTRACT RECORD ["{B196B289-BAB4-101A-B69C-00AA00341D07}"] (COM.IUnknown) END; ISimpleFrameSite* = POINTER TO ABSTRACT RECORD ["{742B0E01-14E6-101B-914E-00AA00300CAB}"] (COM.IUnknown) END; IErrorLog* = POINTER TO ABSTRACT RECORD [interface] (COM.IUnknown) END; IPropertyBag* = POINTER TO ABSTRACT RECORD [interface] (COM.IUnknown) END; IPersistPropertyBag* = POINTER TO ABSTRACT RECORD [interface] (WinOle.IPersist) END; IPersistStreamInit* = POINTER TO ABSTRACT RECORD ["{7FD52380-4E07-101B-AE2D-08002B2EC713}"] (WinOle.IPersist) END; IPersistMemory* = POINTER TO ABSTRACT RECORD [interface] (WinOle.IPersist) END; IPropertyNotifySink* = POINTER TO ABSTRACT RECORD ["{9BFBBC02-EFF1-101A-84ED-00AA00341D07}"] (COM.IUnknown) END; IProvideClassInfo* = POINTER TO ABSTRACT RECORD ["{B196B283-BAB4-101A-B69C-00AA00341D07}"] (COM.IUnknown) END; IProvideClassInfo2* = POINTER TO ABSTRACT RECORD ["{A6BC3AC0-DBAA-11CE-9DE3-00AA004BB851}"] (IProvideClassInfo) END; LICINFO* = RECORD [untagged] cbLicInfo*: INTEGER; fRuntimeKeyAvail*: WinApi.BOOL; fLicVerified*: WinApi.BOOL; END; PtrLICINFO* = POINTER TO LICINFO; IClassFactory2* = POINTER TO ABSTRACT RECORD ["{B196B28F-BAB4-101A-B69C-00AA00341D07}"] (WinOle.IClassFactory) END; CAUUID* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF COM.GUID; END; PtrCAUUID* = POINTER TO CAUUID; CALPOLESTR* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.PtrWSTR; END; PtrCALPOLESTR* = POINTER TO CALPOLESTR; CADWORD* = RECORD [untagged] cElems*: INTEGER; pElems*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; END; PtrCADWORD* = POINTER TO CADWORD; OCPFIPARAMS* = RECORD [untagged] cbStructSize*: INTEGER; hWndOwner*: WinApi.HWND; x*: INTEGER; y*: INTEGER; lpszCaption*: WinApi.PtrWSTR; cObjects*: INTEGER; lplpUnk*: POINTER TO (*?*) ARRAY [untagged] OF COM.IUnknown; cPages*: INTEGER; lpPages*: POINTER TO (*?*) ARRAY [untagged] OF COM.GUID; lcid*: WinOle.LCID; dispidInitialProperty*: WinOleAut.DISPID; END; PtrOCPFIPARAMS* = POINTER TO OCPFIPARAMS; PROPPAGEINFO* = RECORD [untagged] cb*: INTEGER; pszTitle*: WinApi.PtrWSTR; size*: WinApi.SIZE; pszDocString*: WinApi.PtrWSTR; pszHelpFile*: WinApi.PtrWSTR; dwHelpContext*: INTEGER; END; PtrPROPPAGEINFO* = POINTER TO PROPPAGEINFO; ISpecifyPropertyPages* = POINTER TO ABSTRACT RECORD ["{B196B28B-BAB4-101A-B69C-00AA00341D07}"] (COM.IUnknown) END; IPerPropertyBrowsing* = POINTER TO ABSTRACT RECORD ["{376BD3AA-3845-101B-84ED-08002B2EC713}"] (COM.IUnknown) END; IPropertyPageSite* = POINTER TO ABSTRACT RECORD ["{B196B28C-BAB4-101A-B69C-00AA00341D07}"] (COM.IUnknown) END; IPropertyPage* = POINTER TO ABSTRACT RECORD ["{B196B28D-BAB4-101A-B69C-00AA00341D07}"] (COM.IUnknown) END; IPropertyPage2* = POINTER TO ABSTRACT RECORD ["{01E44665-24AC-101B-84ED-08002B2EC713}"] (IPropertyPage) END; IFont* = POINTER TO ABSTRACT RECORD ["{BEF6E002-A874-101A-8BBA-00AA00300CAB}"] (COM.IUnknown) END; IFontDisp* = POINTER TO ABSTRACT RECORD ["{BEF6E003-A874-101A-8BBA-00AA00300CAB}"] (WinOleAut.IDispatch) END; FONTDESC* = RECORD [align8] cbSizeofstruct*: INTEGER; lpstrName*: WinApi.PtrWSTR; cySize*: WinApi.CY; sWeight*: SHORTINT; sCharset*: SHORTINT; fItalic*: WinApi.BOOL; fUnderline*: WinApi.BOOL; fStrikethrough*: WinApi.BOOL; END; PtrFONTDESC* = POINTER TO FONTDESC; IPicture* = POINTER TO ABSTRACT RECORD ["{7BF80980-BF32-101A-8BBB-00AA00300CAB}"] (COM.IUnknown) END; IPictureDisp* = POINTER TO ABSTRACT RECORD ["{7BF80981-BF32-101A-8BBB-00AA00300CAB}"] (WinOleAut.IDispatch) END; INTERFACE* = IPictureDisp; PICTDESC* = RECORD [untagged] cbSizeofstruct*: INTEGER; picType*: INTEGER; u*: RECORD [union] bmp*: RECORD [untagged] hbitmap*: WinApi.HBITMAP; hpal*: WinApi.HPALETTE; END; wmf*: RECORD [untagged] hmeta*: WinApi.HMETAFILE; xExt*: INTEGER; yExt*: INTEGER; END; icon*: RECORD [untagged] hicon*: WinApi.HICON; END; emf*: RECORD [untagged] hemf*: WinApi.HENHMETAFILE; END; END; END; PtrPICTDESC* = POINTER TO PICTDESC; PROCEDURE (this: IOleControl) GetControlInfo* (VAR [nil] pCI: CONTROLINFO): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleControl) OnMnemonic* (VAR [nil] pMsg: WinApi.MSG): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleControl) OnAmbientPropertyChange* (dispid: WinOleAut.DISPID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleControl) FreezeEvents* (bFreeze: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleControlSite) OnControlInfoChanged* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleControlSite) LockInPlaceActive* (fLock: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleControlSite) GetExtendedControl* (VAR [nil] ppDisp: WinOleAut.IDispatch): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleControlSite) TransformCoords* (VAR [nil] lpptlHimetric: WinApi.POINT; VAR [nil] lpptfContainer: POINTF; flags: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleControlSite) TranslateAccelerator* (VAR [nil] lpMsg: WinApi.MSG; grfModifiers: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleControlSite) OnFocus* (fGotFocus: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleControlSite) ShowPropertyFrame* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ISimpleFrameSite) PreMessageFilter* (hwnd: WinApi.HWND; msg: INTEGER; wp: WinApi.WPARAM; lp: WinApi.LPARAM; VAR [nil] lplResult: WinApi.LRESULT; VAR [nil] lpdwCookie: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ISimpleFrameSite) PostMessageFilter* (hwnd: WinApi.HWND; msg: INTEGER; wp: WinApi.WPARAM; lp: WinApi.LPARAM; VAR [nil] lplResult: WinApi.LRESULT; dwCookie: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IErrorLog) AddError* (pszPropName: WinApi.PtrWSTR; VAR [nil] pExcepInfo: WinOleAut.EXCEPINFO): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyBag) Read* (pszPropName: WinApi.PtrWSTR; VAR [nil] pVar: WinOleAut.VARIANT; pErrorLog: IErrorLog): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyBag) Write* (pszPropName: WinApi.PtrWSTR; VAR [nil] pVar: WinOleAut.VARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistPropertyBag) InitNew* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistPropertyBag) Load* (pPropBag: IPropertyBag; pErrorLog: IErrorLog): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistPropertyBag) Save* (pPropBag: IPropertyBag; fClearDirty: WinApi.BOOL; fSaveAllProperties: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStreamInit) IsDirty* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStreamInit) Load* (pStm: WinOle.IStream): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStreamInit) Save* (pStm: WinOle.IStream; fClearDirty: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStreamInit) GetSizeMax* (VAR [nil] pcbSize: LONGINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistStreamInit) InitNew* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistMemory) IsDirty* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistMemory) Load* (lpStream: WinApi.PtrVoid; cbSize: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistMemory) Save* (lpStream: WinApi.PtrVoid; fClearDirty: WinApi.BOOL; cbSize: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistMemory) GetSizeMax* (VAR [nil] pcbSize: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPersistMemory) InitNew* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyNotifySink) OnChanged* (dispid: WinOleAut.DISPID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyNotifySink) OnRequestEdit* (dispid: WinOleAut.DISPID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IProvideClassInfo) GetClassInfoA* (VAR [nil] ppTI: WinOleAut.ITypeInfo): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IProvideClassInfo2) GetGUID* (dwGuidKind: INTEGER; VAR [nil] pGUID: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IClassFactory2) GetLicInfo* (VAR [nil] pLicInfo: LICINFO): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IClassFactory2) RequestLicKey* (dwResrved: INTEGER; VAR [nil] pbstrKey: WinOle.BSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IClassFactory2) CreateInstanceLic* (pUnkOuter: COM.IUnknown; pUnkReserved: COM.IUnknown; IN [iid] riid: COM.GUID; bstrKey: WinOle.BSTR; OUT [new] ppvObject: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: ISpecifyPropertyPages) GetPages* (VAR [nil] pPages: CAUUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPerPropertyBrowsing) GetDisplayString* (dispid: WinOleAut.DISPID; VAR [nil] lpbstr: WinOle.BSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPerPropertyBrowsing) MapPropertyToPage* (dispid: WinOleAut.DISPID; VAR [nil] lpclsid: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPerPropertyBrowsing) GetPredefinedStrings* (dispid: WinOleAut.DISPID; VAR [nil] lpcaStringsOut: CALPOLESTR; VAR [nil] lpcaCookiesOut: CADWORD): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPerPropertyBrowsing) GetPredefinedValue* (dispid: WinOleAut.DISPID; dwCookie: INTEGER; VAR [nil] lpvarOut: WinOleAut.VARIANT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPageSite) OnStatusChange* (flags: SET): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPageSite) GetLocaleID* (VAR [nil] pLocaleID: WinOle.LCID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPageSite) GetPageContainer* (VAR [nil] ppUnk: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPageSite) TranslateAccelerator* (VAR [nil] lpMsg: WinApi.MSG): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPage) SetPageSite* (pPageSite: IPropertyPageSite): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPage) Activate* (hwndParent: WinApi.HWND; VAR [nil] lprc: WinApi.RECT; bModal: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPage) Deactivate* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPage) GetPageInfo* (VAR [nil] pPageInfo: PROPPAGEINFO): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPage) SetObjects* (cObjects: INTEGER; VAR [nil] ppunk: COM.IUnknown): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPage) Show* (nCmdShow: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPage) Move* (VAR [nil] prect: WinApi.RECT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPage) IsPageDirty* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPage) Apply* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPage) Help* (lpszHelpDir: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPage) TranslateAccelerator* (VAR [nil] lpMsg: WinApi.MSG): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPropertyPage2) EditProperty* (dispid: WinOleAut.DISPID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) get_Name* (VAR [nil] pname: WinOle.BSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) put_Name* (name: WinOle.BSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) get_Size* (VAR [nil] psize: WinApi.CY): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) put_Size* (size: WinApi.CY): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) get_Bold* (VAR [nil] pbold: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) put_Bold* (bold: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) get_Italic* (VAR [nil] pitalic: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) put_Italic* (italic: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) get_Underline* (VAR [nil] punderline: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) put_Underline* (underline: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) get_Strikethrough* (VAR [nil] pstrikethrough: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) put_Strikethrough* (strikethrough: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) get_Weight* (VAR [nil] pweight: SHORTINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) put_Weight* (weight: SHORTINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) get_Charset* (VAR [nil] pcharset: SHORTINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) put_Charset* (charset: SHORTINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) get_hFont* (VAR [nil] phfont: WinApi.HFONT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) Clone* (VAR [nil] lplpfont: IFont): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) IsEqual* (lpFontOther: IFont): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) SetRatio* (cyLogical: INTEGER; cyHimetric: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) QueryTextMetrics* (VAR [nil] lptm: TEXTMETRICOLE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) AddRefHfont* (hfont: WinApi.HFONT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) ReleaseHfont* (hfont: WinApi.HFONT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IFont) SetHdc* (hdc: WinApi.HDC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPicture) get_Handle* (VAR [nil] phandle: OLE_HANDLE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPicture) get_hPal* (VAR [nil] phpal: OLE_HANDLE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPicture) get_Type* (VAR [nil] ptype: SHORTINT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPicture) get_Width* (VAR [nil] pwidth: OLE_XSIZE_HIMETRIC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPicture) get_Height* (VAR [nil] pheight: OLE_YSIZE_HIMETRIC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPicture) Render* (hdc: WinApi.HDC; x: INTEGER; y: INTEGER; cx: INTEGER; cy: INTEGER; xSrc: OLE_XPOS_HIMETRIC; ySrc: OLE_YPOS_HIMETRIC; cxSrc: OLE_XSIZE_HIMETRIC; cySrc: OLE_YSIZE_HIMETRIC; VAR [nil] lprcWBounds: WinApi.RECT): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPicture) set_hPal* (hpal: OLE_HANDLE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPicture) get_CurDC* (VAR [nil] phdcOut: WinApi.HDC): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPicture) SelectPicture* (hdcIn: WinApi.HDC; VAR [nil] phdcOut: WinApi.HDC; VAR [nil] phbmpOut: OLE_HANDLE): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPicture) get_KeepOriginalFormat* (VAR [nil] pfkeep: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPicture) put_KeepOriginalFormat* (fkeep: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPicture) PictureChanged* (): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPicture) SaveAsFile* (lpstream: WinOle.IStream; fSaveMemCopy: WinApi.BOOL; VAR [nil] lpcbSize: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IPicture) get_Attributes* (VAR [nil] lpdwAttr: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE OleCreatePropertyFrame* (hwndOwner: WinApi.HWND; x: INTEGER; y: INTEGER; lpszCaption: WinApi.PtrWSTR; cObjects: INTEGER; VAR [nil] ppUnk: COM.IUnknown; cPages: INTEGER; VAR [nil] pPageClsID: COM.GUID; lcid: WinOle.LCID; dwReserved: INTEGER; pvReserved: WinApi.PtrVoid): COM.RESULT; PROCEDURE OleCreatePropertyFrameIndirect* (VAR [nil] lpParams: OCPFIPARAMS): COM.RESULT; PROCEDURE OleTranslateColor* (clr: OLE_COLOR; hpal: WinApi.HPALETTE; VAR [nil] lpcolorref: WinApi.COLORREF): COM.RESULT; PROCEDURE OleCreateFontIndirect* (VAR [nil] lpFontDesc: FONTDESC; IN [iid] riid: COM.GUID; OUT [new] lplpvObj: COM.IUnknown): COM.RESULT; PROCEDURE OleCreatePictureIndirect* (VAR [nil] lpPictDesc: PICTDESC; IN [iid] riid: COM.GUID; fOwn: WinApi.BOOL; OUT [new] lplpvObj: COM.IUnknown): COM.RESULT; PROCEDURE OleLoadPicture* (lpstream: WinOle.IStream; lSize: INTEGER; fRunmode: WinApi.BOOL; IN [iid] riid: COM.GUID; OUT [new] lplpvObj: COM.IUnknown): COM.RESULT; PROCEDURE OleIconToCursor* (hinstExe: WinApi.HINSTANCE; hIcon: WinApi.HICON): WinApi.HCURSOR; END WinOleCtl.
Win/Mod/OleCtl.odc
MODULE WinOleDlg ["OLEDLG.dll"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) IMPORT SYSTEM, WinDlg, WinOle, COM, WinApi; CONST (* macros *) IDC_OLEUIHELP* = 99; IDC_IO_CREATENEW* = 2100; IDC_IO_CREATEFROMFILE* = 2101; IDC_IO_LINKFILE* = 2102; IDC_IO_OBJECTTYPELIST* = 2103; IDC_IO_DISPLAYASICON* = 2104; IDC_IO_CHANGEICON* = 2105; IDC_IO_FILE* = 2106; IDC_IO_FILEDISPLAY* = 2107; IDC_IO_RESULTIMAGE* = 2108; IDC_IO_RESULTTEXT* = 2109; IDC_IO_ICONDISPLAY* = 2110; IDC_IO_OBJECTTYPETEXT* = 2111; IDC_IO_FILETEXT* = 2112; IDC_IO_FILETYPE* = 2113; IDC_IO_INSERTCONTROL* = 2114; IDC_IO_ADDCONTROL* = 2115; IDC_IO_CONTROLTYPELIST* = 2116; IDC_PS_PASTE* = 500; IDC_PS_PASTELINK* = 501; IDC_PS_SOURCETEXT* = 502; IDC_PS_PASTELIST* = 503; IDC_PS_PASTELINKLIST* = 504; IDC_PS_DISPLAYLIST* = 505; IDC_PS_DISPLAYASICON* = 506; IDC_PS_ICONDISPLAY* = 507; IDC_PS_CHANGEICON* = 508; IDC_PS_RESULTIMAGE* = 509; IDC_PS_RESULTTEXT* = 510; IDC_CI_GROUP* = 120; IDC_CI_CURRENT* = 121; IDC_CI_CURRENTICON* = 122; IDC_CI_DEFAULT* = 123; IDC_CI_DEFAULTICON* = 124; IDC_CI_FROMFILE* = 125; IDC_CI_FROMFILEEDIT* = 126; IDC_CI_ICONLIST* = 127; IDC_CI_LABEL* = 128; IDC_CI_LABELEDIT* = 129; IDC_CI_BROWSE* = 130; IDC_CI_ICONDISPLAY* = 131; IDC_CV_OBJECTTYPE* = 150; IDC_CV_DISPLAYASICON* = 152; IDC_CV_CHANGEICON* = 153; IDC_CV_ACTIVATELIST* = 154; IDC_CV_CONVERTTO* = 155; IDC_CV_ACTIVATEAS* = 156; IDC_CV_RESULTTEXT* = 157; IDC_CV_CONVERTLIST* = 158; IDC_CV_ICONDISPLAY* = 165; IDC_EL_CHANGESOURCE* = 201; IDC_EL_AUTOMATIC* = 202; IDC_EL_CANCELLINK* = 209; IDC_EL_UPDATENOW* = 210; IDC_EL_OPENSOURCE* = 211; IDC_EL_MANUAL* = 212; IDC_EL_LINKSOURCE* = 216; IDC_EL_LINKTYPE* = 217; IDC_EL_LINKSLISTBOX* = 206; IDC_EL_COL1* = 220; IDC_EL_COL2* = 221; IDC_EL_COL3* = 222; IDC_BZ_RETRY* = 600; IDC_BZ_ICON* = 601; IDC_BZ_MESSAGE1* = 602; IDC_BZ_SWITCHTO* = 604; IDC_UL_METER* = 1029; IDC_UL_STOP* = 1030; IDC_UL_PERCENT* = 1031; IDC_UL_PROGRESS* = 1032; IDC_PU_LINKS* = 900; IDC_PU_TEXT* = 901; IDC_PU_CONVERT* = 902; IDC_PU_ICON* = 908; IDC_GP_OBJECTNAME* = 1009; IDC_GP_OBJECTTYPE* = 1010; IDC_GP_OBJECTSIZE* = 1011; IDC_GP_CONVERT* = 1013; IDC_GP_OBJECTICON* = 1014; IDC_GP_OBJECTLOCATION* = 1022; IDC_VP_PERCENT* = 1000; IDC_VP_CHANGEICON* = 1001; IDC_VP_EDITABLE* = 1002; IDC_VP_ASICON* = 1003; IDC_VP_RELATIVE* = 1005; IDC_VP_SPIN* = 1006; IDC_VP_SCALETXT* = 1034; IDC_VP_ICONDISPLAY* = 1021; IDC_VP_RESULTIMAGE* = 1033; IDC_LP_OPENSOURCE* = 1006; IDC_LP_UPDATENOW* = 1007; IDC_LP_BREAKLINK* = 1008; IDC_LP_LINKSOURCE* = 1012; IDC_LP_CHANGESOURCE* = 1015; IDC_LP_AUTOMATIC* = 1016; IDC_LP_MANUAL* = 1017; IDC_LP_DATE* = 1018; IDC_LP_TIME* = 1019; IDD_INSERTOBJECT* = 1000; IDD_CHANGEICON* = 1001; IDD_CONVERT* = 1002; IDD_PASTESPECIAL* = 1003; IDD_EDITLINKS* = 1004; IDD_BUSY* = 1006; IDD_UPDATELINKS* = 1007; IDD_CHANGESOURCE* = 1009; IDD_INSERTFILEBROWSE* = 1010; IDD_CHANGEICONBROWSE* = 1011; IDD_CONVERTONLY* = 1012; IDD_CHANGESOURCE4* = 1013; IDD_GNRLPROPS* = 1100; IDD_VIEWPROPS* = 1101; IDD_LINKPROPS* = 1102; IDD_CONVERT4* = 1103; IDD_CONVERTONLY4* = 1104; IDD_EDITLINKS4* = 1105; IDD_GNRLPROPS4* = 1106; IDD_LINKPROPS4* = 1107; IDD_PASTESPECIAL4* = 1108; IDD_CANNOTUPDATELINK* = 1008; IDD_LINKSOURCEUNAVAILABLE* = 1020; IDD_SERVERNOTFOUND* = 1023; IDD_OUTOFMEMORY* = 1024; IDD_SERVERNOTREGW* = 1021; IDD_LINKTYPECHANGEDW* = 1022; IDD_SERVERNOTREGA* = 1025; IDD_LINKTYPECHANGEDA* = 1026; IDD_SERVERNOTREG* = 1025; IDD_LINKTYPECHANGED* = 1026; OLESTDDELIM* = "\"; SZOLEUI_MSG_HELP* = "OLEUI_MSG_HELP"; SZOLEUI_MSG_ENDDIALOG* = "OLEUI_MSG_ENDDIALOG"; SZOLEUI_MSG_BROWSE* = "OLEUI_MSG_BROWSE"; SZOLEUI_MSG_CHANGEICON* = "OLEUI_MSG_CHANGEICON"; SZOLEUI_MSG_CLOSEBUSYDIALOG* = "OLEUI_MSG_CLOSEBUSYDIALOG"; SZOLEUI_MSG_CONVERT* = "OLEUI_MSG_CONVERT"; SZOLEUI_MSG_CHANGESOURCE* = "OLEUI_MSG_CHANGESOURCE"; SZOLEUI_MSG_ADDCONTROL* = "OLEUI_MSG_ADDCONTROL"; SZOLEUI_MSG_BROWSE_OFN* = "OLEUI_MSG_BROWSE_OFN"; ID_BROWSE_CHANGEICON* = 1; ID_BROWSE_INSERTFILE* = 2; ID_BROWSE_ADDCONTROL* = 3; ID_BROWSE_CHANGESOURCE* = 4; OLEUI_FALSE* = 0; OLEUI_SUCCESS* = 1; OLEUI_OK* = 1; OLEUI_CANCEL* = 2; OLEUI_ERR_STANDARDMIN* = 100; OLEUI_ERR_OLEMEMALLOC* = 100; OLEUI_ERR_STRUCTURENULL* = 101; OLEUI_ERR_STRUCTUREINVALID* = 102; OLEUI_ERR_CBSTRUCTINCORRECT* = 103; OLEUI_ERR_HWNDOWNERINVALID* = 104; OLEUI_ERR_LPSZCAPTIONINVALID* = 105; OLEUI_ERR_LPFNHOOKINVALID* = 106; OLEUI_ERR_HINSTANCEINVALID* = 107; OLEUI_ERR_LPSZTEMPLATEINVALID* = 108; OLEUI_ERR_HRESOURCEINVALID* = 109; OLEUI_ERR_FINDTEMPLATEFAILURE* = 110; OLEUI_ERR_LOADTEMPLATEFAILURE* = 111; OLEUI_ERR_DIALOGFAILURE* = 112; OLEUI_ERR_LOCALMEMALLOC* = 113; OLEUI_ERR_GLOBALMEMALLOC* = 114; OLEUI_ERR_LOADSTRING* = 115; OLEUI_ERR_STANDARDMAX* = 116; IOF_SHOWHELP* = {0}; IOF_SELECTCREATENEW* = {1}; IOF_SELECTCREATEFROMFILE* = {2}; IOF_CHECKLINK* = {3}; IOF_CHECKDISPLAYASICON* = {4}; IOF_CREATENEWOBJECT* = {5}; IOF_CREATEFILEOBJECT* = {6}; IOF_CREATELINKOBJECT* = {7}; IOF_DISABLELINK* = {8}; IOF_VERIFYSERVERSEXIST* = {9}; IOF_DISABLEDISPLAYASICON* = {10}; IOF_HIDECHANGEICON* = {11}; IOF_SHOWINSERTCONTROL* = {12}; IOF_SELECTCREATECONTROL* = {13}; OLEUI_IOERR_LPSZFILEINVALID* = 116; OLEUI_IOERR_LPSZLABELINVALID* = 117; OLEUI_IOERR_HICONINVALID* = 118; OLEUI_IOERR_LPFORMATETCINVALID* = 119; OLEUI_IOERR_PPVOBJINVALID* = 120; OLEUI_IOERR_LPIOLECLIENTSITEINVALID* = 121; OLEUI_IOERR_LPISTORAGEINVALID* = 122; OLEUI_IOERR_SCODEHASERROR* = 123; OLEUI_IOERR_LPCLSIDEXCLUDEINVALID* = 124; OLEUI_IOERR_CCHFILEINVALID* = 125; PS_MAXLINKTYPES* = 8; PSF_SHOWHELP* = {0}; PSF_SELECTPASTE* = {1}; PSF_SELECTPASTELINK* = {2}; PSF_CHECKDISPLAYASICON* = {3}; PSF_DISABLEDISPLAYASICON* = {4}; PSF_HIDECHANGEICON* = {5}; PSF_STAYONCLIPBOARDCHANGE* = {6}; PSF_NOREFRESHDATAOBJECT* = {7}; OLEUI_IOERR_SRCDATAOBJECTINVALID* = 116; OLEUI_IOERR_ARRPASTEENTRIESINVALID* = 117; OLEUI_IOERR_ARRLINKTYPESINVALID* = 118; OLEUI_PSERR_CLIPBOARDCHANGED* = 119; OLEUI_PSERR_GETCLIPBOARDFAILED* = 120; OLEUI_ELERR_LINKCNTRNULL* = 116; OLEUI_ELERR_LINKCNTRINVALID* = 117; ELF_SHOWHELP* = {0}; ELF_DISABLEUPDATENOW* = {1}; ELF_DISABLEOPENSOURCE* = {2}; ELF_DISABLECHANGESOURCE* = {3}; ELF_DISABLECANCELLINK* = {4}; CIF_SHOWHELP* = {0}; CIF_SELECTCURRENT* = {1}; CIF_SELECTDEFAULT* = {2}; CIF_SELECTFROMFILE* = {3}; CIF_USEICONEXE* = {4}; OLEUI_CIERR_MUSTHAVECLSID* = 116; OLEUI_CIERR_MUSTHAVECURRENTMETAFILE* = 117; OLEUI_CIERR_SZICONEXEINVALID* = 118; PROP_HWND_CHGICONDLG* = "HWND_CIDLG"; CF_SHOWHELPBUTTON* = {0}; CF_SETCONVERTDEFAULT* = {1}; CF_SETACTIVATEDEFAULT* = {2}; CF_SELECTCONVERTTO* = {3}; CF_SELECTACTIVATEAS* = {4}; CF_DISABLEDISPLAYASICON* = {5}; CF_DISABLEACTIVATEAS* = {6}; CF_HIDECHANGEICON* = {7}; CF_CONVERTONLY* = {8}; OLEUI_CTERR_CLASSIDINVALID* = 117; OLEUI_CTERR_DVASPECTINVALID* = 118; OLEUI_CTERR_CBFORMATINVALID* = 119; OLEUI_CTERR_HMETAPICTINVALID* = 120; OLEUI_CTERR_STRINGINVALID* = 121; BZ_DISABLECANCELBUTTON* = {0}; BZ_DISABLESWITCHTOBUTTON* = {1}; BZ_DISABLERETRYBUTTON* = {2}; BZ_NOTRESPONDINGDIALOG* = {3}; OLEUI_BZERR_HTASKINVALID* = 116; OLEUI_BZ_SWITCHTOSELECTED* = 117; OLEUI_BZ_RETRYSELECTED* = 118; OLEUI_BZ_CALLUNBLOCKED* = 119; CSF_SHOWHELP* = {0}; CSF_VALIDSOURCE* = {1}; CSF_ONLYGETSOURCE* = {2}; CSF_EXPLORER* = {3}; OLEUI_CSERR_LINKCNTRNULL* = 116; OLEUI_CSERR_LINKCNTRINVALID* = 117; OLEUI_CSERR_FROMNOTNULL* = 118; OLEUI_CSERR_TONOTNULL* = 119; OLEUI_CSERR_SOURCENULL* = 120; OLEUI_CSERR_SOURCEINVALID* = 121; OLEUI_CSERR_SOURCEPARSERROR* = 122; OLEUI_CSERR_SOURCEPARSEERROR* = 122; VPF_SELECTRELATIVE* = {0}; VPF_DISABLERELATIVE* = {1}; VPF_DISABLESCALE* = {2}; OPF_OBJECTISLINK* = {0}; OPF_NOFILLDEFAULT* = {1}; OPF_SHOWHELP* = {2}; OPF_DISABLECONVERT* = {3}; OLEUI_OPERR_SUBPROPNULL* = 116; OLEUI_OPERR_SUBPROPINVALID* = 117; OLEUI_OPERR_PROPSHEETNULL* = 118; OLEUI_OPERR_PROPSHEETINVALID* = 119; OLEUI_OPERR_SUPPROP* = 120; OLEUI_OPERR_PROPSINVALID* = 121; OLEUI_OPERR_PAGESINCORRECT* = 122; OLEUI_OPERR_INVALIDPAGES* = 123; OLEUI_OPERR_NOTSUPPORTED* = 124; OLEUI_OPERR_DLGPROCNOTNULL* = 125; OLEUI_OPERR_LPARAMNOTZERO* = 126; OLEUI_GPERR_STRINGINVALID* = 127; OLEUI_GPERR_CLASSIDINVALID* = 128; OLEUI_GPERR_LPCLSIDEXCLUDEINVALID* = 129; OLEUI_GPERR_CBFORMATINVALID* = 130; OLEUI_VPERR_METAPICTINVALID* = 131; OLEUI_VPERR_DVASPECTINVALID* = 132; OLEUI_LPERR_LINKCNTRNULL* = 133; OLEUI_LPERR_LINKCNTRINVALID* = 134; OLEUI_OPERR_PROPERTYSHEET* = 135; OLEUI_OPERR_OBJINFOINVALID* = 136; OLEUI_OPERR_LINKINFOINVALID* = 137; OLEUI_QUERY_GETCLASSID* = 65280; OLEUI_QUERY_LINKBROKEN* = 65281; CONST (* enumerations *) OLEUIPASTE_ENABLEICON* = {11}; OLEUIPASTE_PASTEONLY* = {}; OLEUIPASTE_PASTE* = {9}; OLEUIPASTE_LINKANYTYPE* = {10}; OLEUIPASTE_LINKTYPE1* = {0}; OLEUIPASTE_LINKTYPE2* = {1}; OLEUIPASTE_LINKTYPE3* = {2}; OLEUIPASTE_LINKTYPE4* = {3}; OLEUIPASTE_LINKTYPE5* = {4}; OLEUIPASTE_LINKTYPE6* = {5}; OLEUIPASTE_LINKTYPE7* = {6}; OLEUIPASTE_LINKTYPE8* = {7}; TYPE FNOLEUIHOOK* = PROCEDURE (p0: WinApi.HWND; p1: INTEGER; p2: WinApi.WPARAM; p3: WinApi.LPARAM): INTEGER; OLEUIINSERTOBJECTW* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; hWndOwner*: WinApi.HWND; lpszCaption*: WinApi.PtrWSTR; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; hInstance*: WinApi.HINSTANCE; lpszTemplate*: WinApi.PtrWSTR; hResource*: WinApi.HRSRC; clsid*: COM.GUID; lpszFile*: WinApi.PtrWSTR; cchFile*: INTEGER; cClsidExclude*: INTEGER; lpClsidExclude*: POINTER TO (*?*) ARRAY [untagged] OF COM.GUID; iid*: COM.GUID; oleRender*: INTEGER; lpFormatEtc*: WinOle.PtrFORMATETC; lpIOleClientSite*: WinOle.IOleClientSite; lpIStorage*: WinOle.IStorage; ppvObj*: INTEGER; sc*: COM.RESULT; hMetaPict*: WinApi.HGLOBAL; END; PtrOLEUIINSERTOBJECTW* = POINTER TO OLEUIINSERTOBJECTW; OLEUIINSERTOBJECTA* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; hWndOwner*: WinApi.HWND; lpszCaption*: WinApi.PtrSTR; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; hInstance*: WinApi.HINSTANCE; lpszTemplate*: WinApi.PtrSTR; hResource*: WinApi.HRSRC; clsid*: COM.GUID; lpszFile*: WinApi.PtrSTR; cchFile*: INTEGER; cClsidExclude*: INTEGER; lpClsidExclude*: POINTER TO (*?*) ARRAY [untagged] OF COM.GUID; iid*: COM.GUID; oleRender*: INTEGER; lpFormatEtc*: WinOle.PtrFORMATETC; lpIOleClientSite*: WinOle.IOleClientSite; lpIStorage*: WinOle.IStorage; ppvObj*: INTEGER; sc*: COM.RESULT; hMetaPict*: WinApi.HGLOBAL; END; PtrOLEUIINSERTOBJECTA* = POINTER TO OLEUIINSERTOBJECTA; tagOLEUIINSERTOBJECT* = OLEUIINSERTOBJECTA; (*m*) PtrtagOLEUIINSERTOBJECT* = PtrOLEUIINSERTOBJECTA; OLEUIINSERTOBJECT* = OLEUIINSERTOBJECTA; (*m*) PtrOLEUIINSERTOBJECT* = PtrOLEUIINSERTOBJECTA; OLEUIPASTEFLAG* = INTEGER; OLEUIPASTEENTRYW* = RECORD [untagged] fmtetc*: WinOle.FORMATETC; lpstrFormatName*: WinApi.PtrWSTR; lpstrResultText*: WinApi.PtrWSTR; dwFlags*: SET; dwScratchSpace*: INTEGER; END; PtrOLEUIPASTEENTRYW* = POINTER TO OLEUIPASTEENTRYW; OLEUIPASTEENTRYA* = RECORD [untagged] fmtetc*: WinOle.FORMATETC; lpstrFormatName*: WinApi.PtrSTR; lpstrResultText*: WinApi.PtrSTR; dwFlags*: SET; dwScratchSpace*: INTEGER; END; PtrOLEUIPASTEENTRYA* = POINTER TO OLEUIPASTEENTRYA; tagOLEUIPASTEENTRY* = OLEUIPASTEENTRYA; (*m*) PtrtagOLEUIPASTEENTRY* = PtrOLEUIPASTEENTRYA; OLEUIPASTEENTRY* = OLEUIPASTEENTRYA; (*m*) PtrOLEUIPASTEENTRY* = PtrOLEUIPASTEENTRYA; OLEUIPASTESPECIALW* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; hWndOwner*: WinApi.HWND; lpszCaption*: WinApi.PtrWSTR; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; hInstance*: WinApi.HINSTANCE; lpszTemplate*: WinApi.PtrWSTR; hResource*: WinApi.HRSRC; lpSrcDataObj*: WinOle.IDataObject; arrPasteEntries*: PtrOLEUIPASTEENTRYW; cPasteEntries*: INTEGER; arrLinkTypes*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; cLinkTypes*: INTEGER; cClsidExclude*: INTEGER; lpClsidExclude*: POINTER TO (*?*) ARRAY [untagged] OF COM.GUID; nSelectedIndex*: INTEGER; fLink*: WinApi.BOOL; hMetaPict*: WinApi.HGLOBAL; sizel*: WinApi.SIZE; END; PtrOLEUIPASTESPECIALW* = POINTER TO OLEUIPASTESPECIALW; OLEUIPASTESPECIALA* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; hWndOwner*: WinApi.HWND; lpszCaption*: WinApi.PtrSTR; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; hInstance*: WinApi.HINSTANCE; lpszTemplate*: WinApi.PtrSTR; hResource*: WinApi.HRSRC; lpSrcDataObj*: WinOle.IDataObject; arrPasteEntries*: PtrOLEUIPASTEENTRYA; cPasteEntries*: INTEGER; arrLinkTypes*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; cLinkTypes*: INTEGER; cClsidExclude*: INTEGER; lpClsidExclude*: POINTER TO (*?*) ARRAY [untagged] OF COM.GUID; nSelectedIndex*: INTEGER; fLink*: WinApi.BOOL; hMetaPict*: WinApi.HGLOBAL; sizel*: WinApi.SIZE; END; PtrOLEUIPASTESPECIALA* = POINTER TO OLEUIPASTESPECIALA; tagOLEUIPASTESPECIAL* = OLEUIPASTESPECIALA; (*m*) PtrtagOLEUIPASTESPECIAL* = PtrOLEUIPASTESPECIALA; OLEUIPASTESPECIAL* = OLEUIPASTESPECIALA; (*m*) PtrOLEUIPASTESPECIAL* = PtrOLEUIPASTESPECIALA; IOleUILinkContainerW* = POINTER TO ABSTRACT RECORD [interface] (COM.IUnknown) END; IOleUILinkContainerA* = POINTER TO ABSTRACT RECORD [interface] (COM.IUnknown) END; IOleUILinkContainer* = IOleUILinkContainerA; OLEUIEDITLINKSW* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; hWndOwner*: WinApi.HWND; lpszCaption*: WinApi.PtrWSTR; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; hInstance*: WinApi.HINSTANCE; lpszTemplate*: WinApi.PtrWSTR; hResource*: WinApi.HRSRC; lpOleUILinkContainer*: IOleUILinkContainerW; END; PtrOLEUIEDITLINKSW* = POINTER TO OLEUIEDITLINKSW; OLEUIEDITLINKSA* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; hWndOwner*: WinApi.HWND; lpszCaption*: WinApi.PtrSTR; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; hInstance*: WinApi.HINSTANCE; lpszTemplate*: WinApi.PtrSTR; hResource*: WinApi.HRSRC; lpOleUILinkContainer*: IOleUILinkContainerA; END; PtrOLEUIEDITLINKSA* = POINTER TO OLEUIEDITLINKSA; tagOLEUIEDITLINKS* = OLEUIEDITLINKSA; (*m*) PtrtagOLEUIEDITLINKS* = PtrOLEUIEDITLINKSA; OLEUIEDITLINKS* = OLEUIEDITLINKSA; (*m*) PtrOLEUIEDITLINKS* = PtrOLEUIEDITLINKSA; OLEUICHANGEICONW* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; hWndOwner*: WinApi.HWND; lpszCaption*: WinApi.PtrWSTR; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; hInstance*: WinApi.HINSTANCE; lpszTemplate*: WinApi.PtrWSTR; hResource*: WinApi.HRSRC; hMetaPict*: WinApi.HGLOBAL; clsid*: COM.GUID; szIconExe*: ARRAY [untagged] 260 OF CHAR; cchIconExe*: INTEGER; END; PtrOLEUICHANGEICONW* = POINTER TO OLEUICHANGEICONW; OLEUICHANGEICONA* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; hWndOwner*: WinApi.HWND; lpszCaption*: WinApi.PtrSTR; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; hInstance*: WinApi.HINSTANCE; lpszTemplate*: WinApi.PtrSTR; hResource*: WinApi.HRSRC; hMetaPict*: WinApi.HGLOBAL; clsid*: COM.GUID; szIconExe*: ARRAY [untagged] 260 OF SHORTCHAR; cchIconExe*: INTEGER; END; PtrOLEUICHANGEICONA* = POINTER TO OLEUICHANGEICONA; tagOLEUICHANGEICON* = OLEUICHANGEICONA; (*m*) PtrtagOLEUICHANGEICON* = PtrOLEUICHANGEICONA; OLEUICHANGEICON* = OLEUICHANGEICONA; (*m*) PtrOLEUICHANGEICON* = PtrOLEUICHANGEICONA; OLEUICONVERTW* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; hWndOwner*: WinApi.HWND; lpszCaption*: WinApi.PtrWSTR; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; hInstance*: WinApi.HINSTANCE; lpszTemplate*: WinApi.PtrWSTR; hResource*: WinApi.HRSRC; clsid*: COM.GUID; clsidConvertDefault*: COM.GUID; clsidActivateDefault*: COM.GUID; clsidNew*: COM.GUID; dvAspect*: SET; wFormat*: SHORTINT; fIsLinkedObject*: WinApi.BOOL; hMetaPict*: WinApi.HGLOBAL; lpszUserType*: WinApi.PtrWSTR; fObjectsIconChanged*: WinApi.BOOL; lpszDefLabel*: WinApi.PtrWSTR; cClsidExclude*: INTEGER; lpClsidExclude*: POINTER TO (*?*) ARRAY [untagged] OF COM.GUID; END; PtrOLEUICONVERTW* = POINTER TO OLEUICONVERTW; OLEUICONVERTA* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; hWndOwner*: WinApi.HWND; lpszCaption*: WinApi.PtrSTR; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; hInstance*: WinApi.HINSTANCE; lpszTemplate*: WinApi.PtrSTR; hResource*: WinApi.HRSRC; clsid*: COM.GUID; clsidConvertDefault*: COM.GUID; clsidActivateDefault*: COM.GUID; clsidNew*: COM.GUID; dvAspect*: SET; wFormat*: SHORTINT; fIsLinkedObject*: WinApi.BOOL; hMetaPict*: WinApi.HGLOBAL; lpszUserType*: WinApi.PtrSTR; fObjectsIconChanged*: WinApi.BOOL; lpszDefLabel*: WinApi.PtrSTR; cClsidExclude*: INTEGER; lpClsidExclude*: POINTER TO (*?*) ARRAY [untagged] OF COM.GUID; END; PtrOLEUICONVERTA* = POINTER TO OLEUICONVERTA; tagOLEUICONVERT* = OLEUICONVERTA; (*m*) PtrtagOLEUICONVERT* = PtrOLEUICONVERTA; OLEUICONVERT* = OLEUICONVERTA; (*m*) PtrOLEUICONVERT* = PtrOLEUICONVERTA; OLEUIBUSYW* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; hWndOwner*: WinApi.HWND; lpszCaption*: WinApi.PtrWSTR; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; hInstance*: WinApi.HINSTANCE; lpszTemplate*: WinApi.PtrWSTR; hResource*: WinApi.HRSRC; hTask*: WinApi.HTASK; lphWndDialog*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.HWND; END; PtrOLEUIBUSYW* = POINTER TO OLEUIBUSYW; OLEUIBUSYA* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; hWndOwner*: WinApi.HWND; lpszCaption*: WinApi.PtrSTR; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; hInstance*: WinApi.HINSTANCE; lpszTemplate*: WinApi.PtrSTR; hResource*: WinApi.HRSRC; hTask*: WinApi.HTASK; lphWndDialog*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.HWND; END; PtrOLEUIBUSYA* = POINTER TO OLEUIBUSYA; tagOLEUIBUSY* = OLEUIBUSYA; (*m*) PtrtagOLEUIBUSY* = PtrOLEUIBUSYA; OLEUIBUSY* = OLEUIBUSYA; (*m*) PtrOLEUIBUSY* = PtrOLEUIBUSYA; OLEUICHANGESOURCEW* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; hWndOwner*: WinApi.HWND; lpszCaption*: WinApi.PtrWSTR; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; hInstance*: WinApi.HINSTANCE; lpszTemplate*: WinApi.PtrWSTR; hResource*: WinApi.HRSRC; lpOFN*: WinDlg.PtrOPENFILENAMEW; dwReserved1*: ARRAY [untagged] 4 OF INTEGER; lpOleUILinkContainer*: IOleUILinkContainerW; dwLink*: INTEGER; lpszDisplayName*: WinApi.PtrWSTR; nFileLength*: INTEGER; lpszFrom*: WinApi.PtrWSTR; lpszTo*: WinApi.PtrWSTR; END; PtrOLEUICHANGESOURCEW* = POINTER TO OLEUICHANGESOURCEW; OLEUICHANGESOURCEA* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; hWndOwner*: WinApi.HWND; lpszCaption*: WinApi.PtrSTR; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; hInstance*: WinApi.HINSTANCE; lpszTemplate*: WinApi.PtrSTR; hResource*: WinApi.HRSRC; lpOFN*: WinDlg.PtrOPENFILENAMEA; dwReserved1*: ARRAY [untagged] 4 OF INTEGER; lpOleUILinkContainer*: IOleUILinkContainerA; dwLink*: INTEGER; lpszDisplayName*: WinApi.PtrSTR; nFileLength*: INTEGER; lpszFrom*: WinApi.PtrSTR; lpszTo*: WinApi.PtrSTR; END; PtrOLEUICHANGESOURCEA* = POINTER TO OLEUICHANGESOURCEA; tagOLEUICHANGESOURCE* = OLEUICHANGESOURCEA; (*m*) PtrtagOLEUICHANGESOURCE* = PtrOLEUICHANGESOURCEA; OLEUICHANGESOURCE* = OLEUICHANGESOURCEA; (*m*) PtrOLEUICHANGESOURCE* = PtrOLEUICHANGESOURCEA; IOleUIObjInfoW* = POINTER TO ABSTRACT RECORD [interface] (COM.IUnknown) END; IOleUIObjInfoA* = POINTER TO ABSTRACT RECORD [interface] (COM.IUnknown) END; IOleUIObjInfo* = IOleUIObjInfoA; IOleUILinkInfoW* = POINTER TO ABSTRACT RECORD [interface] (IOleUILinkContainerW) END; IOleUILinkInfoA* = POINTER TO ABSTRACT RECORD [interface] (IOleUILinkContainerA) END; IOleUILinkInfo* = IOleUILinkInfoA; PtrOLEUIOBJECTPROPSW* = POINTER TO OLEUIOBJECTPROPSW; OLEUIGNRLPROPSW* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; dwReserved1*: ARRAY [untagged] 2 OF INTEGER; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; dwReserved2*: ARRAY [untagged] 3 OF INTEGER; lpOP*: PtrOLEUIOBJECTPROPSW; END; PtrOLEUIGNRLPROPSW* = POINTER TO OLEUIGNRLPROPSW; PtrOLEUIOBJECTPROPSA* = POINTER TO OLEUIOBJECTPROPSA; OLEUIGNRLPROPSA* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; dwReserved1*: ARRAY [untagged] 2 OF INTEGER; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; dwReserved2*: ARRAY [untagged] 3 OF INTEGER; lpOP*: PtrOLEUIOBJECTPROPSA; END; PtrOLEUIGNRLPROPSA* = POINTER TO OLEUIGNRLPROPSA; tagOLEUIGNRLPROPS* = OLEUIGNRLPROPSA; (*m*) PtrtagOLEUIGNRLPROPS* = PtrOLEUIGNRLPROPSA; OLEUIGNRLPROPS* = OLEUIGNRLPROPSA; (*m*) PtrOLEUIGNRLPROPS* = PtrOLEUIGNRLPROPSA; OLEUIVIEWPROPSW* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; dwReserved1*: ARRAY [untagged] 2 OF INTEGER; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; dwReserved2*: ARRAY [untagged] 3 OF INTEGER; lpOP*: PtrOLEUIOBJECTPROPSW; nScaleMin*: INTEGER; nScaleMax*: INTEGER; END; PtrOLEUIVIEWPROPSW* = POINTER TO OLEUIVIEWPROPSW; OLEUIVIEWPROPSA* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; dwReserved1*: ARRAY [untagged] 2 OF INTEGER; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; dwReserved2*: ARRAY [untagged] 3 OF INTEGER; lpOP*: PtrOLEUIOBJECTPROPSA; nScaleMin*: INTEGER; nScaleMax*: INTEGER; END; PtrOLEUIVIEWPROPSA* = POINTER TO OLEUIVIEWPROPSA; tagOLEUIVIEWPROPS* = OLEUIVIEWPROPSA; (*m*) PtrtagOLEUIVIEWPROPS* = PtrOLEUIVIEWPROPSA; OLEUIVIEWPROPS* = OLEUIVIEWPROPSA; (*m*) PtrOLEUIVIEWPROPS* = PtrOLEUIVIEWPROPSA; OLEUILINKPROPSW* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; dwReserved1*: ARRAY [untagged] 2 OF INTEGER; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; dwReserved2*: ARRAY [untagged] 3 OF INTEGER; lpOP*: PtrOLEUIOBJECTPROPSW; END; PtrOLEUILINKPROPSW* = POINTER TO OLEUILINKPROPSW; OLEUILINKPROPSA* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; dwReserved1*: ARRAY [untagged] 2 OF INTEGER; lpfnHook*: FNOLEUIHOOK; lCustData*: WinApi.LPARAM; dwReserved2*: ARRAY [untagged] 3 OF INTEGER; lpOP*: PtrOLEUIOBJECTPROPSA; END; PtrOLEUILINKPROPSA* = POINTER TO OLEUILINKPROPSA; tagOLEUILINKPROPS* = OLEUILINKPROPSA; (*m*) PtrtagOLEUILINKPROPS* = PtrOLEUILINKPROPSA; OLEUILINKPROPS* = OLEUILINKPROPSA; (*m*) PtrOLEUILINKPROPS* = PtrOLEUILINKPROPSA; OLEUIOBJECTPROPSW* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; lpPS*: WinApi.PtrPROPSHEETHEADERW; dwObject*: INTEGER; lpObjInfo*: IOleUIObjInfoW; dwLink*: INTEGER; lpLinkInfo*: IOleUILinkInfoW; lpGP*: PtrOLEUIGNRLPROPSW; lpVP*: PtrOLEUIVIEWPROPSW; lpLP*: PtrOLEUILINKPROPSW; END; OLEUIOBJECTPROPSA* = RECORD [untagged] cbStruct*: INTEGER; dwFlags*: SET; lpPS*: WinApi.PtrPROPSHEETHEADERA; dwObject*: INTEGER; lpObjInfo*: IOleUIObjInfoA; dwLink*: INTEGER; lpLinkInfo*: IOleUILinkInfoA; lpGP*: PtrOLEUIGNRLPROPSA; lpVP*: PtrOLEUIVIEWPROPSA; lpLP*: PtrOLEUILINKPROPSA; END; tagOLEUIOBJECTPROPS* = OLEUIOBJECTPROPSA; (*m*) PtrtagOLEUIOBJECTPROPS* = PtrOLEUIOBJECTPROPSA; OLEUIOBJECTPROPS* = OLEUIOBJECTPROPSA; (*m*) PtrOLEUIOBJECTPROPS* = PtrOLEUIOBJECTPROPSA; PROCEDURE (this: IOleUILinkContainerW) GetNextLink* (dwLink: INTEGER): INTEGER, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerW) SetLinkUpdateOptions* (dwLink: INTEGER; dwUpdateOpt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerW) GetLinkUpdateOptions* (dwLink: INTEGER; VAR [nil] lpdwUpdateOpt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerW) SetLinkSource* (dwLink: INTEGER; lpszDisplayName: WinApi.PtrWSTR; lenFileName: INTEGER; VAR [nil] pchEaten: INTEGER; fValidateSource: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerW) GetLinkSource* (dwLink: INTEGER; VAR [nil] lplpszDisplayName: WinApi.PtrWSTR; VAR [nil] lplenFileName: INTEGER; VAR [nil] lplpszFullLinkType: WinApi.PtrWSTR; VAR [nil] lplpszShortLinkType: WinApi.PtrWSTR; VAR [nil] lpfSourceAvailable: WinApi.BOOL; VAR [nil] lpfIsSelected: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerW) OpenLinkSource* (dwLink: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerW) UpdateLink* (dwLink: INTEGER; fErrorMessage: WinApi.BOOL; fReserved: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerW) CancelLink* (dwLink: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerA) GetNextLink* (dwLink: INTEGER): INTEGER, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerA) SetLinkUpdateOptions* (dwLink: INTEGER; dwUpdateOpt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerA) GetLinkUpdateOptions* (dwLink: INTEGER; VAR [nil] lpdwUpdateOpt: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerA) SetLinkSource* (dwLink: INTEGER; lpszDisplayName: WinApi.PtrSTR; lenFileName: INTEGER; VAR [nil] pchEaten: INTEGER; fValidateSource: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerA) GetLinkSource* (dwLink: INTEGER; VAR [nil] lplpszDisplayName: WinApi.PtrSTR; VAR [nil] lplenFileName: INTEGER; VAR [nil] lplpszFullLinkType: WinApi.PtrSTR; VAR [nil] lplpszShortLinkType: WinApi.PtrSTR; VAR [nil] lpfSourceAvailable: WinApi.BOOL; VAR [nil] lpfIsSelected: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerA) OpenLinkSource* (dwLink: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerA) UpdateLink* (dwLink: INTEGER; fErrorMessage: WinApi.BOOL; fReserved: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkContainerA) CancelLink* (dwLink: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUIObjInfoW) GetObjectInfo* (dwObject: INTEGER; VAR [nil] lpdwObjSize: INTEGER; VAR [nil] lplpszLabel: WinApi.PtrWSTR; VAR [nil] lplpszType: WinApi.PtrWSTR; VAR [nil] lplpszShortType: WinApi.PtrWSTR; VAR [nil] lplpszLocation: WinApi.PtrWSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUIObjInfoW) GetConvertInfo* (dwObject: INTEGER; VAR [nil] lpClassID: COM.GUID; VAR [nil] lpwFormat: SHORTINT; VAR [nil] lpConvertDefaultClassID: COM.GUID; VAR [nil] lplpClsidExclude: POINTER TO (*?*) ARRAY [untagged] OF COM.GUID; VAR [nil] lpcClsidExclude: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUIObjInfoW) ConvertObject* (dwObject: INTEGER; IN [nil] clsidNew: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUIObjInfoW) GetViewInfo* (dwObject: INTEGER; VAR [nil] phMetaPict: WinApi.HGLOBAL; VAR [nil] pdvAspect: INTEGER; VAR [nil] pnCurrentScale: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUIObjInfoW) SetViewInfo* (dwObject: INTEGER; hMetaPict: WinApi.HGLOBAL; dvAspect: SET; nCurrentScale: INTEGER; bRelativeToOrig: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUIObjInfoA) GetObjectInfo* (dwObject: INTEGER; VAR [nil] lpdwObjSize: INTEGER; VAR [nil] lplpszLabel: WinApi.PtrSTR; VAR [nil] lplpszType: WinApi.PtrSTR; VAR [nil] lplpszShortType: WinApi.PtrSTR; VAR [nil] lplpszLocation: WinApi.PtrSTR): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUIObjInfoA) GetConvertInfo* (dwObject: INTEGER; VAR [nil] lpClassID: COM.GUID; VAR [nil] lpwFormat: SHORTINT; VAR [nil] lpConvertDefaultClassID: COM.GUID; VAR [nil] lplpClsidExclude: POINTER TO (*?*) ARRAY [untagged] OF COM.GUID; VAR [nil] lpcClsidExclude: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUIObjInfoA) ConvertObject* (dwObject: INTEGER; IN [nil] clsidNew: COM.GUID): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUIObjInfoA) GetViewInfo* (dwObject: INTEGER; VAR [nil] phMetaPict: WinApi.HGLOBAL; VAR [nil] pdvAspect: INTEGER; VAR [nil] pnCurrentScale: INTEGER): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUIObjInfoA) SetViewInfo* (dwObject: INTEGER; hMetaPict: WinApi.HGLOBAL; dvAspect: SET; nCurrentScale: INTEGER; bRelativeToOrig: WinApi.BOOL): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkInfoW) GetLastUpdate* (dwLink: INTEGER; VAR [nil] lpLastUpdate: WinApi.FILETIME): COM.RESULT, NEW, ABSTRACT; PROCEDURE (this: IOleUILinkInfoA) GetLastUpdate* (dwLink: INTEGER; VAR [nil] lpLastUpdate: WinApi.FILETIME): COM.RESULT, NEW, ABSTRACT; PROCEDURE OleUIAddVerbMenuW* (lpOleObj: WinOle.IOleObject; lpszShortType: WinApi.PtrWSTR; hMenu: WinApi.HMENU; uPos: INTEGER; uIDVerbMin: INTEGER; uIDVerbMax: INTEGER; bAddConvert: WinApi.BOOL; idConvert: INTEGER; VAR [nil] lphMenu: WinApi.HMENU): WinApi.BOOL; PROCEDURE OleUIAddVerbMenuA* (lpOleObj: WinOle.IOleObject; lpszShortType: WinApi.PtrSTR; hMenu: WinApi.HMENU; uPos: INTEGER; uIDVerbMin: INTEGER; uIDVerbMax: INTEGER; bAddConvert: WinApi.BOOL; idConvert: INTEGER; VAR [nil] lphMenu: WinApi.HMENU): WinApi.BOOL; PROCEDURE OleUIAddVerbMenu* ["OleUIAddVerbMenuA"] (lpOleObj: WinOle.IOleObject; lpszShortType: WinApi.PtrSTR; hMenu: WinApi.HMENU; uPos: INTEGER; uIDVerbMin: INTEGER; uIDVerbMax: INTEGER; bAddConvert: WinApi.BOOL; idConvert: INTEGER; VAR [nil] lphMenu: WinApi.HMENU): WinApi.BOOL; PROCEDURE OleUIInsertObjectW* (VAR [nil] p0: OLEUIINSERTOBJECTW): INTEGER; PROCEDURE OleUIInsertObjectA* (VAR [nil] p0: OLEUIINSERTOBJECTA): INTEGER; PROCEDURE OleUIInsertObject* ["OleUIInsertObjectA"] (VAR [nil] p0: OLEUIINSERTOBJECTA): INTEGER; PROCEDURE OleUIPasteSpecialW* (VAR [nil] p0: OLEUIPASTESPECIALW): INTEGER; PROCEDURE OleUIPasteSpecialA* (VAR [nil] p0: OLEUIPASTESPECIALA): INTEGER; PROCEDURE OleUIPasteSpecial* ["OleUIPasteSpecialA"] (VAR [nil] p0: OLEUIPASTESPECIALA): INTEGER; PROCEDURE OleUIEditLinksW* (VAR [nil] p0: OLEUIEDITLINKSW): INTEGER; PROCEDURE OleUIEditLinksA* (VAR [nil] p0: OLEUIEDITLINKSA): INTEGER; PROCEDURE OleUIEditLinks* ["OleUIEditLinksA"] (VAR [nil] p0: OLEUIEDITLINKSA): INTEGER; PROCEDURE OleUIChangeIconW* (VAR [nil] p0: OLEUICHANGEICONW): INTEGER; PROCEDURE OleUIChangeIconA* (VAR [nil] p0: OLEUICHANGEICONA): INTEGER; PROCEDURE OleUIChangeIcon* ["OleUIChangeIconA"] (VAR [nil] p0: OLEUICHANGEICONA): INTEGER; PROCEDURE OleUIConvertW* (VAR [nil] p0: OLEUICONVERTW): INTEGER; PROCEDURE OleUIConvertA* (VAR [nil] p0: OLEUICONVERTA): INTEGER; PROCEDURE OleUIConvert* ["OleUIConvertA"] (VAR [nil] p0: OLEUICONVERTA): INTEGER; PROCEDURE OleUICanConvertOrActivateAs* (IN [nil] rClsid: COM.GUID; fIsLinkedObject: WinApi.BOOL; wFormat: SHORTINT): WinApi.BOOL; PROCEDURE OleUIBusyW* (VAR [nil] p0: OLEUIBUSYW): INTEGER; PROCEDURE OleUIBusyA* (VAR [nil] p0: OLEUIBUSYA): INTEGER; PROCEDURE OleUIBusy* ["OleUIBusyA"] (VAR [nil] p0: OLEUIBUSYA): INTEGER; PROCEDURE OleUIChangeSourceW* (VAR [nil] p0: OLEUICHANGESOURCEW): INTEGER; PROCEDURE OleUIChangeSourceA* (VAR [nil] p0: OLEUICHANGESOURCEA): INTEGER; PROCEDURE OleUIChangeSource* ["OleUIChangeSourceA"] (VAR [nil] p0: OLEUICHANGESOURCEA): INTEGER; PROCEDURE OleUIObjectPropertiesW* (VAR [nil] p0: OLEUIOBJECTPROPSW): INTEGER; PROCEDURE OleUIObjectPropertiesA* (VAR [nil] p0: OLEUIOBJECTPROPSA): INTEGER; PROCEDURE OleUIObjectProperties* ["OleUIObjectPropertiesA"] (VAR [nil] p0: OLEUIOBJECTPROPSA): INTEGER; PROCEDURE [ccall] OleUIPromptUserW* (nTemplate: INTEGER; hwndParent: WinApi.HWND): INTEGER; PROCEDURE [ccall] OleUIPromptUserA* (nTemplate: INTEGER; hwndParent: WinApi.HWND): INTEGER; PROCEDURE [ccall] OleUIPromptUser* ["OleUIPromptUserA"] (nTemplate: INTEGER; hwndParent: WinApi.HWND): INTEGER; PROCEDURE OleUIUpdateLinksW* (lpOleUILinkCntr: IOleUILinkContainerW; hwndParent: WinApi.HWND; lpszTitle: WinApi.PtrWSTR; cLinks: INTEGER): WinApi.BOOL; PROCEDURE OleUIUpdateLinksA* (lpOleUILinkCntr: IOleUILinkContainerA; hwndParent: WinApi.HWND; lpszTitle: WinApi.PtrSTR; cLinks: INTEGER): WinApi.BOOL; PROCEDURE OleUIUpdateLinks* ["OleUIUpdateLinksA"] (lpOleUILinkCntr: IOleUILinkContainerA; hwndParent: WinApi.HWND; lpszTitle: WinApi.PtrSTR; cLinks: INTEGER): WinApi.BOOL; END WinOleDlg.
Win/Mod/OleDlg.odc
MODULE WinRpc ["RPCRT4.dll"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) IMPORT SYSTEM, WinOle, COM, WinApi; CONST (* macros *) RPC_C_BINDING_INFINITE_TIMEOUT* = 10; RPC_C_BINDING_MIN_TIMEOUT* = 0; RPC_C_BINDING_DEFAULT_TIMEOUT* = 5; RPC_C_BINDING_MAX_TIMEOUT* = 9; RPC_C_CANCEL_INFINITE_TIMEOUT* = -1; RPC_C_LISTEN_MAX_CALLS_DEFAULT* = 1234; RPC_C_PROTSEQ_MAX_REQS_DEFAULT* = 10; RPC_C_STATS_CALLS_IN* = 0; RPC_C_STATS_CALLS_OUT* = 1; RPC_C_STATS_PKTS_IN* = 2; RPC_C_STATS_PKTS_OUT* = 3; RPC_C_AUTHN_LEVEL_DEFAULT* = 0; RPC_C_AUTHN_LEVEL_NONE* = 1; RPC_C_AUTHN_LEVEL_CONNECT* = 2; RPC_C_AUTHN_LEVEL_CALL* = 3; RPC_C_AUTHN_LEVEL_PKT* = 4; RPC_C_AUTHN_LEVEL_PKT_INTEGRITY* = 5; RPC_C_AUTHN_LEVEL_PKT_PRIVACY* = 6; RPC_C_IMP_LEVEL_ANONYMOUS* = 1; RPC_C_IMP_LEVEL_IDENTIFY* = 2; RPC_C_IMP_LEVEL_IMPERSONATE* = 3; RPC_C_IMP_LEVEL_DELEGATE* = 4; RPC_C_PROTECT_LEVEL_DEFAULT* = 0; RPC_C_PROTECT_LEVEL_NONE* = 1; RPC_C_PROTECT_LEVEL_CONNECT* = 2; RPC_C_PROTECT_LEVEL_CALL* = 3; RPC_C_PROTECT_LEVEL_PKT* = 4; RPC_C_PROTECT_LEVEL_PKT_INTEGRITY* = 5; RPC_C_PROTECT_LEVEL_PKT_PRIVACY* = 6; RPC_C_AUTHN_NONE* = 0; RPC_C_AUTHN_DCE_PRIVATE* = 1; RPC_C_AUTHN_DCE_PUBLIC* = 2; RPC_C_AUTHN_DEC_PUBLIC* = 4; RPC_C_AUTHN_WINNT* = 10; RPC_C_AUTHN_DEFAULT* = -1; SEC_WINNT_AUTH_IDENTITY_ANSI* = 1; SEC_WINNT_AUTH_IDENTITY_UNICODE* = 2; RPC_C_AUTHZ_NONE* = 0; RPC_C_AUTHZ_NAME* = 1; RPC_C_AUTHZ_DCE* = 2; DCE_C_ERROR_STRING_LEN* = 256; RPC_C_EP_ALL_ELTS* = 0; RPC_C_EP_MATCH_BY_IF* = 1; RPC_C_EP_MATCH_BY_OBJ* = 2; RPC_C_EP_MATCH_BY_BOTH* = 3; RPC_C_VERS_ALL* = 1; RPC_C_VERS_COMPATIBLE* = 2; RPC_C_VERS_EXACT* = 3; RPC_C_VERS_MAJOR_ONLY* = 4; RPC_C_VERS_UPTO* = 5; RPC_C_MGMT_INQ_IF_IDS* = 0; RPC_C_MGMT_INQ_PRINC_NAME* = 1; RPC_C_MGMT_INQ_STATS* = 2; RPC_C_MGMT_IS_SERVER_LISTEN* = 3; RPC_C_MGMT_STOP_SERVER_LISTEN* = 4; RPC_C_PARM_MAX_PACKET_LENGTH* = 1; RPC_C_PARM_BUFFER_LENGTH* = 2; RPC_IF_AUTOLISTEN* = 1; RPC_IF_OLE* = 2; RPC_NCA_FLAGS_DEFAULT* = {}; RPC_NCA_FLAGS_IDEMPOTENT* = {0}; RPC_NCA_FLAGS_BROADCAST* = {1}; RPC_NCA_FLAGS_MAYBE* = {2}; RPCFLG_ASYNCHRONOUS* = {30}; RPCFLG_INPUT_SYNCHRONOUS* = {29}; RPC_FLAGS_VALID_BIT* = {15}; TRANSPORT_TYPE_CN* = 1; TRANSPORT_TYPE_DG* = 2; TRANSPORT_TYPE_LPC* = 4; TRANSPORT_TYPE_WMSG* = 8; RPC_C_NS_SYNTAX_DEFAULT* = 0; RPC_C_NS_SYNTAX_DCE* = 3; RPC_C_PROFILE_DEFAULT_ELT* = 0; RPC_C_PROFILE_ALL_ELT* = 1; RPC_C_PROFILE_MATCH_BY_IF* = 2; RPC_C_PROFILE_MATCH_BY_MBR* = 3; RPC_C_PROFILE_MATCH_BY_BOTH* = 4; RPC_C_NS_DEFAULT_EXP_AGE* = -1; RPC_S_OK* = 0; RPC_S_INVALID_ARG* = 87; RPC_S_OUT_OF_MEMORY* = 14; RPC_S_OUT_OF_THREADS* = 164; RPC_S_INVALID_LEVEL* = 87; RPC_S_BUFFER_TOO_SMALL* = 122; RPC_S_INVALID_SECURITY_DESC* = 1338; RPC_S_ACCESS_DENIED* = 5; RPC_S_SERVER_OUT_OF_MEMORY* = 1130; RPC_X_NO_MEMORY* = 14; RPC_X_INVALID_BOUND* = 1734; RPC_X_INVALID_TAG* = 1733; RPC_X_ENUM_VALUE_TOO_LARGE* = 1781; RPC_X_SS_CONTEXT_MISMATCH* = 6; RPC_X_INVALID_BUFFER* = 1784; NDR_CHAR_REP_MASK* = 15; NDR_INT_REP_MASK* = 240; NDR_FLOAT_REP_MASK* = 65280; NDR_LITTLE_ENDIAN* = 16; NDR_BIG_ENDIAN* = 0; NDR_IEEE_FLOAT* = 0; NDR_VAX_FLOAT* = 256; NDR_ASCII_CHAR* = 0; NDR_EBCDIC_CHAR* = 1; NDR_LOCAL_DATA_REPRESENTATION* = 16; NDR_LOCAL_ENDIAN* = 16; cbNDRContext* = 20; USER_MARSHAL_FC_BYTE* = 1; USER_MARSHAL_FC_CHAR* = 2; USER_MARSHAL_FC_SMALL* = 3; USER_MARSHAL_FC_USMALL* = 4; USER_MARSHAL_FC_WCHAR* = 5; USER_MARSHAL_FC_SHORT* = 6; USER_MARSHAL_FC_USHORT* = 7; USER_MARSHAL_FC_LONG* = 8; USER_MARSHAL_FC_ULONG* = 9; USER_MARSHAL_FC_FLOAT* = 10; USER_MARSHAL_FC_HYPER* = 11; USER_MARSHAL_FC_DOUBLE* = 12; CONST (* enumerations *) XLAT_SERVER* = 1; XLAT_CLIENT* = 2; STUB_UNMARSHAL* = 0; STUB_CALL_SERVER* = 1; STUB_MARSHAL* = 2; STUB_CALL_SERVER_NO_HRESULT* = 3; PROXY_CALCSIZE* = 0; PROXY_GETBUFFER* = 1; PROXY_MARSHAL* = 2; PROXY_SENDRECEIVE* = 3; PROXY_UNMARSHAL* = 4; TYPE RPC_STATUS* = INTEGER; RPC_BINDING_VECTOR* = RECORD [untagged] Count*: INTEGER; BindingH*: ARRAY [untagged] 1 OF WinApi.PtrVoid; END; PtrRPC_BINDING_VECTOR* = POINTER TO RPC_BINDING_VECTOR; rpc_binding_vector_t* = RPC_BINDING_VECTOR; (*m*) Ptrrpc_binding_vector_t* = PtrRPC_BINDING_VECTOR; UUID_VECTOR* = RECORD [untagged] Count*: INTEGER; Uuid*: ARRAY [untagged] 1 OF POINTER TO (*?*) ARRAY [untagged] OF COM.GUID; END; PtrUUID_VECTOR* = POINTER TO UUID_VECTOR; uuid_vector_t* = UUID_VECTOR; (*m*) Ptruuid_vector_t* = PtrUUID_VECTOR; RPC_IF_ID* = RECORD [untagged] Uuid*: COM.GUID; VersMajor*: SHORTINT; VersMinor*: SHORTINT; END; PtrRPC_IF_ID* = POINTER TO RPC_IF_ID; RPC_PROTSEQ_VECTORA* = RECORD [untagged] Count*: INTEGER; Protseq*: ARRAY [untagged] 1 OF WinApi.PtrSTR; END; PtrRPC_PROTSEQ_VECTORA* = POINTER TO RPC_PROTSEQ_VECTORA; RPC_PROTSEQ_VECTORW* = RECORD [untagged] Count*: INTEGER; Protseq*: ARRAY [untagged] 1 OF POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; END; PtrRPC_PROTSEQ_VECTORW* = POINTER TO RPC_PROTSEQ_VECTORW; RPC_PROTSEQ_VECTOR* = RPC_PROTSEQ_VECTORA; (*m*) PtrRPC_PROTSEQ_VECTOR* = PtrRPC_PROTSEQ_VECTORA; RPC_OBJECT_INQ_FN* = PROCEDURE(VAR [nil] ObjectUuid: COM.GUID; VAR [nil] TypeUuid: COM.GUID; VAR [nil] Status: RPC_STATUS); RPC_IF_CALLBACK_FN* = PROCEDURE(InterfaceUuid: WinApi.PtrVoid; Context: WinApi.PtrVoid): RPC_STATUS; RPC_STATS_VECTOR* = RECORD [untagged] Count*: INTEGER; Stats*: ARRAY [untagged] 1 OF INTEGER; END; PtrRPC_STATS_VECTOR* = POINTER TO RPC_STATS_VECTOR; RPC_IF_ID_VECTOR* = RECORD [untagged] Count*: INTEGER; IfId*: ARRAY [untagged] 1 OF PtrRPC_IF_ID; END; PtrRPC_IF_ID_VECTOR* = POINTER TO RPC_IF_ID_VECTOR; SEC_WINNT_AUTH_IDENTITY_W* = RECORD [untagged] User*: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; UserLength*: INTEGER; Domain*: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; DomainLength*: INTEGER; Password*: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; PasswordLength*: INTEGER; Flags*: SET; END; PtrSEC_WINNT_AUTH_IDENTITY_W* = POINTER TO SEC_WINNT_AUTH_IDENTITY_W; SEC_WINNT_AUTH_IDENTITY_A* = RECORD [untagged] User*: WinApi.PtrSTR; UserLength*: INTEGER; Domain*: WinApi.PtrSTR; DomainLength*: INTEGER; Password*: WinApi.PtrSTR; PasswordLength*: INTEGER; Flags*: SET; END; PtrSEC_WINNT_AUTH_IDENTITY_A* = POINTER TO SEC_WINNT_AUTH_IDENTITY_A; SEC_WINNT_AUTH_IDENTITY* = SEC_WINNT_AUTH_IDENTITY_A; (*m*) PtrSEC_WINNT_AUTH_IDENTITY* = PtrSEC_WINNT_AUTH_IDENTITY_A; _SEC_WINNT_AUTH_IDENTITY* = SEC_WINNT_AUTH_IDENTITY_A; (*m*) Ptr_SEC_WINNT_AUTH_IDENTITY* = PtrSEC_WINNT_AUTH_IDENTITY_A; RPC_AUTH_KEY_RETRIEVAL_FN* = PROCEDURE (Arg: WinApi.PtrVoid; VAR [nil] ServerPrincName: SHORTINT; KeyVer: INTEGER; VAR [nil] Key: WinApi.PtrVoid; VAR [nil] Status: RPC_STATUS); RPC_CLIENT_INFORMATION1* = RECORD [untagged] UserName*: WinApi.PtrSTR; ComputerName*: WinApi.PtrSTR; Privilege*: SHORTINT; AuthFlags*: INTEGER; END; PtrRPC_CLIENT_INFORMATION1* = POINTER TO RPC_CLIENT_INFORMATION1; RPC_MGMT_AUTHORIZATION_FN* = PROCEDURE (ClientBinding: WinApi.PtrVoid; RequestedMgmtOperation: INTEGER; VAR [nil] Status: RPC_STATUS): INTEGER; RPC_VERSION* = RECORD [untagged] MajorVersion*: SHORTINT; MinorVersion*: SHORTINT; END; PtrRPC_VERSION* = POINTER TO RPC_VERSION; RPC_SYNTAX_IDENTIFIER* = RECORD [untagged] SyntaxGUID*: COM.GUID; SyntaxVersion*: RPC_VERSION; END; PtrRPC_SYNTAX_IDENTIFIER* = POINTER TO RPC_SYNTAX_IDENTIFIER; RPC_MESSAGE* = RECORD [untagged] Handle*: WinApi.PtrVoid; DataRepresentation*: INTEGER; Buffer*: WinApi.PtrVoid; BufferLength*: INTEGER; ProcNum*: INTEGER; TransferSyntax*: PtrRPC_SYNTAX_IDENTIFIER; RpcInterfaceInformation*: WinApi.PtrVoid; ReservedForRuntime*: WinApi.PtrVoid; ManagerEpv*: WinApi.PtrVoid; ImportContext*: WinApi.PtrVoid; RpcFlags*: INTEGER; END; PtrRPC_MESSAGE* = POINTER TO RPC_MESSAGE; RPC_FORWARD_FUNCTION* = PROCEDURE(VAR [nil] InterfaceId: COM.GUID; VAR [nil] InterfaceVersion: RPC_VERSION; VAR [nil] ObjectId: COM.GUID; Rpcpro: WinApi.PtrSTR; VAR [nil] ppDestEndpoint: WinApi.PtrVoid): RPC_STATUS; RPC_DISPATCH_FUNCTION* = PROCEDURE (VAR [nil] Message: RPC_MESSAGE); RPC_DISPATCH_TABLE* = RECORD [untagged] DispatchTableCount*: INTEGER; DispatchTable*: POINTER TO (*?*) ARRAY [untagged] OF RPC_DISPATCH_FUNCTION; Reserved*: INTEGER; END; PtrRPC_DISPATCH_TABLE* = POINTER TO RPC_DISPATCH_TABLE; RPC_PROTSEQ_ENDPOINT* = RECORD [untagged] RpcProtocolSequence*: WinApi.PtrSTR; Endpoint*: WinApi.PtrSTR; END; PtrRPC_PROTSEQ_ENDPOINT* = POINTER TO RPC_PROTSEQ_ENDPOINT; RPC_SERVER_INTERFACE* = RECORD [untagged] Length*: INTEGER; InterfaceId*: RPC_SYNTAX_IDENTIFIER; TransferSyntax*: RPC_SYNTAX_IDENTIFIER; DispatchTable*: PtrRPC_DISPATCH_TABLE; RpcProtseqEndpointCount*: INTEGER; RpcProtseqEndpoint*: PtrRPC_PROTSEQ_ENDPOINT; DefaultManagerEpv*: WinApi.PtrVoid; InterpreterInfo*: WinApi.PtrVoid; END; PtrRPC_SERVER_INTERFACE* = POINTER TO RPC_SERVER_INTERFACE; RPC_CLIENT_INTERFACE* = RECORD [untagged] Length*: INTEGER; InterfaceId*: RPC_SYNTAX_IDENTIFIER; TransferSyntax*: RPC_SYNTAX_IDENTIFIER; DispatchTable*: PtrRPC_DISPATCH_TABLE; RpcProtseqEndpointCount*: INTEGER; RpcProtseqEndpoint*: PtrRPC_PROTSEQ_ENDPOINT; Reserved*: INTEGER; InterpreterInfo*: WinApi.PtrVoid; END; PtrRPC_CLIENT_INTERFACE* = POINTER TO RPC_CLIENT_INTERFACE; RPC_RUNDOWN* = PROCEDURE (AssociationContext: WinApi.PtrVoid); RPC_TRANSFER_SYNTAX* = RECORD [untagged] Uuid*: COM.GUID; VersMajor*: SHORTINT; VersMinor*: SHORTINT; END; PtrRPC_TRANSFER_SYNTAX* = POINTER TO RPC_TRANSFER_SYNTAX; RPC_IMPORT_CONTEXT_P* = RECORD [untagged] LookupContext*: WinApi.PtrVoid; ProposedHandle*: WinApi.PtrVoid; Bindings*: PtrRPC_BINDING_VECTOR; END; PtrRPC_IMPORT_CONTEXT_P* = POINTER TO RPC_IMPORT_CONTEXT_P; boolean* = SHORTCHAR; NDR_SCONTEXT* = POINTER TO RECORD [untagged] pad*: ARRAY [untagged] 2 OF WinApi.PtrVoid; userContext*: WinApi.PtrVoid; END; NDR_RUNDOWN* = PROCEDURE (context: WinApi.PtrVoid); SCONTEXT_QUEUE* = RECORD [untagged] NumberOfObjects*: INTEGER; ArrayOfObjects*: POINTER TO (*?*) ARRAY [untagged] OF NDR_SCONTEXT; END; PtrSCONTEXT_QUEUE* = POINTER TO SCONTEXT_QUEUE; error_status_t* = INTEGER; RPC_LENGTH* = INTEGER; PtrMIDL_STUB_MESSAGE* = POINTER TO MIDL_STUB_MESSAGE; EXPR_EVAL* = PROCEDURE (p0: PtrMIDL_STUB_MESSAGE); ARRAY_INFO* = RECORD [untagged] Dimension*: INTEGER; BufferConformanceMark*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; BufferVarianceMark*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; MaxCountArray*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; OffsetArray*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; ActualCountArray*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; END; PtrARRAY_INFO* = POINTER TO ARRAY_INFO; PtrMIDL_STUB_DESC* = POINTER TO MIDL_STUB_DESC; PtrFULL_PTR_XLAT_TABLES* = POINTER TO FULL_PTR_XLAT_TABLES; MIDL_STUB_MESSAGE* = RECORD [untagged] RpcMsg*: PtrRPC_MESSAGE; Buffer*: WinApi.PtrSTR; BufferStart*: WinApi.PtrSTR; BufferEnd*: WinApi.PtrSTR; BufferMark*: WinApi.PtrSTR; BufferLength*: INTEGER; MemorySize*: INTEGER; Memory*: WinApi.PtrSTR; IsClient*: INTEGER; ReuseBuffer*: INTEGER; AllocAllNodesMemory*: WinApi.PtrSTR; AllocAllNodesMemoryEnd*: WinApi.PtrSTR; IgnoreEmbeddedPointers*: INTEGER; PointerBufferMark*: WinApi.PtrSTR; fBufferValid*: SHORTCHAR; Unused*: SHORTCHAR; MaxCount*: INTEGER; Offset*: INTEGER; ActualCount*: INTEGER; pfnAllocate*: PROCEDURE (p0: INTEGER): WinApi.PtrVoid; pfnFree*: PROCEDURE (p0: WinApi.PtrVoid); StackTop*: WinApi.PtrSTR; pPresentedType*: WinApi.PtrSTR; pTransmitType*: WinApi.PtrSTR; SavedHandle*: WinApi.PtrVoid; StubDesc*: PtrMIDL_STUB_DESC; FullPtrXlatTables*: PtrFULL_PTR_XLAT_TABLES; FullPtrRefId*: INTEGER; fCheckBounds*: INTEGER; fBits0*: SET; (* fInDontFree*: LONGINT; (1 bits) *) (* fDontCallFreeInst*: LONGINT; (1 bits) *) (* fInOnlyParam*: LONGINT; (1 bits) *) (* fHasReturn*: LONGINT; (1 bits) *) dwDestContext*: INTEGER; pvDestContext*: WinApi.PtrVoid; SavedContextHandles*: POINTER TO (*?*) ARRAY [untagged] OF NDR_SCONTEXT; ParamNumber*: INTEGER; pRpcChannelBuffer*: WinOle.IRpcChannelBuffer; pArrayInfo*: PtrARRAY_INFO; SizePtrCountArray*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; SizePtrOffsetArray*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; SizePtrLengthArray*: POINTER TO (*?*) ARRAY [untagged] OF INTEGER; pArgQueue*: WinApi.PtrVoid; dwStubPhase*: INTEGER; Reserved*: ARRAY [untagged] 5 OF INTEGER; END; GENERIC_BINDING_ROUTINE* = PROCEDURE (p0: WinApi.PtrVoid): WinApi.PtrVoid; GENERIC_UNBIND_ROUTINE* = PROCEDURE (p0: WinApi.PtrVoid; p1: WinApi.PtrSTR); GENERIC_BINDING_ROUTINE_PAIR* = RECORD [untagged] pfnBind*: GENERIC_BINDING_ROUTINE; pfnUnbind*: GENERIC_UNBIND_ROUTINE; END; PtrGENERIC_BINDING_ROUTINE_PAIR* = POINTER TO GENERIC_BINDING_ROUTINE_PAIR; GENERIC_BINDING_INFO* = RECORD [untagged] pObj*: WinApi.PtrVoid; Size*: INTEGER; pfnBind*: GENERIC_BINDING_ROUTINE; pfnUnbind*: GENERIC_UNBIND_ROUTINE; END; PtrGENERIC_BINDING_INFO* = POINTER TO GENERIC_BINDING_INFO; XMIT_HELPER_ROUTINE* = PROCEDURE (VAR [nil] p0: MIDL_STUB_MESSAGE); XMIT_ROUTINE_QUINTUPLE* = RECORD [untagged] pfnTranslateToXmit*: XMIT_HELPER_ROUTINE; pfnTranslateFromXmit*: XMIT_HELPER_ROUTINE; pfnFreeXmit*: XMIT_HELPER_ROUTINE; pfnFreeInst*: XMIT_HELPER_ROUTINE; END; PtrXMIT_ROUTINE_QUINTUPLE* = POINTER TO XMIT_ROUTINE_QUINTUPLE; USER_MARSHAL_SIZING_ROUTINE* = PROCEDURE (VAR [nil] p0: INTEGER; p1: INTEGER; p2: WinApi.PtrVoid): INTEGER; USER_MARSHAL_MARSHALLING_ROUTINE* = PROCEDURE (VAR [nil] p0: INTEGER; p1: WinApi.PtrSTR; p2: WinApi.PtrVoid): WinApi.PtrSTR; USER_MARSHAL_UNMARSHALLING_ROUTINE* = PROCEDURE (VAR [nil] p0: INTEGER; p1: WinApi.PtrSTR; p2: WinApi.PtrVoid): WinApi.PtrSTR; USER_MARSHAL_FREEING_ROUTINE* = PROCEDURE (VAR [nil] p0: INTEGER; p1: WinApi.PtrVoid); USER_MARSHAL_ROUTINE_QUADRUPLE* = RECORD [untagged] pfnBufferSize*: USER_MARSHAL_SIZING_ROUTINE; pfnMarshall*: USER_MARSHAL_MARSHALLING_ROUTINE; pfnUnmarshall*: USER_MARSHAL_UNMARSHALLING_ROUTINE; pfnFree*: USER_MARSHAL_FREEING_ROUTINE; END; PtrUSER_MARSHAL_ROUTINE_QUADRUPLE* = POINTER TO USER_MARSHAL_ROUTINE_QUADRUPLE; USER_MARSHAL_CB* = RECORD [untagged] Flags*: SET; pStubMsg*: PtrMIDL_STUB_MESSAGE; pReserve*: WinApi.PtrSTR; END; MALLOC_FREE_STRUCT* = RECORD [untagged] pfnAllocate*: PROCEDURE (p0: INTEGER): WinApi.PtrVoid; pfnFree*: PROCEDURE (p0: WinApi.PtrVoid); END; PtrMALLOC_FREE_STRUCT* = POINTER TO MALLOC_FREE_STRUCT; COMM_FAULT_OFFSETS* = RECORD [untagged] CommOffset*: SHORTINT; FaultOffset*: SHORTINT; END; PtrCOMM_FAULT_OFFSETS* = POINTER TO COMM_FAULT_OFFSETS; MIDL_STUB_DESC* = RECORD [untagged] RpcInterfaceInformation*: WinApi.PtrVoid; pfnAllocate*: PROCEDURE (p0: INTEGER): WinApi.PtrVoid; pfnFree*: PROCEDURE (p0: WinApi.PtrVoid); IMPLICIT_HANDLE_INFO*: RECORD [union] pAutoHandle*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.PtrVoid; pPrimitiveHandle*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.PtrVoid; pGenericBindingInfo*: PtrGENERIC_BINDING_INFO; END; apfnNdrRundownRoutines*: POINTER TO (*?*) ARRAY [untagged] OF NDR_RUNDOWN; aGenericBindingRoutinePairs*: PtrGENERIC_BINDING_ROUTINE_PAIR; apfnExprEval*: POINTER TO (*?*) ARRAY [untagged] OF EXPR_EVAL; aXmitQuintuple*: PtrXMIT_ROUTINE_QUINTUPLE; pFormatTypes*: WinApi.PtrSTR; fCheckBounds*: INTEGER; Version*: INTEGER; pMallocFreeStruct*: PtrMALLOC_FREE_STRUCT; MIDLVersion*: INTEGER; CommFaultOffsets*: PtrCOMM_FAULT_OFFSETS; aUserMarshalQuadruple*: PtrUSER_MARSHAL_ROUTINE_QUADRUPLE; Reserved1*: INTEGER; Reserved2*: INTEGER; Reserved3*: INTEGER; Reserved4*: INTEGER; Reserved5*: INTEGER; END; STUB_THUNK* = PROCEDURE (VAR [nil] p0: MIDL_STUB_MESSAGE); SERVER_ROUTINE* = PROCEDURE (): INTEGER; MIDL_SERVER_INFO* = RECORD [untagged] pStubDesc*: PtrMIDL_STUB_DESC; DispatchTable*: POINTER TO (*?*) ARRAY [untagged] OF SERVER_ROUTINE; ProcString*: WinApi.PtrSTR; FmtStringOffset*: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; ThunkTable*: POINTER TO (*?*) ARRAY [untagged] OF STUB_THUNK; END; PtrMIDL_SERVER_INFO* = POINTER TO MIDL_SERVER_INFO; MIDL_STUBLESS_PROXY_INFO* = RECORD [untagged] pStubDesc*: PtrMIDL_STUB_DESC; ProcFormatString*: WinApi.PtrSTR; FormatStringOffset*: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; END; PtrMIDL_STUBLESS_PROXY_INFO* = POINTER TO MIDL_STUBLESS_PROXY_INFO; CLIENT_CALL_RETURN* = RECORD [union] Pointer*: WinApi.PtrVoid; Simple*: INTEGER; END; XLAT_SIDE* = INTEGER; PtrFULL_PTR_TO_REFID_ELEMENT* = POINTER TO FULL_PTR_TO_REFID_ELEMENT; FULL_PTR_TO_REFID_ELEMENT* = RECORD [untagged] Next*: PtrFULL_PTR_TO_REFID_ELEMENT; Pointer*: WinApi.PtrVoid; RefId*: INTEGER; State*: SHORTCHAR; END; FULL_PTR_XLAT_TABLES* = RECORD [untagged] RefIdToPointer*: RECORD [untagged] XlatTable*: POINTER TO (*?*) ARRAY [untagged] OF WinApi.PtrVoid; StateTable*: WinApi.PtrSTR; NumberOfEntries*: INTEGER; END; PointerToRefId*: RECORD [untagged] XlatTable*: POINTER TO (*?*) ARRAY [untagged] OF PtrFULL_PTR_TO_REFID_ELEMENT; NumberOfBuckets*: INTEGER; HashMask*: INTEGER; END; NextRefId*: INTEGER; XlatSide*: XLAT_SIDE; END; STUB_PHASE* = INTEGER; PROXY_PHASE* = INTEGER; RPC_CLIENT_ALLOC* = PROCEDURE(Size: INTEGER): WinApi.PtrVoid; RPC_CLIENT_FREE* = PROCEDURE(Ptr: WinApi.PtrVoid); PROCEDURE RpcBindingCopy* (SourceBinding: WinApi.PtrVoid; VAR [nil] DestinationBinding: WinApi.PtrVoid): RPC_STATUS; (*END RpcBindingCopy;*) PROCEDURE RpcBindingFree* (VAR [nil] Binding: WinApi.PtrVoid): RPC_STATUS; (*END RpcBindingFree;*) PROCEDURE RpcBindingFromStringBindingA* (StringBinding: WinApi.PtrSTR; VAR [nil] Binding: WinApi.PtrVoid): RPC_STATUS; (*END RpcBindingFromStringBindingA;*) PROCEDURE RpcBindingFromStringBindingW* (VAR [nil] StringBinding: SHORTINT; VAR [nil] Binding: WinApi.PtrVoid): RPC_STATUS; (*END RpcBindingFromStringBindingW;*) PROCEDURE RpcBindingFromStringBinding* ["RpcBindingFromStringBindingA"] (StringBinding: WinApi.PtrSTR; VAR [nil] Binding: WinApi.PtrVoid): RPC_STATUS; (*END RpcBindingFromStringBinding;*) PROCEDURE RpcBindingInqObject* (Binding: WinApi.PtrVoid; VAR [nil] ObjectUuid: COM.GUID): RPC_STATUS; (*END RpcBindingInqObject;*) PROCEDURE RpcBindingReset* (Binding: WinApi.PtrVoid): RPC_STATUS; (*END RpcBindingReset;*) PROCEDURE RpcBindingSetObject* (Binding: WinApi.PtrVoid; VAR [nil] ObjectUuid: COM.GUID): RPC_STATUS; (*END RpcBindingSetObject;*) PROCEDURE RpcMgmtInqDefaultProtectLevel* (AuthnSvc: INTEGER; VAR [nil] AuthnLevel: INTEGER): RPC_STATUS; (*END RpcMgmtInqDefaultProtectLevel;*) PROCEDURE RpcBindingToStringBindingA* (Binding: WinApi.PtrVoid; VAR [nil] StringBinding: WinApi.PtrSTR): RPC_STATUS; (*END RpcBindingToStringBindingA;*) PROCEDURE RpcBindingToStringBindingW* (Binding: WinApi.PtrVoid; VAR [nil] StringBinding: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT): RPC_STATUS; (*END RpcBindingToStringBindingW;*) PROCEDURE RpcBindingToStringBinding* ["RpcBindingToStringBindingA"] (Binding: WinApi.PtrVoid; VAR [nil] StringBinding: WinApi.PtrSTR): RPC_STATUS; (*END RpcBindingToStringBinding;*) PROCEDURE RpcBindingVectorFree* (VAR [nil] BindingVector: PtrRPC_BINDING_VECTOR): RPC_STATUS; (*END RpcBindingVectorFree;*) PROCEDURE RpcStringBindingComposeA* (ObjUuid: WinApi.PtrSTR; Protseq: WinApi.PtrSTR; NetworkAddr: WinApi.PtrSTR; Endpoint: WinApi.PtrSTR; Options: WinApi.PtrSTR; VAR [nil] StringBinding: WinApi.PtrSTR): RPC_STATUS; (*END RpcStringBindingComposeA;*) PROCEDURE RpcStringBindingComposeW* (VAR [nil] ObjUuid: SHORTINT; VAR [nil] Protseq: SHORTINT; VAR [nil] NetworkAddr: SHORTINT; VAR [nil] Endpoint: SHORTINT; VAR [nil] Options: SHORTINT; VAR [nil] StringBinding: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT): RPC_STATUS; (*END RpcStringBindingComposeW;*) PROCEDURE RpcStringBindingCompose* ["RpcStringBindingComposeA"] (ObjUuid: WinApi.PtrSTR; Protseq: WinApi.PtrSTR; NetworkAddr: WinApi.PtrSTR; Endpoint: WinApi.PtrSTR; Options: WinApi.PtrSTR; VAR [nil] StringBinding: WinApi.PtrSTR): RPC_STATUS; (*END RpcStringBindingCompose;*) PROCEDURE RpcStringBindingParseA* (StringBinding: WinApi.PtrSTR; VAR [nil] ObjUuid: WinApi.PtrSTR; VAR [nil] Protseq: WinApi.PtrSTR; VAR [nil] NetworkAddr: WinApi.PtrSTR; VAR [nil] Endpoint: WinApi.PtrSTR; VAR [nil] NetworkOptions: WinApi.PtrSTR): RPC_STATUS; (*END RpcStringBindingParseA;*) PROCEDURE RpcStringBindingParseW* (VAR [nil] StringBinding: SHORTINT; VAR [nil] ObjUuid: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; VAR [nil] Protseq: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; VAR [nil] NetworkAddr: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; VAR [nil] Endpoint: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; VAR [nil] NetworkOptions: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT): RPC_STATUS; (*END RpcStringBindingParseW;*) PROCEDURE RpcStringBindingParse* ["RpcStringBindingParseA"] (StringBinding: WinApi.PtrSTR; VAR [nil] ObjUuid: WinApi.PtrSTR; VAR [nil] Protseq: WinApi.PtrSTR; VAR [nil] NetworkAddr: WinApi.PtrSTR; VAR [nil] Endpoint: WinApi.PtrSTR; VAR [nil] NetworkOptions: WinApi.PtrSTR): RPC_STATUS; (*END RpcStringBindingParse;*) PROCEDURE RpcStringFreeA* (VAR [nil] String: WinApi.PtrSTR): RPC_STATUS; (*END RpcStringFreeA;*) PROCEDURE RpcStringFreeW* (VAR [nil] String: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT): RPC_STATUS; (*END RpcStringFreeW;*) PROCEDURE RpcStringFree* ["RpcStringFreeA"] (VAR [nil] String: WinApi.PtrSTR): RPC_STATUS; (*END RpcStringFree;*) PROCEDURE RpcIfInqId* (RpcIfHandle: WinApi.PtrVoid; VAR [nil] RpcIfId: RPC_IF_ID): RPC_STATUS; (*END RpcIfInqId;*) PROCEDURE RpcNetworkIsProtseqValidA* (Protseq: WinApi.PtrSTR): RPC_STATUS; (*END RpcNetworkIsProtseqValidA;*) PROCEDURE RpcNetworkIsProtseqValidW* (VAR [nil] Protseq: SHORTINT): RPC_STATUS; (*END RpcNetworkIsProtseqValidW;*) PROCEDURE RpcNetworkIsProtseqValid* ["RpcNetworkIsProtseqValidA"] (Protseq: WinApi.PtrSTR): RPC_STATUS; (*END RpcNetworkIsProtseqValid;*) PROCEDURE RpcMgmtInqComTimeout* (Binding: WinApi.PtrVoid; VAR [nil] Timeout: INTEGER): RPC_STATUS; (*END RpcMgmtInqComTimeout;*) PROCEDURE RpcMgmtSetComTimeout* (Binding: WinApi.PtrVoid; Timeout: INTEGER): RPC_STATUS; (*END RpcMgmtSetComTimeout;*) PROCEDURE RpcMgmtSetCancelTimeout* (Timeout: INTEGER): RPC_STATUS; (*END RpcMgmtSetCancelTimeout;*) PROCEDURE RpcNetworkInqProtseqsA* (VAR [nil] ProtseqVector: PtrRPC_PROTSEQ_VECTORA): RPC_STATUS; (*END RpcNetworkInqProtseqsA;*) PROCEDURE RpcNetworkInqProtseqsW* (VAR [nil] ProtseqVector: PtrRPC_PROTSEQ_VECTORW): RPC_STATUS; (*END RpcNetworkInqProtseqsW;*) PROCEDURE RpcNetworkInqProtseqs* ["RpcNetworkInqProtseqsA"] (VAR [nil] ProtseqVector: PtrRPC_PROTSEQ_VECTORA): RPC_STATUS; (*END RpcNetworkInqProtseqs;*) PROCEDURE RpcObjectInqType* (VAR [nil] ObjUuid: COM.GUID; VAR [nil] TypeUuid: COM.GUID): RPC_STATUS; (*END RpcObjectInqType;*) PROCEDURE RpcObjectSetInqFn* (InquiryFn: RPC_OBJECT_INQ_FN): RPC_STATUS; (*END RpcObjectSetInqFn;*) PROCEDURE RpcObjectSetType* (VAR [nil] ObjUuid: COM.GUID; VAR [nil] TypeUuid: COM.GUID): RPC_STATUS; (*END RpcObjectSetType;*) PROCEDURE RpcProtseqVectorFreeA* (VAR [nil] ProtseqVector: PtrRPC_PROTSEQ_VECTORA): RPC_STATUS; (*END RpcProtseqVectorFreeA;*) PROCEDURE RpcProtseqVectorFreeW* (VAR [nil] ProtseqVector: PtrRPC_PROTSEQ_VECTORW): RPC_STATUS; (*END RpcProtseqVectorFreeW;*) PROCEDURE RpcProtseqVectorFree* ["RpcProtseqVectorFreeA"] (VAR [nil] ProtseqVector: PtrRPC_PROTSEQ_VECTORA): RPC_STATUS; (*END RpcProtseqVectorFree;*) PROCEDURE RpcServerInqBindings* (VAR [nil] BindingVector: PtrRPC_BINDING_VECTOR): RPC_STATUS; (*END RpcServerInqBindings;*) PROCEDURE RpcServerInqIf* (IfSpec: WinApi.PtrVoid; VAR [nil] MgrTypeUuid: COM.GUID; VAR [nil] MgrEpv: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerInqIf;*) PROCEDURE RpcServerListen* (MinimumCallThreads: INTEGER; MaxCalls: INTEGER; DontWait: INTEGER): RPC_STATUS; (*END RpcServerListen;*) PROCEDURE RpcServerRegisterIf* (IfSpec: WinApi.PtrVoid; VAR [nil] MgrTypeUuid: COM.GUID; MgrEpv: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerRegisterIf;*) PROCEDURE RpcServerUnregisterIf* (IfSpec: WinApi.PtrVoid; VAR [nil] MgrTypeUuid: COM.GUID; WaitForCallsToComplete: INTEGER): RPC_STATUS; (*END RpcServerUnregisterIf;*) PROCEDURE RpcServerUseAllProtseqs* (MaxCalls: INTEGER; SecurityDescriptor: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerUseAllProtseqs;*) PROCEDURE RpcServerUseAllProtseqsIf* (MaxCalls: INTEGER; IfSpec: WinApi.PtrVoid; SecurityDescriptor: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerUseAllProtseqsIf;*) PROCEDURE RpcServerUseProtseqA* (Protseq: WinApi.PtrSTR; MaxCalls: INTEGER; SecurityDescriptor: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerUseProtseqA;*) PROCEDURE RpcServerUseProtseqW* (VAR [nil] Protseq: SHORTINT; MaxCalls: INTEGER; SecurityDescriptor: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerUseProtseqW;*) PROCEDURE RpcServerUseProtseq* ["RpcServerUseProtseqA"] (Protseq: WinApi.PtrSTR; MaxCalls: INTEGER; SecurityDescriptor: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerUseProtseq;*) PROCEDURE RpcServerUseProtseqEpA* (Protseq: WinApi.PtrSTR; MaxCalls: INTEGER; Endpoint: WinApi.PtrSTR; SecurityDescriptor: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerUseProtseqEpA;*) PROCEDURE RpcServerUseProtseqEpW* (VAR [nil] Protseq: SHORTINT; MaxCalls: INTEGER; VAR [nil] Endpoint: SHORTINT; SecurityDescriptor: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerUseProtseqEpW;*) PROCEDURE RpcServerUseProtseqEp* ["RpcServerUseProtseqEpA"] (Protseq: WinApi.PtrSTR; MaxCalls: INTEGER; Endpoint: WinApi.PtrSTR; SecurityDescriptor: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerUseProtseqEp;*) PROCEDURE RpcServerUseProtseqIfA* (Protseq: WinApi.PtrSTR; MaxCalls: INTEGER; IfSpec: WinApi.PtrVoid; SecurityDescriptor: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerUseProtseqIfA;*) PROCEDURE RpcServerUseProtseqIfW* (VAR [nil] Protseq: SHORTINT; MaxCalls: INTEGER; IfSpec: WinApi.PtrVoid; SecurityDescriptor: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerUseProtseqIfW;*) PROCEDURE RpcServerUseProtseqIf* ["RpcServerUseProtseqIfA"] (Protseq: WinApi.PtrSTR; MaxCalls: INTEGER; IfSpec: WinApi.PtrVoid; SecurityDescriptor: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerUseProtseqIf;*) PROCEDURE RpcMgmtStatsVectorFree* (VAR [nil] StatsVector: PtrRPC_STATS_VECTOR): RPC_STATUS; (*END RpcMgmtStatsVectorFree;*) PROCEDURE RpcMgmtInqStats* (Binding: WinApi.PtrVoid; VAR [nil] Statistics: PtrRPC_STATS_VECTOR): RPC_STATUS; (*END RpcMgmtInqStats;*) PROCEDURE RpcMgmtIsServerListening* (Binding: WinApi.PtrVoid): RPC_STATUS; (*END RpcMgmtIsServerListening;*) PROCEDURE RpcMgmtStopServerListening* (Binding: WinApi.PtrVoid): RPC_STATUS; (*END RpcMgmtStopServerListening;*) PROCEDURE RpcMgmtWaitServerListen* (): RPC_STATUS; (*END RpcMgmtWaitServerListen;*) PROCEDURE RpcMgmtSetServerStackSize* (ThreadStackSize: INTEGER): RPC_STATUS; (*END RpcMgmtSetServerStackSize;*) PROCEDURE RpcSsDontSerializeContext* (); (*END RpcSsDontSerializeContext;*) PROCEDURE RpcMgmtEnableIdleCleanup* (): RPC_STATUS; (*END RpcMgmtEnableIdleCleanup;*) PROCEDURE RpcMgmtInqIfIds* (Binding: WinApi.PtrVoid; VAR [nil] IfIdVector: PtrRPC_IF_ID_VECTOR): RPC_STATUS; (*END RpcMgmtInqIfIds;*) PROCEDURE RpcIfIdVectorFree* (VAR [nil] IfIdVector: PtrRPC_IF_ID_VECTOR): RPC_STATUS; (*END RpcIfIdVectorFree;*) PROCEDURE RpcMgmtInqServerPrincNameA* (Binding: WinApi.PtrVoid; AuthnSvc: INTEGER; VAR [nil] ServerPrincName: WinApi.PtrSTR): RPC_STATUS; (*END RpcMgmtInqServerPrincNameA;*) PROCEDURE RpcMgmtInqServerPrincNameW* (Binding: WinApi.PtrVoid; AuthnSvc: INTEGER; VAR [nil] ServerPrincName: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT): RPC_STATUS; (*END RpcMgmtInqServerPrincNameW;*) PROCEDURE RpcMgmtInqServerPrincName* ["RpcMgmtInqServerPrincNameA"] (Binding: WinApi.PtrVoid; AuthnSvc: INTEGER; VAR [nil] ServerPrincName: WinApi.PtrSTR): RPC_STATUS; (*END RpcMgmtInqServerPrincName;*) PROCEDURE RpcServerInqDefaultPrincNameA* (AuthnSvc: INTEGER; VAR [nil] PrincName: WinApi.PtrSTR): RPC_STATUS; (*END RpcServerInqDefaultPrincNameA;*) PROCEDURE RpcServerInqDefaultPrincNameW* (AuthnSvc: INTEGER; VAR [nil] PrincName: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT): RPC_STATUS; (*END RpcServerInqDefaultPrincNameW;*) PROCEDURE RpcServerInqDefaultPrincName* ["RpcServerInqDefaultPrincNameA"] (AuthnSvc: INTEGER; VAR [nil] PrincName: WinApi.PtrSTR): RPC_STATUS; (*END RpcServerInqDefaultPrincName;*) PROCEDURE RpcEpResolveBinding* (Binding: WinApi.PtrVoid; IfSpec: WinApi.PtrVoid): RPC_STATUS; (*END RpcEpResolveBinding;*) PROCEDURE RpcNsBindingInqEntryNameA* (Binding: WinApi.PtrVoid; EntryNameSyntax: INTEGER; VAR [nil] EntryName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsBindingInqEntryNameA;*) PROCEDURE RpcNsBindingInqEntryNameW* (Binding: WinApi.PtrVoid; EntryNameSyntax: INTEGER; VAR [nil] EntryName: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT): RPC_STATUS; (*END RpcNsBindingInqEntryNameW;*) PROCEDURE RpcNsBindingInqEntryName* ["RpcNsBindingInqEntryNameA"] (Binding: WinApi.PtrVoid; EntryNameSyntax: INTEGER; VAR [nil] EntryName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsBindingInqEntryName;*) PROCEDURE RpcBindingInqAuthClientA* (ClientBinding: WinApi.PtrVoid; VAR [nil] Privs: WinApi.PtrVoid; VAR [nil] ServerPrincName: WinApi.PtrSTR; VAR [nil] AuthnLevel: INTEGER; VAR [nil] AuthnSvc: INTEGER; VAR [nil] AuthzSvc: INTEGER): RPC_STATUS; (*END RpcBindingInqAuthClientA;*) PROCEDURE RpcBindingInqAuthClientW* (ClientBinding: WinApi.PtrVoid; VAR [nil] Privs: WinApi.PtrVoid; VAR [nil] ServerPrincName: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; VAR [nil] AuthnLevel: INTEGER; VAR [nil] AuthnSvc: INTEGER; VAR [nil] AuthzSvc: INTEGER): RPC_STATUS; (*END RpcBindingInqAuthClientW;*) PROCEDURE RpcBindingInqAuthInfoA* (Binding: WinApi.PtrVoid; VAR [nil] ServerPrincName: WinApi.PtrSTR; VAR [nil] AuthnLevel: INTEGER; VAR [nil] AuthnSvc: INTEGER; VAR [nil] AuthIdentity: WinApi.PtrVoid; VAR [nil] AuthzSvc: INTEGER): RPC_STATUS; (*END RpcBindingInqAuthInfoA;*) PROCEDURE RpcBindingInqAuthInfoW* (Binding: WinApi.PtrVoid; VAR [nil] ServerPrincName: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; VAR [nil] AuthnLevel: INTEGER; VAR [nil] AuthnSvc: INTEGER; VAR [nil] AuthIdentity: WinApi.PtrVoid; VAR [nil] AuthzSvc: INTEGER): RPC_STATUS; (*END RpcBindingInqAuthInfoW;*) PROCEDURE RpcBindingSetAuthInfoA* (Binding: WinApi.PtrVoid; ServerPrincName: WinApi.PtrSTR; AuthnLevel: INTEGER; AuthnSvc: INTEGER; AuthIdentity: WinApi.PtrVoid; AuthzSvc: INTEGER): RPC_STATUS; (*END RpcBindingSetAuthInfoA;*) PROCEDURE RpcBindingSetAuthInfoW* (Binding: WinApi.PtrVoid; VAR [nil] ServerPrincName: SHORTINT; AuthnLevel: INTEGER; AuthnSvc: INTEGER; AuthIdentity: WinApi.PtrVoid; AuthzSvc: INTEGER): RPC_STATUS; (*END RpcBindingSetAuthInfoW;*) PROCEDURE RpcServerRegisterAuthInfoA* (ServerPrincName: WinApi.PtrSTR; AuthnSvc: INTEGER; GetKeyFn: RPC_AUTH_KEY_RETRIEVAL_FN; Arg: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerRegisterAuthInfoA;*) PROCEDURE RpcServerRegisterAuthInfoW* (VAR [nil] ServerPrincName: SHORTINT; AuthnSvc: INTEGER; GetKeyFn: RPC_AUTH_KEY_RETRIEVAL_FN; Arg: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerRegisterAuthInfoW;*) PROCEDURE RpcBindingInqAuthClient* ["RpcBindingInqAuthClientA"] (ClientBinding: WinApi.PtrVoid; VAR [nil] Privs: WinApi.PtrVoid; VAR [nil] ServerPrincName: WinApi.PtrSTR; VAR [nil] AuthnLevel: INTEGER; VAR [nil] AuthnSvc: INTEGER; VAR [nil] AuthzSvc: INTEGER): RPC_STATUS; (*END RpcBindingInqAuthClient;*) PROCEDURE RpcBindingInqAuthInfo* ["RpcBindingInqAuthInfoA"] (Binding: WinApi.PtrVoid; VAR [nil] ServerPrincName: WinApi.PtrSTR; VAR [nil] AuthnLevel: INTEGER; VAR [nil] AuthnSvc: INTEGER; VAR [nil] AuthIdentity: WinApi.PtrVoid; VAR [nil] AuthzSvc: INTEGER): RPC_STATUS; (*END RpcBindingInqAuthInfo;*) PROCEDURE RpcBindingSetAuthInfo* ["RpcBindingSetAuthInfoA"] (Binding: WinApi.PtrVoid; ServerPrincName: WinApi.PtrSTR; AuthnLevel: INTEGER; AuthnSvc: INTEGER; AuthIdentity: WinApi.PtrVoid; AuthzSvc: INTEGER): RPC_STATUS; (*END RpcBindingSetAuthInfo;*) PROCEDURE RpcServerRegisterAuthInfo* ["RpcServerRegisterAuthInfoA"] (ServerPrincName: WinApi.PtrSTR; AuthnSvc: INTEGER; GetKeyFn: RPC_AUTH_KEY_RETRIEVAL_FN; Arg: WinApi.PtrVoid): RPC_STATUS; (*END RpcServerRegisterAuthInfo;*) PROCEDURE RpcBindingServerFromClient* (ClientBinding: WinApi.PtrVoid; VAR [nil] ServerBinding: WinApi.PtrVoid): RPC_STATUS; (*END RpcBindingServerFromClient;*) PROCEDURE RpcRaiseException* (exception: RPC_STATUS); (*END RpcRaiseException;*) PROCEDURE RpcTestCancel* (): RPC_STATUS; (*END RpcTestCancel;*) PROCEDURE RpcCancelThread* (Thread: WinApi.PtrVoid): RPC_STATUS; (*END RpcCancelThread;*) PROCEDURE UuidCreate* (VAR [nil] Uuid: COM.GUID): RPC_STATUS; (*END UuidCreate;*) PROCEDURE UuidToStringA* (VAR [nil] Uuid: COM.GUID; VAR [nil] StringUuid: WinApi.PtrSTR): RPC_STATUS; (*END UuidToStringA;*) PROCEDURE UuidFromStringA* (StringUuid: WinApi.PtrSTR; VAR [nil] Uuid: COM.GUID): RPC_STATUS; (*END UuidFromStringA;*) PROCEDURE UuidToStringW* (VAR [nil] Uuid: COM.GUID; VAR [nil] StringUuid: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT): RPC_STATUS; (*END UuidToStringW;*) PROCEDURE UuidFromStringW* (VAR [nil] StringUuid: SHORTINT; VAR [nil] Uuid: COM.GUID): RPC_STATUS; (*END UuidFromStringW;*) PROCEDURE UuidFromString* ["UuidFromStringA"] (StringUuid: WinApi.PtrSTR; VAR [nil] Uuid: COM.GUID): RPC_STATUS; (*END UuidFromString;*) PROCEDURE UuidToString* ["UuidToStringA"] (VAR [nil] Uuid: COM.GUID; VAR [nil] StringUuid: WinApi.PtrSTR): RPC_STATUS; (*END UuidToString;*) PROCEDURE UuidCompare* (VAR [nil] Uuid1: COM.GUID; VAR [nil] Uuid2: COM.GUID; VAR [nil] Status: RPC_STATUS): INTEGER; (*END UuidCompare;*) PROCEDURE UuidCreateNil* (VAR [nil] NilUuid: COM.GUID): RPC_STATUS; (*END UuidCreateNil;*) PROCEDURE UuidEqual* (VAR [nil] Uuid1: COM.GUID; VAR [nil] Uuid2: COM.GUID; VAR [nil] Status: RPC_STATUS): INTEGER; (*END UuidEqual;*) PROCEDURE UuidHash* (VAR [nil] Uuid: COM.GUID; VAR [nil] Status: RPC_STATUS): SHORTINT; (*END UuidHash;*) PROCEDURE UuidIsNil* (VAR [nil] Uuid: COM.GUID; VAR [nil] Status: RPC_STATUS): INTEGER; (*END UuidIsNil;*) PROCEDURE RpcEpRegisterNoReplaceA* (IfSpec: WinApi.PtrVoid; VAR [nil] BindingVector: RPC_BINDING_VECTOR; VAR [nil] UuidVector: UUID_VECTOR; Annotation: WinApi.PtrSTR): RPC_STATUS; (*END RpcEpRegisterNoReplaceA;*) PROCEDURE RpcEpRegisterNoReplaceW* (IfSpec: WinApi.PtrVoid; VAR [nil] BindingVector: RPC_BINDING_VECTOR; VAR [nil] UuidVector: UUID_VECTOR; VAR [nil] Annotation: SHORTINT): RPC_STATUS; (*END RpcEpRegisterNoReplaceW;*) PROCEDURE RpcEpRegisterA* (IfSpec: WinApi.PtrVoid; VAR [nil] BindingVector: RPC_BINDING_VECTOR; VAR [nil] UuidVector: UUID_VECTOR; Annotation: WinApi.PtrSTR): RPC_STATUS; (*END RpcEpRegisterA;*) PROCEDURE RpcEpRegisterW* (IfSpec: WinApi.PtrVoid; VAR [nil] BindingVector: RPC_BINDING_VECTOR; VAR [nil] UuidVector: UUID_VECTOR; VAR [nil] Annotation: SHORTINT): RPC_STATUS; (*END RpcEpRegisterW;*) PROCEDURE RpcEpRegisterNoReplace* ["RpcEpRegisterNoReplaceA"] (IfSpec: WinApi.PtrVoid; VAR [nil] BindingVector: RPC_BINDING_VECTOR; VAR [nil] UuidVector: UUID_VECTOR; Annotation: WinApi.PtrSTR): RPC_STATUS; (*END RpcEpRegisterNoReplace;*) PROCEDURE RpcEpRegister* ["RpcEpRegisterA"] (IfSpec: WinApi.PtrVoid; VAR [nil] BindingVector: RPC_BINDING_VECTOR; VAR [nil] UuidVector: UUID_VECTOR; Annotation: WinApi.PtrSTR): RPC_STATUS; (*END RpcEpRegister;*) PROCEDURE RpcEpUnregister* (IfSpec: WinApi.PtrVoid; VAR [nil] BindingVector: RPC_BINDING_VECTOR; VAR [nil] UuidVector: UUID_VECTOR): RPC_STATUS; (*END RpcEpUnregister;*) PROCEDURE DceErrorInqTextA* (RpcStatus: RPC_STATUS; ErrorText: WinApi.PtrSTR): RPC_STATUS; (*END DceErrorInqTextA;*) PROCEDURE DceErrorInqTextW* (RpcStatus: RPC_STATUS; VAR [nil] ErrorText: SHORTINT): RPC_STATUS; (*END DceErrorInqTextW;*) PROCEDURE DceErrorInqText* ["DceErrorInqTextA"] (RpcStatus: RPC_STATUS; ErrorText: WinApi.PtrSTR): RPC_STATUS; (*END DceErrorInqText;*) PROCEDURE RpcMgmtEpEltInqBegin* (EpBinding: WinApi.PtrVoid; InquiryType: INTEGER; VAR [nil] IfId: RPC_IF_ID; VersOption: INTEGER; VAR [nil] ObjectUuid: COM.GUID; VAR [nil] InquiryContext: POINTER TO (*?*) ARRAY [untagged] OF WinApi.PtrVoid): RPC_STATUS; (*END RpcMgmtEpEltInqBegin;*) PROCEDURE RpcMgmtEpEltInqDone* (VAR [nil] InquiryContext: POINTER TO (*?*) ARRAY [untagged] OF WinApi.PtrVoid): RPC_STATUS; (*END RpcMgmtEpEltInqDone;*) PROCEDURE RpcMgmtEpEltInqNextA* (VAR [nil] InquiryContext: WinApi.PtrVoid; VAR [nil] IfId: RPC_IF_ID; VAR [nil] Binding: WinApi.PtrVoid; VAR [nil] ObjectUuid: COM.GUID; VAR [nil] Annotation: WinApi.PtrSTR): RPC_STATUS; (*END RpcMgmtEpEltInqNextA;*) PROCEDURE RpcMgmtEpEltInqNextW* (VAR [nil] InquiryContext: WinApi.PtrVoid; VAR [nil] IfId: RPC_IF_ID; VAR [nil] Binding: WinApi.PtrVoid; VAR [nil] ObjectUuid: COM.GUID; VAR [nil] Annotation: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT): RPC_STATUS; (*END RpcMgmtEpEltInqNextW;*) PROCEDURE RpcMgmtEpEltInqNext* ["RpcMgmtEpEltInqNextA"] (VAR [nil] InquiryContext: WinApi.PtrVoid; VAR [nil] IfId: RPC_IF_ID; VAR [nil] Binding: WinApi.PtrVoid; VAR [nil] ObjectUuid: COM.GUID; VAR [nil] Annotation: WinApi.PtrSTR): RPC_STATUS; (*END RpcMgmtEpEltInqNext;*) PROCEDURE RpcMgmtEpUnregister* (EpBinding: WinApi.PtrVoid; VAR [nil] IfId: RPC_IF_ID; Binding: WinApi.PtrVoid; VAR [nil] ObjectUuid: COM.GUID): RPC_STATUS; (*END RpcMgmtEpUnregister;*) PROCEDURE RpcMgmtSetAuthorizationFn* (AuthorizationFn: RPC_MGMT_AUTHORIZATION_FN): RPC_STATUS; (*END RpcMgmtSetAuthorizationFn;*) PROCEDURE RpcMgmtInqParameter* (Parameter: INTEGER; VAR [nil] Value: INTEGER): RPC_STATUS; (*END RpcMgmtInqParameter;*) PROCEDURE RpcMgmtSetParameter* (Parameter: INTEGER; Value: INTEGER): RPC_STATUS; (*END RpcMgmtSetParameter;*) PROCEDURE RpcMgmtBindingInqParameter* (Handle: WinApi.PtrVoid; Parameter: INTEGER; VAR [nil] Value: INTEGER): RPC_STATUS; (*END RpcMgmtBindingInqParameter;*) PROCEDURE RpcMgmtBindingSetParameter* (Handle: WinApi.PtrVoid; Parameter: INTEGER; Value: INTEGER): RPC_STATUS; (*END RpcMgmtBindingSetParameter;*) PROCEDURE I_RpcGetBuffer* (VAR [nil] Message: RPC_MESSAGE): RPC_STATUS; (*END I_RpcGetBuffer;*) PROCEDURE I_RpcSendReceive* (VAR [nil] Message: RPC_MESSAGE): RPC_STATUS; (*END I_RpcSendReceive;*) PROCEDURE I_RpcFreeBuffer* (VAR [nil] Message: RPC_MESSAGE): RPC_STATUS; (*END I_RpcFreeBuffer;*) PROCEDURE I_RpcRequestMutex* (VAR [nil] Mutex: WinApi.PtrVoid); (*END I_RpcRequestMutex;*) PROCEDURE I_RpcClearMutex* (Mutex: WinApi.PtrVoid); (*END I_RpcClearMutex;*) PROCEDURE I_RpcDeleteMutex* (Mutex: WinApi.PtrVoid); (*END I_RpcDeleteMutex;*) PROCEDURE I_RpcAllocate* (Size: INTEGER): WinApi.PtrVoid; (*END I_RpcAllocate;*) PROCEDURE I_RpcFree* (Object: WinApi.PtrVoid); (*END I_RpcFree;*) PROCEDURE I_RpcPauseExecution* (Milliseconds: INTEGER); (*END I_RpcPauseExecution;*) PROCEDURE I_RpcMonitorAssociation* (Handle: WinApi.PtrVoid; RundownRoutine: RPC_RUNDOWN; Context: WinApi.PtrVoid): RPC_STATUS; (*END I_RpcMonitorAssociation;*) PROCEDURE I_RpcStopMonitorAssociation* (Handle: WinApi.PtrVoid): RPC_STATUS; (*END I_RpcStopMonitorAssociation;*) PROCEDURE I_RpcGetCurrentCallHandle* (): WinApi.PtrVoid; (*END I_RpcGetCurrentCallHandle;*) PROCEDURE I_RpcGetAssociationContext* (VAR [nil] AssociationContext: WinApi.PtrVoid): RPC_STATUS; (*END I_RpcGetAssociationContext;*) PROCEDURE I_RpcSetAssociationContext* (AssociationContext: WinApi.PtrVoid): RPC_STATUS; (*END I_RpcSetAssociationContext;*) PROCEDURE I_RpcNsBindingSetEntryName* (Binding: WinApi.PtrVoid; EntryNameSyntax: INTEGER; VAR [nil] EntryName: SHORTINT): RPC_STATUS; (*END I_RpcNsBindingSetEntryName;*) PROCEDURE I_RpcBindingInqDynamicEndpoint* (Binding: WinApi.PtrVoid; VAR [nil] DynamicEndpoint: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT): RPC_STATUS; (*END I_RpcBindingInqDynamicEndpoint;*) PROCEDURE I_RpcBindingInqTransportType* (Binding: WinApi.PtrVoid; VAR [nil] Type: INTEGER): RPC_STATUS; (*END I_RpcBindingInqTransportType;*) PROCEDURE I_RpcIfInqTransferSyntaxes* (RpcIfHandle: WinApi.PtrVoid; VAR [nil] TransferSyntaxes: RPC_TRANSFER_SYNTAX; TransferSyntaxSize: INTEGER; VAR [nil] TransferSyntaxCount: INTEGER): RPC_STATUS; (*END I_RpcIfInqTransferSyntaxes;*) PROCEDURE I_UuidCreate* (VAR [nil] Uuid: COM.GUID): RPC_STATUS; (*END I_UuidCreate;*) PROCEDURE I_RpcBindingCopy* (SourceBinding: WinApi.PtrVoid; VAR [nil] DestinationBinding: WinApi.PtrVoid): RPC_STATUS; (*END I_RpcBindingCopy;*) PROCEDURE I_RpcBindingIsClientLocal* (BindingHandle: WinApi.PtrVoid; VAR [nil] ClientLocalFlag: INTEGER): RPC_STATUS; (*END I_RpcBindingIsClientLocal;*) PROCEDURE I_RpcSsDontSerializeContext* (); (*END I_RpcSsDontSerializeContext;*) PROCEDURE I_RpcLaunchDatagramReceiveThread* (pAddress: WinApi.PtrVoid): RPC_STATUS; (*END I_RpcLaunchDatagramReceiveThread;*) PROCEDURE I_RpcServerRegisterForwardFunction* (pForwardFunction: RPC_FORWARD_FUNCTION): RPC_STATUS; (*END I_RpcServerRegisterForwardFunction;*) PROCEDURE I_RpcConnectionInqSockBuffSize* (VAR [nil] RecvBuffSize: INTEGER; VAR [nil] SendBuffSize: INTEGER): RPC_STATUS; (*END I_RpcConnectionInqSockBuffSize;*) PROCEDURE I_RpcConnectionSetSockBuffSize* (RecvBuffSize: INTEGER; SendBuffSize: INTEGER): RPC_STATUS; (*END I_RpcConnectionSetSockBuffSize;*) PROCEDURE I_RpcServerInqTransportType* (VAR [nil] Type: INTEGER): RPC_STATUS; (*END I_RpcServerInqTransportType;*) PROCEDURE RpcNsBindingExportA* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; IfSpec: WinApi.PtrVoid; VAR [nil] BindingVec: RPC_BINDING_VECTOR; VAR [nil] ObjectUuidVec: UUID_VECTOR): RPC_STATUS; (*END RpcNsBindingExportA;*) PROCEDURE RpcNsBindingUnexportA* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; IfSpec: WinApi.PtrVoid; VAR [nil] ObjectUuidVec: UUID_VECTOR): RPC_STATUS; (*END RpcNsBindingUnexportA;*) PROCEDURE RpcNsBindingExportW* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; VAR [nil] EntryName: SHORTINT; IfSpec: WinApi.PtrVoid; VAR [nil] BindingVec: RPC_BINDING_VECTOR; VAR [nil] ObjectUuidVec: UUID_VECTOR): RPC_STATUS; (*END RpcNsBindingExportW;*) PROCEDURE RpcNsBindingUnexportW* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; VAR [nil] EntryName: SHORTINT; IfSpec: WinApi.PtrVoid; VAR [nil] ObjectUuidVec: UUID_VECTOR): RPC_STATUS; (*END RpcNsBindingUnexportW;*) PROCEDURE RpcNsBindingLookupBeginA* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; IfSpec: WinApi.PtrVoid; VAR [nil] ObjUuid: COM.GUID; BindingMaxCount: INTEGER; VAR [nil] LookupContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsBindingLookupBeginA;*) PROCEDURE RpcNsBindingLookupBeginW* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; VAR [nil] EntryName: SHORTINT; IfSpec: WinApi.PtrVoid; VAR [nil] ObjUuid: COM.GUID; BindingMaxCount: INTEGER; VAR [nil] LookupContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsBindingLookupBeginW;*) PROCEDURE RpcNsBindingLookupNext* ["RPCNS4.dll", ""] (LookupContext: WinApi.PtrVoid; VAR [nil] BindingVec: PtrRPC_BINDING_VECTOR): RPC_STATUS; (*END RpcNsBindingLookupNext;*) PROCEDURE RpcNsBindingLookupDone* ["RPCNS4.dll", ""] (VAR [nil] LookupContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsBindingLookupDone;*) PROCEDURE RpcNsGroupDeleteA* ["RPCNS4.dll", ""] (GroupNameSyntax: INTEGER; GroupName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsGroupDeleteA;*) PROCEDURE RpcNsGroupMbrAddA* ["RPCNS4.dll", ""] (GroupNameSyntax: INTEGER; GroupName: WinApi.PtrSTR; MemberNameSyntax: INTEGER; MemberName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsGroupMbrAddA;*) PROCEDURE RpcNsGroupMbrRemoveA* ["RPCNS4.dll", ""] (GroupNameSyntax: INTEGER; GroupName: WinApi.PtrSTR; MemberNameSyntax: INTEGER; MemberName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsGroupMbrRemoveA;*) PROCEDURE RpcNsGroupMbrInqBeginA* ["RPCNS4.dll", ""] (GroupNameSyntax: INTEGER; GroupName: WinApi.PtrSTR; MemberNameSyntax: INTEGER; VAR [nil] InquiryContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsGroupMbrInqBeginA;*) PROCEDURE RpcNsGroupMbrInqNextA* ["RPCNS4.dll", ""] (InquiryContext: WinApi.PtrVoid; VAR [nil] MemberName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsGroupMbrInqNextA;*) PROCEDURE RpcNsGroupDeleteW* ["RPCNS4.dll", ""] (GroupNameSyntax: INTEGER; VAR [nil] GroupName: SHORTINT): RPC_STATUS; (*END RpcNsGroupDeleteW;*) PROCEDURE RpcNsGroupMbrAddW* ["RPCNS4.dll", ""] (GroupNameSyntax: INTEGER; VAR [nil] GroupName: SHORTINT; MemberNameSyntax: INTEGER; VAR [nil] MemberName: SHORTINT): RPC_STATUS; (*END RpcNsGroupMbrAddW;*) PROCEDURE RpcNsGroupMbrRemoveW* ["RPCNS4.dll", ""] (GroupNameSyntax: INTEGER; VAR [nil] GroupName: SHORTINT; MemberNameSyntax: INTEGER; VAR [nil] MemberName: SHORTINT): RPC_STATUS; (*END RpcNsGroupMbrRemoveW;*) PROCEDURE RpcNsGroupMbrInqBeginW* ["RPCNS4.dll", ""] (GroupNameSyntax: INTEGER; VAR [nil] GroupName: SHORTINT; MemberNameSyntax: INTEGER; VAR [nil] InquiryContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsGroupMbrInqBeginW;*) PROCEDURE RpcNsGroupMbrInqNextW* ["RPCNS4.dll", ""] (InquiryContext: WinApi.PtrVoid; VAR [nil] MemberName: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT): RPC_STATUS; (*END RpcNsGroupMbrInqNextW;*) PROCEDURE RpcNsGroupMbrInqDone* ["RPCNS4.dll", ""] (VAR [nil] InquiryContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsGroupMbrInqDone;*) PROCEDURE RpcNsProfileDeleteA* ["RPCNS4.dll", ""] (ProfileNameSyntax: INTEGER; ProfileName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsProfileDeleteA;*) PROCEDURE RpcNsProfileEltAddA* ["RPCNS4.dll", ""] (ProfileNameSyntax: INTEGER; ProfileName: WinApi.PtrSTR; VAR [nil] IfId: RPC_IF_ID; MemberNameSyntax: INTEGER; MemberName: WinApi.PtrSTR; Priority: INTEGER; Annotation: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsProfileEltAddA;*) PROCEDURE RpcNsProfileEltRemoveA* ["RPCNS4.dll", ""] (ProfileNameSyntax: INTEGER; ProfileName: WinApi.PtrSTR; VAR [nil] IfId: RPC_IF_ID; MemberNameSyntax: INTEGER; MemberName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsProfileEltRemoveA;*) PROCEDURE RpcNsProfileEltInqBeginA* ["RPCNS4.dll", ""] (ProfileNameSyntax: INTEGER; ProfileName: WinApi.PtrSTR; InquiryType: INTEGER; VAR [nil] IfId: RPC_IF_ID; VersOption: INTEGER; MemberNameSyntax: INTEGER; MemberName: WinApi.PtrSTR; VAR [nil] InquiryContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsProfileEltInqBeginA;*) PROCEDURE RpcNsProfileEltInqNextA* ["RPCNS4.dll", ""] (InquiryContext: WinApi.PtrVoid; VAR [nil] IfId: RPC_IF_ID; VAR [nil] MemberName: WinApi.PtrSTR; VAR [nil] Priority: INTEGER; VAR [nil] Annotation: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsProfileEltInqNextA;*) PROCEDURE RpcNsProfileDeleteW* ["RPCNS4.dll", ""] (ProfileNameSyntax: INTEGER; VAR [nil] ProfileName: SHORTINT): RPC_STATUS; (*END RpcNsProfileDeleteW;*) PROCEDURE RpcNsProfileEltAddW* ["RPCNS4.dll", ""] (ProfileNameSyntax: INTEGER; VAR [nil] ProfileName: SHORTINT; VAR [nil] IfId: RPC_IF_ID; MemberNameSyntax: INTEGER; VAR [nil] MemberName: SHORTINT; Priority: INTEGER; VAR [nil] Annotation: SHORTINT): RPC_STATUS; (*END RpcNsProfileEltAddW;*) PROCEDURE RpcNsProfileEltRemoveW* ["RPCNS4.dll", ""] (ProfileNameSyntax: INTEGER; VAR [nil] ProfileName: SHORTINT; VAR [nil] IfId: RPC_IF_ID; MemberNameSyntax: INTEGER; VAR [nil] MemberName: SHORTINT): RPC_STATUS; (*END RpcNsProfileEltRemoveW;*) PROCEDURE RpcNsProfileEltInqBeginW* ["RPCNS4.dll", ""] (ProfileNameSyntax: INTEGER; VAR [nil] ProfileName: SHORTINT; InquiryType: INTEGER; VAR [nil] IfId: RPC_IF_ID; VersOption: INTEGER; MemberNameSyntax: INTEGER; VAR [nil] MemberName: SHORTINT; VAR [nil] InquiryContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsProfileEltInqBeginW;*) PROCEDURE RpcNsProfileEltInqNextW* ["RPCNS4.dll", ""] (InquiryContext: WinApi.PtrVoid; VAR [nil] IfId: RPC_IF_ID; VAR [nil] MemberName: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT; VAR [nil] Priority: INTEGER; VAR [nil] Annotation: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT): RPC_STATUS; (*END RpcNsProfileEltInqNextW;*) PROCEDURE RpcNsProfileEltInqDone* ["RPCNS4.dll", ""] (VAR [nil] InquiryContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsProfileEltInqDone;*) PROCEDURE RpcNsEntryObjectInqBeginA* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; VAR [nil] InquiryContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsEntryObjectInqBeginA;*) PROCEDURE RpcNsEntryObjectInqBeginW* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; VAR [nil] EntryName: SHORTINT; VAR [nil] InquiryContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsEntryObjectInqBeginW;*) PROCEDURE RpcNsEntryObjectInqNext* ["RPCNS4.dll", ""] (InquiryContext: WinApi.PtrVoid; VAR [nil] ObjUuid: COM.GUID): RPC_STATUS; (*END RpcNsEntryObjectInqNext;*) PROCEDURE RpcNsEntryObjectInqDone* ["RPCNS4.dll", ""] (VAR [nil] InquiryContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsEntryObjectInqDone;*) PROCEDURE RpcNsEntryExpandNameA* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; VAR [nil] ExpandedName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsEntryExpandNameA;*) PROCEDURE RpcNsMgmtBindingUnexportA* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; VAR [nil] IfId: RPC_IF_ID; VersOption: INTEGER; VAR [nil] ObjectUuidVec: UUID_VECTOR): RPC_STATUS; (*END RpcNsMgmtBindingUnexportA;*) PROCEDURE RpcNsMgmtEntryCreateA* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsMgmtEntryCreateA;*) PROCEDURE RpcNsMgmtEntryDeleteA* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsMgmtEntryDeleteA;*) PROCEDURE RpcNsMgmtEntryInqIfIdsA* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; VAR [nil] IfIdVec: PtrRPC_IF_ID_VECTOR): RPC_STATUS; (*END RpcNsMgmtEntryInqIfIdsA;*) PROCEDURE RpcNsMgmtHandleSetExpAge* ["RPCNS4.dll", ""] (NsHandle: WinApi.PtrVoid; ExpirationAge: INTEGER): RPC_STATUS; (*END RpcNsMgmtHandleSetExpAge;*) PROCEDURE RpcNsMgmtInqExpAge* ["RPCNS4.dll", ""] (VAR [nil] ExpirationAge: INTEGER): RPC_STATUS; (*END RpcNsMgmtInqExpAge;*) PROCEDURE RpcNsMgmtSetExpAge* ["RPCNS4.dll", ""] (ExpirationAge: INTEGER): RPC_STATUS; (*END RpcNsMgmtSetExpAge;*) PROCEDURE RpcNsEntryExpandNameW* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; VAR [nil] EntryName: SHORTINT; VAR [nil] ExpandedName: POINTER TO (*?*) ARRAY [untagged] OF SHORTINT): RPC_STATUS; (*END RpcNsEntryExpandNameW;*) PROCEDURE RpcNsMgmtBindingUnexportW* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; VAR [nil] EntryName: SHORTINT; VAR [nil] IfId: RPC_IF_ID; VersOption: INTEGER; VAR [nil] ObjectUuidVec: UUID_VECTOR): RPC_STATUS; (*END RpcNsMgmtBindingUnexportW;*) PROCEDURE RpcNsMgmtEntryCreateW* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; VAR [nil] EntryName: SHORTINT): RPC_STATUS; (*END RpcNsMgmtEntryCreateW;*) PROCEDURE RpcNsMgmtEntryDeleteW* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; VAR [nil] EntryName: SHORTINT): RPC_STATUS; (*END RpcNsMgmtEntryDeleteW;*) PROCEDURE RpcNsMgmtEntryInqIfIdsW* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; VAR [nil] EntryName: SHORTINT; VAR [nil] IfIdVec: PtrRPC_IF_ID_VECTOR): RPC_STATUS; (*END RpcNsMgmtEntryInqIfIdsW;*) PROCEDURE RpcNsBindingImportBeginA* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; IfSpec: WinApi.PtrVoid; VAR [nil] ObjUuid: COM.GUID; VAR [nil] ImportContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsBindingImportBeginA;*) PROCEDURE RpcNsBindingImportBeginW* ["RPCNS4.dll", ""] (EntryNameSyntax: INTEGER; VAR [nil] EntryName: SHORTINT; IfSpec: WinApi.PtrVoid; VAR [nil] ObjUuid: COM.GUID; VAR [nil] ImportContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsBindingImportBeginW;*) PROCEDURE RpcNsBindingImportNext* ["RPCNS4.dll", ""] (ImportContext: WinApi.PtrVoid; VAR [nil] Binding: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsBindingImportNext;*) PROCEDURE RpcNsBindingImportDone* ["RPCNS4.dll", ""] (VAR [nil] ImportContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsBindingImportDone;*) PROCEDURE RpcNsBindingSelect* ["RPCNS4.dll", ""] (VAR [nil] BindingVec: RPC_BINDING_VECTOR; VAR [nil] Binding: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsBindingSelect;*) PROCEDURE RpcNsBindingLookupBegin* ["RPCNS4.dll", "RpcNsBindingLookupBeginA"] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; IfSpec: WinApi.PtrVoid; VAR [nil] ObjUuid: COM.GUID; BindingMaxCount: INTEGER; VAR [nil] LookupContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsBindingLookupBegin;*) PROCEDURE RpcNsBindingImportBegin* ["RPCNS4.dll", "RpcNsBindingImportBeginA"] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; IfSpec: WinApi.PtrVoid; VAR [nil] ObjUuid: COM.GUID; VAR [nil] ImportContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsBindingImportBegin;*) PROCEDURE RpcNsBindingExport* ["RPCNS4.dll", "RpcNsBindingExportA"] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; IfSpec: WinApi.PtrVoid; VAR [nil] BindingVec: RPC_BINDING_VECTOR; VAR [nil] ObjectUuidVec: UUID_VECTOR): RPC_STATUS; (*END RpcNsBindingExport;*) PROCEDURE RpcNsBindingUnexport* ["RPCNS4.dll", "RpcNsBindingUnexportA"] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; IfSpec: WinApi.PtrVoid; VAR [nil] ObjectUuidVec: UUID_VECTOR): RPC_STATUS; (*END RpcNsBindingUnexport;*) PROCEDURE RpcNsGroupDelete* ["RPCNS4.dll", "RpcNsGroupDeleteA"] (GroupNameSyntax: INTEGER; GroupName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsGroupDelete;*) PROCEDURE RpcNsGroupMbrAdd* ["RPCNS4.dll", "RpcNsGroupMbrAddA"] (GroupNameSyntax: INTEGER; GroupName: WinApi.PtrSTR; MemberNameSyntax: INTEGER; MemberName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsGroupMbrAdd;*) PROCEDURE RpcNsGroupMbrRemove* ["RPCNS4.dll", "RpcNsGroupMbrRemoveA"] (GroupNameSyntax: INTEGER; GroupName: WinApi.PtrSTR; MemberNameSyntax: INTEGER; MemberName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsGroupMbrRemove;*) PROCEDURE RpcNsGroupMbrInqBegin* ["RPCNS4.dll", "RpcNsGroupMbrInqBeginA"] (GroupNameSyntax: INTEGER; GroupName: WinApi.PtrSTR; MemberNameSyntax: INTEGER; VAR [nil] InquiryContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsGroupMbrInqBegin;*) PROCEDURE RpcNsGroupMbrInqNext* ["RPCNS4.dll", "RpcNsGroupMbrInqNextA"] (InquiryContext: WinApi.PtrVoid; VAR [nil] MemberName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsGroupMbrInqNext;*) PROCEDURE RpcNsEntryExpandName* ["RPCNS4.dll", "RpcNsEntryExpandNameA"] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; VAR [nil] ExpandedName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsEntryExpandName;*) PROCEDURE RpcNsEntryObjectInqBegin* ["RPCNS4.dll", "RpcNsEntryObjectInqBeginA"] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; VAR [nil] InquiryContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsEntryObjectInqBegin;*) PROCEDURE RpcNsMgmtBindingUnexport* ["RPCNS4.dll", "RpcNsMgmtBindingUnexportA"] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; VAR [nil] IfId: RPC_IF_ID; VersOption: INTEGER; VAR [nil] ObjectUuidVec: UUID_VECTOR): RPC_STATUS; (*END RpcNsMgmtBindingUnexport;*) PROCEDURE RpcNsMgmtEntryCreate* ["RPCNS4.dll", "RpcNsMgmtEntryCreateA"] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsMgmtEntryCreate;*) PROCEDURE RpcNsMgmtEntryDelete* ["RPCNS4.dll", "RpcNsMgmtEntryDeleteA"] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsMgmtEntryDelete;*) PROCEDURE RpcNsMgmtEntryInqIfIds* ["RPCNS4.dll", "RpcNsMgmtEntryInqIfIdsA"] (EntryNameSyntax: INTEGER; EntryName: WinApi.PtrSTR; VAR [nil] IfIdVec: PtrRPC_IF_ID_VECTOR): RPC_STATUS; (*END RpcNsMgmtEntryInqIfIds;*) PROCEDURE RpcNsProfileDelete* ["RPCNS4.dll", "RpcNsProfileDeleteA"] (ProfileNameSyntax: INTEGER; ProfileName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsProfileDelete;*) PROCEDURE RpcNsProfileEltAdd* ["RPCNS4.dll", "RpcNsProfileEltAddA"] (ProfileNameSyntax: INTEGER; ProfileName: WinApi.PtrSTR; VAR [nil] IfId: RPC_IF_ID; MemberNameSyntax: INTEGER; MemberName: WinApi.PtrSTR; Priority: INTEGER; Annotation: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsProfileEltAdd;*) PROCEDURE RpcNsProfileEltRemove* ["RPCNS4.dll", "RpcNsProfileEltRemoveA"] (ProfileNameSyntax: INTEGER; ProfileName: WinApi.PtrSTR; VAR [nil] IfId: RPC_IF_ID; MemberNameSyntax: INTEGER; MemberName: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsProfileEltRemove;*) PROCEDURE RpcNsProfileEltInqBegin* ["RPCNS4.dll", "RpcNsProfileEltInqBeginA"] (ProfileNameSyntax: INTEGER; ProfileName: WinApi.PtrSTR; InquiryType: INTEGER; VAR [nil] IfId: RPC_IF_ID; VersOption: INTEGER; MemberNameSyntax: INTEGER; MemberName: WinApi.PtrSTR; VAR [nil] InquiryContext: WinApi.PtrVoid): RPC_STATUS; (*END RpcNsProfileEltInqBegin;*) PROCEDURE RpcNsProfileEltInqNext* ["RPCNS4.dll", "RpcNsProfileEltInqNextA"] (InquiryContext: WinApi.PtrVoid; VAR [nil] IfId: RPC_IF_ID; VAR [nil] MemberName: WinApi.PtrSTR; VAR [nil] Priority: INTEGER; VAR [nil] Annotation: WinApi.PtrSTR): RPC_STATUS; (*END RpcNsProfileEltInqNext;*) PROCEDURE RpcImpersonateClient* (BindingHandle: WinApi.PtrVoid): RPC_STATUS; (*END RpcImpersonateClient;*) PROCEDURE RpcRevertToSelfEx* (BindingHandle: WinApi.PtrVoid): RPC_STATUS; (*END RpcRevertToSelfEx;*) PROCEDURE RpcRevertToSelf* (): RPC_STATUS; (*END RpcRevertToSelf;*) PROCEDURE I_RpcMapWin32Status* (Status: RPC_STATUS): INTEGER; (*END I_RpcMapWin32Status;*) PROCEDURE I_RpcNsGetBuffer* ["RPCNS4.dll", ""] (VAR [nil] Message: RPC_MESSAGE): RPC_STATUS; (*END I_RpcNsGetBuffer;*) PROCEDURE I_RpcNsSendReceive* ["RPCNS4.dll", ""] (VAR [nil] Message: RPC_MESSAGE; VAR [nil] Handle: WinApi.PtrVoid): RPC_STATUS; (*END I_RpcNsSendReceive;*) PROCEDURE I_RpcNsRaiseException* ["RPCNS4.dll", ""] (VAR [nil] Message: RPC_MESSAGE; Status: RPC_STATUS); (*END I_RpcNsRaiseException;*) PROCEDURE I_RpcReBindBuffer* ["RPCNS4.dll", ""] (VAR [nil] Message: RPC_MESSAGE): RPC_STATUS; (*END I_RpcReBindBuffer;*) PROCEDURE NDRCContextBinding* (CContext: WinApi.PtrVoid): WinApi.PtrVoid; (*END NDRCContextBinding;*) PROCEDURE NDRCContextMarshall* (CContext: WinApi.PtrVoid; pBuff: WinApi.PtrVoid); (*END NDRCContextMarshall;*) PROCEDURE NDRCContextUnmarshall* (VAR [nil] pCContext: WinApi.PtrVoid; hBinding: WinApi.PtrVoid; pBuff: WinApi.PtrVoid; DataRepresentation: INTEGER); (*END NDRCContextUnmarshall;*) PROCEDURE NDRSContextMarshall* (CContext: NDR_SCONTEXT; pBuff: WinApi.PtrVoid; userRunDownIn: NDR_RUNDOWN); (*END NDRSContextMarshall;*) PROCEDURE NDRSContextUnmarshall* (pBuff: WinApi.PtrVoid; DataRepresentation: INTEGER): NDR_SCONTEXT; (*END NDRSContextUnmarshall;*) PROCEDURE RpcSsDestroyClientContext* (VAR [nil] ContextHandle: WinApi.PtrVoid); (*END RpcSsDestroyClientContext;*) PROCEDURE NDRcopy* (pTarget: WinApi.PtrVoid; pSource: WinApi.PtrVoid; size: INTEGER); (*END NDRcopy;*) PROCEDURE MIDL_wchar_strlen* (s: WinApi.PtrWSTR): INTEGER; (*END MIDL_wchar_strlen;*) PROCEDURE MIDL_wchar_strcpy* (t: WinApi.PtrVoid; s: WinApi.PtrWSTR); (*END MIDL_wchar_strcpy;*) PROCEDURE char_from_ndr* (VAR [nil] SourceMessage: RPC_MESSAGE; Target: WinApi.PtrSTR); (*END char_from_ndr;*) PROCEDURE char_array_from_ndr* (VAR [nil] SourceMessage: RPC_MESSAGE; LowerIndex: INTEGER; UpperIndex: INTEGER; Target: WinApi.PtrSTR); (*END char_array_from_ndr;*) PROCEDURE short_from_ndr* (VAR [nil] source: RPC_MESSAGE; VAR [nil] target: SHORTINT); (*END short_from_ndr;*) PROCEDURE short_array_from_ndr* (VAR [nil] SourceMessage: RPC_MESSAGE; LowerIndex: INTEGER; UpperIndex: INTEGER; VAR [nil] Target: SHORTINT); (*END short_array_from_ndr;*) PROCEDURE short_from_ndr_temp* (VAR [nil] source: WinApi.PtrSTR; VAR [nil] target: SHORTINT; format: INTEGER); (*END short_from_ndr_temp;*) PROCEDURE long_from_ndr* (VAR [nil] source: RPC_MESSAGE; VAR [nil] target: INTEGER); (*END long_from_ndr;*) PROCEDURE long_array_from_ndr* (VAR [nil] SourceMessage: RPC_MESSAGE; LowerIndex: INTEGER; UpperIndex: INTEGER; VAR [nil] Target: INTEGER); (*END long_array_from_ndr;*) PROCEDURE long_from_ndr_temp* (VAR [nil] source: WinApi.PtrSTR; VAR [nil] target: INTEGER; format: INTEGER); (*END long_from_ndr_temp;*) PROCEDURE enum_from_ndr* (VAR [nil] SourceMessage: RPC_MESSAGE; VAR [nil] Target: INTEGER); (*END enum_from_ndr;*) PROCEDURE float_from_ndr* (VAR [nil] SourceMessage: RPC_MESSAGE; Target: WinApi.PtrVoid); (*END float_from_ndr;*) PROCEDURE float_array_from_ndr* (VAR [nil] SourceMessage: RPC_MESSAGE; LowerIndex: INTEGER; UpperIndex: INTEGER; Target: WinApi.PtrVoid); (*END float_array_from_ndr;*) PROCEDURE double_from_ndr* (VAR [nil] SourceMessage: RPC_MESSAGE; Target: WinApi.PtrVoid); (*END double_from_ndr;*) PROCEDURE double_array_from_ndr* (VAR [nil] SourceMessage: RPC_MESSAGE; LowerIndex: INTEGER; UpperIndex: INTEGER; Target: WinApi.PtrVoid); (*END double_array_from_ndr;*) PROCEDURE data_from_ndr* (VAR [nil] source: RPC_MESSAGE; target: WinApi.PtrVoid; format: WinApi.PtrSTR; MscPak: SHORTCHAR); (*END data_from_ndr;*) PROCEDURE data_into_ndr* (source: WinApi.PtrVoid; VAR [nil] target: RPC_MESSAGE; format: WinApi.PtrSTR; MscPak: SHORTCHAR); (*END data_into_ndr;*) PROCEDURE tree_into_ndr* (source: WinApi.PtrVoid; VAR [nil] target: RPC_MESSAGE; format: WinApi.PtrSTR; MscPak: SHORTCHAR); (*END tree_into_ndr;*) PROCEDURE data_size_ndr* (source: WinApi.PtrVoid; VAR [nil] target: RPC_MESSAGE; format: WinApi.PtrSTR; MscPak: SHORTCHAR); (*END data_size_ndr;*) PROCEDURE tree_size_ndr* (source: WinApi.PtrVoid; VAR [nil] target: RPC_MESSAGE; format: WinApi.PtrSTR; MscPak: SHORTCHAR); (*END tree_size_ndr;*) PROCEDURE tree_peek_ndr* (VAR [nil] source: RPC_MESSAGE; VAR [nil] buffer: WinApi.PtrSTR; format: WinApi.PtrSTR; MscPak: SHORTCHAR); (*END tree_peek_ndr;*) PROCEDURE NdrSimpleTypeMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; FormatChar: SHORTCHAR); (*END NdrSimpleTypeMarshall;*) PROCEDURE NdrPointerMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrPointerMarshall;*) PROCEDURE NdrSimpleStructMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrSimpleStructMarshall;*) PROCEDURE NdrConformantStructMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrConformantStructMarshall;*) PROCEDURE NdrConformantVaryingStructMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrConformantVaryingStructMarshall;*) PROCEDURE NdrHardStructMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrHardStructMarshall;*) PROCEDURE NdrComplexStructMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrComplexStructMarshall;*) PROCEDURE NdrFixedArrayMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrFixedArrayMarshall;*) PROCEDURE NdrConformantArrayMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrConformantArrayMarshall;*) PROCEDURE NdrConformantVaryingArrayMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrConformantVaryingArrayMarshall;*) PROCEDURE NdrVaryingArrayMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrVaryingArrayMarshall;*) PROCEDURE NdrComplexArrayMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrComplexArrayMarshall;*) PROCEDURE NdrNonConformantStringMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrNonConformantStringMarshall;*) PROCEDURE NdrConformantStringMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrConformantStringMarshall;*) PROCEDURE NdrEncapsulatedUnionMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrEncapsulatedUnionMarshall;*) PROCEDURE NdrNonEncapsulatedUnionMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrNonEncapsulatedUnionMarshall;*) PROCEDURE NdrByteCountPointerMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrByteCountPointerMarshall;*) PROCEDURE NdrXmitOrRepAsMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrXmitOrRepAsMarshall;*) PROCEDURE NdrUserMarshalMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrUserMarshalMarshall;*) PROCEDURE NdrInterfacePointerMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrInterfacePointerMarshall;*) PROCEDURE NdrClientContextMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; ContextHandle: WinApi.PtrVoid; fCheck: INTEGER); (*END NdrClientContextMarshall;*) PROCEDURE NdrServerContextMarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; ContextHandle: NDR_SCONTEXT; RundownRoutine: NDR_RUNDOWN); (*END NdrServerContextMarshall;*) PROCEDURE NdrSimpleTypeUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; FormatChar: SHORTCHAR); (*END NdrSimpleTypeUnmarshall;*) PROCEDURE NdrPointerUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrPointerUnmarshall;*) PROCEDURE NdrSimpleStructUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrSimpleStructUnmarshall;*) PROCEDURE NdrConformantStructUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrConformantStructUnmarshall;*) PROCEDURE NdrConformantVaryingStructUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrConformantVaryingStructUnmarshall;*) PROCEDURE NdrHardStructUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrHardStructUnmarshall;*) PROCEDURE NdrComplexStructUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrComplexStructUnmarshall;*) PROCEDURE NdrFixedArrayUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrFixedArrayUnmarshall;*) PROCEDURE NdrConformantArrayUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrConformantArrayUnmarshall;*) PROCEDURE NdrConformantVaryingArrayUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrConformantVaryingArrayUnmarshall;*) PROCEDURE NdrVaryingArrayUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrVaryingArrayUnmarshall;*) PROCEDURE NdrComplexArrayUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrComplexArrayUnmarshall;*) PROCEDURE NdrNonConformantStringUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrNonConformantStringUnmarshall;*) PROCEDURE NdrConformantStringUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrConformantStringUnmarshall;*) PROCEDURE NdrEncapsulatedUnionUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrEncapsulatedUnionUnmarshall;*) PROCEDURE NdrNonEncapsulatedUnionUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrNonEncapsulatedUnionUnmarshall;*) PROCEDURE NdrByteCountPointerUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrByteCountPointerUnmarshall;*) PROCEDURE NdrXmitOrRepAsUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrXmitOrRepAsUnmarshall;*) PROCEDURE NdrUserMarshalUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrUserMarshalUnmarshall;*) PROCEDURE NdrInterfacePointerUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] ppMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR; fMustAlloc: SHORTCHAR): WinApi.PtrSTR; (*END NdrInterfacePointerUnmarshall;*) PROCEDURE NdrClientContextUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] pContextHandle: WinApi.PtrVoid; BindHandle: WinApi.PtrVoid); (*END NdrClientContextUnmarshall;*) PROCEDURE NdrServerContextUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE): NDR_SCONTEXT; (*END NdrServerContextUnmarshall;*) PROCEDURE NdrPointerBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrPointerBufferSize;*) PROCEDURE NdrSimpleStructBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrSimpleStructBufferSize;*) PROCEDURE NdrConformantStructBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrConformantStructBufferSize;*) PROCEDURE NdrConformantVaryingStructBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrConformantVaryingStructBufferSize;*) PROCEDURE NdrHardStructBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrHardStructBufferSize;*) PROCEDURE NdrComplexStructBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrComplexStructBufferSize;*) PROCEDURE NdrFixedArrayBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrFixedArrayBufferSize;*) PROCEDURE NdrConformantArrayBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrConformantArrayBufferSize;*) PROCEDURE NdrConformantVaryingArrayBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrConformantVaryingArrayBufferSize;*) PROCEDURE NdrVaryingArrayBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrVaryingArrayBufferSize;*) PROCEDURE NdrComplexArrayBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrComplexArrayBufferSize;*) PROCEDURE NdrConformantStringBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrConformantStringBufferSize;*) PROCEDURE NdrNonConformantStringBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrNonConformantStringBufferSize;*) PROCEDURE NdrEncapsulatedUnionBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrEncapsulatedUnionBufferSize;*) PROCEDURE NdrNonEncapsulatedUnionBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrNonEncapsulatedUnionBufferSize;*) PROCEDURE NdrByteCountPointerBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrByteCountPointerBufferSize;*) PROCEDURE NdrXmitOrRepAsBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrXmitOrRepAsBufferSize;*) PROCEDURE NdrUserMarshalBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrUserMarshalBufferSize;*) PROCEDURE NdrInterfacePointerBufferSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrInterfacePointerBufferSize;*) PROCEDURE NdrContextHandleSize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrContextHandleSize;*) PROCEDURE NdrPointerMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrPointerMemorySize;*) PROCEDURE NdrSimpleStructMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrSimpleStructMemorySize;*) PROCEDURE NdrConformantStructMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrConformantStructMemorySize;*) PROCEDURE NdrConformantVaryingStructMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrConformantVaryingStructMemorySize;*) PROCEDURE NdrHardStructMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrHardStructMemorySize;*) PROCEDURE NdrComplexStructMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrComplexStructMemorySize;*) PROCEDURE NdrFixedArrayMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrFixedArrayMemorySize;*) PROCEDURE NdrConformantArrayMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrConformantArrayMemorySize;*) PROCEDURE NdrConformantVaryingArrayMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrConformantVaryingArrayMemorySize;*) PROCEDURE NdrVaryingArrayMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrVaryingArrayMemorySize;*) PROCEDURE NdrComplexArrayMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrComplexArrayMemorySize;*) PROCEDURE NdrConformantStringMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrConformantStringMemorySize;*) PROCEDURE NdrNonConformantStringMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrNonConformantStringMemorySize;*) PROCEDURE NdrEncapsulatedUnionMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrEncapsulatedUnionMemorySize;*) PROCEDURE NdrNonEncapsulatedUnionMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrNonEncapsulatedUnionMemorySize;*) PROCEDURE NdrXmitOrRepAsMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrXmitOrRepAsMemorySize;*) PROCEDURE NdrUserMarshalMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrUserMarshalMemorySize;*) PROCEDURE NdrInterfacePointerMemorySize* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR): INTEGER; (*END NdrInterfacePointerMemorySize;*) PROCEDURE NdrPointerFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrPointerFree;*) PROCEDURE NdrSimpleStructFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrSimpleStructFree;*) PROCEDURE NdrConformantStructFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrConformantStructFree;*) PROCEDURE NdrConformantVaryingStructFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrConformantVaryingStructFree;*) PROCEDURE NdrHardStructFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrHardStructFree;*) PROCEDURE NdrComplexStructFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrComplexStructFree;*) PROCEDURE NdrFixedArrayFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrFixedArrayFree;*) PROCEDURE NdrConformantArrayFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrConformantArrayFree;*) PROCEDURE NdrConformantVaryingArrayFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrConformantVaryingArrayFree;*) PROCEDURE NdrVaryingArrayFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrVaryingArrayFree;*) PROCEDURE NdrComplexArrayFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrComplexArrayFree;*) PROCEDURE NdrEncapsulatedUnionFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrEncapsulatedUnionFree;*) PROCEDURE NdrNonEncapsulatedUnionFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrNonEncapsulatedUnionFree;*) PROCEDURE NdrByteCountPointerFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrByteCountPointerFree;*) PROCEDURE NdrXmitOrRepAsFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrXmitOrRepAsFree;*) PROCEDURE NdrUserMarshalFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrUserMarshalFree;*) PROCEDURE NdrInterfacePointerFree* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pMemory: WinApi.PtrSTR; pFormat: WinApi.PtrSTR); (*END NdrInterfacePointerFree;*) PROCEDURE NdrConvert2* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR; NumberParams: INTEGER); (*END NdrConvert2;*) PROCEDURE NdrConvert* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR); (*END NdrConvert;*) PROCEDURE NdrUserMarshalSimpleTypeConvert* (VAR [nil] pFlags: INTEGER; pBuffer: WinApi.PtrSTR; FormatChar: SHORTCHAR): WinApi.PtrSTR; (*END NdrUserMarshalSimpleTypeConvert;*) PROCEDURE NdrClientInitializeNew* (VAR [nil] pRpcMsg: RPC_MESSAGE; VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] pStubDescriptor: MIDL_STUB_DESC; ProcNum: INTEGER); (*END NdrClientInitializeNew;*) PROCEDURE NdrServerInitializeNew* (VAR [nil] pRpcMsg: RPC_MESSAGE; VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] pStubDescriptor: MIDL_STUB_DESC): WinApi.PtrSTR; (*END NdrServerInitializeNew;*) PROCEDURE NdrClientInitialize* (VAR [nil] pRpcMsg: RPC_MESSAGE; VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] pStubDescriptor: MIDL_STUB_DESC; ProcNum: INTEGER); (*END NdrClientInitialize;*) PROCEDURE NdrServerInitialize* (VAR [nil] pRpcMsg: RPC_MESSAGE; VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] pStubDescriptor: MIDL_STUB_DESC): WinApi.PtrSTR; (*END NdrServerInitialize;*) PROCEDURE NdrServerInitializeUnmarshall* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] pStubDescriptor: MIDL_STUB_DESC; VAR [nil] pRpcMsg: RPC_MESSAGE): WinApi.PtrSTR; (*END NdrServerInitializeUnmarshall;*) PROCEDURE NdrServerInitializeMarshall* (VAR [nil] pRpcMsg: RPC_MESSAGE; VAR [nil] pStubMsg: MIDL_STUB_MESSAGE); (*END NdrServerInitializeMarshall;*) PROCEDURE NdrGetBuffer* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; BufferLength: INTEGER; Handle: WinApi.PtrVoid): WinApi.PtrSTR; (*END NdrGetBuffer;*) PROCEDURE NdrNsGetBuffer* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; BufferLength: INTEGER; Handle: WinApi.PtrVoid): WinApi.PtrSTR; (*END NdrNsGetBuffer;*) PROCEDURE NdrSendReceive* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pBufferEnd: WinApi.PtrSTR): WinApi.PtrSTR; (*END NdrSendReceive;*) PROCEDURE NdrNsSendReceive* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pBufferEnd: WinApi.PtrSTR; VAR [nil] pAutoHandle: WinApi.PtrVoid): WinApi.PtrSTR; (*END NdrNsSendReceive;*) PROCEDURE NdrFreeBuffer* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE); (*END NdrFreeBuffer;*) PROCEDURE [ccall] NdrClientCall2* (VAR [nil] pStubDescriptor: MIDL_STUB_DESC; pFormat: WinApi.PtrSTR): LONGINT; (*END NdrClientCall2;*) PROCEDURE [ccall] NdrClientCall* (VAR [nil] pStubDescriptor: MIDL_STUB_DESC; pFormat: WinApi.PtrSTR): LONGINT; (*END NdrClientCall;*) PROCEDURE NdrStubCall2* (pThis: WinOle.IRpcStubBuffer; pChannel: WinOle.IRpcChannelBuffer; VAR [nil] pRpcMsg: RPC_MESSAGE; VAR [nil] pdwStubPhase: INTEGER): INTEGER; (*END NdrStubCall2;*) PROCEDURE NdrServerCall2* (VAR [nil] pRpcMsg: RPC_MESSAGE); (*END NdrServerCall2;*) PROCEDURE NdrStubCall* (pThis: WinOle.IRpcStubBuffer; pChannel: WinOle.IRpcChannelBuffer; VAR [nil] pRpcMsg: RPC_MESSAGE; VAR [nil] pdwStubPhase: INTEGER): INTEGER; (*END NdrStubCall;*) PROCEDURE NdrServerCall* (VAR [nil] pRpcMsg: RPC_MESSAGE); (*END NdrServerCall;*) PROCEDURE NdrServerUnmarshall* (pChannel: WinOle.IRpcChannelBuffer; VAR [nil] pRpcMsg: RPC_MESSAGE; VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] pStubDescriptor: MIDL_STUB_DESC; pFormat: WinApi.PtrSTR; pParamList: WinApi.PtrVoid): INTEGER; (*END NdrServerUnmarshall;*) PROCEDURE NdrServerMarshall* (pThis: WinOle.IRpcStubBuffer; pChannel: WinOle.IRpcChannelBuffer; VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR); (*END NdrServerMarshall;*) PROCEDURE NdrMapCommAndFaultStatus* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; VAR [nil] pCommStatus: INTEGER; VAR [nil] pFaultStatus: INTEGER; Status: RPC_STATUS): RPC_STATUS; (*END NdrMapCommAndFaultStatus;*) PROCEDURE RpcSsAllocate* (Size: INTEGER): WinApi.PtrVoid; (*END RpcSsAllocate;*) PROCEDURE RpcSsDisableAllocate* (); (*END RpcSsDisableAllocate;*) PROCEDURE RpcSsEnableAllocate* (); (*END RpcSsEnableAllocate;*) PROCEDURE RpcSsFree* (NodeToFree: WinApi.PtrVoid); (*END RpcSsFree;*) PROCEDURE RpcSsGetThreadHandle* (): WinApi.PtrVoid; (*END RpcSsGetThreadHandle;*) PROCEDURE RpcSsSetClientAllocFree* (ClientAlloc: RPC_CLIENT_ALLOC; ClientFree: RPC_CLIENT_FREE); (*END RpcSsSetClientAllocFree;*) PROCEDURE RpcSsSetThreadHandle* (Id: WinApi.PtrVoid); (*END RpcSsSetThreadHandle;*) PROCEDURE RpcSsSwapClientAllocFree* (ClientAlloc: RPC_CLIENT_ALLOC; ClientFree: RPC_CLIENT_FREE; VAR [nil] OldClientAlloc: RPC_CLIENT_ALLOC; VAR [nil] OldClientFree: RPC_CLIENT_FREE); (*END RpcSsSwapClientAllocFree;*) PROCEDURE RpcSmAllocate* (Size: INTEGER; VAR [nil] pStatus: RPC_STATUS): WinApi.PtrVoid; (*END RpcSmAllocate;*) PROCEDURE RpcSmClientFree* (pNodeToFree: WinApi.PtrVoid): RPC_STATUS; (*END RpcSmClientFree;*) PROCEDURE RpcSmDestroyClientContext* (VAR [nil] ContextHandle: WinApi.PtrVoid): RPC_STATUS; (*END RpcSmDestroyClientContext;*) PROCEDURE RpcSmDisableAllocate* (): RPC_STATUS; (*END RpcSmDisableAllocate;*) PROCEDURE RpcSmEnableAllocate* (): RPC_STATUS; (*END RpcSmEnableAllocate;*) PROCEDURE RpcSmFree* (NodeToFree: WinApi.PtrVoid): RPC_STATUS; (*END RpcSmFree;*) PROCEDURE RpcSmGetThreadHandle* (VAR [nil] pStatus: RPC_STATUS): WinApi.PtrVoid; (*END RpcSmGetThreadHandle;*) PROCEDURE RpcSmSetClientAllocFree* (ClientAlloc: RPC_CLIENT_ALLOC; ClientFree: RPC_CLIENT_FREE): RPC_STATUS; (*END RpcSmSetClientAllocFree;*) PROCEDURE RpcSmSetThreadHandle* (Id: WinApi.PtrVoid): RPC_STATUS; (*END RpcSmSetThreadHandle;*) PROCEDURE RpcSmSwapClientAllocFree* (ClientAlloc: RPC_CLIENT_ALLOC; ClientFree: RPC_CLIENT_FREE; VAR [nil] OldClientAlloc: RPC_CLIENT_ALLOC; VAR [nil] OldClientFree: RPC_CLIENT_FREE): RPC_STATUS; (*END RpcSmSwapClientAllocFree;*) PROCEDURE NdrRpcSsEnableAllocate* (VAR [nil] pMessage: MIDL_STUB_MESSAGE); (*END NdrRpcSsEnableAllocate;*) PROCEDURE NdrRpcSsDisableAllocate* (VAR [nil] pMessage: MIDL_STUB_MESSAGE); (*END NdrRpcSsDisableAllocate;*) PROCEDURE NdrRpcSmSetClientToOsf* (VAR [nil] pMessage: MIDL_STUB_MESSAGE); (*END NdrRpcSmSetClientToOsf;*) PROCEDURE NdrRpcSmClientAllocate* (Size: INTEGER): WinApi.PtrVoid; (*END NdrRpcSmClientAllocate;*) PROCEDURE NdrRpcSmClientFree* (NodeToFree: WinApi.PtrVoid); (*END NdrRpcSmClientFree;*) PROCEDURE NdrRpcSsDefaultAllocate* (Size: INTEGER): WinApi.PtrVoid; (*END NdrRpcSsDefaultAllocate;*) PROCEDURE NdrRpcSsDefaultFree* (NodeToFree: WinApi.PtrVoid); (*END NdrRpcSsDefaultFree;*) PROCEDURE NdrFullPointerXlatInit* (NumberOfPointers: INTEGER; XlatSide: XLAT_SIDE): PtrFULL_PTR_XLAT_TABLES; (*END NdrFullPointerXlatInit;*) PROCEDURE NdrFullPointerXlatFree* (VAR [nil] pXlatTables: FULL_PTR_XLAT_TABLES); (*END NdrFullPointerXlatFree;*) PROCEDURE NdrFullPointerQueryPointer* (VAR [nil] pXlatTables: FULL_PTR_XLAT_TABLES; pPointer: WinApi.PtrVoid; QueryType: SHORTCHAR; VAR [nil] pRefId: INTEGER): INTEGER; (*END NdrFullPointerQueryPointer;*) PROCEDURE NdrFullPointerQueryRefId* (VAR [nil] pXlatTables: FULL_PTR_XLAT_TABLES; RefId: INTEGER; QueryType: SHORTCHAR; VAR [nil] ppPointer: WinApi.PtrVoid): INTEGER; (*END NdrFullPointerQueryRefId;*) PROCEDURE NdrFullPointerInsertRefId* (VAR [nil] pXlatTables: FULL_PTR_XLAT_TABLES; RefId: INTEGER; pPointer: WinApi.PtrVoid); (*END NdrFullPointerInsertRefId;*) PROCEDURE NdrFullPointerFree* (VAR [nil] pXlatTables: FULL_PTR_XLAT_TABLES; Pointer: WinApi.PtrVoid): INTEGER; (*END NdrFullPointerFree;*) PROCEDURE NdrAllocate* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; Len: INTEGER): WinApi.PtrVoid; (*END NdrAllocate;*) PROCEDURE NdrClearOutParameters* (VAR [nil] pStubMsg: MIDL_STUB_MESSAGE; pFormat: WinApi.PtrSTR; ArgAddr: WinApi.PtrVoid); (*END NdrClearOutParameters;*) PROCEDURE NdrOleAllocate* (Size: INTEGER): WinApi.PtrVoid; (*END NdrOleAllocate;*) PROCEDURE NdrOleFree* (NodeToFree: WinApi.PtrVoid); (*END NdrOleFree;*) END WinRpc.
Win/Mod/Rpc.odc
MODULE WinSql ["ODBC32.dll"]; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) CONST (* macros *) ODBCVER* = 528; SQL_SPEC_MAJOR* = 2; SQL_SPEC_MINOR* = 10; SQL_SPEC_STRING* = "02.10"; SQL_SQLSTATE_SIZE* = 5; SQL_MAX_MESSAGE_LENGTH* = 512; SQL_MAX_DSN_LENGTH* = 32; SQL_INVALID_HANDLE* = -2; SQL_ERROR* = -1; SQL_SUCCESS* = 0; SQL_SUCCESS_WITH_INFO* = 1; SQL_NO_DATA_FOUND* = 100; SQL_NO_DATA* = 100; SQL_CHAR* = 1; SQL_NUMERIC* = 2; SQL_DECIMAL* = 3; SQL_INTEGER* = 4; SQL_SMALLINT* = 5; SQL_FLOAT* = 6; SQL_REAL* = 7; SQL_DOUBLE* = 8; SQL_VARCHAR* = 12; SQL_TYPE_NULL* = 0; SQL_TYPE_MAX* = 12; SQL_C_CHAR* = 1; SQL_C_WCHAR* = -8; SQL_C_LONG* = 4; SQL_C_SHORT* = 5; SQL_C_FLOAT* = 7; SQL_C_DOUBLE* = 8; SQL_C_DEFAULT* = 99; SQL_NO_NULLS* = 0; SQL_NULLABLE* = 1; SQL_NULLABLE_UNKNOWN* = 2; SQL_NULL_DATA* = -1; SQL_DATA_AT_EXEC* = -2; SQL_NTS* = -3; SQL_CLOSE* = 0; SQL_DROP* = 1; SQL_UNBIND* = 2; SQL_RESET_PARAMS* = 3; SQL_COMMIT* = 0; SQL_ROLLBACK* = 1; SQL_COLUMN_COUNT* = 0; SQL_COLUMN_NAME* = 1; SQL_COLUMN_TYPE* = 2; SQL_COLUMN_LENGTH* = 3; SQL_COLUMN_PRECISION* = 4; SQL_COLUMN_SCALE* = 5; SQL_COLUMN_DISPLAY_SIZE* = 6; SQL_COLUMN_NULLABLE* = 7; SQL_COLUMN_UNSIGNED* = 8; SQL_COLUMN_MONEY* = 9; SQL_COLUMN_UPDATABLE* = 10; SQL_COLUMN_AUTO_INCREMENT* = 11; SQL_COLUMN_CASE_SENSITIVE* = 12; SQL_COLUMN_SEARCHABLE* = 13; SQL_COLUMN_TYPE_NAME* = 14; SQL_COLUMN_TABLE_NAME* = 15; SQL_COLUMN_OWNER_NAME* = 16; SQL_COLUMN_QUALIFIER_NAME* = 17; SQL_COLUMN_LABEL* = 18; SQL_COLATT_OPT_MAX* = 18; SQL_COLUMN_DRIVER_START* = 1000; SQL_COLATT_OPT_MIN* = 0; SQL_ATTR_READONLY* = 0; SQL_ATTR_WRITE* = 1; SQL_ATTR_READWRITE_UNKNOWN* = 2; SQL_UNSEARCHABLE* = 0; SQL_LIKE_ONLY* = 1; SQL_ALL_EXCEPT_LIKE* = 2; SQL_SEARCHABLE* = 3; SQL_NULL_HENV* = 0; SQL_NULL_HDBC* = 0; SQL_NULL_HSTMT* = 0; SQL_MAX_OPTION_STRING_LENGTH* = 256; SQL_STILL_EXECUTING* = 2; SQL_NEED_DATA* = 99; SQL_DATE* = 9; SQL_TIME* = 10; SQL_TIMESTAMP* = 11; SQL_LONGVARCHAR* = -1; SQL_BINARY* = -2; SQL_VARBINARY* = -3; SQL_LONGVARBINARY* = -4; SQL_BIGINT* = -5; SQL_TINYINT* = -6; SQL_BIT* = -7; SQL_INTERVAL_YEAR* = -80; SQL_INTERVAL_MONTH* = -81; SQL_INTERVAL_YEAR_TO_MONTH* = -82; SQL_INTERVAL_DAY* = -83; SQL_INTERVAL_HOUR* = -84; SQL_INTERVAL_MINUTE* = -85; SQL_INTERVAL_SECOND* = -86; SQL_INTERVAL_DAY_TO_HOUR* = -87; SQL_INTERVAL_DAY_TO_MINUTE* = -88; SQL_INTERVAL_DAY_TO_SECOND* = -89; SQL_INTERVAL_HOUR_TO_MINUTE* = -90; SQL_INTERVAL_HOUR_TO_SECOND* = -91; SQL_INTERVAL_MINUTE_TO_SECOND* = -92; SQL_UNICODE* = -95; SQL_TYPE_DRIVER_START* = -80; SQL_TYPE_DRIVER_END* = -95; SQL_SIGNED_OFFSET* = -20; SQL_UNSIGNED_OFFSET* = -22; SQL_C_DATE* = 9; SQL_C_TIME* = 10; SQL_C_TIMESTAMP* = 11; SQL_C_BINARY* = -2; SQL_C_BIT* = -7; SQL_C_TINYINT* = -6; SQL_C_SLONG* = -16; SQL_C_SSHORT* = -15; SQL_C_STINYINT* = -26; SQL_C_ULONG* = -18; SQL_C_USHORT* = -17; SQL_C_UTINYINT* = -28; SQL_C_BOOKMARK* = -18; SQL_TYPE_MIN* = -7; SQL_ALL_TYPES* = 0; SQL_DRIVER_NOPROMPT* = 0; SQL_DRIVER_COMPLETE* = 1; SQL_DRIVER_PROMPT* = 2; SQL_DRIVER_COMPLETE_REQUIRED* = 3; SQL_NO_TOTAL* = -4; SQL_DEFAULT_PARAM* = -5; SQL_IGNORE* = -6; SQL_LEN_DATA_AT_EXEC_OFFSET* = -100; SQL_API_SQLALLOCCONNECT* = 1; SQL_API_SQLALLOCENV* = 2; SQL_API_SQLALLOCSTMT* = 3; SQL_API_SQLBINDCOL* = 4; SQL_API_SQLCANCEL* = 5; SQL_API_SQLCOLATTRIBUTES* = 6; SQL_API_SQLCONNECT* = 7; SQL_API_SQLDESCRIBECOL* = 8; SQL_API_SQLDISCONNECT* = 9; SQL_API_SQLERROR* = 10; SQL_API_SQLEXECDIRECT* = 11; SQL_API_SQLEXECUTE* = 12; SQL_API_SQLFETCH* = 13; SQL_API_SQLFREECONNECT* = 14; SQL_API_SQLFREEENV* = 15; SQL_API_SQLFREESTMT* = 16; SQL_API_SQLGETCURSORNAME* = 17; SQL_API_SQLNUMRESULTCOLS* = 18; SQL_API_SQLPREPARE* = 19; SQL_API_SQLROWCOUNT* = 20; SQL_API_SQLSETCURSORNAME* = 21; SQL_API_SQLSETPARAM* = 22; SQL_API_SQLTRANSACT* = 23; SQL_NUM_FUNCTIONS* = 23; SQL_EXT_API_START* = 40; SQL_API_SQLCOLUMNS* = 40; SQL_API_SQLDRIVERCONNECT* = 41; SQL_API_SQLGETCONNECTOPTION* = 42; SQL_API_SQLGETDATA* = 43; SQL_API_SQLGETFUNCTIONS* = 44; SQL_API_SQLGETINFO* = 45; SQL_API_SQLGETSTMTOPTION* = 46; SQL_API_SQLGETTYPEINFO* = 47; SQL_API_SQLPARAMDATA* = 48; SQL_API_SQLPUTDATA* = 49; SQL_API_SQLSETCONNECTOPTION* = 50; SQL_API_SQLSETSTMTOPTION* = 51; SQL_API_SQLSPECIALCOLUMNS* = 52; SQL_API_SQLSTATISTICS* = 53; SQL_API_SQLTABLES* = 54; SQL_API_SQLBROWSECONNECT* = 55; SQL_API_SQLCOLUMNPRIVILEGES* = 56; SQL_API_SQLDATASOURCES* = 57; SQL_API_SQLDESCRIBEPARAM* = 58; SQL_API_SQLEXTENDEDFETCH* = 59; SQL_API_SQLFOREIGNKEYS* = 60; SQL_API_SQLMORERESULTS* = 61; SQL_API_SQLNATIVESQL* = 62; SQL_API_SQLNUMPARAMS* = 63; SQL_API_SQLPARAMOPTIONS* = 64; SQL_API_SQLPRIMARYKEYS* = 65; SQL_API_SQLPROCEDURECOLUMNS* = 66; SQL_API_SQLPROCEDURES* = 67; SQL_API_SQLSETPOS* = 68; SQL_API_SQLSETSCROLLOPTIONS* = 69; SQL_API_SQLTABLEPRIVILEGES* = 70; SQL_API_SQLDRIVERS* = 71; SQL_API_SQLBINDPARAMETER* = 72; SQL_EXT_API_LAST* = 72; SQL_API_ALL_FUNCTIONS* = 0; SQL_NUM_EXTENSIONS* = 33; SQL_API_LOADBYORDINAL* = 199; SQL_INFO_FIRST* = 0; SQL_ACTIVE_CONNECTIONS* = 0; SQL_ACTIVE_STATEMENTS* = 1; SQL_DATA_SOURCE_NAME* = 2; SQL_DRIVER_HDBC* = 3; SQL_DRIVER_HENV* = 4; SQL_DRIVER_HSTMT* = 5; SQL_DRIVER_NAME* = 6; SQL_DRIVER_VER* = 7; SQL_FETCH_DIRECTION* = 8; SQL_ODBC_API_CONFORMANCE* = 9; SQL_ODBC_VER* = 10; SQL_ROW_UPDATES* = 11; SQL_ODBC_SAG_CLI_CONFORMANCE* = 12; SQL_SERVER_NAME* = 13; SQL_SEARCH_PATTERN_ESCAPE* = 14; SQL_ODBC_SQL_CONFORMANCE* = 15; SQL_DBMS_NAME* = 17; SQL_DBMS_VER* = 18; SQL_ACCESSIBLE_TABLES* = 19; SQL_ACCESSIBLE_PROCEDURES* = 20; SQL_PROCEDURES* = 21; SQL_CONCAT_NULL_BEHAVIOR* = 22; SQL_CURSOR_COMMIT_BEHAVIOR* = 23; SQL_CURSOR_ROLLBACK_BEHAVIOR* = 24; SQL_DATA_SOURCE_READ_ONLY* = 25; SQL_DEFAULT_TXN_ISOLATION* = 26; SQL_EXPRESSIONS_IN_ORDERBY* = 27; SQL_IDENTIFIER_CASE* = 28; SQL_IDENTIFIER_QUOTE_CHAR* = 29; SQL_MAX_COLUMN_NAME_LEN* = 30; SQL_MAX_CURSOR_NAME_LEN* = 31; SQL_MAX_OWNER_NAME_LEN* = 32; SQL_MAX_PROCEDURE_NAME_LEN* = 33; SQL_MAX_QUALIFIER_NAME_LEN* = 34; SQL_MAX_TABLE_NAME_LEN* = 35; SQL_MULT_RESULT_SETS* = 36; SQL_MULTIPLE_ACTIVE_TXN* = 37; SQL_OUTER_JOINS* = 38; SQL_OWNER_TERM* = 39; SQL_PROCEDURE_TERM* = 40; SQL_QUALIFIER_NAME_SEPARATOR* = 41; SQL_QUALIFIER_TERM* = 42; SQL_SCROLL_CONCURRENCY* = 43; SQL_SCROLL_OPTIONS* = 44; SQL_TABLE_TERM* = 45; SQL_TXN_CAPABLE* = {1..3, 5}; SQL_USER_NAME* = 47; SQL_CONVERT_FUNCTIONS* = 48; SQL_NUMERIC_FUNCTIONS* = 49; SQL_STRING_FUNCTIONS* = 50; SQL_SYSTEM_FUNCTIONS* = 51; SQL_TIMEDATE_FUNCTIONS* = 52; SQL_CONVERT_BIGINT* = 53; SQL_CONVERT_BINARY* = 54; SQL_CONVERT_BIT* = 55; SQL_CONVERT_CHAR* = 56; SQL_CONVERT_DATE* = 57; SQL_CONVERT_DECIMAL* = 58; SQL_CONVERT_DOUBLE* = 59; SQL_CONVERT_FLOAT* = 60; SQL_CONVERT_INTEGER* = 61; SQL_CONVERT_LONGVARCHAR* = 62; SQL_CONVERT_NUMERIC* = 63; SQL_CONVERT_REAL* = 64; SQL_CONVERT_SMALLINT* = 65; SQL_CONVERT_TIME* = 66; SQL_CONVERT_TIMESTAMP* = 67; SQL_CONVERT_TINYINT* = 68; SQL_CONVERT_VARBINARY* = 69; SQL_CONVERT_VARCHAR* = 70; SQL_CONVERT_LONGVARBINARY* = 71; SQL_TXN_ISOLATION_OPTION* = {3, 6}; SQL_ODBC_SQL_OPT_IEF* = 73; SQL_CORRELATION_NAME* = 74; SQL_NON_NULLABLE_COLUMNS* = 75; SQL_DRIVER_HLIB* = 76; SQL_DRIVER_ODBC_VER* = 77; SQL_LOCK_TYPES* = 78; SQL_POS_OPERATIONS* = {0..3, 6}; SQL_POSITIONED_STATEMENTS* = 80; SQL_GETDATA_EXTENSIONS* = 81; SQL_BOOKMARK_PERSISTENCE* = 82; SQL_STATIC_SENSITIVITY* = 83; SQL_FILE_USAGE* = 84; SQL_NULL_COLLATION* = 85; SQL_ALTER_TABLE* = 86; SQL_COLUMN_ALIAS* = 87; SQL_GROUP_BY* = 88; SQL_KEYWORDS* = 89; SQL_ORDER_BY_COLUMNS_IN_SELECT* = 90; SQL_OWNER_USAGE* = 91; SQL_QUALIFIER_USAGE* = 92; SQL_QUOTED_IDENTIFIER_CASE* = 93; SQL_SPECIAL_CHARACTERS* = 94; SQL_SUBQUERIES* = 95; SQL_UNION* = 96; SQL_MAX_COLUMNS_IN_GROUP_BY* = 97; SQL_MAX_COLUMNS_IN_INDEX* = 98; SQL_MAX_COLUMNS_IN_ORDER_BY* = 99; SQL_MAX_COLUMNS_IN_SELECT* = 100; SQL_MAX_COLUMNS_IN_TABLE* = 101; SQL_MAX_INDEX_SIZE* = 102; SQL_MAX_ROW_SIZE_INCLUDES_LONG* = 103; SQL_MAX_ROW_SIZE* = 104; SQL_MAX_STATEMENT_LEN* = 105; SQL_MAX_TABLES_IN_SELECT* = 106; SQL_MAX_USER_NAME_LEN* = 107; SQL_MAX_CHAR_LITERAL_LEN* = 108; SQL_TIMEDATE_ADD_INTERVALS* = 109; SQL_TIMEDATE_DIFF_INTERVALS* = 110; SQL_NEED_LONG_DATA_LEN* = 111; SQL_MAX_BINARY_LITERAL_LEN* = 112; SQL_LIKE_ESCAPE_CLAUSE* = 113; SQL_QUALIFIER_LOCATION* = 114; SQL_OJ_CAPABILITIES* = {0, 1, 3, 5..8, 10..15}; SQL_INFO_LAST* = 114; SQL_INFO_DRIVER_START* = 1000; SQL_CVT_CHAR* = {0}; SQL_CVT_NUMERIC* = {1}; SQL_CVT_DECIMAL* = {2}; SQL_CVT_INTEGER* = {3}; SQL_CVT_SMALLINT* = {4}; SQL_CVT_FLOAT* = {5}; SQL_CVT_REAL* = {6}; SQL_CVT_DOUBLE* = {7}; SQL_CVT_VARCHAR* = {8}; SQL_CVT_LONGVARCHAR* = {9}; SQL_CVT_BINARY* = {10}; SQL_CVT_VARBINARY* = {11}; SQL_CVT_BIT* = {12}; SQL_CVT_TINYINT* = {13}; SQL_CVT_BIGINT* = {14}; SQL_CVT_DATE* = {15}; SQL_CVT_TIME* = {16}; SQL_CVT_TIMESTAMP* = {17}; SQL_CVT_LONGVARBINARY* = {18}; SQL_FN_CVT_CONVERT* = {0}; SQL_FN_STR_CONCAT* = {0}; SQL_FN_STR_INSERT* = {1}; SQL_FN_STR_LEFT* = {2}; SQL_FN_STR_LTRIM* = {3}; SQL_FN_STR_LENGTH* = {4}; SQL_FN_STR_LOCATE* = {5}; SQL_FN_STR_LCASE* = {6}; SQL_FN_STR_REPEAT* = {7}; SQL_FN_STR_REPLACE* = {8}; SQL_FN_STR_RIGHT* = {9}; SQL_FN_STR_RTRIM* = {10}; SQL_FN_STR_SUBSTRING* = {11}; SQL_FN_STR_UCASE* = {12}; SQL_FN_STR_ASCII* = {13}; SQL_FN_STR_CHAR* = {14}; SQL_FN_STR_DIFFERENCE* = {15}; SQL_FN_STR_LOCATE_2* = {16}; SQL_FN_STR_SOUNDEX* = {17}; SQL_FN_STR_SPACE* = {18}; SQL_FN_NUM_ABS* = {0}; SQL_FN_NUM_ACOS* = {1}; SQL_FN_NUM_ASIN* = {2}; SQL_FN_NUM_ATAN* = {3}; SQL_FN_NUM_ATAN2* = {4}; SQL_FN_NUM_CEILING* = {5}; SQL_FN_NUM_COS* = {6}; SQL_FN_NUM_COT* = {7}; SQL_FN_NUM_EXP* = {8}; SQL_FN_NUM_FLOOR* = {9}; SQL_FN_NUM_LOG* = {10}; SQL_FN_NUM_MOD* = {11}; SQL_FN_NUM_SIGN* = {12}; SQL_FN_NUM_SIN* = {13}; SQL_FN_NUM_SQRT* = {14}; SQL_FN_NUM_TAN* = {15}; SQL_FN_NUM_PI* = {16}; SQL_FN_NUM_RAND* = {17}; SQL_FN_NUM_DEGREES* = {18}; SQL_FN_NUM_LOG10* = {19}; SQL_FN_NUM_POWER* = {20}; SQL_FN_NUM_RADIANS* = {21}; SQL_FN_NUM_ROUND* = {22}; SQL_FN_NUM_TRUNCATE* = {23}; SQL_FN_TD_NOW* = {0}; SQL_FN_TD_CURDATE* = {1}; SQL_FN_TD_DAYOFMONTH* = {2}; SQL_FN_TD_DAYOFWEEK* = {3}; SQL_FN_TD_DAYOFYEAR* = {4}; SQL_FN_TD_MONTH* = {5}; SQL_FN_TD_QUARTER* = {6}; SQL_FN_TD_WEEK* = {7}; SQL_FN_TD_YEAR* = {8}; SQL_FN_TD_CURTIME* = {9}; SQL_FN_TD_HOUR* = {10}; SQL_FN_TD_MINUTE* = {11}; SQL_FN_TD_SECOND* = {12}; SQL_FN_TD_TIMESTAMPADD* = {13}; SQL_FN_TD_TIMESTAMPDIFF* = {14}; SQL_FN_TD_DAYNAME* = {15}; SQL_FN_TD_MONTHNAME* = {16}; SQL_FN_SYS_USERNAME* = {0}; SQL_FN_SYS_DBNAME* = {1}; SQL_FN_SYS_IFNULL* = {2}; SQL_FN_TSI_FRAC_SECOND* = {0}; SQL_FN_TSI_SECOND* = {1}; SQL_FN_TSI_MINUTE* = {2}; SQL_FN_TSI_HOUR* = {3}; SQL_FN_TSI_DAY* = {4}; SQL_FN_TSI_WEEK* = {5}; SQL_FN_TSI_MONTH* = {6}; SQL_FN_TSI_QUARTER* = {7}; SQL_FN_TSI_YEAR* = {8}; SQL_OAC_NONE* = 0; SQL_OAC_LEVEL1* = 1; SQL_OAC_LEVEL2* = 2; SQL_OSCC_NOT_COMPLIANT* = 0; SQL_OSCC_COMPLIANT* = 1; SQL_OSC_MINIMUM* = 0; SQL_OSC_CORE* = 1; SQL_OSC_EXTENDED* = 2; SQL_CB_NULL* = 0; SQL_CB_NON_NULL* = 1; SQL_CB_DELETE* = 0; SQL_CB_CLOSE* = 1; SQL_CB_PRESERVE* = 2; SQL_IC_UPPER* = 1; SQL_IC_LOWER* = 2; SQL_IC_SENSITIVE* = 3; SQL_IC_MIXED* = 4; SQL_TC_NONE* = 0; SQL_TC_DML* = 1; SQL_TC_ALL* = 2; SQL_TC_DDL_COMMIT* = 3; SQL_TC_DDL_IGNORE* = 4; SQL_SO_FORWARD_ONLY* = {0}; SQL_SO_KEYSET_DRIVEN* = {1}; SQL_SO_DYNAMIC* = {2}; SQL_SO_MIXED* = {3}; SQL_SO_STATIC* = {4}; SQL_SCCO_READ_ONLY* = {0}; SQL_SCCO_LOCK* = {1}; SQL_SCCO_OPT_ROWVER* = {2}; SQL_SCCO_OPT_VALUES* = {3}; SQL_FD_FETCH_NEXT* = {0}; SQL_FD_FETCH_FIRST* = {1}; SQL_FD_FETCH_LAST* = {2}; SQL_FD_FETCH_PRIOR* = {3}; SQL_FD_FETCH_ABSOLUTE* = {4}; SQL_FD_FETCH_RELATIVE* = {5}; SQL_FD_FETCH_RESUME* = {6}; SQL_FD_FETCH_BOOKMARK* = {7}; SQL_TXN_READ_UNCOMMITTED* = {0}; SQL_TXN_READ_COMMITTED* = {1}; SQL_TXN_REPEATABLE_READ* = {2}; SQL_TXN_SERIALIZABLE* = {3}; SQL_TXN_VERSIONING* = {4}; SQL_CN_NONE* = 0; SQL_CN_DIFFERENT* = 1; SQL_CN_ANY* = 2; SQL_NNC_NULL* = 0; SQL_NNC_NON_NULL* = 1; SQL_NC_HIGH* = 0; SQL_NC_LOW* = 1; SQL_NC_START* = 2; SQL_NC_END* = 4; SQL_FILE_NOT_SUPPORTED* = 0; SQL_FILE_TABLE* = 1; SQL_FILE_QUALIFIER* = 2; SQL_GD_ANY_COLUMN* = {0}; SQL_GD_ANY_ORDER* = {1}; SQL_GD_BLOCK* = {2}; SQL_GD_BOUND* = {3}; SQL_AT_ADD_COLUMN* = {0}; SQL_AT_DROP_COLUMN* = {1}; SQL_PS_POSITIONED_DELETE* = {0}; SQL_PS_POSITIONED_UPDATE* = {1}; SQL_PS_SELECT_FOR_UPDATE* = {2}; SQL_GB_NOT_SUPPORTED* = 0; SQL_GB_GROUP_BY_EQUALS_SELECT* = 1; SQL_GB_GROUP_BY_CONTAINS_SELECT* = 2; SQL_GB_NO_RELATION* = 3; SQL_OU_DML_STATEMENTS* = {0}; SQL_OU_PROCEDURE_INVOCATION* = {1}; SQL_OU_TABLE_DEFINITION* = {2}; SQL_OU_INDEX_DEFINITION* = {3}; SQL_OU_PRIVILEGE_DEFINITION* = {4}; SQL_QU_DML_STATEMENTS* = {0}; SQL_QU_PROCEDURE_INVOCATION* = {1}; SQL_QU_TABLE_DEFINITION* = {2}; SQL_QU_INDEX_DEFINITION* = {3}; SQL_QU_PRIVILEGE_DEFINITION* = {4}; SQL_SQ_COMPARISON* = {0}; SQL_SQ_EXISTS* = {1}; SQL_SQ_IN* = {2}; SQL_SQ_QUANTIFIED* = {3}; SQL_SQ_CORRELATED_SUBQUERIES* = {4}; SQL_U_UNION* = {0}; SQL_U_UNION_ALL* = {1}; SQL_BP_CLOSE* = {0}; SQL_BP_DELETE* = {1}; SQL_BP_DROP* = {2}; SQL_BP_TRANSACTION* = {3}; SQL_BP_UPDATE* = {4}; SQL_BP_OTHER_HSTMT* = {5}; SQL_BP_SCROLL* = {6}; SQL_SS_ADDITIONS* = {0}; SQL_SS_DELETIONS* = {1}; SQL_SS_UPDATES* = {2}; SQL_LCK_NO_CHANGE* = {0}; SQL_LCK_EXCLUSIVE* = {1}; SQL_LCK_UNLOCK* = {2}; SQL_POS_POSITION* = {0}; SQL_POS_REFRESH* = {1}; SQL_POS_UPDATE* = {2}; SQL_POS_DELETE* = {3}; SQL_POS_ADD* = {4}; SQL_QL_START* = {0}; SQL_QL_END* = {1}; SQL_OJ_LEFT* = {0}; SQL_OJ_RIGHT* = {1}; SQL_OJ_FULL* = {2}; SQL_OJ_NESTED* = {3}; SQL_OJ_NOT_ORDERED* = {4}; SQL_OJ_INNER* = {5}; SQL_OJ_ALL_COMPARISON_OPS* = {6}; SQL_QUERY_TIMEOUT* = 0; SQL_MAX_ROWS* = 1; SQL_NOSCAN* = 2; SQL_MAX_LENGTH* = 3; SQL_ASYNC_ENABLE* = 4; SQL_BIND_TYPE* = 5; SQL_CURSOR_TYPE* = 6; SQL_CONCURRENCY* = 7; SQL_KEYSET_SIZE* = 8; SQL_ROWSET_SIZE* = 9; SQL_SIMULATE_CURSOR* = 10; SQL_RETRIEVE_DATA* = 11; SQL_USE_BOOKMARKS* = 12; SQL_GET_BOOKMARK* = 13; SQL_ROW_NUMBER* = 14; SQL_STMT_OPT_MAX* = 14; SQL_STMT_OPT_MIN* = 0; SQL_QUERY_TIMEOUT_DEFAULT* = 0; SQL_MAX_ROWS_DEFAULT* = 0; SQL_NOSCAN_OFF* = 0; SQL_NOSCAN_ON* = 1; SQL_NOSCAN_DEFAULT* = 0; SQL_MAX_LENGTH_DEFAULT* = 0; SQL_ASYNC_ENABLE_OFF* = 0; SQL_ASYNC_ENABLE_ON* = 1; SQL_ASYNC_ENABLE_DEFAULT* = 0; SQL_BIND_BY_COLUMN* = 0; SQL_BIND_TYPE_DEFAULT* = 0; SQL_CONCUR_READ_ONLY* = 1; SQL_CONCUR_LOCK* = 2; SQL_CONCUR_ROWVER* = 3; SQL_CONCUR_VALUES* = 4; SQL_CONCUR_DEFAULT* = 1; SQL_CURSOR_FORWARD_ONLY* = 0; SQL_CURSOR_KEYSET_DRIVEN* = 1; SQL_CURSOR_DYNAMIC* = 2; SQL_CURSOR_STATIC* = 3; SQL_CURSOR_TYPE_DEFAULT* = 0; SQL_ROWSET_SIZE_DEFAULT* = 1; SQL_KEYSET_SIZE_DEFAULT* = 0; SQL_SC_NON_UNIQUE* = 0; SQL_SC_TRY_UNIQUE* = 1; SQL_SC_UNIQUE* = 2; SQL_RD_OFF* = 0; SQL_RD_ON* = 1; SQL_RD_DEFAULT* = 1; SQL_UB_OFF* = 0; SQL_UB_ON* = 1; SQL_UB_DEFAULT* = 0; SQL_ACCESS_MODE* = 101; SQL_AUTOCOMMIT* = 102; SQL_LOGIN_TIMEOUT* = 103; SQL_OPT_TRACE* = 104; SQL_OPT_TRACEFILE* = 105; SQL_TRANSLATE_DLL* = 106; SQL_TRANSLATE_OPTION* = 107; SQL_TXN_ISOLATION* = {2, 3, 5, 6}; SQL_CURRENT_QUALIFIER* = 109; SQL_ODBC_CURSORS* = 110; SQL_QUIET_MODE* = 111; SQL_PACKET_SIZE* = 112; SQL_CONN_OPT_MAX* = 112; SQL_CONNECT_OPT_DRVR_START* = 1000; SQL_CONN_OPT_MIN* = 101; SQL_MODE_READ_WRITE* = 0; SQL_MODE_READ_ONLY* = 1; SQL_MODE_DEFAULT* = 0; SQL_AUTOCOMMIT_OFF* = 0; SQL_AUTOCOMMIT_ON* = 1; SQL_AUTOCOMMIT_DEFAULT* = 1; SQL_LOGIN_TIMEOUT_DEFAULT* = 15; SQL_OPT_TRACE_OFF* = 0; SQL_OPT_TRACE_ON* = 1; SQL_OPT_TRACE_DEFAULT* = 0; SQL_OPT_TRACE_FILE_DEFAULT* = "\SQL.LOG"; SQL_CUR_USE_IF_NEEDED* = 0; SQL_CUR_USE_ODBC* = 1; SQL_CUR_USE_DRIVER* = 2; SQL_CUR_DEFAULT* = 2; SQL_BEST_ROWID* = 1; SQL_ROWVER* = 2; SQL_SCOPE_CURROW* = 0; SQL_SCOPE_TRANSACTION* = 1; SQL_SCOPE_SESSION* = 2; SQL_ENTIRE_ROWSET* = 0; SQL_POSITION* = 0; SQL_REFRESH* = 1; SQL_UPDATE* = 2; SQL_DELETE* = 3; SQL_ADD* = 4; SQL_LOCK_NO_CHANGE* = 0; SQL_LOCK_EXCLUSIVE* = 1; SQL_LOCK_UNLOCK* = 2; SQL_FETCH_NEXT* = 1; SQL_FETCH_FIRST* = 2; SQL_FETCH_LAST* = 3; SQL_FETCH_PRIOR* = 4; SQL_FETCH_ABSOLUTE* = 5; SQL_FETCH_RELATIVE* = 6; SQL_FETCH_BOOKMARK* = 8; SQL_ROW_SUCCESS* = 0; SQL_ROW_DELETED* = 1; SQL_ROW_UPDATED* = 2; SQL_ROW_NOROW* = 3; SQL_ROW_ADDED* = 4; SQL_ROW_ERROR* = 5; SQL_CASCADE* = 0; SQL_RESTRICT* = 1; SQL_SET_NULL* = 2; SQL_PARAM_TYPE_UNKNOWN* = 0; SQL_PARAM_INPUT* = 1; SQL_PARAM_INPUT_OUTPUT* = 2; SQL_RESULT_COL* = 3; SQL_PARAM_OUTPUT* = 4; SQL_RETURN_VALUE* = 5; SQL_PARAM_TYPE_DEFAULT* = 2; SQL_SETPARAM_VALUE_MAX* = -1; SQL_INDEX_UNIQUE* = 0; SQL_INDEX_ALL* = 1; SQL_QUICK* = 0; SQL_ENSURE* = 1; SQL_TABLE_STAT* = 0; SQL_INDEX_CLUSTERED* = 1; SQL_INDEX_HASHED* = 2; SQL_INDEX_OTHER* = 3; SQL_PT_UNKNOWN* = 0; SQL_PT_PROCEDURE* = 1; SQL_PT_FUNCTION* = 2; SQL_PC_UNKNOWN* = 0; SQL_PC_NOT_PSEUDO* = 1; SQL_PC_PSEUDO* = 2; SQL_DATABASE_NAME* = 16; SQL_FD_FETCH_PREV* = {3}; SQL_FETCH_PREV* = 4; SQL_CONCUR_TIMESTAMP* = 3; SQL_SCCO_OPT_TIMESTAMP* = {2}; SQL_CC_DELETE* = 0; SQL_CR_DELETE* = 0; SQL_CC_CLOSE* = 1; SQL_CR_CLOSE* = 1; SQL_CC_PRESERVE* = 2; SQL_CR_PRESERVE* = 2; SQL_FETCH_RESUME* = 7; SQL_SCROLL_FORWARD_ONLY* = 0; SQL_SCROLL_KEYSET_DRIVEN* = -1; SQL_SCROLL_DYNAMIC* = -2; SQL_SCROLL_STATIC* = -3; SQL_PC_NON_PSEUDO* = 1; SQL_HANDLE_ENV* = 1; SQL_HANDLE_DBC* = 2; SQL_HANDLE_STMT* = 3; SQL_IS_INTEGER* = -6; SQL_NULL_HANDLE* = 0; SQL_ATTR_ODBC_VERSION* = 200; SQL_OV_ODBC3* = 3; SQL_PRESERVE_CURSORS* = 1204; SQL_PC_OFF* = 0; SQL_PC_ON* = 1; TYPE PTR* = INTEGER; HENV* = INTEGER; HDBC* = INTEGER; HSTMT* = INTEGER; HWND* = INTEGER; PSTR* = POINTER TO ARRAY [untagged] OF SHORTCHAR; PWSTR* = POINTER TO ARRAY [untagged] OF CHAR; TYPE RETCODE* = SHORTINT; DATE_STRUCT* = RECORD [untagged] year*: SHORTINT; month*: SHORTINT; day*: SHORTINT; END; TIME_STRUCT* = RECORD [untagged] hour*: SHORTINT; minute*: SHORTINT; second*: SHORTINT; END; TIMESTAMP_STRUCT* = RECORD [align2] year*: SHORTINT; month*: SHORTINT; day*: SHORTINT; hour*: SHORTINT; minute*: SHORTINT; second*: SHORTINT; fraction*: INTEGER; END; BOOKMARK* = INTEGER; PROCEDURE SQLAllocConnect* (henv: HENV; VAR [nil] phdbc: HDBC): RETCODE; (*END SQLAllocConnect;*) (* To replace SQLAllocConnect in ODBC 3.0*) PROCEDURE SQLAllocHandle* (hadletype: SHORTINT; henv: HENV; VAR [nil] phdbc: HDBC): RETCODE; (*END SQLAllocHandle;*) PROCEDURE SQLAllocEnv* (VAR [nil] phenv: HENV): RETCODE; (*END SQLAllocEnv;*) PROCEDURE SQLAllocStmt* (hdbc: HDBC; VAR [nil] phstmt: HSTMT): RETCODE; (*END SQLAllocStmt;*) PROCEDURE SQLBindCol* (hstmt: HSTMT; icol: SHORTINT; fCType: SHORTINT; rgbValue: PTR; cbValueMax: INTEGER; VAR [nil] pcbValue: INTEGER): RETCODE; (*END SQLBindCol;*) PROCEDURE SQLCancel* (hstmt: HSTMT): RETCODE; (*END SQLCancel;*) PROCEDURE SQLColAttributes* (hstmt: HSTMT; icol: SHORTINT; fDescType: SHORTINT; rgbDesc: PTR; cbDescMax: SHORTINT; VAR [nil] pcbDesc: SHORTINT; VAR [nil] pfDesc: INTEGER): RETCODE; (*END SQLColAttributes;*) PROCEDURE SQLConnect* (hdbc: HDBC; szDSN: PSTR; cbDSN: SHORTINT; szUID: PSTR; cbUID: SHORTINT; szAuthStr: PSTR; cbAuthStr: SHORTINT): RETCODE; (*END SQLConnect;*) PROCEDURE SQLDescribeCol* (hstmt: HSTMT; icol: SHORTINT; szColName: PSTR; cbColNameMax: SHORTINT; VAR [nil] pcbColName: SHORTINT; VAR [nil] pfSqlType: SHORTINT; VAR [nil] pcbColDef: INTEGER; VAR [nil] pibScale: SHORTINT; VAR [nil] pfNullable: SHORTINT): RETCODE; (*END SQLDescribeCol;*) PROCEDURE SQLDisconnect* (hdbc: HDBC): RETCODE; (*END SQLDisconnect;*) PROCEDURE SQLError* (henv: HENV; hdbc: HDBC; hstmt: HSTMT; szSqlState: PSTR; VAR [nil] pfNativeError: INTEGER; szErrorMsg: PSTR; cbErrorMsgMax: SHORTINT; VAR [nil] pcbErrorMsg: SHORTINT): RETCODE; (*END SQLError;*) (* Replaces SQLError in ODBC 3.0 *) PROCEDURE SQLGetDiagRec* (handletype: SHORTINT; hstmt: HSTMT; recnumber: SHORTINT; szSqlState: PSTR; VAR [nil] pfNativeError: INTEGER; szErrorMsg: PSTR; cbErrorMsgMax: SHORTINT; VAR [nil] pcbErrorMsg: SHORTINT): RETCODE; (*END SQLGetDiagRec;*) PROCEDURE SQLExecDirect* (hstmt: HSTMT; szSqlStr: PSTR; cbSqlStr: INTEGER): RETCODE; (*END SQLExecDirect;*) PROCEDURE SQLExecute* (hstmt: HSTMT): RETCODE; (*END SQLExecute;*) PROCEDURE SQLFetch* (hstmt: HSTMT): RETCODE; (*END SQLFetch;*) PROCEDURE SQLFreeConnect* (hdbc: HDBC): RETCODE; (*END SQLFreeConnect;*) PROCEDURE SQLFreeEnv* (henv: HENV): RETCODE; (*END SQLFreeEnv;*) PROCEDURE SQLFreeStmt* (hstmt: HSTMT; fOption: SHORTINT): RETCODE; (*END SQLFreeStmt;*) (* Replaces SQLFreeConnect, SQLFreeEnv and SQLFreeStmt in ODBC 3.0 *) PROCEDURE SQLFreeHandle* (handletype: SHORTINT; henv: HENV): RETCODE; (*END SQLFreeHandle;*) PROCEDURE SQLGetCursorName* (hstmt: HSTMT; szCursor: PSTR; cbCursorMax: SHORTINT; VAR [nil] pcbCursor: SHORTINT): RETCODE; (*END SQLGetCursorName;*) PROCEDURE SQLNumResultCols* (hstmt: HSTMT; VAR [nil] pccol: SHORTINT): RETCODE; (*END SQLNumResultCols;*) PROCEDURE SQLPrepare* (hstmt: HSTMT; szSqlStr: PSTR; cbSqlStr: INTEGER): RETCODE; (*END SQLPrepare;*) PROCEDURE SQLPrepareW* (hstmt: HSTMT; szSqlStr: PWSTR; cbSqlStr: INTEGER): RETCODE; (*END SQLPrepareW;*) PROCEDURE SQLRowCount* (hstmt: HSTMT; VAR [nil] pcrow: INTEGER): RETCODE; (*END SQLRowCount;*) PROCEDURE SQLSetCursorName* (hstmt: HSTMT; szCursor: PSTR; cbCursor: SHORTINT): RETCODE; (*END SQLSetCursorName;*) PROCEDURE SQLTransact* (henv: HENV; hdbc: HDBC; fType: SHORTINT): RETCODE; (*END SQLTransact;*) (* Replaces SQLTransact in ODBC 3 *) PROCEDURE SQLEndTran* (hadletype: SHORTINT; hdbc: HDBC; fType: SHORTINT): RETCODE; (*END SQLEndTran;*) PROCEDURE SQLSetParam* (hstmt: HSTMT; ipar: SHORTINT; fCType: SHORTINT; fSqlType: SHORTINT; cbColDef: INTEGER; ibScale: SHORTINT; rgbValue: PTR; VAR [nil] pcbValue: INTEGER): RETCODE; (*END SQLSetParam;*) PROCEDURE SQLColumns* (hstmt: HSTMT; szTableQualifier: PSTR; cbTableQualifier: SHORTINT; szTableOwner: PSTR; cbTableOwner: SHORTINT; szTableName: PSTR; cbTableName: SHORTINT; szColumnName: PSTR; cbColumnName: SHORTINT): RETCODE; (*END SQLColumns;*) PROCEDURE SQLDriverConnect* (hdbc: HDBC; hwnd: HWND; szConnStrIn: PSTR; cbConnStrIn: SHORTINT; szConnStrOut: PSTR; cbConnStrOutMax: SHORTINT; VAR [nil] pcbConnStrOut: SHORTINT; fDriverCompletion: SHORTINT): RETCODE; (*END SQLDriverConnect;*) PROCEDURE SQLGetConnectOption* (hdbc: HDBC; fOption: SHORTINT; pvParam: PTR): RETCODE; (*END SQLGetConnectOption;*) PROCEDURE SQLGetData* (hstmt: HSTMT; icol: SHORTINT; fCType: SHORTINT; rgbValue: PTR; cbValueMax: INTEGER; VAR [nil] pcbValue: INTEGER): RETCODE; (*END SQLGetData;*) PROCEDURE SQLGetFunctions* (hdbc: HDBC; fFunction: SHORTINT; VAR [nil] pfExists: SHORTINT): RETCODE; (*END SQLGetFunctions;*) PROCEDURE SQLGetInfo* (hdbc: HDBC; fInfoType: SHORTINT; rgbInfoValue: PTR; cbInfoValueMax: SHORTINT; VAR [nil] pcbInfoValue: SHORTINT): RETCODE; (*END SQLGetInfo;*) PROCEDURE SQLGetStmtOption* (hstmt: HSTMT; fOption: SHORTINT; pvParam: PTR): RETCODE; (*END SQLGetStmtOption;*) PROCEDURE SQLGetTypeInfo* (hstmt: HSTMT; fSqlType: SHORTINT): RETCODE; (*END SQLGetTypeInfo;*) PROCEDURE SQLParamData* (hstmt: HSTMT; VAR [nil] prgbValue: PTR): RETCODE; (*END SQLParamData;*) PROCEDURE SQLPutData* (hstmt: HSTMT; rgbValue: PTR; cbValue: INTEGER): RETCODE; (*END SQLPutData;*) PROCEDURE SQLSetConnectOption* (hdbc: HDBC; fOption: SHORTINT; vParam: INTEGER): RETCODE; (*END SQLSetConnectOption;*) (* To replace SQLSetConnectOption in ODBC 3.0 *) PROCEDURE SQLSetConnectAttr* (hdbc: HDBC; fOption: SHORTINT; vParam: INTEGER; stringlength: INTEGER): RETCODE; (*END SQLSetConnectAttr;*) PROCEDURE SQLSetStmtOption* (hstmt: HSTMT; fOption: SHORTINT; vParam: INTEGER): RETCODE; (*END SQLSetStmtOption;*) (* Replaces SQLSetStmtOption in ODBC 3.0 *) PROCEDURE SQLSetStmtAttr* (hstmt: HSTMT; fOption: SHORTINT; vParam: INTEGER; stringlength: INTEGER): RETCODE; (*END SQLSetStmtAttr;*) PROCEDURE SQLGetStmtAttr* (hstmt: HSTMT; attribute: SHORTINT; valuepointer: PTR; bufferlength: SHORTINT; stringlengthptr: PSTR): RETCODE; (*END SQLGetStmtAttr;*) PROCEDURE SQLSetEnvAttr* (environment: HENV; attribute: SHORTINT; valuepointer: PTR; stringlength: SHORTINT): RETCODE; (*END SQLSetEnvAttr;*) PROCEDURE SQLSpecialColumns* (hstmt: HSTMT; fColType: SHORTINT; szTableQualifier: PSTR; cbTableQualifier: SHORTINT; szTableOwner: PSTR; cbTableOwner: SHORTINT; szTableName: PSTR; cbTableName: SHORTINT; fScope: SHORTINT; fNullable: SHORTINT): RETCODE; (*END SQLSpecialColumns;*) PROCEDURE SQLStatistics* (hstmt: HSTMT; szTableQualifier: PSTR; cbTableQualifier: SHORTINT; szTableOwner: PSTR; cbTableOwner: SHORTINT; szTableName: PSTR; cbTableName: SHORTINT; fUnique: SHORTINT; fAccuracy: SHORTINT): RETCODE; (*END SQLStatistics;*) PROCEDURE SQLTables* (hstmt: HSTMT; szTableQualifier: PSTR; cbTableQualifier: SHORTINT; szTableOwner: PSTR; cbTableOwner: SHORTINT; szTableName: PSTR; cbTableName: SHORTINT; szTableType: PSTR; cbTableType: SHORTINT): RETCODE; (*END SQLTables;*) PROCEDURE SQLBrowseConnect* (hdbc: HDBC; szConnStrIn: PSTR; cbConnStrIn: SHORTINT; szConnStrOut: PSTR; cbConnStrOutMax: SHORTINT; VAR [nil] pcbConnStrOut: SHORTINT): RETCODE; (*END SQLBrowseConnect;*) PROCEDURE SQLColumnPrivileges* (hstmt: HSTMT; szTableQualifier: PSTR; cbTableQualifier: SHORTINT; szTableOwner: PSTR; cbTableOwner: SHORTINT; szTableName: PSTR; cbTableName: SHORTINT; szColumnName: PSTR; cbColumnName: SHORTINT): RETCODE; (*END SQLColumnPrivileges;*) PROCEDURE SQLDataSources* (henv: HENV; fDirection: SHORTINT; szDSN: PSTR; cbDSNMax: SHORTINT; VAR [nil] pcbDSN: SHORTINT; szDescription: PSTR; cbDescriptionMax: SHORTINT; VAR [nil] pcbDescription: SHORTINT): RETCODE; (*END SQLDataSources;*) PROCEDURE SQLDescribeParam* (hstmt: HSTMT; ipar: SHORTINT; VAR [nil] pfSqlType: SHORTINT; VAR [nil] pcbColDef: INTEGER; VAR [nil] pibScale: SHORTINT; VAR [nil] pfNullable: SHORTINT): RETCODE; (*END SQLDescribeParam;*) PROCEDURE SQLExtendedFetch* (hstmt: HSTMT; fFetchType: SHORTINT; irow: INTEGER; VAR [nil] pcrow: INTEGER; VAR [nil] rgfRowStatus: SHORTINT): RETCODE; (*END SQLExtendedFetch;*) (* To replace SQLExtendedFetch in ODBC 3.0 *) PROCEDURE SQLFetchScroll* (hstmt: HSTMT; fetchOrientation: SHORTINT; fetchOffset: INTEGER): RETCODE; (*END SQLFetchScroll;*) PROCEDURE SQLForeignKeys* (hstmt: HSTMT; szPkTableQualifier: PSTR; cbPkTableQualifier: SHORTINT; szPkTableOwner: PSTR; cbPkTableOwner: SHORTINT; szPkTableName: PSTR; cbPkTableName: SHORTINT; szFkTableQualifier: PSTR; cbFkTableQualifier: SHORTINT; szFkTableOwner: PSTR; cbFkTableOwner: SHORTINT; szFkTableName: PSTR; cbFkTableName: SHORTINT): RETCODE; (*END SQLForeignKeys;*) PROCEDURE SQLMoreResults* (hstmt: HSTMT): RETCODE; (*END SQLMoreResults;*) PROCEDURE SQLNativeSql* (hdbc: HDBC; szSqlStrIn: PSTR; cbSqlStrIn: INTEGER; szSqlStr: PSTR; cbSqlStrMax: INTEGER; VAR [nil] pcbSqlStr: INTEGER): RETCODE; (*END SQLNativeSql;*) PROCEDURE SQLNumParams* (hstmt: HSTMT; VAR [nil] pcpar: SHORTINT): RETCODE; (*END SQLNumParams;*) PROCEDURE SQLParamOptions* (hstmt: HSTMT; crow: INTEGER; VAR [nil] pirow: INTEGER): RETCODE; (*END SQLParamOptions;*) PROCEDURE SQLPrimaryKeys* (hstmt: HSTMT; szTableQualifier: PSTR; cbTableQualifier: SHORTINT; szTableOwner: PSTR; cbTableOwner: SHORTINT; szTableName: PSTR; cbTableName: SHORTINT): RETCODE; (*END SQLPrimaryKeys;*) PROCEDURE SQLProcedureColumns* (hstmt: HSTMT; szProcQualifier: PSTR; cbProcQualifier: SHORTINT; szProcOwner: PSTR; cbProcOwner: SHORTINT; szProcName: PSTR; cbProcName: SHORTINT; szColumnName: PSTR; cbColumnName: SHORTINT): RETCODE; (*END SQLProcedureColumns;*) PROCEDURE SQLProcedures* (hstmt: HSTMT; szProcQualifier: PSTR; cbProcQualifier: SHORTINT; szProcOwner: PSTR; cbProcOwner: SHORTINT; szProcName: PSTR; cbProcName: SHORTINT): RETCODE; (*END SQLProcedures;*) PROCEDURE SQLSetPos* (hstmt: HSTMT; irow: SHORTINT; fOption: SHORTINT; fLock: SHORTINT): RETCODE; (*END SQLSetPos;*) PROCEDURE SQLTablePrivileges* (hstmt: HSTMT; szTableQualifier: PSTR; cbTableQualifier: SHORTINT; szTableOwner: PSTR; cbTableOwner: SHORTINT; szTableName: PSTR; cbTableName: SHORTINT): RETCODE; (*END SQLTablePrivileges;*) PROCEDURE SQLDrivers* (henv: HENV; fDirection: SHORTINT; szDriverDesc: PSTR; cbDriverDescMax: SHORTINT; VAR [nil] pcbDriverDesc: SHORTINT; szDriverAttributes: PSTR; cbDrvrAttrMax: SHORTINT; VAR [nil] pcbDrvrAttr: SHORTINT): RETCODE; (*END SQLDrivers;*) PROCEDURE SQLBindParameter* (hstmt: HSTMT; ipar: SHORTINT; fParamType: SHORTINT; fCType: SHORTINT; fSqlType: SHORTINT; cbColDef: INTEGER; ibScale: SHORTINT; rgbValue: PTR; cbValueMax: INTEGER; VAR [nil] pcbValue: INTEGER): RETCODE; (*END SQLBindParameter;*) PROCEDURE SQLSetScrollOptions* (hstmt: HSTMT; fConcurrency: SHORTINT; crowKeyset: INTEGER; crowRowset: SHORTINT): RETCODE; (*END SQLSetScrollOptions;*) END WinSql.
Win/Mod/Sql.odc
XhtmlEntitySets This module has a private interface, it is only used internally.
Xhtml/Docu/EntitySets.odc
XhtmlExporter This module implements an HTML exporter that can be used with current Web browsers. Its HTML output already conforms to the stricter XHTML syntax, except for the XML header which is left out so that current browsers are not confused. The (X)HTML elements/tags and attributes currently supported are: html, head, title, body, p, a(href, id), font(face, size, color), strong, em, u. The exporter converts text. Embedded views are exported as asterisks. Link and target views (module StdLinks) are exceptions, they are turned into HTML links and anchors. Only links within documents are supported. The exporter is preconfigured in Config.Setup: Converters.Register("", "XhtmlExporter.ExportText", "TextViews.View", "html", {});
Xhtml/Docu/Exporter.odc
XhtmlStdFileWriters This module has a private interface, it is only used internally.
Xhtml/Docu/StdFileWriters.odc
Map to the Xhtml Subsystem XhtmlExporter HTML exporter
Xhtml/Docu/Sys-Map.odc
XhtmlTextTableMarkers This module has a private interface, it is only used internally.
Xhtml/Docu/TextTableMarkers.odc
XhtmlWriters This module has a private interface, it is only used internally.
Xhtml/Docu/Writers.odc
MODULE XhtmlEntitySets; (* SP410 *) (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" references = "http://www.w3.org/TR/xhtml1/DTD/HTMLlat1x.ent, http://www.w3.org/TR/xhtml1/DTD/HTMLspecialx.ent, http://www.w3.org/TR/xhtml1/DTD/HTMLsymbolx.ent" license = "Docu/BB-License" changes = " - 20111211, Fyodor Tkachov, switched from National to i21sysCharacters; 04FFX >> 0527X; see Unicode 6.0 - 20071230, Boris Rumshin, правильная русификация - 20060407, Ilya Ermakov, russification - 20050811, mf (reported by Helmut Zinn), procedure MapCharToEntity: changed "ch <= 039D6X" to "ch <= 03D6X" " issues = " - ... " **) IMPORT i21sysCharacters; (* XHTML entity sets (Latin-1 characters, special characters, symbols) according to: Portions (C) International Organization for Standardization 1986 Permission to copy in any form is granted for use with conforming SGML systems and applications as defined in ISO 8879, provided this notice is included in all copies. *) PROCEDURE MapCharToEntity* (ch: CHAR; OUT s: ARRAY OF CHAR); BEGIN IF ch <= 00FFX THEN (* Latin-1 *) CASE ch OF | 0022X: s := "&quot;" | 0026X: s := "&amp;" | 003CX: s := "&lt;" | 003EX: s := "&gt;" (* character entities *) (* | 00A0X: s := "&nbsp;" | 00A1X: s := "&iexcl;" | 00A2X: s := "&cent;" | 00A3X: s := "&pound;" | 00A4X: s := "&curren;" | 00A5X: s := "&yen;" | 00A6X: s := "&brvbar;" | 00A7X: s := "&sect;" | 00A8X: s := "&uml;" | 00A9X: s := "&copy;" | 00AAX: s := "&ordf;" | 00ABX: s := "&laquo;" | 00ACX: s := "&not;" | 00ADX: s := "&shy;" | 00AEX: s := "&reg;" | 00AFX: s := "&macr;" | 00B0X: s := "&deg;" | 00B1X: s := "&plusmn;" | 00B2X: s := "&sup2;" | 00B3X: s := "&sup3;" | 00B4X: s := "&acute;" | 00B5X: s := "&micro;" | 00B6X: s := "&para;" | 00B7X: s := "&middot;" | 00B8X: s := "&cedil;" | 00B9X: s := "&sup1;" | 00BAX: s := "&ordm;" | 00BBX: s := "&raquo;" | 00BCX: s := "&frac14;" | 00BDX: s := "&frac12;" | 00BEX: s := "&frac34;" | 00BFX: s := "&iquest;" | 00C0X: s := "&Agrave;" | 00C1X: s := "&Aacute;" | 00C2X: s := "&Acirc;" | 00C3X: s := "&Atilde;" | 00C4X: s := "&Auml;" | 00C5X: s := "&Aring;" | 00C6X: s := "&AElig;" | 00C7X: s := "&Ccedil;" | 00C8X: s := "&Egrave;" | 00C9X: s := "&Eacute;" | 00CAX: s := "&Ecirc;" | 00CBX: s := "&Euml;" | 00CCX: s := "&Igrave;" | 00CDX: s := "&Iacute;" | 00CEX: s := "&Icirc;" | 00CFX: s := "&Iuml;" | 00D0X: s := "&ETH;" | 00D1X: s := "&Ntilde;" | 00D2X: s := "&Ograve;" | 00D3X: s := "&Oacute;" | 00D4X: s := "&Ocirc;" | 00D5X: s := "&Otilde;" | 00D6X: s := "&Ouml;" | 00D7X: s := "&times;" | 00D8X: s := "&Oslash;" | 00D9X: s := "&Ugrave;" | 00DAX: s := "&Uacute;" | 00DBX: s := "&Ucirc;" | 00DCX: s := "&Uuml;" | 00DDX: s := "&Yacute;" | 00DEX: s := "&THORN;" | 00DFX: s := "&szlig;" | 00E0X: s := "&agrave;" | 00E1X: s := "&aacute;" | 00E2X: s := "&acirc;" | 00E3X: s := "&atilde;" | 00E4X: s := "&auml;" | 00E5X: s := "&aring;" | 00E6X: s := "&aelig;" | 00E7X: s := "&ccedil;" | 00E8X: s := "&egrave;" | 00E9X: s := "&eacute;" | 00EAX: s := "&ecirc;" | 00EBX: s := "&euml;" | 00ECX: s := "&igrave;" | 00EDX: s := "&iacute;" | 00EEX: s := "&icirc;" | 00EFX: s := "&iuml;" | 00F0X: s := "&eth;" | 00F1X: s := "&ntilde;" | 00F2X: s := "&ograve;" | 00F3X: s := "&oacute;" | 00F4X: s := "&ocirc;" | 00F5X: s := "&otilde;" | 00F6X: s := "&ouml;" | 00F7X: s := "&divide;" | 00F8X: s := "&oslash;" | 00F9X: s := "&ugrave;" | 00FAX: s := "&uacute;" | 00FBX: s := "&ucirc;" | 00FCX: s := "&uuml;" | 00FDX: s := "&yacute;" | 00FEX: s := "&thorn;" | 00FFX: s := "&yuml;" *) ELSE s[0] := i21sysCharacters.UnicodeOf(ch); s[1] := 0X END ELSIF ch <= 02DCX THEN (* Latin Extended-A and spacing modifier letters *) IF ch = 0152X THEN s := "&OElig;" ELSIF ch = 0153X THEN s := "&oelig;" ELSIF ch = 0160X THEN s := "&Scaron;" ELSIF ch = 0161X THEN s := "&scaron;" ELSIF ch = 0178X THEN s := "&Yuml;" ELSIF ch = 02C6X THEN s := "&circ;" ELSIF ch = 02DCX THEN s := "&tilde;" ELSE s := "" END ELSIF ch <= 03D6X THEN (* greek *) CASE ch OF | 0391X: s := "&Alpha;" | 0392X: s := "&Beta;" | 0393X: s := "&Gamma;" | 0394X: s := "&Delta;" | 0395X: s := "&Epsilon;" | 0396X: s := "&Zeta;" | 0397X: s := "&Eta;" | 0398X: s := "&Theta;" | 0399X: s := "&Iota;" | 039AX: s := "&Kappa;" | 039BX: s := "&Lambda;" | 039CX: s := "&Mu;" | 039DX: s := "&Nu;" | 039EX: s := "&Xi;" | 039FX: s := "&Omicron;" | 03A0X: s := "&Pi;" | 03A1X: s := "&Rho;" | 03A3X: s := "&Sigma;" | 03A4X: s := "&Tau;" | 03A5X: s := "&Upsilon;" | 03A6X: s := "&Phi;" | 03A7X: s := "&Chi;" | 03A8X: s := "&Psi;" | 03A9X: s := "&Omega;" | 03B1X: s := "&alpha;" | 03B2X: s := "&beta;" | 03B3X: s := "&gamma;" | 03B4X: s := "&delta;" | 03B5X: s := "&epsilon;" | 03B6X: s := "&zeta;" | 03B7X: s := "&eta;" | 03B8X: s := "&theta;" | 03B9X: s := "&iota;" | 03BAX: s := "&kappa;" | 03BBX: s := "&lambda;" | 03BCX: s := "&mu;" | 03BDX: s := "&nu;" | 03BEX: s := "&xi;" | 03BFX: s := "&omicron;" | 03C0X: s := "&pi;" | 03C1X: s := "&rho;" | 03C2X: s := "&sigmaf;" | 03C3X: s := "&sigma;" | 03C4X: s := "&tau;" | 03C5X: s := "&upsilon;" | 03C6X: s := "&phi;" | 03C7X: s := "&chi;" | 03C8X: s := "&psi;" | 03C9X: s := "&omega;" | 03D1X: s := "&thetasym;" | 03D2X: s := "&upsih;" | 03D6X: s := "&piv;" ELSE s := "" END ELSIF ch <= 00527X THEN (* Cyrillic *) s[0] := ch; s[1] := 0X ELSIF ch <= 232AX THEN (* general punctuation, arrows, etc. *) CASE ch OF | 2002X: s := "&ensp;" | 2003X: s := "&emsp;" | 2009X: s := "&thinsp;" | 2022X: s := "&bull;" | 2026X: s := "&hellip;" | 2032X: s := "&prime;" | 2033X: s := "&Prime;" | 203EX: s := "&oline;" | 2044X: s := "&frasl;" | 2070X: s := "&zwnj;" | 200DX: s := "&zwj;" | 200EX: s := "&lrm;" | 200FX: s := "&rlm;" | 2013X: s := "&ndash;" | 2014X: s := "&mdash;" | 2018X: s := "&lsquo;" | 2019X: s := "&rsquo;" | 201AX: s := "&sbquo;" | 201CX: s := "&ldquo;" | 201DX: s := "&rdquo;" | 201EX: s := "&bdquo;" | 2020X: s := "&dagger;" | 2021X: s := "&Dagger;" | 2030X: s := "&permil;" | 2039X: s := "&lsaquo;" | 203AX: s := "&rsaquo;" | 20ACX: s := "&euro;" | 2118X: s := "&weierp;" | 2111X: s := "&image;" | 211CX: s := "&real;" | 2122X: s := "&trade;" | 2135X: s := "&alefsym;" | 2190X: s := "&larr;" | 2191X: s := "&uarr;" | 2192X: s := "&rarr;" | 2193X: s := "&darr;" | 2194X: s := "&harr;" | 21B5X: s := "&crarr;" | 21D0X: s := "&lArr;" | 21D1X: s := "&uArr;" | 21D2X: s := "&rArr;" | 21D3X: s := "&dArr;" | 21D4X: s := "&hArr;" | 2200X: s := "&forall;" | 2202X: s := "&part;" | 2203X: s := "&exist;" | 2205X: s := "&empty;" | 2207X: s := "&nabla;" | 2208X: s := "&isin;" | 2209X: s := "&notin;" | 220BX: s := "&ni;" | 220FX: s := "&prod;" | 2211X: s := "&sum;" | 2212X: s := "&minus;" | 2217X: s := "&lowast;" | 221AX: s := "&radic;" | 221DX: s := "&prop;" | 221EX: s := "&infin;" | 2220X: s := "&ang;" | 2227X: s := "&and;" | 2228X: s := "&or;" | 2229X: s := "&cap;" | 222AX: s := "&cup;" | 222BX: s := "&int;" | 2234X: s := "&there4;" | 223CX: s := "&sim;" | 2245X: s := "&cong;" | 2248X: s := "&asymp;" | 2260X: s := "&ne;" | 2261X: s := "&equiv;" | 2264X: s := "&le;" | 2265X: s := "&ge;" | 2282X: s := "&sub;" | 2283X: s := "&sup;" | 2284X: s := "&nsub;" | 2286X: s := "&sube;" | 2287X: s := "&supe;" | 2295X: s := "&oplus;" | 2297X: s := "&otimes;" | 22A5X: s := "&perp;" | 22C5X: s := "&sdot;" | 2308X: s := "&lceil;" | 2309X: s := "&rceil;" | 230AX: s := "&lfloor;" | 230BX: s := "&rfloor;" | 2329X: s := "&lang;" | 232AX: s := "&rang;" ELSE s := "" END ELSE (* miscellaneous other symbols *) IF ch = 25CAX THEN s := "&loz;" ELSIF ch = 2660X THEN s := "&spades;" ELSIF ch = 2663X THEN s := "&clubs;" ELSIF ch = 2665X THEN s := "&hearts;" ELSIF ch = 2666X THEN s := "&diams;" ELSE s := "" END END END MapCharToEntity; END XhtmlEntitySets.
Xhtml/Mod/EntitySets.odc
MODULE XhtmlExporter; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - bug: rd.ReadChar sometimes returns attr = NIL for a character!? - may em occur outside of p (as now in table fields)? - may br only/not occur inside of p? - where does the document name come from? - how should unknown view types be handled (extensible translator framework)? - how can the BlackBox converter mechanism be extended to handle complex documents, which must be converted to entire subdirectories? - should symbolic font sizes (-1..-8) be introduced, for a direct match with HTML? " **) (* add the following statement to Config.Setup: Converters.Register("", "XhtmlExporter.ExportText", "TextViews.View", "html", {}); supported elements & attributes: html, head, title, body, p, a(href,id), font(face,size, color), strong, em, u assumptions: - there is only one "special" non-RGB color: Ports.defaultColor - one specific font size (defaultSize) is used as default size - no embedded views are in the text, except link and target views - link views only contain local references within the text (i.e., StdLinks.ShowTarget('anchorname') commands) *) IMPORT Strings, Files, Dialog, Stores, Fonts, Ports, Views, Properties, TextModels, TextViews, TextRulers, StdLinks, XhtmlWriters, XhtmlStdFileWriters, XhtmlEntitySets, XhtmlTextTableMarkers; CONST untitled = "#Xhtml:New Page"; defaultSize = 10 * Fonts.point; (* currently, BlackBox has no notion of default font size *) left = 0; center = 1; right = 2; TYPE Msg* = RECORD (Properties.Message) string*: ARRAY 2048 OF CHAR END; Exporter = POINTER TO RECORD inLink: BOOLEAN; (* this variable is used for a state machine used for translating hyperlinks *) inTable: BOOLEAN; (* this variable is used for a state machine used for translating tables *) inRow: BOOLEAN; (* this variable is used for a state machine used for translating tables *) inField: BOOLEAN; (* this variable is used for a state machine used for translating tables *) inPara: BOOLEAN; (* Generating paragraph elements is delayed so that empty elements are never created. This variable is used for a state machine that implements the necessary delaying. *) afterSpace: BOOLEAN; (* this variable is used for a state machine that avoids successive spaces in an element *) attr: TextModels.Attributes; (* current attributes; needed to decide whether an attribute change becomes necessary *) level: INTEGER; (* indentation level *) currentRuler: TextRulers.Ruler; (* most recently read ruler *) tabIndex: INTEGER; (* tab index in current line *) wr: XhtmlWriters.Writer END; PROCEDURE Invariant (e: Exporter); BEGIN ASSERT(e # NIL, 100); ASSERT(e.inPara OR (e.attr = NIL), 101); (* ~e.inPara => (e.attr = NIL) *) ASSERT(~e.inField OR e.inRow, 102); (* e.inField => e.inRow *) ASSERT(~e.inRow OR e.inTable, 103); (* e.inRow => e.inTable *) ASSERT(~e.afterSpace OR e.inPara, 104); (* e.afterSpace => e.inPara *) ASSERT(e.level >= 0, 105); ASSERT(e.tabIndex >= -1, 106); ASSERT(~e.inField OR (e.tabIndex >= 0), 107); (* e.inField => e.tabIndex >= 0 *) ASSERT(~e.inTable OR (e.currentRuler # NIL), 108); (* e.inTable => (e.currentRuler # NIL) *) ASSERT(e.wr # NIL, 109) END Invariant; PROCEDURE ColorToString (c: INTEGER; OUT str: ARRAY OF CHAR); VAR red, green, blue: INTEGER; h: ARRAY 16 OF CHAR; BEGIN red := c MOD 256; c := c DIV 256; green := c MOD 256; c := c DIV 256; blue := c; c := red; c := c * 256 + green; c := c * 256 + blue; Strings.IntToStringForm(c, Strings.hexadecimal, 6, "0", FALSE, h); str := "#" + h END ColorToString; PROCEDURE SizeToString (s: INTEGER; OUT str: ARRAY OF CHAR); BEGIN (* note: defaultSize is already handled *) s := s DIV Fonts.point; IF s < 8 THEN s := 1 ELSIF s <= 10 THEN s := 2 ELSIF s <= 12 THEN s := 3 ELSIF s <= 14 THEN s := 4 ELSIF s <= 18 THEN s := 5 ELSIF s <= 24 THEN s := 6 ELSE s := 7 END; Strings.IntToString(s, str) END SizeToString; (* text = p | parsed text body = text | (table tr td text) *) PROCEDURE SetAttr (e: Exporter; a: TextModels.Attributes); (* nesting: <p> <font> <strong> <em> <u> text </u> </em> </strong> </font> </p> *) (* font has face, color, size attributes. size ranges from 1..7 *) CONST bold = (Fonts.normal + Fonts.bold) DIV 2; VAR s: ARRAY 256 OF CHAR; BEGIN ASSERT(e # NIL, 100); IF e.inPara THEN IF (e.attr # NIL) & (e.attr # a) THEN (* close all special attributes *) IF Fonts.underline IN e.attr.font.style THEN e.wr.EndTag END; IF Fonts.italic IN e.attr.font.style THEN e.wr.EndTag END; IF e.attr.font.weight >= bold THEN e.wr.EndTag END; IF (e.attr.font.typeface # Fonts.default) OR (e.attr.color # Ports.defaultColor) OR (e.attr.font.size # defaultSize) THEN e.wr.EndTag END END; IF (a # NIL) & (e.attr # a) THEN (* open new special attributes *) IF (a.font.typeface # Fonts.default) OR (a.color # Ports.defaultColor) OR (a.font.size # defaultSize) THEN e.wr.StartTag("font", XhtmlWriters.preserve); IF a.font.typeface # Fonts.default THEN IF a.font.typeface = "Arial" THEN s := a.font.typeface$ ELSE s := a.font.typeface + ", Arial" END; e.wr.Attr("face", s$) END; IF a.color # Ports.defaultColor THEN ColorToString(a.color, s); e.wr.Attr("color", s$) END; SizeToString(a.font.size, s); IF a.font.size # defaultSize THEN e.wr.Attr("size", s$) END END; IF a.font.weight >= bold THEN e.wr.StartTag("strong", XhtmlWriters.preserve) END; IF Fonts.italic IN a.font.style THEN e.wr.StartTag("em", XhtmlWriters.preserve) END; IF Fonts.underline IN a.font.style THEN e.wr.StartTag("u", XhtmlWriters.preserve) END END; e.attr := a END END SetAttr; PROCEDURE BeginPara (e: Exporter); BEGIN ASSERT(e # NIL, 100); ASSERT(~e.inPara, 20); IF ~e.inLink & ~ e.inTable THEN e.wr.StartTag("p", XhtmlWriters.preserve) END; e.inPara := TRUE END BeginPara; PROCEDURE EndPara (e: Exporter); BEGIN ASSERT(e # NIL, 100); ASSERT(e.inPara, 20); SetAttr(e, NIL); IF ~e.inLink & ~e.inTable THEN e.wr.EndTag END; e.wr.Ln; e.afterSpace := FALSE; e.inPara := FALSE END EndPara; PROCEDURE Alignment (r: TextRulers.Ruler; tabIndex: INTEGER): INTEGER; VAR a: INTEGER; type: SET; BEGIN ASSERT(r # NIL, 100); ASSERT(tabIndex >= 0, 101); IF tabIndex < r.style.attr.tabs.len THEN type := r.style.attr.tabs.tab[tabIndex].type; IF TextRulers.centerTab IN type THEN a := center ELSIF TextRulers.rightTab IN type THEN a := right ELSE a := left END ELSE a := left END; RETURN a END Alignment; PROCEDURE BeginField (e: Exporter); VAR a: INTEGER; BEGIN ASSERT(e # NIL, 100); ASSERT(~e.inField, 20); ASSERT(~e.inPara, 21); a := Alignment(e.currentRuler, e.tabIndex); e.wr.StartTag("td", XhtmlWriters.preserve); IF a = center THEN e.wr.Attr("align", "center") ELSIF a = right THEN e.wr.Attr("align", "right") END; e.inField := TRUE END BeginField; PROCEDURE EndField (e: Exporter); BEGIN ASSERT(e # NIL, 100); ASSERT(e.inField, 20); ASSERT(~e.inPara, 21); e.wr.EndTag; e.inField := FALSE END EndField; PROCEDURE BeginRow (e: Exporter); BEGIN ASSERT(e # NIL, 100); ASSERT(~e.inRow, 20); ASSERT(~e.inField, 21); ASSERT(~e.inPara, 22); e.wr.StartTag("tr", XhtmlWriters.prettyPrint); e.inRow := TRUE END BeginRow; PROCEDURE EndRow (e: Exporter); BEGIN ASSERT(e # NIL, 100); ASSERT(e.inRow, 20); ASSERT(~e.inField, 21); e.wr.EndTag; e.inRow := FALSE END EndRow; PROCEDURE BeginTable (e: Exporter); BEGIN ASSERT(e # NIL, 100); ASSERT(~e.inTable, 20); ASSERT(~e.inRow, 21); ASSERT(~e.inField, 22); ASSERT(~e.inPara, 23); e.wr.StartTag("table", XhtmlWriters.prettyPrint); e.wr.Attr("border", "1"); e.wr.Attr("width", "100%"); e.inTable := TRUE END BeginTable; PROCEDURE EndTable (e: Exporter); BEGIN ASSERT(e # NIL, 100); ASSERT(e.inTable, 20); ASSERT(~e.inRow, 21); ASSERT(~e.inField, 22); ASSERT(~e.inPara, 23); e.wr.EndTag; e.inTable := FALSE END EndTable; PROCEDURE CompleteRow (e: Exporter); VAR n, i: INTEGER; BEGIN ASSERT(e # NIL, 100); ASSERT(e.inTable, 101); ASSERT(e.currentRuler # NIL, 102); IF ~e.inRow THEN BeginRow(e) END; IF e.tabIndex >= 0 THEN IF e.inPara THEN EndPara(e) END; IF ~e.inField THEN BeginField(e); e.wr.Data("&nbsp;") END; EndField(e) END; n := e.currentRuler.style.attr.tabs.len - e.tabIndex - 1; IF n >= 1 THEN (* fill row with empty fields *) i := 0; WHILE i # n DO INC(e.tabIndex); BeginField(e); e.wr.Data("&nbsp;"); EndField(e); INC(i) END END; EndRow(e) END CompleteRow; PROCEDURE BegOfTable (e: Exporter; v: Views.View): BOOLEAN; VAR b: BOOLEAN; BEGIN ASSERT(e # NIL, 100); b := FALSE; IF v # NIL THEN b := XhtmlTextTableMarkers.IsOpenMark(v) END; RETURN b END BegOfTable; PROCEDURE EndOfTable (e: Exporter; v: Views.View): BOOLEAN; VAR b: BOOLEAN; BEGIN ASSERT(e # NIL, 100); b := FALSE; IF v # NIL THEN b := XhtmlTextTableMarkers.IsCloseMark(v) END; RETURN b END EndOfTable; PROCEDURE BeginHref (e: Exporter; v: StdLinks.Link); VAR s, s0: ARRAY 256 OF CHAR; BEGIN ASSERT(e # NIL, 100); ASSERT(~e.inLink, 20); ASSERT(~e.inTable, 21); ASSERT(~e.inPara, 22); v.GetCmd(s); s0 := s$; s0[19] := 0X; (* clip the command to the (supposed) ShowTarget name *) e.wr.StartTag("a", XhtmlWriters.preserve); IF s0 = "StdLinks.ShowTarget" THEN Strings.Extract(s, 21, LEN(s$) - 23, s); (* extract the name of the target anchor *) e.wr.Attr("href", "#" + s) ELSE e.wr.Attr("href", s$) END; e.inLink := TRUE END BeginHref; PROCEDURE EndHref (e: Exporter); BEGIN ASSERT(e # NIL, 100); ASSERT(e.inLink, 20); ASSERT(~e.inTable, 21); ASSERT(~e.inPara, 22); e.wr.EndTag; e.inLink := FALSE END EndHref; PROCEDURE Id (e: Exporter; v: StdLinks.Target); VAR s: ARRAY 256 OF CHAR; BEGIN ASSERT(e # NIL, 100); ASSERT(~e.inLink, 20); ASSERT(~e.inTable, 21); ASSERT(~e.inPara, 22); v.GetIdent(s); e.wr.StartTag("a", XhtmlWriters.preserve); e.wr.Attr("id", s$) END Id; PROCEDURE View (e: Exporter; v: Views.View); BEGIN ASSERT(e # NIL, 100); ASSERT(v # NIL, 101); WITH v: StdLinks.Link DO ASSERT(v.leftSide # e.inLink, 101); (* links must not be nested *) IF v.leftSide THEN (* open link *) BeginHref(e, v) ELSE (* close link *) EndHref(e) END | v: StdLinks.Target DO IF v.leftSide THEN Id(e, v) END (* open anchor *) ELSE (* unknown view: here, an extension mechanism would be needed to handle such views *) (* skip *) END END View; PROCEDURE ExportText* (s: Stores.Store; f: Files.File); VAR e: Exporter; t: TextModels.Model; rd: TextModels.Reader; len: INTEGER; (* number of characters that remain to be translated *) ch: CHAR; str: ARRAY 256 OF CHAR; BEGIN ASSERT(s # NIL, 20); ASSERT(f # NIL, 21); ASSERT(f.Length() = 0, 22); ASSERT(s IS TextViews.View, 23); NEW(e); e.inLink := FALSE; e.inTable := FALSE; e.inPara := FALSE; e.attr := NIL; e.afterSpace := FALSE; e.level := 0; e.wr := XhtmlStdFileWriters.New(f); t := s(TextViews.View).ThisModel(); len := t.Length(); e.wr.DocType("html", "-//W3C//DTD XHTML 1.0 Strict//EN", "http://www.w3.org/TR/xhtml1/DTD/strict.dtd"); e.wr.Ln; e.wr.StartTag("html", XhtmlWriters.prettyPrint); e.wr.StartTag("head", XhtmlWriters.prettyPrint); e.wr.StartTag("title", XhtmlWriters.preserve); Dialog.MapString(untitled, str); e.wr.Data(str$); e.wr.EndTag; e.wr.EndTag; (* head *) e.wr.Ln; e.wr.StartTag("body", XhtmlWriters.prettyPrint); rd := t.NewReader(NIL); e.tabIndex := -1; (* no tab read in this line yet *) WHILE len # 0 DO Invariant(e); rd.ReadChar(ch); IF (rd.view # NIL) & (rd.view IS TextRulers.Ruler) THEN e.currentRuler := rd.view(TextRulers.Ruler) END; IF BegOfTable(e, rd.view) THEN ASSERT(~e.inTable, 101); IF e.inPara THEN EndPara(e) END; BeginTable(e); e.tabIndex := -1 (* no tab read in this line yet *) ELSIF EndOfTable(e, rd.view) THEN IF e.inRow THEN CompleteRow(e) END; EndTable(e); e.tabIndex := -1 (* no tab read in this line yet *) ELSIF (ch = TextModels.para) OR (ch = TextModels.line) OR (ch = 0X) THEN IF e.inTable THEN CompleteRow(e) END; IF ~e.inPara THEN BeginPara(e) END; EndPara(e); e.tabIndex := -1 (* no tab read in this line yet *) ELSIF ch = TextModels.tab THEN INC(e.tabIndex); IF e.inTable THEN IF ~e.inRow THEN BeginRow(e) END; IF e.tabIndex >= 1 THEN (* space until first tab is not part of a table column *) IF e.inField THEN IF e.inPara THEN EndPara(e) END ELSE (* last table field is empty *) BeginField(e); e.wr.Data("&nbsp;") END; EndField(e) END ELSE IF ~e.inPara THEN BeginPara(e) END; e.wr.Data("&nbsp;&nbsp;&nbsp;"); e.afterSpace := TRUE (* emulate tab with three spaces *) END ELSIF ch = TextModels.viewcode THEN (* translate rd.view into HTML *) IF e.inPara THEN EndPara(e) END; View(e, rd.view) ELSE IF e.inTable THEN IF ~e.inRow THEN BeginRow(e) END; IF ~e.inField THEN BeginField(e) END END; IF ~e.inPara THEN BeginPara(e) END; SetAttr(e, rd.attr); IF (ch = " ") OR (ch = TextModels.nbspace) OR (ch = TextModels.digitspace) THEN IF e.afterSpace THEN e.wr.Data("&nbsp;") ELSE e.wr.Data(" "); e.afterSpace := TRUE END ELSIF ch = TextModels.zwspace THEN e.wr.Data("&zwnj;"); e.afterSpace := TRUE ELSIF (ch = TextModels.hyphen) OR (ch = TextModels.nbhyphen) THEN e.wr.Data("-"); e.afterSpace := FALSE ELSE XhtmlEntitySets.MapCharToEntity(ch, str); (* this is the normal case of writing a character *) e.wr.Data(str$); e.afterSpace := FALSE END END; DEC(len) END; ASSERT(~e.inLink, 101); ASSERT(~e.inTable, 102); IF e.inPara THEN EndPara(e) END; e.wr.EndTag; (* body *) e.wr.EndTag; (* html *) e.wr.Ln END ExportText; END XhtmlExporter.
Xhtml/Mod/Exporter.odc
MODULE XhtmlStdFileWriters; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - 20050811, mf (reported by Helmut Zinn), procedure New text declaration corrected: "<?xml" instead of "<? xml" - 20050811, mf (reported by Helmut Zinn), procedure Writer.DocType handling of public identifiers corrected " issues = " - ... " **) IMPORT Files, XhtmlWriters; CONST tab = 09X; line = 0AX; TYPE Writer = POINTER TO RECORD (XhtmlWriters.Writer) level: INTEGER; (* indentation level *) current: Tag; (* top of tag stack *) rider: Files.Writer; afterData: BOOLEAN (* allows delayed newline after data contents *) END; Tag = POINTER TO RECORD up: Tag; inContent: BOOLEAN; (* subtag was entered, or text data written *) preserve: BOOLEAN; (* write complete element on one line, no prettyprinting white space *) name: ARRAY 256 OF CHAR END; (* generic output procedures *) PROCEDURE Char (wr:Writer; ch: CHAR); BEGIN (* UTF-8 format *) IF ch <= 7FX THEN wr.rider.WriteByte(SHORT(SHORT(ORD(ch)))) ELSIF ch <= 7FFX THEN wr.rider.WriteByte(SHORT(SHORT(-64 + ORD(ch) DIV 64))); wr.rider.WriteByte(SHORT(SHORT(-128 + ORD(ch) MOD 64))) ELSE wr.rider.WriteByte(SHORT(SHORT(-32 + ORD(ch) DIV 4096))); wr.rider.WriteByte(SHORT(SHORT(-128 + ORD(ch) DIV 64 MOD 64))); wr.rider.WriteByte(SHORT(SHORT(-128 + ORD(ch) MOD 64))) END END Char; PROCEDURE String (wr: Writer; IN str: ARRAY OF CHAR); VAR i: INTEGER; ch: CHAR; BEGIN i := 0; ch := str[0]; WHILE ch # 0X DO Char(wr, ch); INC(i); ch := str[i] END END String; PROCEDURE Tabs (wr: Writer); VAR i: INTEGER; BEGIN IF ~wr.current.preserve THEN i := 0; WHILE i # wr.level DO Char(wr, tab); INC(i) END END END Tabs; PROCEDURE StartElemContent (wr: Writer); BEGIN (* complete start tag *) String(wr, ">"); wr.Ln; wr.current.inContent := TRUE END StartElemContent; (* methods *) PROCEDURE (wr: Writer) Error (): XhtmlWriters.Error; BEGIN RETURN NIL END Error; PROCEDURE (wr: Writer) Ln; BEGIN IF ~wr.current.preserve THEN Char(wr, line) END END Ln; PROCEDURE (wr: Writer) Instruction (IN piTarget, instruction: ARRAY OF CHAR); BEGIN Tabs(wr); String(wr, "<?" + piTarget + " " + instruction + "?>") END Instruction; PROCEDURE (wr: Writer) Comment (IN comment: ARRAY OF CHAR); BEGIN Tabs(wr); String(wr, "<!--" + comment + "-->") END Comment; PROCEDURE (wr: Writer) DocType (IN rootName, pubidLiteral, sysidLiteral: ARRAY OF CHAR); BEGIN ASSERT(wr.level = 0, 100); ASSERT(rootName # "", 101); ASSERT((pubidLiteral = "") OR (sysidLiteral # ""), 102); IF pubidLiteral # "" THEN String(wr, '<!DOCTYPE ' + rootName + ' PUBLIC "' + pubidLiteral + '" "' + sysidLiteral + '">') ELSIF sysidLiteral # "" THEN String(wr, '<!DOCTYPE ' + rootName + ' SYSTEM "' + sysidLiteral + '">') ELSE String(wr, '<!DOCTYPE ' + rootName) END; wr.Ln END DocType; PROCEDURE (wr: Writer) StartTag (IN elem: ARRAY OF CHAR; preserve: BOOLEAN); VAR t: Tag; BEGIN IF ~wr.current.inContent & (wr.current.up # NIL) THEN StartElemContent(wr) END; Tabs(wr); String(wr, "<" + elem); wr.afterData := FALSE; INC(wr.level); NEW(t); t.name := elem$; t.up := wr.current; t.preserve := preserve OR wr.current.preserve; wr.current := t END StartTag; PROCEDURE (wr: Writer) Attr (IN name, value: ARRAY OF CHAR); BEGIN ASSERT(wr.level >= 1, 100); String(wr, ' ' + name + '="' + value + '"') END Attr; PROCEDURE (wr: Writer) Data (IN data: ARRAY OF CHAR); BEGIN ASSERT(wr.level >= 1, 100); IF data # "" THEN IF ~wr.current.inContent THEN StartElemContent(wr); Tabs(wr) END; String(wr, data); wr.afterData := TRUE END END Data; PROCEDURE (wr: Writer) EndTag; BEGIN ASSERT(wr.level >= 1, 100); DEC(wr.level); IF wr.current.inContent THEN IF wr.afterData THEN wr.Ln END; Tabs(wr); String(wr, "</" + wr.current.name + ">") ELSE (* note that StartElemContents is NOT called! *) String(wr, "/>") END; wr.current := wr.current.up; wr.Ln; wr.afterData := FALSE; IF wr.level = 0 THEN wr.rider.Base().Flush END END EndTag; (* factory functions *) PROCEDURE MakeFileSpec (IN path: ARRAY OF CHAR; OUT loc: Files.Locator; OUT file: Files.Name); VAR i, j: INTEGER; ch: CHAR; s: Files.Name; BEGIN loc := Files.dir.This(""); IF loc = NIL THEN RETURN END; j := 0; i := 0; ch := path[0]; WHILE ch # 0X DO IF ch = "/" THEN s[j] := 0X; (* s contains next path element *) loc := loc.This(s); IF loc = NIL THEN RETURN END; j := 0 ELSE s[j] := ch; INC(j) END; INC(i); ch := path[i] END; s[j] := 0X; (* s contains file name *) file := s$ END MakeFileSpec; PROCEDURE New* (f: Files.File): XhtmlWriters.Writer; VAR wr: Writer; BEGIN ASSERT(f # NIL, 20); NEW(wr); NEW(wr.current); wr.current.name := ""; wr.current.up := NIL; wr.rider := f.NewWriter(NIL); ASSERT(wr # NIL, 100); ASSERT(wr.rider # NIL, 101); ASSERT(wr.level >= 0, 102); String(wr, '<?xml version="1.0" encoding="UTF-8"?>'); wr.Ln; RETURN wr END New; PROCEDURE NewForPath* (IN path: ARRAY OF CHAR): XhtmlWriters.Writer; VAR loc: Files.Locator; f: Files.File; name: Files.Name; wr: XhtmlWriters.Writer; BEGIN ASSERT(path # "", 20); MakeFileSpec(path, loc, name); f := Files.dir.New(loc, Files.dontAsk); IF f # NIL THEN wr := New(f) ELSE wr := NIL END; RETURN wr END NewForPath; END XhtmlStdFileWriters.
Xhtml/Mod/StdFileWriters.odc
MODULE XhtmlTextTableMarkers; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - see View.HandleCtrMsg " **) IMPORT Ports, Stores, Views, Controllers, Properties, TextModels; CONST minVersion = 0; maxVersion = 1; TYPE View = POINTER TO RECORD (Views.View) openMark: BOOLEAN END; (* View *) PROCEDURE (v: View) Internalize (VAR rd: Stores.Reader); VAR version: INTEGER; BEGIN (* v is not initialized *) (* v.Domain() = NIL *) IF ~rd.cancelled THEN rd.ReadVersion(minVersion, maxVersion, version); IF ~rd.cancelled THEN rd.ReadBool(v.openMark) END END END Internalize; PROCEDURE (v: View) Externalize (VAR wr: Stores.Writer); BEGIN (* v is initialized *) wr.WriteVersion(maxVersion); wr.WriteBool(v.openMark) END Externalize; PROCEDURE (v: View) CopyFromSimpleView (source: Views.View); BEGIN (* v is not initialized *) (* v.Domain() = NIL *) (* source # NIL *) (* source is initialized *) (* TYP(v) = TYP(source) *) WITH source: View DO v.openMark := source.openMark END END CopyFromSimpleView; PROCEDURE (v: View) Restore (f: Views.Frame; l, t, r, b: INTEGER); VAR w, h, s: INTEGER; BEGIN (* f # NIL *) IF ~Views.IsPrinterFrame(f) THEN v.context.GetSize(w, h); w := f.r - f.l; s := 2 * f.dot; f.DrawRect(0, 0, s, h, Ports.fill, Ports.grey25); (* left border *) f.DrawRect(w - s, 0, w, h, Ports.fill, Ports.grey25); (* right border *) IF v.openMark THEN f.DrawRect(s, 0, w - s, s, Ports.fill, Ports.grey25); (* top border *) f.DrawRect(s, s, w - s, h, Ports.fill, Ports.grey12) (* interior *) ELSE f.DrawRect(s, h - s, w - s, h, Ports.fill, Ports.grey25); (* bottom border *) f.DrawRect(s, 0, w - s, h - s, Ports.fill, Ports.grey12) (* interior *) END END END Restore; PROCEDURE (v: View) HandleCtrlMsg (f: Views.Frame; VAR msg: Controllers.Message; VAR focus: Views.View); BEGIN (* f # NIL *) (* focus = NIL *) WITH msg: Controllers.PollOpsMsg DO (* specify which editing operations are supported *) | msg: Controllers.TrackMsg DO (* implement mouse tracking *) | msg: Controllers.EditMsg DO (* implement editing operations *) ELSE (* ignore other messages *) END END HandleCtrlMsg; PROCEDURE (v: View) HandlePropMsg (VAR msg: Properties.Message); CONST viewHeight = 2 * Ports.mm; BEGIN WITH msg: Properties.SizePref DO msg.w := 10000 * Ports.mm; msg.h := viewHeight | msg: Properties.ResizePref DO msg.fixed := TRUE | msg: TextModels.Pref DO (*msg.opts := {TextModels.maskChar}; msg.mask := TextModels.para*) ELSE (* ignore other messages *) END END HandlePropMsg; (** miscellaneous **) PROCEDURE IsOpenMark* (v: Views.View): BOOLEAN; BEGIN RETURN (v # NIL) & (v IS View) & v(View).openMark END IsOpenMark; PROCEDURE IsCloseMark* (v: Views.View): BOOLEAN; BEGIN RETURN (v # NIL) & (v IS View) & ~v(View).openMark END IsCloseMark; PROCEDURE New* (openMark: BOOLEAN): Views.View; VAR v: View; BEGIN NEW(v); v.openMark := openMark; RETURN v END New; PROCEDURE DepositOpenMark*; BEGIN Views.Deposit(New(TRUE)) END DepositOpenMark; PROCEDURE DepositCloseMark*; BEGIN Views.Deposit(New(FALSE)) END DepositCloseMark; END XhtmlTextTableMarkers.
Xhtml/Mod/TextTableMarkers.odc
MODULE XhtmlWriters; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = " - YYYYMMDD, nn, ... " issues = " - ... " **) CONST prettyPrint* = FALSE; preserve* = TRUE; TYPE Error* = POINTER TO RECORD pos*: INTEGER; msg*: ARRAY 80 OF CHAR END; Writer* = POINTER TO ABSTRACT RECORD END; PROCEDURE (wr: Writer) Error* (): Error, NEW, ABSTRACT; PROCEDURE (wr: Writer) Ln*, NEW, ABSTRACT; PROCEDURE (wr: Writer) Comment* (IN comment: ARRAY OF CHAR), NEW, ABSTRACT; PROCEDURE (wr: Writer) Instruction* (IN piTarget, instruction: ARRAY OF CHAR), NEW, ABSTRACT; PROCEDURE (wr: Writer) DocType* (IN rootName, pubidLiteral, sysidLiteral: ARRAY OF CHAR), NEW, ABSTRACT; PROCEDURE (wr: Writer) StartTag* (IN elem: ARRAY OF CHAR; preserve: BOOLEAN), NEW, ABSTRACT; PROCEDURE (wr: Writer) Attr* (IN name, value: ARRAY OF CHAR), NEW, ABSTRACT; PROCEDURE (wr: Writer) Data* (IN data: ARRAY OF CHAR), NEW, ABSTRACT; PROCEDURE (wr: Writer) EndTag*, NEW, ABSTRACT; END XhtmlWriters.
Xhtml/Mod/Writers.odc
STRINGS XhtmlExporter.ExportText XHTML Text
Xhtml/Rsrc/Strings.odc
di21 [В новой базовой версии (2012) сделан ряд модификаций. Инструкции по сборке см. в документе " 2012 -21.odc" в папке " ". info21, 2012-09-30] От 2009-10-17 BlackBox Component Builder 1.5 .. -21 (http://www.inr.ac.ru/~info21/) Delta, 2008 . "" (http://oberoncore.ru). di21: 2009-10-17: модифицированы модули DevSearch, DevReferences, , (. DevCompiler.CompileThis; . ), . System/Rsrc/About.odc, . Delta -21. di21, -21, ** **. *********************************************************************** di21 . --0-- , BlackBox SetupBlackBox15.exe (6.59MB), Oberon microsystems, Inc. (http://www.oberon.ch/zip/SetupBlackBox15.exe), , , : http://www.inr.ac.ru/~blackbox/rsrc/SetupBlackBox15.exe. --1-- "C:\Program Files\BlackBox Component Builder 1.5"; BlackBox.exe. . --2-- , , C:\BlackBox.2. . di21. Dev, Host, ..., di21_readme.txt ( ) di21_readme.odc. --3-- (lnk) BlackBox.exe. (Ctrl+Enter). ( Target) , : "C:\Program Files\BlackBox Component Builder 1.5\BlackBox.exe" /Use "C:\BlackBox.2" : "C:\Program Files\BlackBox Component Builder 1.5\BlackBox.exe" /Use "C:\BlackBox.2" ( Start in) "C:\BlackBox.2" : "C:\BlackBox.2" . --4-- , (Ctrl+O File, Open) . di21_readme.odc, , . --6-- : ( ; National .), OK ( ; ): DevCompiler.CompileThis National Kernel HostFiles Config Controls Dialog Meta Strings HostPrinters HostDialog HostFonts HostWindows HostMenus HostPackedFiles HostPorts HostTextConv DevCommanders DevCPS DevDebug DevMarkers DevPacker DevRBrowser DevSubTool DevReferences DevSearch OleData SqlDB SqlControls StdCmds StdInterpreter StdScrollers TextControllers TextMappers TextSetters XhtmlEntitySets --7-- BlackBox.exe : DevLinker.Link BlackBox.exe := National Kernel$+ Files HostFiles StdLoader 1 Applogo.ico 2 Doclogo.ico 3 SFLogo.ico 4 CFLogo.ico 5 DtyLogo.ico 1 Move.cur 2 Copy.cur 3 Link.cur 4 Pick.cur 5 Stop.cur 6 Hand.cur 7 Table.cur Log : BlackBox.exe written 87040 39826 BlackBox.exe. di21_readme.txt . --8-- . --9-- Code ( : Config.ocf ... Strings.ocf) Sym ( : National.osf) System (.. ). . --10-- , ( , ). ( BlackBox.exe), , , di21. P (открыв, например, данный документ), при нажатии Ctrl+стрелки влево/вправо , "яь" , , , . , , . *************************** *************************** *************************** Пакет исправлений "Дельта" (Service Pack 4.10) от 01.01.2008 для BlackBox Component Builder 1.5 Данный пакет является заключительным (мы на это надеемся!) крупным набором исправлений для BlackBox 1.5. Изменения в данном пакете, по сравнению с SP 3.10/4.01 - полностью убрана вся синхронизация от Active BlackBox; - убран навигатор исходного кода и браузер интерфейсов (будет отдельным пакетом); - внесены исправления в модуль XhtmlEntitySets, для правильного экспорта русского языка в UTF-8, предыдущие изменения (3.03) не имели никакого смысла; - внесены исправления от Александра Ильина, за исключением Sequensors.notRecordered, т.к. правка не является исправлением ошибки, однако затрагивает несколько модулей каркаса и расширяет интерфейс некоторых из них; - исключён модуль StdStamps, русификация сделанная в нём перекрывается сразу двумя общими правками в подсистеме Host; - оставлено единственное отклонение от оригинала - поддержка /FULLSCREEN, хотя и не имеющее особой значимости; - все модули имеющие отношение к пакету промаркированы меткой (* SP410 *) Чтобы закрыть серию пакетов исправлений, данный пакет имеет только название "Дельта" и не имеет версии (разве что дата выпуска), хотя имеет внутреннюю версию 4.10. История изменений В Service Pack 4 вошли самые последние исправления и дополнения для среды разработки BlackBox Component Builder версии 1.5. Значительная их часть ориентирована на адаптацию среды к разработке многопоточных приложений. Непосредственно для такой разработки требуется специальная версия системы времени выполнения. Такая версия нами разработана и носит название Active BlackBox - ее можно получить на нашем сайте blackbox.metasystems.ru. Service Pack 4 позволяет разрабатывать синхронизированные, потокобезопасные модули, которые будут работать без перекомпиляции в обоих версиях среды. Добавлены новые средства: - модуль примитивов для синхронизации потоков Synch и модуль реализации HostSynch; - синхронизированные потокобезопасные модули BlackBox Framework; - модуль Mem - для работы с массивами переменной длины, буферизующими фабриками объектов и информацией о сигнатурах процедур; - навигатор исходного кода и усовершенствования браузера интерфейсов; - полноэкранный режим главного окна среды; - модули DevTerminal и DevTrace - для работы с отладочной консолью и трассировки контрольных точек программы, удобны для отладки сложных многопоточных приложений. Внесены исправления: - модуль StdScrollers - устранено интенсивное выделение памяти при редактировании отображений-контейнеров внутри блока прокрутки. Также вошли все исправления из предыдущих пакетов исправлений.Добавлены новые средства: Синхронизированные потокобезопасные модули Все основные модули каркаса были переработаны для применения в многопоточных приложениях. Однако потокобезопасность допускает только то, что к процедурам модуля одновременно могут обращаться несколько потоков. Это не допускает (если явно не оговорено иное) того, что несколько потоков могут работать одновременно с одним экземпляром какого-либо типа из этих модулей. Для такой работы требуется написание собственного кода синхронизации, на основе Synch. Например, если несколько потоков могут работать с одной текстовой моделью, то программист должен самостоятельно обеспечить для них взаимное исключение, применив критическую секцию Synch.CriticalSection. Также следует соблюдать следующее правило - инсталляция каталожных объектов (Directories) в модули каркаса должна выполняться только из главного потока. Ниже приведен перечень потокобезопасных модулей. Другие модули также могут быть потокобезопасными, однако мы не выполняли их верификацию. Если около имени модуля стоит звездочка, это значит, что он был доработан. Files и реализация HostFiles ; Fonts и реализация HostFonts ; Ports и реализация HostPorts ; Log ; *Services - используя Services, параллельные потоки могут ставить в очередь на исполнение отдельные действия, которые будут выполнены в контексте главного потока; *Meta, *Stores, Mem ; Strings, Dates, Math, SMath, *Integers ; Converters ; модули графического интерфейса *Models, *Views, Properties, Containers могут использоваться параллельными потоками для работы только с теми объектами, которые не открыты на экране, то есть, не подключены к экранным кадрам и шинам сообщений среды; все графические операции и команды пользовательского интерфейса могут выполняться только в контексте главного потока среды, либо в момент блокировки главного цикла сообщений между Synch.BeginOberonSafe и Synch.EndOberonSafe. Параллельные потоки для работы с графическим интерфейсом могут либо использовать эти процедуры, либо ставить необходимые действия на очередь в модуль Services, для исполнения в контексте главного потока среды; *StdLog, *StdDebug, StdInterpreter и Dialog.Call ; *TextModels, TextMappers ; *DevDebug, *DevHeapSpy, DevTerminal, DevTrace .Синхронизированные потокобезопасные модули Навигатор исходного кода и усовершенствования браузера интерфейсов Сделано несколько доработок, повышающих удобство работы с исходными текстами модулей. В модуле DevReferences реализован навигатор по исходному коду. Добавьте в меню перед пунктом Source следующую команду: "&Open Navigator" "G" "DevReferences.OpenNavigator" "" Теперь по сочетанию клавиш Ctrl-G будет открываться панел навигации по коду. Панель подключается к переднему открытом окну, в котором редактируется исходный код модуля. В панели в секции TYPEs показываются все типы, объявленные в модуле, и их связанные процедуры, в секции PROCEDUREs - все глобальные процедуры модуля. Сущности показываются в том порядке, в каком они определены в модуле. Экспортированные элементы помечаются жирным шрифтом. По щелчке на элементе происходит перемещение к тому месту, где он определен. При активации другого окна навигатор автоматически подключается к нему. При изменении текста модуля с добавлением или удалением типов и процедур нужно нажать ссылку Update в окошке навигатора, чтобы обновить информацию в нем. В модуль DevBrowser внесены изменения, сделавшие работу с браузером интерфейсов модулей более удобной. Теперь имена всех типов и процедур являются ссылками, по которым можно перейти сразу к нужному месту либо исходного текста модуля, либо его документации. Цель ссылок меняется переключателем в верхнем правом углу каждого окна браузера. Можно также отключить ссылки вообще, например, если описание из браузера должно быть скопировано в какой-либо документ.Навигатор исходного кода и усовершенствования браузера интерфейсов Полноэкранный режим главного окна среды Доработаны модули HostWindows и HostMenus для поддержки полноэкранного режима главного окна MDI. Для запуска среды в полноэкранном режиме нужно использовать ключ командной строки /FULLSCREEN. Ключи командной строки Ключи командной строки могут быть также прописаны в файле System/Rsrc/CommandLine.txt следующего вида: COMMANDLINE /ключ1 /ключ2 ... BlackBox использует следующие ключи командной строки: /USE dir использовать каталог dir как рабочий профиль (см. Руководства пользователя - Среда - Серверная установка). Если dir содержит пробелы, то должна быть взята в кавычки; /NOAPPWIN главное окно MDI не создается. Приложение состоит только из инструментальных диалогов (tool dialogs), открываемых командой StdCmds.OpenToolDialog. /FULLSCREEN главное окно MDI открывается в полноэкранном режиме; /FULLSIZE главное окно MDI открывается максимального размера; /NOSCROLL главное окно MDI не использует полосы прокрутки; /LTRB l t r b размещает окно на экране в прямоугольнике (l, t, r, b); /LANG lang после запуска Dialog.language устанавливается в lang; /PAR par устанавливает Dialog.commandLinePars в par. Если par содержит пробелы, то должен быть взят в кавычки; /LOAD modName после запуска среды загружает модуль modName. Параметр /LOAD может встречаться несколько раз; /O fileName после запуска среды открывает файл fileName. Параметр /O может встречаться несколько раз.Полноэкранный режим главного окна среды В Service Pack 3.10 вошли все предыдущие изменения по русификации, в том числе так и не вышедший Service Pack 3.05. Проведена ревизия модулей. Из пакета исключены модули обновляющие BlackBox 1.5 BETA к Release. Теперь пакет исправлений относится только к Release версии! Service Pack 3.05 (16.05.2006) НЕ включает в себя Service Pack 3 - установите его отдельно! В версию 3.05 вошли следующие изменения: System/Dialog - исправлены процедуры MapString/MapParamString. В транслируемой строке перед сопоставлением с ключами русские символы приводятся к однобайтовой кодировке cp1250, так как таблицы ресурсов Strings загружаются именно в ней. Host/Dialog - исправлен вывод в строку состояния для совместной работы с Dialog.MapString. Xhtml, Host/TextConv, Host/Ports, Host/Fonts - исправления из Service Pack 3.04. Service Pack 3.04 Host/Ports - исправление процедуры Frame.DrawString для корректной работы с русским текстом. Host/Fonts - аналогично для Font.StringWidth. Service Pack 3.03 Xhtml/EntitySets - исправление для правильного экспорта русского текста. Xhtml экспортирует текст в кодировке UTF-8. Service Pack 3.02 Host/TextConv - исправления, окончательно решающие проблемы с русским текстом при сохранении в форматах .txt и .rtf, а также при копировании через буфер обмена с внешними приложениями. Также доработана загрузка русских текстов в DOS-кодировке. ПРИМЕЧАНИЕ: корень проблемы в том, что в текстах в BlackBox русский текст часто оказывается в смешанной кодировке - копируемый через буфер или импортируемый из внешних форматов - в Unicode, а вводимый с клавиатуры в Windows CP1251, т.к. BlackBox использует A-версии API-функций. Скорее всего, в версии 1.6 разработчики перейдут на W-версии API-функций, что снимет проблему разнобоя в кодировках. Service Pack 3.01 Host/TextConv - предварительные исправления, решающие проблемы с русским текстом при сохранении в форматах .txt и .rtf, а также при копировании через буфер обмена с внешними приложениями (для буфера обмена исправление, видимо, не окончательное). Service Pack 3 включает в себя все доступные на сегодняшний день исправления, связанные с русификацией + мелкие изменения, внесенные Oberon Microsystems при переходе от версии 1.5 BETA к RELEASE. Пакет может устанавливаться как поверх RELEASE, так и поверх BETA - в любом случае выполучите RELEASE со всеми исправлениями. Изменения, внесенные в RELEASE Oberon Microsystems и вошедшие в Service Pack 3: .\blackbox.exe.manifest (new file): manifest file for BlackBox.exe; enables Windows XP look & feel .\empty.odc (new file): allows the creation of new documents by right-click from the Windows Explorer .\host\mod\ports.odc: Bezier algorithm corrected .\sql\mod\odbc.odc: handling of case WinSql.SQL_ERROR changed .\sql\mod\odbc3.odc: handling of case WinSql.SQL_ERROR changed .\std\mod\scrollers.odc: corrections in InnerFrame and its clients .\system\mod\dialog.odc: additional Update procedures .\system\mod\stores.odc: corrections in ThisId and ThisBaseId .\xhtml\mod\entitysets.odc: procedure MapCharToEntity corrected .\xhtml\mod\stdfilewriters.odc: procedures New and Writer.DocType corrected Также были внесены некоторые исправления в документацию и меню, но они в SP не вошли. Закачайте полную версию BlackBox 1.5 с сайта oberon.ch. Изменения, впервые внесенные в Service Pack 2.01 ООО ОЦПИ "Метасистемы" (включены в Service Pack 3): - Важное исправление модулей Dialog и HostDialog, исправляющее ошибку, допущенную в SP2, и таким образом окончательно решающее проблему русских символов в строке состояния. Изменения, впервые внесенные в Service Pack 2 ООО ОЦПИ "Метасистемы": 1. При редактировании мы опирались на исходный код, исправленный в целях русификации И. Горячевым и Ф. Ткачевым (мы называем эти изменения Service Pack 1, см. ниже). 2. В пакет включены исходные тексты и кодовые файлы BlackBox. Просто скопируйте их в директорию BlackBox. В исходных текстах содержится комментарий и выделение цветом мест, которые были нами исправлены. 3. Мы внесли в исходный код BlackBox следующие исправления: Подсистема Sql 1) Controls - русификация. Таблицы БД теперь корректно отображают русский текст. 2) DB - русификация. Теперь препроцессор "понимает" русские имена переменных. Переделано разворачивание переменных типа Date - вместо формата гггг/мм/дд используется формат гггг-мм-дд, более стандартный для SQL. (В нашем случае причиной "глюков" был MySQL 4.1. На обычных запросах он нормально отрабатывает оба формата даты, а на сложных вложенных первый формат по необъяснимым причинам не распознается. Подсистема Host 1) Dialog.ShowParamStatus - Win-API вызов заменен Unicode-версией. Теперь строка статуса "понимает" кирилицу. 2) Dialog.PrintDialog, Dialog.PrintSetup - добавлен код для поддержки автоориентации страницы. Сама автоориентация выполняется подсистемой Mt_pub, которая распространяется отдельно. 3) Fonts.Init - исправлен параметр CHARSET с 0 на 1 для правильной работы с кириллицей. 4) Printers - добавлена процедура GetPrinterDev, считывающая текущие установки принтера. Необходимо для поддержки автоориентации страницы подсистемой Mt_pub. Подсистема System 1) Dialog - убрано ограничение на занесение пустой строки в список. Если в SetItem передается пустая строка, в список заносится " ". 2) Config - вставлен блок HostDialog.InitPrefDialog; HostDialog.PrefOk; StdCmds.CloseDialog. Это приводит к тому, что при первом же запуске среды настройки шрифтов сохраняются в реестр. Это решает проблему, при которой на "чистой" машине для нормального отображения русского текста надо хотя бы раз выбрать шрифты в диалоге настроек. 3) USERB - заголовки Unicode-версий WinAPI. Пока только одна функция. Замечания по русификации ("Service Pack 1"). Замечания Ф.В.Ткачев 2005-06-25 0. На данный момент не рекомендуется использовать средства модуля National в прикладных программах. 1. Сделана именно русификация, а не "кириллизация". 2. Во всех модулях И.Горячева выполнено мелкое редактирование для приведения к согласию с рекомендациями БлэкБокса. 3. В модуле National закомментировано или спрятано все, что введено "на всякий будущий случай", т.е. все, что не используется в русификации модулей БлэкБокса. Русификация BlackBox 1.5 BETA Версия от 19.05.2005 И.Н.Горячев Понимает все русские буквы ("ё" в том числе) в идентификаторах и именах файлов. Предполагается кодировка Win-1251. Добавлен модуль: National Исправлены модули: Controls Kernel Meta Strings Dialog DevCommanders DevCPS DevDebug DevPacker DevRBrowser DevMarkers DevSubTool HostFiles HostMenus HostPackedFiles StdCmds StdInterpreter StdStamps TextMappers TextSetters Примечания: Исправления выделены синим цветом. В модулеях Controls и HostMenus не реализована поддержка русских горячих клавиш - мне кажется это будет лишним, да и не факт, что вообще заработает с пол-оборота. Добавлена возможность назначать пунктам меню сочетания с клавишей BackSpace. В файлах меню она обозначается как "Bs" (на самом деле как "B"+любые другие символы). Просто я настолько привык к этому сочетанию, что без него - сплошное мучение. Рука сама тянется. Очень грубые исправления модулей DevMarkers, Dialog и StdStamps для корректного отображения русских символов. Blackbox.exe должен теперь собираться командой: DevLinker.Link BlackBox.exe := National Kernel$+ Files HostFiles StdLoader 1 Applogo.ico 2 Doclogo.ico 3 SFLogo.ico 4 CFLogo.ico 5 DtyLogo.ico 1 Move.cur 2 Copy.cur 3 Link.cur 4 Pick.cur 5 Stop.cur 6 Hand.cur 7 Table.cur (с) 2008 OberonCore (с) 2005-2008 Горячев И.Н., Ткачёв Ф.В., Ильин А.С., Marco Ciot (с) 2006, 2007 ООО ОЦПИ "Метасистемы" (с) 1994-2006 Oberon Microsystems AG Все права на исходный код принадлежат Oberon Microsystems AG Пакет свободен для распространения и использования на условиях BlackBox Open Source License Мы распространяем ПО без всяких явных или подразумеваемых гарантий. Вы используете его на свой страх и риск.
об этой конфигурации Блэкбокса/di21_readme.odc
Построение "базовой" сборки из оригинального дистрибутива 1.5 2012-11-09 1. Создание нового BlackBox.exe: Оригинальный ББ 1.5 устанавливается в некую папку (в дальнейшем "основная папка"). Где-то вне основной создается рабочая папка. Туда распаковывается архив i21base2012.7z, который должен содержать только исходники, документы и тексты, но никаких бинарников. Установленный ББ запускается в серверном режиме в этой рабочей папке. При вызове нижеследующих коммандеров нужно подтверждать создание новых папок (Code и Sym для соответствующих подсистем). Компиляция модулей, нужных для создания нового BlackBox.exe: В 2010 г. Ominc сделали исправление в WinApi; вследствие этого должны перекомпилироваться также WinOle и HostBitmaps: DevCompiler.CompileThis WinApi WinOle HostBitmaps Компиляция модулей, нужных для линковки нового BlackBox.exe: DevCompiler.CompileThis i21sysLatin1 i21sysCyrillic i21sysCharacters Kernel HostFiles Линковка нового BlackBox.exe: DevLinker.Link BlackBox.exe := i21sysCyrillic i21sysCharacters Kernel$+ Files HostFiles StdLoader 1 Applogo.ico 2 Doclogo.ico 3 SFLogo.ico 4 CFLogo.ico 5 DtyLogo.ico 1 Move.cur 2 Copy.cur 3 Link.cur 4 Pick.cur 5 Stop.cur 6 Hand.cur 7 Table.cur ББ закрывается. Новый BlackBox.exe перемещается в основную папку вместо старого. ББ запускается как в самом начале в серверном режиме в рабочей папке с той разницей, что активируется новый BlackBox.exe. 2. Исправленные модули, не зависят от i21sysCharacters ни прямо, ни косвенно: DevCompiler.CompileThis DevSearch HostPrinters HostWindows OleData StdScrollers TextControllers 3. Модули, где добавлена поддержка локализации: DevCompiler.CompileThis HostMenus HostDialog Dialog HostFonts HostPorts HostPackedFiles HostTextConv Meta Controls DevCPS DevCPP DevCommanders TextMappers TextSetters StdCmds StdInterpreter DevMarkers DevPacker DevRBrowser DevSubTool SqlDB SqlControls XhtmlEntitySets 4. Для удобства дальнейшей работы (не зависит от локализации): DevCompiler.CompileThis HostRegistry i21sysDesktop i21sysFiles i21sysIn i21sysWindows Startup i21sysInfo i21sysCalls i21sysScript i21sysBitmaps 5. Поддержка ключевых слов на национальных языках, а также "умного" редактора: DevCompiler.CompileThis i21sysScanner i21sysVocabulary i21sysCompiler DevDebug DevBrowser DevReferences i21sysEdit Config i21sysScanner от локализации не зависит. DevDebug DevBrowser DevReferences используют i21sysVocabulary 6. Для совместимости старого софта с новой сборкой: DevCompiler.CompileThis National 7. Дополнительные модули подсистемы i21sys: DevCompiler.CompileThis i21sysInПримеры i21sysListings i21sysKoi8r i21sysText i21sysUnicodeTools Закрыть Блэкбокс 8. рабочей содержимое папок Code Sym соответствующие поди в System (.. ). рабочей и должны пустыми. Скопировать содержимое рабочей папки в основную папку. Теперь в основной папке -- искомая "базовая" сборка Блэкбокса. Замечание Модуль Strings больше не в пакете, то есть возвращён к оригинальному состоянию. Это сделано в том числе и для того, чтобы облегчить переход к Юникоду. Для работы с незападноевропейскими языками следует использовать i21sysCyrillic и тому подобные модули, в которых процедуры преобразования литер и литерных цепочек устроены так же, как в модуле Strings. ------ info21, 2012-09-30, последние правки 2012-11-09
об этой конфигурации Блэкбокса/Построение базовой сборки 2012 от проекта Информатика-21.odc