MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / CheckUAC

Method CheckUAC

src/pkgDm/Dm2Java.java:2416–2418  ·  view source on GitHub ↗

检测当前系统是否有开启UAC(用户账户控制). 注: 只有WIN7 VISTA WIN2008以及以上系统才有UAC设置 @return 0 : 没开启UAC 1 : 开启了UAC

()

Source from the content-addressed store, hash-verified

2414 * @return 0 : 没开启UAC 1 : 开启了UAC
2415 */
2416 public int CheckUAC(){
2417 return Dispatch.call(dm,"CheckUAC").getInt();
2418 }
2419
2420 /**
2421 * 关闭电源管理,不会进入睡眠.<br/>

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected