win32profile.UnloadUserProfile

UnloadUserProfile(Token, Profile)

Unloads user profile loaded by win32profile::LoadUserProfile

Parameters

Token : PyHANDLE

Logon token as returned by win32security::LogonUser, win32security::OpenProcessToken, etc

Profile : PyHKEY

Registry handle as returned by win32profile::LoadUserProfile