API Reference > Functions > SDAI > sdaiValidateStringWidth Function
sdaiValidateStringWidth Function
Syntax
C++
DAI_EXPORT SdaiLogical sdaiValidateStringWidth(SdaiAppInstance appInstance, SdaiNPL list);

sdai.h

Parameters 
Description 
SdaiAppInstance appInstance 
[in] Identifier of the application instance to be validated.  
SdaiNPL list 
[out] An identifier of a pre-existing NPL to which the SdaiAttr identifiers of those attributes are appended that do not conform to the validation. 
  • sdaiTRUE if attributes with invalid width are not found.
  • sdaiFALSE if such attributes are found.
  • sdaiUNKNOWN if an error is encountered.

Validates whether all STRING-valued attributes of the specified application instance are of a valid width. Retrieves the non-persistent list of attributes with invalid width, if found.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.