GetUserSessionW

Returns ID of the current user session.

This identifier is used by CreatePairEx(W), SetStrictBaudrateEx(W), SetBreakEx(W), SetAccessListEx(W), DeletePairEx(W).

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