2009-11-24 10:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbwin/hbwin.ch
    + Added copy of HB_WINPRN_* constants from .c source.
      (Ugly, but currently there is no way to include hbwin.ch 
      to .c code due to lots of colliding names)
This commit is contained in:
Viktor Szakats
2009-11-24 09:49:16 +00:00
parent f6bf427239
commit 1c1751e91f
2 changed files with 15 additions and 0 deletions

View File

@@ -17,6 +17,12 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-11-24 10:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.ch
+ Added copy of HB_WINPRN_* constants from .c source.
(Ugly, but currently there is no way to include hbwin.ch
to .c code due to lots of colliding names)
2009-11-24 10:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/Makefile
+ contrib/hbwin/win_prn3.c

View File

@@ -55,6 +55,15 @@
#ifndef HBWIN_CH_
#define HBWIN_CH_
/* Positions for GETPRINTERS() array */
#define HB_WINPRN_NAME 1
#define HB_WINPRN_PORT 2
#define HB_WINPRN_TYPE 3
#define HB_WINPRN_DRIVER 4
#define HB_WINPRN_SHARE 5
#define HB_WINPRN_LEN_ 5
/* Registry related values */
#define HKEY_CLASSES_ROOT 0x80000000