CH PW3270 Guida Utente

Navigare online o scaricare Guida Utente per Pulitori ad alta pressione CH PW3270. CH PW3270 User`s guide Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 158
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 0
Version 1.1
Windows HLLAPI
Specification
Greg Millard Digital Communications Associates, Inc.
Sean Grinslade Attachmate Corporation
David Fuchs Wall Data Incorporated
Preston Sights Synapse Communications
Michael Lee NetSoft
Gordon Mangione Microsoft Corporation
Microsoft Corporation
Vedere la pagina 0
1 2 3 4 5 6 ... 157 158

Sommario

Pagina 1 - Specification

Version 1.1Windows HLLAPISpecificationGreg Millard Digital Communications Associates, Inc.Sean Grinslade Attachmate CorporationDavid Fuchs Wall Data

Pagina 3 - Contents

cii ContentsWinHLLAPICancelAsyncRequest( )This function cancels an outstanding WinHLLAPIAsync( )-based request.int WinHLLAPICancelAsyncRequest(HANDLE

Pagina 4 - 6 Windows HLLAPI Functions

Contents ciiiWinHLLAPICancelBlockingCall( )This function cancels any outstanding blocking operation for its thread. Any outstanding blocked callcance

Pagina 5 - Chapter 1 Introduction 7

civ ContentsWinHLLAPIStartup( )This function allows an application to specify the version of Windows HLLAPI required and to retrievedetails of the sp

Pagina 6 - 8 Windows HLLAPI Functions

Contents cvAppversionsDLLVersionsToWinHLLAPIStartupFromWinHLLAPIStartup Result1.0 1.0 1.0 1.0 use 1.01.0 2.0 1.0 2.0 1.0 use 1.01.0 1.0 2.0 1.0 2.0 u

Pagina 7 - Introduction

cvi ContentsWinHLLAPISetBlockingHook( )This function installs a new function which a Windows HLLAPI Implementation should use toimplement blocking HL

Pagina 8 - Programming with

Contents cviiWinHLLAPIUnhookBlockingHook( )This function removes any previous blocking hook that has been installed and reinstalls the defaultblockin

Pagina 9 - Windows HLLAPI Functions

cviii ContentsAPPENDIX A/****************************************************************************\*

Pagina 10

Contents cix#define FINDFIELDLENGTH 32 /* Find Field Length */#define COPYSTRINGTOFIELD 33 /* Copy String To Field */#define COPY

Pagina 11 - Windows Calls

cx Contents/****** Convert Row or Column values ****************************************/#define WHLL_CONVERT_POSITION 'P'#define WHLL_CONV

Pagina 12 - Prerequisite Calls

Contents cxi/****** Windows HLLAPI Return Codes *****************************************/#define WHLLOK 0 /* Successful */#defin

Pagina 13 - 5250 Emulation Support

Contents xiiiWindows CallsThe WinHLLAPI( ) call requires you to specify four parameters in every call and has the followingformat:extern VOID FAR PAS

Pagina 14

cxii Contents/****** Windows HLLAPI Extentions Return Codes ******************************/#define WHLLALREADY 0xF000 /* An async call is a

Pagina 15 - Function 105

Contents cxiiiAPPENDIX BThis appendix contains the following tables:• 3270 and 5250 Character Attributes.• 3270 and 5250 Character Color Attributes.•

Pagina 16

cxiv ContentsCharacter Attributes3270 character attributesBit Position Meaning0-1 Character highlighting00 = Normal 10 = Reverse video01 = Blink 11 =

Pagina 17

Contents cxvCharacter Color AttributesBit Position Meaning0-3 Background character colors0000 = Black 0100 = Red0001 = Blue 0101 = Magenta0010 = Gree

Pagina 18

cxvi ContentsField Attributes3270 field attributesBit Position Meaning0-1 Both set to 1 (field attribute byte)2 Unprotected/protected0 = Unprotected

Pagina 19

Contents cxvii5250 field attributesBit Position Meaning0 Field attribute flag0=Not a field attribute1=Field attribute byte1 Visibility0 = Non-display

Pagina 20

cxviii ContentsAPPENDIX CThis appendix lists the WinHLLAPI functions defined in release 1.0 of IBM Extended Services forOS/2 EHLLAPI Programming Refe

Pagina 21

Contents cxixAllocate Communications Buffer—Function 123This function allows the application to obtain exclusive control of a memory buffer to be use

Pagina 22 - Copy OIA—Function 13

cxx ContentsWhen this limit is reached, additional requests to WinHLLAPI will return an 11,indicating that the resource is unavailable.

Pagina 23

Contents cxxiConnect Structured Fields—Function 120This function allows an application to establish a connection with a Host session.Prerequisite Fun

Pagina 24

xiv ContentsPrerequisite CallsMost Windows HLLAPI functions require a prerequisite callanother function that must be called andsuccessfully complete

Pagina 25

cxxii ContentsCode DescriptionWHLLOK The function was successful.WHLLNOTCONNECTED An invalid presentation space was specified.WHLLPARAMETERERROR An i

Pagina 26

Contents cxxiiiThe semaphore is set during the connect process because the emulator is in an inbound disabled state.The semaphore is cleared for the

Pagina 27

cxxiv ContentsDisconnect Structured Fields—Function 121This function drops the connection between the Windows HLLAPI application and the specifiedses

Pagina 28

Contents cxxvFree Communications Buffer—Function 124This function allows the application to release exclusive control of a buffer that is no longer r

Pagina 29

cxxvi ContentsGet Request Completion—Function 125This function allows the application to determine the status of a previous asynchronous functionrequ

Pagina 30

Contents cxxviiCode DescriptionWHLLOK The function was successful.WHLLNOTCONNECTED An invalid presentation space was specified.WHLLPARAMETERERROR An

Pagina 31

cxxviii ContentsThe user specifies whether the application can query of wait for one of the following:u A specific asynchronous function request by s

Pagina 32

Contents cxxixIf a nonzero Request ID is supplied, this function checks for the completion of only the functionassociated with the ID.If the return c

Pagina 33

cxxx ContentsLock Presentation Space API—Function 60This function allows the application to obtain or release exclusive control of the presentation s

Pagina 34

Contents cxxxiLock Window Services API—Function 61This function allows the application to obtain or release exclusive control of the presentation spa

Pagina 35

Contents xvFunction (Function Number) Prerequisite Call (Function Number)Stop Close Intercept (43) Start Close Intercept (41)Start Keystroke Intercep

Pagina 36

cxxxii ContentsQuery Communication Buffer Size—Function 122This function allows the application to determine the maximum and optimum inbound and outb

Pagina 37

Contents cxxxiiibyte. For destination/origin connections, the 8-byte header supplied in the Read or Write structuredfields data buffer is stripped an

Pagina 38 - Find Field Length—Function 32

cxxxiv ContentsRead Structured Fields—Function 126This function receives structured field data from the host application.If the call specifies asynch

Pagina 39

Contents cxxxvParameter DescriptionData String When the A (asynchronous) control option is specified andthe request is successfully completed, the fo

Pagina 40

cxxxvi ContentsThe application must correct the situation if one of the following return codes is specified:WHLLTRANCANCL Is returned if the first Re

Pagina 41

Contents cxxxviiBytes 8-m are where the structured field messages are returned. The following occurs when the call isreturned:u The word at position

Pagina 42 - Get Key—Function 51

cxxxviii ContentsThe following steps must be completed to determine the outcome of an asynchronous Read StructuredFields (126) function call:u If the

Pagina 43 - Returned Data String Examples

Contents cxxxixStorage Manager—Function 17This function allows your application elementary control of blocks of memory for use with theWindows HLLAPI

Pagina 44 - Pause—Function 18

cxl ContentsWHLLBLOCKNOTAVAIL You requested more storage than is available.WHLLSYSERROR The function failed due to a system error. Any time resultsar

Pagina 45

Contents cxliParameter DescriptionData String NAData Length NAPS Position 03 (QUERYFREESTORAGE)Parameter DescriptionData Length Size of the largest b

Pagina 46

xvi ContentsDisconnect Structured Fields (121)Query Communications Buffer Size (122)Allocate Communications Buffer (123)Free Communications Buffer (1

Pagina 47

cxlii ContentsWrite Structured Fields—Function 127This function writes structured field data from the Windows HLLAPI application to the hostapplicati

Pagina 48

Contents cxliiiBytes 9-10 A 16-bit value representing thedestination/origin ID returned to theapplication by the emulator. Thisfunction request ID is

Pagina 49 - Query Host Update—Function 24

cxliv ContentsThe application must correct the situation if one of the following return codes is specified:Code DescriptionWHLLTRANCANCL Is returned

Pagina 50

Contents cxlvBytes 8-m are where the structured field messages are returned. The following occurs when the call isreturned:u The word at position 2 c

Pagina 51

cxlvi ContentsThe following steps must be completed to determine the outcome of an asynchronous Write StructuredFields (127) function call:u If the W

Pagina 52 - Query Sessions—Function 10

Contents cxlviiAPPENDIX DThis appendix lists and defines the query reply structures supported by the Windows HLLAPIstructured field interface. See th

Pagina 53 - Query System—Function 20

cxlviii ContentsThe DDM Query ReplySeveral DDM query reply formats will be supported. Some of these formats are listed below:Table D-l. DDM Query Rep

Pagina 54

Contents cxlixVERS: The value given in VERS is used to indicate the version of PCLK installed in the terminal atthe time the query reply is returned.

Pagina 55 - Receive File—Function 91

cl ContentsTable D-4. Base DDM Query Reply Format with Name and Direct Access SDPs(continued)Offset Length Content Meaning14 -(13+n) n bytes Name Nam

Pagina 56 - Asynchronous Mode

Contents cliThe SDPs begin at offsets 12 and 16.See the IBM 3270 Information Display System Data Stream Programmer’s Reference for the fielddefinitio

Pagina 57 - Release—Function 12

Contents xviiChange Presentation Space Window Name—Function 105This function allows the application to specify a new name for the presentation space

Pagina 58 - Reserve—Function 11

clii Contents1 byte 0x01 Direct Access 13-141 word DOID Destination/OriginID assigned by thesubsystemQUERYThis bit must be set to Binary 1 for all IB

Pagina 59 - Reset System—Function 21

Contents cliiiDirect Access Self-Defining ParameterThis self-defining parameter provides the ID for use in the destination/origin structured field in

Pagina 60 - Search Field—Function 30

cliv ContentsThe OEM Auxiliary Device Query ReplyThe OEM Auxiliary Device Query Reply format is as follows:Table D-9. OEM Auxiliary Device Base Forma

Pagina 61

Contents clv2-3 2 bytes VERS Protocol VersionVERS: The value given in VERS is used to indicate the version of PCLK installed in the terminal atthe ti

Pagina 62

clvi ContentsThe Cooperative Processing Requester Query ReplyThe Cooperative Processing Requester query reply is also called the SRPI query reply or

Pagina 63

Contents clviiThe Product Defined Query ReplyThis query reply is used by IBM products using registered subidentifiers within the X ' 9C ' d

Pagina 64 - Send File—Function 90

clviii ContentsValid values for REFID (offset 6) and SSID (offset 7) of the Product Defined query reply are asfollows:Table D-14. IBM Product Defined

Pagina 65

Contents clixTable D-15. IBM Product Defined Direct Access SDPOffset Length Content Meaning0 1 byte 0x04 Parameter Length1 1 byte 0x03 PCLK ProtocolC

Pagina 66 - Send Key—Function 3

clx ContentsDirect Access Self-Defining ParameterThe presence of the Direct Access ID self defining parameter indicates the auxiliary device may beac

Pagina 67

xviii ContentsA string is ended at the first NULL character found. The NULL character overrides the specified stringlength. If the NULL character is

Pagina 68

Contents xixConnect Presentation Space — Function 1This function establishes a connection between a specified presentation space (session) on the Hos

Pagina 69

xx ContentsConnect Window Services—Function 101This function allows the application to manage the presentation space windows. Only one WindowsHLLAPI

Pagina 70 - Set Cursor—Function 40

Contents xxiConvert Position / RowCol—Function 99This function converts a Host session presentation space position into row and column values for the

Pagina 71

The specification was developed by the companies listed below (collectively, “Developers”). Althoughit is publicly available and is not confidential,

Pagina 72

xxii ContentsCopy Field to String—Function 34This function copies the contents of a specified field in the Host session presentation space to a strin

Pagina 73 - STRLEN/STREOT

Contents xxiiiPosition in the Host session presentation space is determined by starting in the upper left corner of thescreen display (row 1, column

Pagina 74 - NOATTRB/ATTRB

xxiv ContentsCopy OIA—Function 13This function returns the Host session Operator Information Area (OIA).Prerequisite FunctionsConnect Presentation Sp

Pagina 75 - TIMEOUT=0/TIMEOUT=c

Contents xxvThe 5250 OIA image is always returned in ASCII. The 3270 OIA image willbe returned in one of the following states depending on Set Sessio

Pagina 76 - AUTORESET/NORESET

xxvi ContentsGroup 2: Character selection1 byte (Data String position 83) applies to Data String position 37Bit 0 ReservedBit 1 APLBits 2-7 ReservedG

Pagina 77 - EAB/NOEAB

Contents xxviiGroup 8: Input inhibited5 bytes (Data String positions 89-93) apply to Data String position 10 (except wherenoted)Byte 1 (Data String p

Pagina 78 - DISPLAY/NODISPLAY

xxviii ContentsGroup 9: PSS group 21 byte (Data String position 94) not used (reserved)Group 10: Highlight group 21 byte (Data String position 95)Bit

Pagina 79 - Services (101)

Contents xxixOIA Group Indicator Meanings for 5250 SessionsGroup 1: Online and screen ownership1 byte (Data String position 82) applies to Data Strin

Pagina 80 - NOKEY/KEY$nnnnnnnn

xxx ContentsGroup 8: Input inhibited5 bytes (Data String positions 89-93) apply to Data String position 58 (except wherenoted)Byte 1 (Data String pos

Pagina 81

Contents xxxiGroup 13: Printer status1 byte (Data String position 98) not used (reserved)Group 14: Graphics1 byte (Data String position 99) not used

Pagina 82

5ContentsChapter 1 Introduction 1Windows HLLAPI Overview 1IBM EHLLAPI 1Microsoft Windows Graphical Environment and Windows Specific Extens

Pagina 83

xxxii ContentsCopy Presentation Space—Function 5This function copies the contents of the current Host session’s presentation space into a string buff

Pagina 84

Contents xxxiiiThis function translates characters from EBCDIC to ASCII. The translation depends on the setting ofthe following session options:Sessi

Pagina 85

xxxiv ContentsCopy Presentation Space to String—Function 8This function copies all or part of the Host session presentation space into a string buffe

Pagina 86

Contents xxxvPS Position in the Host session presentation space is determined by starting in the upper left corner ofthe screen display (row 1, colum

Pagina 87

xxxvi ContentsCopy String to Field—Function 33This function copies a string into the specified field in the Host session presentation space.Prerequis

Pagina 88

Contents xxxviiCopy String to Presentation Space—Function 15This function copies an ASCII string directly to a specified position in the Host session

Pagina 89

xxxviii ContentsDisconnect Presentation Space—Function 2This function disconnects a Host session from your Windows HLLAPI session.Prerequisite Functi

Pagina 90 - Wait—Function 4

Contents xxxixDisconnect Window Services—Function 102This function disconnects window services between a Windows HLLAPI application and a specifiedWi

Pagina 91 - Contents xciii

xl ContentsFind Field Length—Function 32This function determines the length of a specified field in the Host session presentation space. You canuse F

Pagina 92 - Window Status—Function 104

Contents xliCode DescriptionWHLLOK The specified field length was found.WHLLNOTCONNECTED Your Windows HLLAPI application is not currentlyconnected to

Pagina 93

6 Windows HLLAPI FunctionsQuery Close Intercept—Function 42 43Query Cursor Location—Function 7 44Query Field Attribute—Function 14 45Query H

Pagina 94

xlii ContentsFind Field Position—Function 31This function determines the starting position of a field in the Host session presentation space. You can

Pagina 95

Contents xliiiCode DescriptionWHLLOK The specified field was found.WHLLNOTCONNECTED Your Windows HLLAPI application is not currentlyconnected to a Ho

Pagina 96 - Environment

xliv ContentsGet Key—Function 51This function allows your Windows HLLAPI application to intercept keystrokes from Host sessionsthat have keystroke in

Pagina 97 - WinHLLAPIAsync( )

Contents xlvCode DescriptionWHLLUNDEFINEDKEY The user entered an invalid key combination for this Hostsession presentation space.WHLLNOKEYSTROKES The

Pagina 98 - WinHLLAPICleanup( )

xlvi ContentsPause—Function 18This function causes your application to wait for a specified amount of time.Prerequisite FunctionsNone.WinHLLAPI(PAUSE

Pagina 99 - WinHLLAPIIsBlocking( )

Contents xlviiPost Intercept Status—Function 52This function notifies WinHLLAPI that a keystroke obtained with Get Key (function 51) has beenaccepted

Pagina 100

xlviii ContentsQuery Close Intercept—Function 42This function allows the application to determine if the user selected to close the emulator program.

Pagina 101 - Contents ciii

Contents xlixQuery Cursor Location—Function 7This function determines the location of the cursor in the Host session presentation space.Prerequisite

Pagina 102 - WinHLLAPIStartup( )

l ContentsQuery Field Attribute—Function 14This function returns the attribute byte of the field containing the specified position in the Host sessio

Pagina 103 - Windows HLLAPI Supplier Notes

Contents liQuery Host Update—Function 24This function determines if the presentation space, Operator Information Area (OIA), or both, of thespecified

Pagina 104 - WinHLLAPISetBlockingHook( )

Chapter 1 Introduction 7NOKEY/KEY$nnnnnnnn 77Start Close Intercept—Function 41 78Start Host Notification—Function 23 80Start Keystroke In

Pagina 105 - Contents cvii

lii ContentsQuery Session Status—Function 22This function accesses the status of a specified session.Prerequisite FunctionsNone.WinHLLAPI(QUERYSESSIO

Pagina 106 - Declarations for the Windows

Contents liiiBytes 12-13 Number of rows in the Host sessionpresentation space. This is a binarynumber, not ASCII. If the session type is“E” or “G” (p

Pagina 107 - Contents cix

liv ContentsQuery Sessions—Function 10This function returns the number of Host screen sessions that are active, and a string containinginformation on

Pagina 108

Contents lvQuery System—Function 20This function determines the level and version of WHLLAPI under which your Windows HLLAPIapplication is running.Pr

Pagina 109 - Contents cxi

lvi ContentsQuery Window Coordinates—Function 103This function requests the window coordinates for a presentation space.Prerequisite FunctionsConnect

Pagina 110

Contents lviiReceive File—Function 91This function transfers a file from the Host to the PC running the Windows HLLAPI application. Thefile transfer

Pagina 111 - Attributes

lviii ContentsThis function is affected by the session options STRLEN/STREOT, EOT=c, QUIET/NOQUIET, andTIMEOUT=0/TIMEOUT=c. See Set Session Parameter

Pagina 112 - Character Attributes

Contents lixRelease—Function 12This function releases the currently Connected Host session presentation space locked with Reserve(function 11).Prereq

Pagina 113 - Character Color Attributes

lx ContentsReserve—Function 11This function reserves the currently Connected Host session presentation space, locking out the userand preventing keyb

Pagina 114 - Field Attributes

Contents lxiReset System—Function 21This function reinitializes the system to its default (start) state:u All session options are reset to their defa

Pagina 115

8 Windows HLLAPI FunctionsLock Window Services API—Function 61 132Query Communication Buffer Size—Function 122 133Read Structured Fields—Functi

Pagina 116 - Functions

lxii ContentsSearch Field—Function 30This function searches a field in the Host session presentation space for the specified string. You canuse Searc

Pagina 117 - Prerequisite Functions

Contents lxiiiPosition in the Host session presentation space is determined by starting in the upper left corner of thescreen display (row 1, column

Pagina 118

lxiv ContentsSearch Presentation Space—Function 6This function allows you to search the Host session presentation space for a specified string.Prereq

Pagina 119

Contents lxvThis function is affected by four session option parameters: STRLEN/STREOT, EOT=c,SRCHALL/SRCHFROM and SRCHFRWD/SRCHBKWD. See Set Session

Pagina 120 - Return Codes

lxvi ContentsSend File—Function 90This function transfers a file from the PC running the Windows HLLAPI application to the Host. Thefile transfer can

Pagina 121 - Contents cxxiii

Contents lxviiThis function is affected by the session options STRLEN/STREOT, EOT=c, QUIET/NOQUIET, andTIMEOUT=0/TIMEOUT=c . See Set Session Paramete

Pagina 122

lxviii ContentsSend Key—Function 3This function sends one or more keystrokes (up to a maximum of 255) to the connected Host session.The keystrokes ap

Pagina 123

Contents lxixpart of the Data String parameters. The Escape character can be changed with the session optionESC=c. See Set Session Parameters (functi

Pagina 124

lxx ContentsHexadecimal @A@X XHome @0 (zero) X XInsert @I X7 XInsert Toggle @A@I XHost Print @P XLeft Tab (Back Tab) @B X XNew Line @N X XPage Up @u

Pagina 125

Contents lxxiPF9/F9 @9 X XPF10/F10 @a X XPF11/F11 @b X XPF12/F12 @c X XPF13 @d X XPF14 @e X XPF15 @f X XPF16 @g X XPF17 @h X XPF18 @i X XPF19 @j X XP

Pagina 126

Chapter 1 Introduction 9CHAPTER 1Windows HLLAPI OverviewWindows™ HLLAPI defines a standard and consistent IBM® EHLLAPI-style API for the 16- and32

Pagina 127 - Contents cxxix

lxxii ContentsSet Cursor—Function 40This function places the cursor at a specified position in the Host session presentation space.Prerequisite Funct

Pagina 128

Contents lxxiiiSet Session Parameters—Function 9This function sets the options of the Host session. Session options that are not set with this functi

Pagina 129

lxxiv ContentsThe following table lists the functions that are affected by session options, and the session options thataffect them.Function Name(fun

Pagina 130

Contents lxxvFunction Name(function number) Session OptionsGet Key (function 51) ESC=c, TWAIT/LWAIT/NWAITSend File (function 90) STRLEN/STREOT, EOT=

Pagina 131 - Contents cxxxiii

lxxvi ContentsSRCHALL/SRCHFROMDetermine how the Host session presentation space is to be searched. Applies to Search PresentationSpace (6) and Search

Pagina 132

Contents lxxviiFPAUSE/IPAUSEDetermine the type of pause to use. Applies to Pause (18).Session Option DescriptionFPAUSE Full pause; pause for the leng

Pagina 133

lxxviii ContentsSession Option DescriptionTIMEOUT=c Set the timeout to a specific period. A CTRL+BREAK is issuedautomatically after the specified per

Pagina 134

Contents lxxixTWAIT/LWAIT/NWAITDetermine the characteristics of a wait period. Applies to Wait (4) and Get Key(51).Session Option DescriptionTWAIT Fo

Pagina 135 - Asynchronous Requests

lxxx ContentsXLATE/NOXLATEDetermine the translation of extended attributes (EABs). Applies to Copy Presentation Space (5), CopyPresentation Space to

Pagina 136 - Fields (126) function call:

Contents lxxxiWRITE_SUPER/WRITE_WRITE/WRITE_READ/WRITE_NONE/SUPER_WRITE/READ_WRITESpecify whether a Windows HLLAPI application can or will share the

Pagina 137 - Storage Manager—Function 17

10 Windows HLLAPI FunctionsCHAPTER 2WinHLLAPI Installation CheckingTo detect the presence of any Windows HLLAPI implementations on a system, an appli

Pagina 138 - Query Free Storage

lxxxii ContentsNOKEY/KEY$nnnnnnnnAllow applications that have sharing requirements to limit access to a partner application (i.e. anapplication devel

Pagina 139 - Return Parameters

Contents lxxxiiiStart Close Intercept—Function 41This function allows the application to intercept user requests to close the emulation program.Prere

Pagina 140

lxxxiv ContentsAsynchronous ModeWhen asynchronous mode is enabled by calling WinHLLAPIAsync, the function initiates closeintercept and immediately re

Pagina 141

Contents lxxxvStart Host Notification—Function 23This function enables notifying your Windows HLLAPI application of changes in the Host sessionpresen

Pagina 142

lxxxvi ContentsOnce enabled, Host notification is enabled until you call Stop Host Notification (function 25).Once you call this function, you can us

Pagina 143

Contents lxxxviiStart Keystroke Intercept—Function 50This function enables your Windows HLLAPI application to intercept keystrokes sent to a session

Pagina 144 - Fields (127) function call:

lxxxviii ContentsIf position 2 of Data String is “D,” only AID keystrokes are intercepted. All other keystrokes arepassed on to the appropriate Host

Pagina 145 - Windows HLLAPI

Contents lxxxixStop Close Intercept—Function 43This function stops the application from intercepting close requests from the user. Subsequent closere

Pagina 146 - The DDM Query Reply

xc ContentsStop Host Notification—Function 25This function disables notifying your Windows HLLAPI application of changes in the Host sessionpresentat

Pagina 147 - Base DDM Query Reply Formats

Contents xciStop Keystroke Intercept—Function 53This function disables the ability of your Windows HLLAPI application to intercept keystrokes.Prerequ

Pagina 148

Chapter 3 Windows HLLAPI Functions 11CHAPTER 3Windows HLLAPI functions are requested using the appropriate parameter within the WinHLLAPI( )call,

Pagina 149

xcii ContentsWait—Function 4This function determines whether the Host session is in a wait state. If, for some reason, the session isin a wait state,

Pagina 150 - ID assigned by the

Contents xciiiAlthough both APIs are supported, you should use WinHLLAPIAsync instead of WinHLLAPIwhenever possible. Note that if NWAIT is specified,

Pagina 151

xciv ContentsWindow Status—Function 104This function allows the application to query or change a session’s window size, location, or visiblestate, or

Pagina 152

Contents xcvData String DescriptionSet window status - a 16-byte string with the following format:u WHLL_WINDOWSTATUS_MAXIMIZE. Set the window tom

Pagina 153 - Contents clv

xcvi ContentsData String DescriptionQuery extended window status - a 20-byte string with the following format:Byte 1 Short name session ID of the des

Pagina 154

Contents xcviiCode DescriptionWHLLOK The function was successful.WHLLNOTCONNECTEDAn invalid presentation space was specified, or was notconnected for

Pagina 155

xcviii ContentsCHAPTER 4This chapter describes API extensions to Windows HLLAPI that allow asynchronous communication.These extensions have been desi

Pagina 156

Contents xcixWinHLLAPIAsync( )This function provides an asynchronous flavor to the following HLLAPI functions:STARTKSINTERCEPT, WAIT, STARTHOSTNOTIFI

Pagina 157

c ContentsWinHLLAPICleanup( )This routine should be called by an application to deregister itself from a Windows HLLAPIimplementation.BOOL WinHLLAPIC

Pagina 158

Contents ciWinHLLAPIIsBlocking( )This function allows a task to determine if it is executing while waiting for a previous blocking call tocomplete.BO

Commenti su questo manuale

Nessun commento