summaryrefslogtreecommitdiff
path: root/source3/aparser/test.struct
blob: 1f5c5b6519667801f7819abc28cc77cc092a906b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
module spool
test PRINTER_DRIVER_INFO

struct PRINTER_DRIVER_INFO_LEVEL_3 {
	uint32 cversion;
	REF UNISTR2 name;
	REF UNISTR2 environment;
	REF UNISTR2 driverpath;
	REF UNISTR2 datafile;
	REF UNISTR2 configfile;
	REF UNISTR2 helpfile;
	REF UNISTR2 monitorname;
	REF UNISTR2 defaultdatatype;
	REF BUFFER5 dependentfiles;
};

struct PRINTER_DRIVER_INFO_LEVEL_6 {
  uint32   dummy1; 
  uint32   version; 
  REF UNISTR2  name;       
  REF UNISTR2  environment;
  REF UNISTR2  driverpath;
  REF UNISTR2  datafile;
  REF UNISTR2  configfile;
  REF UNISTR2  helpfile;
  REF UNISTR2  monitorname;
  REF UNISTR2  defaultdatatype;
  REF BUFFER5  dependentfiles;
  REF BUFFER5  previousnames;
  NTTIME   driverdate; 
  UINT64_S driverversion; 
  uint32   dummy4;
  REF UNISTR2  mfgname; 
  REF UNISTR2  oemurl; 
  REF UNISTR2  hardwareid; 
  REF UNISTR2  provider; 
};


struct PRINTER_DRIVER_INFO {
       uint32 level;
       union level info {
	      case 3 PRINTER_DRIVER_INFO_LEVEL_3 *info_3;
	      case 6 PRINTER_DRIVER_INFO_LEVEL_6 *info_6;
       }
};