Get the current process token

def get_process_token():
	"""
	Get the current process token
	"""
	token = wintypes.HANDLE()
	res = process.OpenProcessToken(
		process.GetCurrentProcess(), process.TOKEN_ALL_ACCESS, token)
	if not res > 0:
		raise RuntimeError("Couldn't get process token")
	return token