API Reference > Functions > SDAI > sdaiOpenSession Function
sdaiOpenSession Function
Syntax
C++
DAI_EXPORT SdaiSession sdaiOpenSession();

sdai.h

The identifier of the new session instance if it was created successfully; otherwise, the function returns a NULL identifier.

Initiates the SDAI functionality implementation and starts a new SDAI session.

Possible error codes:

  • sdaiSS_OPN: The session is open.
  • sdaiSS_NAVL The SDAI is not available.
  • sdaiSY_ERR An underlying system error.
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.