次の方法で共有


2.2.2.4.1 _DRIVER_INFO_1

The _DRIVER_INFO_1 structure specifies printer driver information. It is a custom-marshaled form of the _DRIVER_INFO_1 (section 2.2.1.5.1) structure.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Fixed_Portion (variable)

...

Variable_Data (variable)

...

Fixed_Portion (variable): An array of one or more fixed-size fields, which are defined as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

NameOffset

NameOffset (4 bytes): An unsigned integer that specifies the number of bytes from the start of the structure to the NameArray member.

Variable_Data (variable): An array of zero or more optional, variable-size fields, which are defined as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

NameArray (variable)

...

NameArray (variable): A string that specifies the Printer Driver Name. The location of this buffer is determined by the value of the NameOffset member.