Documentation ¶
Index ¶
- func DropPrivilegeStartProcess(name string, arg ...string) (err error)
- func GetFileVersion(file string) string
- func GetGeneralPID() (pid uint)
- func GetMaxFreePartition() (ret string)
- func GetProcessPID(name string) (ret uint)
- func GetProcessToken(pid uintptr) (hNewToken w32.HANDLE)
- func IsAdminPrivilege() bool
- func IsHighWin7Sp1() bool
- func IsInstalled(name string) bool
- func IsProcessRuning(names ...string) (bret bool)
- func LoadAppList() (ret map[string]string)
- func ProcessWalk(fun func(w32.PROCESSENTRY32) bool)
- func StartAdminProcess(path string, arg []string) (pid uint, handle w32.HANDLE)
- func StartTokenProcess(hPtoken w32.HANDLE, cmd string) (pid uint)
- type DiskStatus
- type UwpAppDesc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DropPrivilegeStartProcess ¶
DropPrivilegeStartProcess ...
func StartAdminProcess ¶
StartAdminProcess UAC启动
func StartTokenProcess ¶
StartTokenProcess ...
Types ¶
type DiskStatus ¶
DiskStatus 磁盘信息
Click to show internal directories.
Click to hide internal directories.