def _get_effective_state_index():
"""
Get the state file index that's currently in use - deprecated
:return: index of the current effective state file
"""
hKey = OpenKey(HKEY_LOCAL_MACHINE, BITSStateFile.REG_BITS_KEY)
return QueryValueEx(hKey, BITSStateFile.REG_STATE_INDEX_VALUE)[0]
评论列表
文章目录