ホーム › Graphics.Printing › PRINTER_INFO_2A
PRINTER_INFO_2A
構造体サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。
フィールド
| フィールド | 型 | サイズ | x64 | x86 |
|---|---|---|---|---|
| pServerName | LPSTR | 8/4 | +0 | +0 |
| pPrinterName | LPSTR | 8/4 | +8 | +4 |
| pShareName | LPSTR | 8/4 | +16 | +8 |
| pPortName | LPSTR | 8/4 | +24 | +12 |
| pDriverName | LPSTR | 8/4 | +32 | +16 |
| pComment | LPSTR | 8/4 | +40 | +20 |
| pLocation | LPSTR | 8/4 | +48 | +24 |
| pDevMode | DEVMODEA* | 8/4 | +56 | +28 |
| pSepFile | LPSTR | 8/4 | +64 | +32 |
| pPrintProcessor | LPSTR | 8/4 | +72 | +36 |
| pDatatype | LPSTR | 8/4 | +80 | +40 |
| pParameters | LPSTR | 8/4 | +88 | +44 |
| pSecurityDescriptor | PSECURITY_DESCRIPTOR | 8/4 | +96 | +48 |
| Attributes | DWORD | 4 | +104 | +52 |
| Priority | DWORD | 4 | +108 | +56 |
| DefaultPriority | DWORD | 4 | +112 | +60 |
| StartTime | DWORD | 4 | +116 | +64 |
| UntilTime | DWORD | 4 | +120 | +68 |
| Status | DWORD | 4 | +124 | +72 |
| cJobs | DWORD | 4 | +128 | +76 |
| AveragePPM | DWORD | 4 | +132 | +80 |