home *** CD-ROM | disk | FTP | other *** search
- ;*DDK*************************************************************************/
- ;
- ; COPYRIGHT Copyright (C) 1995 IBM Corporation
- ;
- ; The following IBM OS/2 WARP source code is provided to you solely for
- ; the purpose of assisting you in your development of OS/2 WARP device
- ; drivers. You may use this code in accordance with the IBM License
- ; Agreement provided in the IBM Device Driver Source Kit for OS/2. This
- ; Copyright statement may not be removed.;
- ;*****************************************************************************/
- ;**************************************************************************
- ;*
- ;* SOURCE FILE NAME = DHRET.ASM
- ;*
- ;* DESCRIPTIVE NAME = C callable DevHelp Interface
- ;* Common Return Stubs for DHCALLS.LIB
- ;*
- ;*
- ;* VERSION = V2.0
- ;*
- ;* DATE
- ;*
- ;* DESCRIPTION :
- ;*
- ;* Purpose: The DHCALLx functions jump to the appropriate return
- ;* sequence in this module to conserve code space by
- ;* eliminating redundant return sequences.
- ;*
- ;*
- ;* FUNCTIONS :
- ;*
- ;*
- ;*
- ;*
- ;*
- ;*
- ;*
- ;* NOTES
- ;*
- ;*
- ;* STRUCTURES
- ;*
- ;* EXTERNAL REFERENCES
- ;*
- ;*
- ;*
- ;* EXTERNAL FUNCTIONS
- ;*
- ;* CHANGE ACTIVITY =
- ;* DATE FLAG APAR CHANGE DESCRIPTION
- ;* -------- ---------- ----- --------------------------------------
- ;* mm/dd/yy @VR.MPPPXX XXXXX XXXXXXX
- ;*
- ;*
- ;*
- ;*
- ;*
- ;****************************************************************************
-
- ;*
- ;*
- ;* DevHlp Common Return routines
- ;*
-
- .lall
- .list
-
- Code segment dword public 'CODE'
- assume CS:Code
-
- irp c,<0,2,4,6,8,10,12,14,16,18,20,22,24>
- ;*
- ;*
- ;* DHRET_&c
- ;*
- ;*
- public DHRET_&c
-
- DHRET_&c label near
-
- pop bp
- jc DHR0&c
- xor ax,ax
- retf &c
- DHR0&c: or ax,8000h
- retf &c
-
- Endm
-
- Code Ends
-
- End
-