public static WTSUnRegister ( IntPtr handle ) : bool | ||
handle | IntPtr | |
return | bool |
public static bool WTSUnRegister(IntPtr handle)
{
if (!SafeNativeMethods.WTSUnRegisterSessionNotification(handle))
{
LibraryLogging.Error("WTSUnRegisterSessionNotification error:{0}", LastError());
return false;
}
return true;
}