Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/rcmaehl/WhyNotWin11 into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmaehl committed Nov 27, 2024
2 parents 191ba52 + 01fbcbd commit 28ca991
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions includes/_WMIC.au3
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@

#include "GetDiskInfo.au3"

Func _CreateWMIObjects()
Local $Obj_WMIService = ObjGet('winmgmts:\\.\root\cimv2')
Local $Obj_WMIServiceTPM = ObjGet('winmgmts:\\.\root\cimv2\Security\MicrosoftTPM')
Local $aHandles[2] = [$Obj_WMIService, $Obj_WMIServiceTPM]
Return $aHandles
EndFunc

Func _GetBIOSInfo($iFlag = 0)
Local Static $sSMBIOSBIOSVersion

Expand Down

0 comments on commit 28ca991

Please sign in to comment.