view os2/dwcompat.def @ 2660:650f8b062317

GTK: Check the Connection ID is positive non-zero before removing. The connection ID will be zero under two conditions: 1) The GTK signal handler failed to be created or 2) The Dynamic Windows handler uses an existing GTK handler Therefore we don't want to ASSERT when removing a DW handler when it uses an existing GTK handler. So check and warn if the CID is invalid at creation time, and skip invalid CIDs at removal time. Thanks Mark for pointing out this misbehavior.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 02 Oct 2021 19:30:39 +0000
parents 6e26c9ead2fe
children
line wrap: on
line source

LIBRARY DWCOMPAT INITINSTANCE TERMINSTANCE

DESCRIPTION 'Dynamic Windows Compatibility Module for OS/2'

CODE LOADONCALL
DATA NONSHARED LOADONCALL

EXPORTS
  makedir            @20
  vargs              @21
  setfileinfo        @22
  drivefree          @23
  isdrive            @24
  drivesize          @25
  getfsname          @26

  _opendir           @30
  _openxdir          @31
  _readdir           @32
  _seekdir           @33
  _telldir           @34
  _closedir          @35

  fsopen             @40
  fsclose            @41
  fsgets             @42
  fsseek             @43

  locale_init        @50
  locale_string      @51
  
  nice_strformat     @60
  initdir            @61