GetUserSessionW

Returns ID of the current user session.

This identifier is used by CreatePairExW, SetStrictBaudrateExW, SetBreakExW, SetAccessListExW, DeletePairExW.

BOOL GetUserSessionW(
  	WCHAR *Session, int &iSize
);