File:  [OS/2 SDKs] / os232sdk / toolkt20 / c / samples / opendlg / toola.asm
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:26:30 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: os2sdk-1990, HEAD
Microsoft OS/2 SDK 2.0 05-30-1990

;/*
; *   File Dialog Library
; *   Created by Microsoft Corporation, 1989
; */

	.386p

DATA	SEGMENT	WORD PUBLIC 'DATA'

	EXTRN	_vhModule:far
	PUBLIC	__acrtused
__acrtused	dw	0
DATA	ENDS


TEXT	SEGMENT	BYTE PUBLIC 'CODE'
; The following trick is to avoid any need for a DS where a constant
;   string is needed, any (PSZ)"foo" is replaced by (PSZ)szfoo with
;   szfoo created in the Code Selector. As we can't do that with C,
;   we do it with MASM.
;
	PUBLIC	_szStar
_szStar	LABEL	BYTE
	DB	'*',0
        PUBLIC  _szDot
_szDot   LABEL   BYTE
        DB      '.',0

TEXT	ENDS

INIT	SEGMENT	BYTE PUBLIC 'CODE'
	EXTRN	InitLibrary:near

	assume CS:FLAT, DS:FLAT, ES:FLAT, SS:FLAT

INIT	ENDS
	END	InitLibrary

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.