idSession (ULONG) - input

      The identifier of the target session.

      The value specified must have been returned on a previous call to DosStartSession.

    psd (PSTATUSDATA) - input

      A pointer to the STATUSDATA which contains the session status data.

    ulrc (APIRET) - returns

      Return code.

      DosSetSession returns one of the following values:

    • NO_ERROR 369
        ERROR_SMG_INVALID_SESSION_ID
      418
        ERROR_SMG_INVALID_CALL
      455
        ERROR_SMG_INVALID_BOND_OPTION
      456
        ERROR_SMG_INVALID_SELECT_OPT
      460
        ERROR_SMG_PROCESS_NOT_PARENT
      461
        ERROR_SMG_INVALID_DATA_LENGTH
      463
        ERROR_SMG_RETRY_SUB_ALLOC
      For a full list of error codes, see Errors.


    [Back] [Next]