Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
882 B

  1. #ifndef __CONNTFY_H__
  2. #define __CONNTFY_H__
  3. #include <wtsapi32.h>
  4. /*
  5. * interface
  6. */
  7. NTSTATUS InitializeConsoleNotification ();
  8. NTSTATUS InitializeSessionNotification (PWINSTATION pWinStation);
  9. NTSTATUS RemoveSessionNotification (ULONG SessionId, ULONG SessionSerialNumber);
  10. NTSTATUS RegisterConsoleNotification (ULONG hWnd, ULONG SessionId, DWORD dwFlags);
  11. NTSTATUS UnRegisterConsoleNotification (ULONG hWnd, ULONG SessionId);
  12. NTSTATUS NotifyDisconnect (PWINSTATION pWinStation, BOOL bConsole);
  13. NTSTATUS NotifyConnect (PWINSTATION pWinStation, BOOL bConsole);
  14. NTSTATUS NotifyLogon (PWINSTATION pWinStation);
  15. NTSTATUS NotifyLogoff (PWINSTATION pWinStation);
  16. NTSTATUS GetLockedState (PWINSTATION pWinStation, BOOL *pbLocked);
  17. NTSTATUS SetLockedState (PWINSTATION pWinStation, BOOL bLocked);
  18. #endif /* __CONNTFY_H__ */