summaryrefslogtreecommitdiffstats
path: root/private/mvdm/wow16/write/printdef.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/mvdm/wow16/write/printdef.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/mvdm/wow16/write/printdef.h')
-rw-r--r--private/mvdm/wow16/write/printdef.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/private/mvdm/wow16/write/printdef.h b/private/mvdm/wow16/write/printdef.h
new file mode 100644
index 000000000..964553178
--- /dev/null
+++ b/private/mvdm/wow16/write/printdef.h
@@ -0,0 +1,59 @@
+/************************************************************/
+/* Windows Write, Copyright 1985-1992 Microsoft Corporation */
+/************************************************************/
+
+/* printdefs.h */
+
+#ifndef PAGEONLY /* ifdef for page table declarations only */
+
+#define wNotSpooler 12741 /* an infamous number */
+
+#define cchMaxProfileSz 256
+#define cchMaxIDSTR 30
+
+struct PLD
+ { /* print line descriptor */
+ typeCP cp;
+ int ichCp;
+ RECT rc;
+ BOOL fParaFirst;
+ };
+
+#define cwPLD (sizeof(struct PLD) / sizeof(int))
+#define cpldInit 25
+#define cpldChunk 10
+#define cpldRH 5
+
+#endif /* PAGEONLY */
+
+#define ipgdMaxFile 2
+
+struct PGD
+ {
+ int pgn;
+ typeCP cpMin;
+ };
+
+#define bcpPGD 2
+#define cchPGD (sizeof(struct PGD))
+#define cwPGD (sizeof(struct PGD) / sizeof(int))
+#define cpgdChunk 10
+#define cwPgtbBase 2
+
+struct PGTB
+ { /* Page table */
+ int cpgd; /* Number of entries (sorted ascending) */
+ int cpgdMax; /* Heap space allocated */
+ struct PGD rgpgd[ipgdMaxFile]; /* Size varies */
+ };
+
+struct PDB
+ { /* Print dialog buffer */
+ struct PLD (**hrgpld)[];
+ int ipld;
+ int ipldCur;
+ struct PGTB **hpgtb;
+ int ipgd;
+ BOOL fCancel;
+ BOOL fRemove;
+ };