May it helps those who needed.
#include <WinAPI.au3>
; #FUNCTION# ====================================================================================================================
; Name ..........: _IsUEFIBoot
; Description ...: Detemine the Current OS is boot in UEFI mode or not
; Syntax ........: _IsUEFIBoot()
; Parameters ....:
; Return values .: True:OS is boot in UEFI
; False: OS is boot in Legacy BIOS