Jump to content

SWCNTRL: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
No edit summary
Line 1: Line 1:
== SWCNTRL ==
== SWCNTRL ==
Switch-list control block structure.
Switch-list control block structure.


=== Type ===
=== Type ===
 
  [[HWND]]    hwnd
  [[OS2 API:DataType:HWND|HWND]]    hwnd
  HWND    hwndIcon
  [[OS2 API:DataType:HWND|HWND]]     hwndIcon
  [[HPROGRAM]] hprog
  [[OS2 API:DataType:HPROGRAM|HPROGRAM]] hprog
  [[PID]]      idProcess
  [[OS2 API:DataType:PID|PID]]      idProcess
  [[ULONG]]    idSession
  [[OS2 API:DataType:ULONG|ULONG]]    idSession
  ULONG    uchVisibility
  [[OS2 API:DataType:ULONG|ULONG]]   uchVisibility
  ULONG    fbJump
  [[OS2 API:DataType:ULONG|ULONG]]   fbJump
  [[CHAR]]    szSwtitle[ [[MAXNAMEL]]+4 ]
  [[OS2 API:DataType:CHAR|CHAR]]    szSwtitle[ [[OS2 API:Constant:MAXNAMEL|MAXNAMEL]]+4 ]
  ULONG    bProgType
  [[OS2 API:DataType:ULONG|ULONG]]   bProgType


==== C Declaration Method ====
==== C Declaration Method ====
typedef struct
typedef struct


=== Fields ===
=== Fields ===
;hwnd:Window handle
;hwndIcon:Window-handle icon
;hprog:Program handle
;idProcess:Process identity
;idSession:Session identity
;uchVisibility:Visibility
;fbJump:Jump indicator
;szSwtitle[MAXNAMEL+4]:Switch-list control block title (null-terminated)
;bProgType:Program type


hwnd                  Window handle.
[[Category:Data type]]
hwndIcon              Window-handle icon.
hprog                Program handle.
idProcess            Process identity.
idSession            Session identity.
uchVisibility        Visibility:
fbJump                Jump indicator:
szSwtitle[MAXNAMEL+4] Switch-list control block title (null-terminated).
bProgType;            Program type.
 
 
 
[[OS2_API | Back to OS/2 API]]
 
 
[[Category:The OS/2 API Project]]

Revision as of 00:13, 3 November 2016

SWCNTRL

Switch-list control block structure.

Type

HWND     hwnd
HWND     hwndIcon
HPROGRAM hprog
PID      idProcess
ULONG    idSession
ULONG    uchVisibility
ULONG    fbJump
CHAR     szSwtitle[ MAXNAMEL+4 ]
ULONG    bProgType

C Declaration Method

typedef struct

Fields

hwnd
Window handle
hwndIcon
Window-handle icon
hprog
Program handle
idProcess
Process identity
idSession
Session identity
uchVisibility
Visibility
fbJump
Jump indicator
szSwtitle[MAXNAMEL+4]
Switch-list control block title (null-terminated)
bProgType
Program type