This document is a preview generated by EVS

Similar documents
This document is a preview generated by EVS

This document is a preview generated by EVS

This document is a preview generated by EVS

This document is a preview generated by EVS

This document is a preview generated by EVS

ÍSLENSKIR STAÐLAR CWA :2011 ICS: Gildistaka Staðfestur af Staðlaráði Íslands

This document is a preview generated by EVS

This document is a preview generated by EVS

English version. This CEN Workshop Agreement can in no way be held as being an official standard developed by CEN and its Members.

This document is a preview generated by EVS

WORKSHOP CWA AGREEMENT November 2000

This document is a preview generated by EVS

This document is a preview generated by EVS

This document is a preview generated by EVS

This document is a preview generated by EVS

This document is a preview generated by EVS

English version. European e-competence Framework - Part 1: The Framework - Version 1.0

This document is a preview generated by EVS

This document is a preview generated by EVS

English version. J/eXtensions for Financial Services (J/XFS) for the Java Platform - Release Part 1: Base Architecture - Programmer's Reference

This document is a preview generated by EVS

This document is a preview generated by EVS

This document is a preview generated by EVS

Eurocode Basis of structural design

This document is a preview generated by EVS

This document is a preview generated by EVS

This document is a preview generated by EVS

This document is a preview generated by EVS

English version. European e-competence Framework - Part 2: User Guidelines - Version 1.0

This document is a preview generated by EVS

English Version. Postal Services - Open Standard Interface - Address Data File Format for OCR/VCS Dictionary Generation

This document is a preview generated by EVS

This document is a preview generated by EVS

This document is a preview generated by EVS

English version. Extensions for Financial Services (XFS) interface specification - Part 3: Printer Device Class Interface - Programmer s Interface

This document is a preview generated by EVS

English version. This CEN Workshop Agreement can in no way be held as being an official standard developed by CEN and its Members.

This document is a preview generated by EVS

WORKSHOP CWA AGREEMENT November 2000

This document is a preview generated by EVS

This document is a preview generated by EVS

ILNAS-EN ISO :2016

This document is a preview generated by EVS


This document is a preview generated by EVS

This document is a preview generated by EVS

This document is a preview generated by EVS

This document is a preview generated by EVS

Geometriska produktspecifikationer (GPS) Ytstruktur: Profilmetod; Ytnormaler Del 2: Kalibrering via mjukvara (ISO :2001)

This document is a preview generated by EVS

English Version. Health informatics - Quality of service requirements for health information interchange

This document is a preview generated by EVS

This document is a preview generated by EVS

English version. SmartHouse Code of Practice

Hexagon socket countersunk head screws (ISO 10642:2004)

English version. This CEN Workshop Agreement can in no way be held as being an official standard developed by CEN and its Members.

SVENSK STANDARD SS-EN ISO

This document is a preview generated by EVS

This document is a preview generated by EVS

This document is a preview generated by EVS

SVENSK STANDARD SS-EN ISO

This document is a preview generated by EVS

Health informatics Registration of coding schemes

This document is a preview generated by EVS

This document is a preview generated by EVS

EESTI STANDARD EVS-EN ISO :2010. Ergonomics of human-system interaction - Part 129: Guidance on software individualization (ISO :2010)

WORKSHOP CWA AGREEMENT November 2000

English version. ICT Certification in Europe

English version. This CEN Workshop Agreement can in no way be held as being an official standard developed by CEN and its Members.

This document is a preview generated by EVS

This document is a preview generated by EVS

This document is a preview generated by EVS

Service withdrawal: Selected IBM ServicePac offerings

This document is a preview generated by EVS

Ergonomi vid Människa-Systeminteraktion Del 110: Dialogprinciper (ISO :2006)

CEN CWA XXXXX-4 WORKSHOP March 2012

ISO/TS TECHNICAL SPECIFICATION. Automatic vehicle and equipment identification Intermodal goods transport Numbering and data structures

This document is a preview generated by EVS

Ergonomic requirements for work with visual display based on flat panels

SVENSK STANDARD SS-EN Papper Skrivar- och kontorspapper Krav på papper för torrtonerskrivare och kopiatorer

System för fjärrkommunikation med debiteringsmätare Del 1: Datautbyte

This document is a preview generated by EVS

SVENSK STANDARD SS-EN :2004

English version. Interoperability of European e-career Services

English version. Cyber-Identity - Unique Identification Systems For Organizations and Parts Thereof

This document is a preview generated by EVS

ELECTRICAL INSTALLATIONS OF BUILDINGS -- PART 4-44: PROTECTION FOR SAFETY - PROTECTION AGAINST VOLTAGE DISTURBANCES AND

This document is a preview generated by EVS

ICS Supersedes CWA :2000. English version

This document is a preview generated by EVS

Posttjänster Adressdatabaser Del 1: Postadresskomponenter. Postal services Address databases Part 1: Components of postal addresses

This document is a preview generated by EVS

English version. Metadata for Learning Opportunities (MLO) - Advertising

Teknisk specifikation SIS-CEN/TS :2006. Vägtrafikinformatik Spårning av stulna fordon Del 2: Statusmeddelanden

Programvaruergonomi för multimediala användargränssnitt Del 3: Val och kombination av medier (ISO :2002)

EESTI STANDARD EVS-EN ISO 7668:2010

This document is a preview generated by EVS

Irish Standard I.S. EN :2014

Ergonomics of human-system interaction - Part 411: Evaluation methods for the design of physical input devices (ISO/TS :2012)

This document is a preview generated by EVS

Transcription:

CEN WORKSHOP AGREEMENT CWA 13449-1 December 1998 ICS 35.200;35.240.15;35.240.40 English version Extensions for Financial Services (XFS) interface specification - Part 1: Application Programming Interface (API) - Service Provider Interface (SPI) - Programmer s Interface This CEN Workshop Agreement has been drafted and approved by a Workshop of representatives of interested parties, the constitution of which is indicated in the foreword of this Workshop Agreement. The formal process followed by the Workshop in the development of this Workshop Agreement has been endorsed by the National Members of CEN but neither the National Members of CEN nor the CEN Central Secretariat can be held accountable for the technical content of this CEN Workshop Agreement or possible conflicts with standards or legislation. This CEN Workshop Agreement can in no way be held as being an official standard developed by CEN and its Members. This CEN Workshop Agreement is publicly available as a reference document from the CEN Members National Standard Bodies. CEN Members are the National Standards Bodies of Austria, Belgium, Czech Republic, Denmark, Finland, France, Germany, Greece, Iceland, Ireland, Italy, Luxembourg, Netherlands, Norway, Portugal, Spain, Sweden, Switzerland and United Kingdom. EUROPEAN COMMITTEE FOR STANDARDIZATION COMITÉ EUROPÉEN DE NORMALISATION EUROPÄISCHES KOMITEE FÜR NORMUNG Central Secretariat: rue de Stassart, 36 B-1050 Brussels 1998 CEN All rights of exploitation in any form and by any means reserved worldwide for CEN national Members. Ref. No. E

Page 2 Contents Foreword... 5 0. Introduction... 6 1. Background... 7 1.1 BSVC HISTORY... 7 1.2 BSVC STRATEGIES... 7 2. Extensions for Financial Services Overview... 9 2.1 ARCHITECTURE... 9 2.2 API AND SPI SUMMARY... 11 2.3 DEVICE CLASSES... 12 3. Architectural and Implementation Issues... 13 3.1 THE XFS MANAGER... 13 3.2 SERVICE PROVIDERS... 14 3.2.1 Service Provider Functionality... 14 3.2.2 Service Provider Packaging... 14 3.3 ASYNCHRONOUS, SYNCHRONOUS AND IMMEDIATE FUNCTIONS... 14 3.3.1 Asynchronous Functions... 15 3.3.2 Synchronous Functions... 15 3.3.3 Immediate Functions... 16 3.4 PROCESSING API FUNCTIONS... 16 3.5 OPENING A SESSION... 16 3.6 CLOSING A SESSION... 17 3.7 CONFIGURATION INFORMATION... 18 3.8 EXCLUSIVE SERVICE AND DEVICE ACCESS... 20 3.8.1 Lock Policy for Independent Devices... 21 3.8.2 Compound Devices... 22 3.9 TIMEOUT... 23 3.10 FUNCTION STATUS RETURN... 24 3.11 NOTIFICATION MECHANISMS REGISTERING FOR EVENTS... 24 3.12 APPLICATION PROCESSES, THREADS AND BLOCKING FUNCTIONS... 26 3.13 MEMORY MANAGEMENT... 27 4. Application Programming Interface (API) Functions... 29 4.1 WFSCANCELASYNCREQUEST... 31 4.2 WFSCANCELBLOCKINGCALL... 32 4.3 WFSCLEANUP... 33 4.4 WFSCLOSE... 34 4.5 WFSASYNCCLOSE... 35

Page 3 4.6 WFSCREATEAPPHANDLE... 36 4.7 WFSDEREGISTER... 37 4.8 WFSASYNCDEREGISTER... 38 4.9 WFSDESTROYAPPHANDLE... 40 4.10 WFSEXECUTE... 41 4.11 WFSASYNCEXECUTE... 43 4.12 WFSFREERESULT... 45 4.13 WFSGETINFO... 46 4.14 WFSASYNCGETINFO... 48 4.15 WFSISBLOCKING... 50 4.16 WFSLOCK...51 4.17 WFSASYNCLOCK... 53 4.18 WFSOPEN...55 4.19 WFSASYNCOPEN... 58 4.20 WFSREGISTER... 61 4.21 WFSASYNCREGISTER... 63 4.22 WFSSETBLOCKINGHOOK... 65 4.23 WFSSTARTUP... 66 4.24 WFSUNHOOKBLOCKINGHOOK... 68 4.25 WFSUNLOCK... 69 4.26 WFSASYNCUNLOCK... 70 5. Service Provider Interface (SPI) Functions... 71 5.1 WFPCANCELASYNCREQUEST... 72 5.2 WFPCLOSE... 73 5.3 WFPDEREGISTER... 74 5.4 WFPEXECUTE... 76 5.5 WFPGETINFO... 78 5.6 WFPLOCK...80 5.7 WFPOPEN...81 5.8 WFPREGISTER... 84 5.9 WFPSETTRACELEVEL... 85 5.10 WFPUNLOADSERVICE... 87 5.11 WFPUNLOCK... 88 6. Support Functions... 89 6.1 WFMALLOCATEBUFFER... 89 6.2 WFMALLOCATEMORE... 89 6.3 WFMFREEBUFFER... 90 6.4 WFMGETTRACELEVEL... 90 6.5 WFMKILLTIMER... 91

Page 4 6.6 WFMOUTPUTTRACEDATA... 91 6.7 WFMRELEASEDLL... 91 6.8 WFMSETTIMER... 92 6.9 WFMSETTRACELEVEL... 92 7. Configuration Functions...94 7.1 WFMCLOSEKEY... 96 7.2 WFMCREATEKEY... 96 7.3 WFMDELETEKEY... 97 7.4 WFMDELETEVALUE... 97 7.5 WFMENUMKEY... 98 7.6 WFMENUMVALUE... 99 7.7 WFMOPENKEY... 100 7.8 WFMQUERYVALUE... 101 7.9 WFMSETVALUE... 102 8. Data Structures... 103 8.1 WFSRESULT... 103 8.2 WFSVERSION... 103 9. Messages... 105 9.1 COMMAND COMPLETIONS AND EVENTS... 105 9.1.1 Command Completion Messages... 105 9.1.2 Event Messages... 105 9.2 TIMER EVENTS... 105 9.3 DEVICE STATUS CHANGES... 105 9.4 UNDELIVERABLE MESSAGES... 106 9.5 APPLICATION DISCONNECT... 107 9.6 HARDWARE AND SOFTWARE ERRORS... 107 9.7 VERSION NEGOTIATION FAILURES... 108 10. Error Codes... 109 Annex A - Planned Enhancements and Extensions... 112 A.1 EVENT AND SYSTEM MANAGEMENT... 112 Annex B - CEN/ISSS Workshop on XFS Contacts... 113 Annex C - C-Header files... 114 C.1 XFSAPI.H... 114 C.2 XFSADMIN.H... 118 C.3 XFSCONF.H... 119 C.4 XFSSPI.H... 120

Page 5 Foreword This CWA is revision 2.0 of the XFS interface specification. Release 2.0 extends the scope of the XFS interface specification to include both the self service/atm environment as well as the branch environment. The new specification now fully supports cameras, deposit units, identification cards, PIN pads, sensors and indicator units, text terminals, cash dispenser modules and a wide variety of printing mechanisms. This specification was originally developed by the Banking Solutions Vendor Council (BSVC), and is endorsed by the CEN/ISSS Workshop on XFS. This Workshop gathers both suppliers (among others the BSVC members) as well as banks and other financial service companies. A list of companies participating in this Workshop and in support of this CWA is available from the CEN/ISSS Secretariat. The specification is continuously reviewed and commented in the CEN/ISSS Workshop on XFS. It is therefore expected that an update of the specification will be published in due time as a CWA, superseding this revision 2.00. This CWA is supplemented by a set of release notes, which are available from the CEN/ISSS Secretariat (an online version of these release notes is available from http://www.cenorm.be/isss/workshop/xfs/releasenotes.htm).

Page 6 0. Introduction This is part 1 of the multi-part CWA 13449, describing Release 2.0 of the XFS interface specification. The full CWA 13449 "Extensions for Financial Services (XFS) interface specification"consists of the following parts: Part 1: Application Programming Interface (API) - Service Provider Interface (SPI); Programmer's Reference Part 2: Service Classes Definition; Programmer's Reference Part 3: Printer Device Class Interface - Programmer's Reference Part 4: Identification Card Device Class Interface - Programmer's Reference Part 5: Cash Dispenser Device Class Interface - Programmer's Reference Part 6: PIN Keypad Device Class Interface - Programmer's Reference Part 7: Check Reader/Scanner Device Class Interface - Programmer's Reference Part 8: Depository Device Class Interface - Programmer's Reference Part 9: Text Terminal Unit Device Class Interface - Programmer's Reference Part 10: Sensors and Indicators Unit Device Class Interface - Programmer's Reference Part 11: Vendor Dependent Mode Device Class Interface - Programmer's Reference Part 12: Camera Device Class Interface - Programmer's Reference In addition to these Programmer's Reference specifications, the reader of this CWA is also referred to a complementary document, called Release Notes. The Release Notes contain clarifications and explanations on the CWA specifications, which are not requiring functional changes. The current version of the Release Notes is available from the CEN/ISSS Secretariat (contact isss@cenorm.be or download from http://www.cenorm.be/isss/workshop/xfs/release-notes.htm). The information in this document originally contributed by members of the Banking Solutions Vendor Council and endorsed by the CEN/ISSS Workshop on XFS, represents the Workshop's current views on the issues discussed as of the date of publication. It is furnished for informational purposes only and is subject to change without notice. CEN/ISSS makes no warranty, express or implied, with respect to this document. The XFS specifications are now further developed in the CEN/ISSS Workshop on XFS. CEN/ISSS Workshops are open to all interested parties offering to contribute. Parties interested in participating should contact the CEN/ISSS Secretariat (isss@cenorm.be). A Software Development Kit (SDK) which supplies the components and tools to allow the implementation of compliant applications and services is available from Microsoft 1. To the extent that date processing occurs, all XFS Workshop participants agree that the XFS specifications are Year 2000 compliant. Revision History: 1.0 May 24, 1993 Initial release of API and SPI specification 1.11 February 3, 1995 Separation of specification into separate documents for API/SPI and service class definitions, with updates 2.00 November 11, 1996 Updated release encompassing self-service environment. October 6, 1998 WOSA/XFS Release 2.00 as originally developed by the BSVC, has been formally accepted as a CEN Workshop Agreement by the CEN/ISSS XFS Workshop and the name WOSA/XFS has been changed into XFS. In spite of the name change, certain occurrencies of WOSA/XFS however still appear in the documentation, for compatibility reasons 1 Microsoft is a registered trademark, and Windows and Windows NT are trademarks of Microsoft Corporation