Mercurial > dwindows
annotate dwcompat.def @ 969:69f620df0c47
Step 1 in modernization of the Win32 module.
Eliminate Windows NT based Windows checks, since that is all we support now.
Eliminate thread limits by eliminating thread arrays and switching to using Thread Local Storage (TLS).
Simplify dw_clipboard_get_text() by returning a malloc()ed buffer which now must need to be dw_free()ed.
This makes this function the same as it does on OS/2 and Mac currently.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 05 May 2011 05:53:56 +0000 |
parents | d7c338ac926a |
children |
rev | line source |
---|---|
3 | 1 LIBRARY DWCOMPAT INITINSTANCE TERMINSTANCE |
2 | |
3 PROTMODE | |
4 | |
5 DESCRIPTION 'Dynamic Windows Compatibility Module for OS/2' | |
6 | |
7 CODE LOADONCALL | |
8 DATA NONSHARED LOADONCALL | |
9 | |
10 EXPORTS | |
11 makedir @20 | |
580
d7c338ac926a
Sweeping changes to the compatibility module, moved all socket code out
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
557
diff
changeset
|
12 vargs @21 |
3 | 13 setfileinfo @22 |
14 drivefree @23 | |
15 isdrive @24 | |
35
432c39a4ff86
New code for checking drive size on OS/2 and Windows.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
22
diff
changeset
|
16 drivesize @25 |
36
cddb02f847e1
Added unix versions of functions in compat, and added getfsname, plus
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
35
diff
changeset
|
17 getfsname @26 |
3 | 18 |
174
75bf3051235f
Fixes so you can mix compilers.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
72
diff
changeset
|
19 _opendir @30 |
75bf3051235f
Fixes so you can mix compilers.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
72
diff
changeset
|
20 _openxdir @31 |
75bf3051235f
Fixes so you can mix compilers.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
72
diff
changeset
|
21 _readdir @32 |
75bf3051235f
Fixes so you can mix compilers.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
72
diff
changeset
|
22 _seekdir @33 |
75bf3051235f
Fixes so you can mix compilers.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
72
diff
changeset
|
23 _telldir @34 |
75bf3051235f
Fixes so you can mix compilers.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
72
diff
changeset
|
24 _closedir @35 |
3 | 25 |
26 fsopen @40 | |
27 fsclose @41 | |
28 fsgets @42 | |
22
6a246b3bb14f
Added tree widgets, fixed some delete event processing, fixed a layout bug
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
29 fsseek @43 |
72
ab77a22a2a36
Added localization APIs as well as some miscellaneous bug fixes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
37
diff
changeset
|
30 |
ab77a22a2a36
Added localization APIs as well as some miscellaneous bug fixes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
37
diff
changeset
|
31 locale_init @50 |
ab77a22a2a36
Added localization APIs as well as some miscellaneous bug fixes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
37
diff
changeset
|
32 locale_string @51 |
557
1a210e2f214b
Added a bunch of support routines I now own due to the settlement
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
174
diff
changeset
|
33 |
1a210e2f214b
Added a bunch of support routines I now own due to the settlement
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
174
diff
changeset
|
34 nice_strformat @60 |
1a210e2f214b
Added a bunch of support routines I now own due to the settlement
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
174
diff
changeset
|
35 initdir @61 |