Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
MSWindowsSession Class Reference

#include <MSWindowsSession.h>

Public Member Functions

 MSWindowsSession ()
 ~MSWindowsSession ()=default
BOOL hasChanged ()
bool isProcessInSession (const char *name, PHANDLE process)
HANDLE getUserToken (LPSECURITY_ATTRIBUTES security)
void updateActiveSession ()
DWORD getActiveSessionId ()

Constructor & Destructor Documentation

◆ MSWindowsSession()

MSWindowsSession::MSWindowsSession ( )

◆ ~MSWindowsSession()

MSWindowsSession::~MSWindowsSession ( )
default

Member Function Documentation

◆ getActiveSessionId()

DWORD MSWindowsSession::getActiveSessionId ( )
inline

◆ getUserToken()

HANDLE MSWindowsSession::getUserToken ( LPSECURITY_ATTRIBUTES security)

◆ hasChanged()

BOOL MSWindowsSession::hasChanged ( )

Returns true if the session ID has changed since updateActiveSession was called.

◆ isProcessInSession()

bool MSWindowsSession::isProcessInSession ( const char * name,
PHANDLE process = nullptr )

◆ updateActiveSession()

void MSWindowsSession::updateActiveSession ( )

The documentation for this class was generated from the following files: