@@ -487,82 +487,6 @@ $script:WTS_SESSION_INFO_1W = New-Structure $Module WinApiModule.WTS_SESSION_INF
487487 FarmName = New-StructureField 7 String - MarshalAs @ (' LPWStr' )
488488}
489489
490- $script :DRIVER_INFO_1 = New-Structure $Module WinApiModule.DRIVER_INFO_1 @ {
491- Name = New-StructureField 0 String - MarshalAs @ (' LPTStr' )
492- } - Charset Auto
493-
494- $script :DRIVER_INFO_2 = New-Structure $Module WinApiModule.DRIVER_INFO_2 @ {
495- Version = New-StructureField 0 UInt32
496- Name = New-StructureField 1 String - MarshalAs @ (' LPTStr' )
497- Environment = New-StructureField 2 String - MarshalAs @ (' LPTStr' )
498- DriverPath = New-StructureField 3 String - MarshalAs @ (' LPTStr' )
499- DataFile = New-StructureField 4 String - MarshalAs @ (' LPTStr' )
500- ConfigFile = New-StructureField 5 String - MarshalAs @ (' LPTStr' )
501- } - Charset Auto
502-
503- $script :DRIVER_INFO_3 = New-Structure $Module WinApiModule.DRIVER_INFO_3 @ {
504- Version = New-StructureField 0 UInt32
505- Name = New-StructureField 1 String - MarshalAs @ (' LPTStr' )
506- Environment = New-StructureField 2 String - MarshalAs @ (' LPTStr' )
507- DriverPath = New-StructureField 3 String - MarshalAs @ (' LPTStr' )
508- DataFile = New-StructureField 4 String - MarshalAs @ (' LPTStr' )
509- ConfigFile = New-StructureField 5 String - MarshalAs @ (' LPTStr' )
510- HelpFile = New-StructureField 6 String - MarshalAs @ (' LPTStr' )
511- DependentFiles = New-StructureField 7 String - MarshalAs @ (' LPTStr' )
512- MonitorName = New-StructureField 8 String - MarshalAs @ (' LPTStr' )
513- DefaultDataType = New-StructureField 9 String - MarshalAs @ (' LPTStr' )
514- } - Charset Auto
515-
516- $script :DRIVER_INFO_4 = New-Structure $Module WinApiModule.DRIVER_INFO_4 @ {
517- Version = New-StructureField 0 UInt32
518- Name = New-StructureField 1 String - MarshalAs @ (' LPTStr' )
519- Environment = New-StructureField 2 String - MarshalAs @ (' LPTStr' )
520- DriverPath = New-StructureField 3 String - MarshalAs @ (' LPTStr' )
521- DataFile = New-StructureField 4 String - MarshalAs @ (' LPTStr' )
522- ConfigFile = New-StructureField 5 String - MarshalAs @ (' LPTStr' )
523- HelpFile = New-StructureField 6 String - MarshalAs @ (' LPTStr' )
524- DependentFiles = New-StructureField 7 String - MarshalAs @ (' LPTStr' )
525- MonitorName = New-StructureField 8 String - MarshalAs @ (' LPTStr' )
526- DefaultDataType = New-StructureField 9 String - MarshalAs @ (' LPTStr' )
527- PreviousNames = New-StructureField 10 String - MarshalAs @ (' LPTStr' )
528- } - Charset Auto
529-
530- $script :DRIVER_INFO_5 = New-Structure $Module WinApiModule.DRIVER_INFO_5 @ {
531- Version = New-StructureField 0 UInt32
532- Name = New-StructureField 1 String - MarshalAs @ (' LPTStr' )
533- Environment = New-StructureField 2 String - MarshalAs @ (' LPTStr' )
534- DriverPath = New-StructureField 3 String - MarshalAs @ (' LPTStr' )
535- DataFile = New-StructureField 4 String - MarshalAs @ (' LPTStr' )
536- ConfigFile = New-StructureField 5 String - MarshalAs @ (' LPTStr' )
537- DriverAttributes = New-StructureField 6 UInt32
538- ConfigVersion = New-StructureField 7 UInt32
539- DriverVersion = New-StructureField 8 UInt32
540- } - Charset Auto
541-
542- $script :PRINTER_INFO_2 = New-Structure $Module WinApiModule.PRINTER_INFO_2 @ {
543- ServerName = New-StructureField 0 String - MarshalAs @ (' LPTStr' )
544- PrinterName = New-StructureField 1 String - MarshalAs @ (' LPTStr' )
545- ShareName = New-StructureField 2 String - MarshalAs @ (' LPTStr' )
546- PortName = New-StructureField 3 String - MarshalAs @ (' LPTStr' )
547- DriverName = New-StructureField 4 String - MarshalAs @ (' LPTStr' )
548- Comment = New-StructureField 5 String - MarshalAs @ (' LPTStr' )
549- Location = New-StructureField 6 String - MarshalAs @ (' LPTStr' )
550- DevMode = New-StructureField 7 IntPtr # Should be a pointer to a DEVMODE structure
551- SepFile = New-StructureField 8 String - MarshalAs @ (' LPTStr' )
552- PrintProcessor = New-StructureField 9 String - MarshalAs @ (' LPTStr' )
553- DataType = New-StructureField 10 String - MarshalAs @ (' LPTStr' )
554- Parameters = New-StructureField 11 String - MarshalAs @ (' LPTStr' )
555- SecurityDescriptor = New-StructureField 12 IntPtr # Should be a pointer to a SECURITY_DESCRIPTOR structure
556- Attributes = New-StructureField 13 UInt32
557- Priority = New-StructureField 14 UInt32
558- DefaultPriority = New-StructureField 15 UInt32
559- StartTime = New-StructureField 16 UInt32
560- UntilTime = New-StructureField 17 UInt32
561- Status = New-StructureField 18 UInt32
562- Jobs = New-StructureField 19 UInt32
563- AveragePPM = New-StructureField 20 UInt32
564- } - Charset Auto
565-
566490$script :TPM_DEVICE_INFORMATION = New-Structure $Module WinApiModule.TPM_DEVICE_INFORMATION @ {
567491 TpmVersion = New-StructureField 0 UInt32
568492 ManufacturerId = New-StructureField 1 String - MarshalAs @ (' ByValTStr' , 5 )
0 commit comments