Functions
String Lists

Functions

RMGRSUBS_EXPORT StringListP mdlStringList_create (long initialSize, long nInfoFields)
 Creates a string list with initialSize members and nInfoFields information fields. More...
 
RMGRSUBS_EXPORT long mdlStringList_destroy (StringListP pStrl)
 Deallocates memory associated with the string list stringListP. More...
 
RMGRSUBS_EXPORT long mdlStringList_setMember (StringListP pStrl, long memberIndex, WCharCP pString, const InfoField *pInfoFields)
 Sets the member (at memberIndex) to the given data (pString and pInfoFields). More...
 
RMGRSUBS_EXPORT long mdlStringList_getMember (WCharCP *ppString, InfoField **ppInfoFields, StringListCP pStringList, long memberIndex)
 Returns information for the memberIndex member of the string list. More...
 
RMGRSUBS_EXPORT long mdlStringList_getMemberString (WStringR wString, InfoField **ppInfoFields, StringListCP pStringList, long memberIndex)
 Returns information for the memberIndex member of the string list. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_setInfoFieldInt64 (StringListP pStringList, long memberIndex, long infoFieldIndex, InfoField infoFieldData)
 Sets a member's information field to the given 64-bit integer. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_setInfoFieldInt32 (StringListP pStringList, long memberIndex, long infoFieldIndex, Int32 infoFieldData)
 Sets a member's information field to the given 32-bit integer. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_setInfoFieldPointer (StringListP pStringList, long memberIndex, long infoFieldIndex, void *infoFieldData)
 Sets a member's information field to the given pointer value. More...
 
RMGRSUBS_EXPORT InfoField mdlStringList_getInfoFieldInt64 (StringListCP pStringList, long memberIndex, long infoFieldIndex, StatusInt *pStatus)
 Returns a value associated with the information field specified by infoFieldIndex from the member specified by memberIndex in pInfoField. More...
 
RMGRSUBS_EXPORT Int32 mdlStringList_getInfoFieldInt32 (StringListCP pStringList, long memberIndex, long infoFieldIndex, StatusInt *pStatus)
 Returns the value associated with the information field specified by infoFieldIndex from the member specified by memberIndex in pInfoField. More...
 
RMGRSUBS_EXPORT void * mdlStringList_getInfoFieldPointer (StringListCP pStringList, long memberIndex, long infoFieldIndex, StatusInt *pStatus)
 Returns the value associated with the information field specified by infoFieldIndex from the member specified by memberIndex in pInfoField. More...
 
RMGRSUBS_EXPORT long mdlStringList_insertMember (long *pIndex, StringListP pStringList, long memberIndex, long numToInsert)
 Creates numToInsert new members and inserts them at memberIndex in the string list. More...
 
RMGRSUBS_EXPORT long mdlStringList_deleteMember (StringListP pStringList, long memberIndex, long numToDelete)
 Deletes numToDelete members, starting at memberIndex, from the string list. More...
 
RMGRSUBS_EXPORT long mdlStringList_copy (StringListP pToStringList, StringListCP pFromStringList)
 Copies the string members from one string list to another. More...
 
RMGRSUBS_EXPORT long mdlStringList_size (StringListCP pStringList)
 The number of members in the string list. More...
 
RMGRSUBS_EXPORT long mdlStringList_moveMembers (StringListP pStringList, long toIndex, long fromIndex, long numToMove)
 Moves numToMove members from fromIndex to toIndex. More...
 
RMGRSUBS_EXPORT long mdlStringList_numInfoFields (StringListCP pStringList)
 Returns the number of information fields expected on each member of the string list. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_binarySearch (long *pIndex, StringListP pStringList, WCharCP searchString, const InfoField *searchInfoFields, StringListSortFunc searchFunc)
 Performs a binary search of the string list for the given data. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_binarySearchByColumn (long *pIndex, StringListP pStringList, WCharCP pString, const InfoField *pInfoFields, StringListSortFunc searchFunc, long numColumns, long columnIndex)
 Performs a binary search of the string list for the given data. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_search (long *pIndex, StringListP pStringList, WCharCP pString, const InfoField *pInfoFields, long startIndex, StringListSearchFunc searchFunc)
 Performs a search of the string list for the given data, starting from the member at startIndex. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_searchByColumn (long *pIndex, StringListP pStringList, WCharCP pString, const InfoField *pInfoFields, long startIndex, StringListSearchFunc searchFunc, long numColumns, long columnIndex)
 Performs a search of the string list for the given data, starting from the member at startIndex. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_sort (StringListP pStringList, long numToSort, bool ascending, StringListSortFunc sortFunc)
 Performs a sort of members of the string list. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_sortByColumn (StringListP pStringList, long numToSort, bool ascending, StringListSortFunc sortFunc, long numColumns, long columnIndex)
 Performs a sort of members of the string list. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_sortByIndex (StringListP pStringList, long numToSort, bool ascending, StringListSortFunc sortFunc, long numColumns, long startRow)
 Performs a sort of members of the string list. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_sortByColumnAndIndex (StringListP pStringList, long numToSort, bool ascending, StringListSortFunc sortFunc, long numColumns, long columnIndex, long startRow)
 Performs a sort of members of the string list. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_addResourceWithType (RscFileHandle rfHandle, RscType typeId, RscId resourceID, StringListP stringListP)
 
The mdlStringList_addResource function adds the string list

to the specified resource file with the given ID. More...

 
RMGRSUBS_EXPORT StatusInt mdlStringList_addResource (RscFileHandle rfHandle, RscId resourceID, StringListP stringListP)
 
The mdlStringList_addResource function adds the string list

to the specified resource file with the given ID. More...

 
RMGRSUBS_EXPORT StatusInt mdlStringList_writeResourceWithType (StringListP stringListP, RscFileHandle rfHandle, RscType typeId, RscId resourceID)
 
The mdlStringList_writeResource function adds the string

list to the specified resource file with the given ID. More...

 
RMGRSUBS_EXPORT StatusInt mdlStringList_writeResource (StringListP stringListP, RscFileHandle rfHandle, RscId resourceID)
 The mdlStringList_writeResource function adds the string list to the specified resource file with the given ID. More...
 
RMGRSUBS_EXPORT StringListP strlist_loadResourceWithDescrAndType (RscFileHandle rfHandle, RscType typeId, RscId resourceID, void *descrP)
 Loads a string list from the specified resource file using the typeId and resourceId. More...
 
RMGRSUBS_EXPORT StringListP strlist_loadResourceWithDescr (RscFileHandle rfHandle, RscId resourceID, void *descrP)
 Loads a string list from the specified resource file using the resourceId. More...
 
RMGRSUBS_EXPORT StringListP mdlStringList_loadResourceWithType (RscFileHandle rfHandle, RscType typeId, RscId resourceID)
 The mdlStringList_loadResource function loads a string list with the given ID from the specified file. More...
 
RMGRSUBS_EXPORT StringListP mdlStringList_loadResource (RscFileHandle rfHandle, RscId resourceID)
 The mdlStringList_loadResource function loads a string list with the given ID from the specified file. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_addResourceWithTypeAndAlias (RscFileHandle rfHandle, RscType typeId, RscId resourceID, StringListP stringListP, WCharCP pAlias)
 Adds a string list resource with type and alias to the given resource file. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_addResourceWithAlias (RscFileHandle rfHandle, RscId resourceID, StringListP stringListP, WCharCP pAlias)
 Adds a string list resource with an alias to the given resource file. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_writeResourceWithTypeAndAlias (StringListP stringListP, RscFileHandle rfHandle, RscType typeId, RscId resourceID, WCharCP pAlias)
 Adds a string list resource with type and alias to the given resource file overwriting a previous resource with the same alias. More...
 
RMGRSUBS_EXPORT StatusInt mdlStringList_writeResourceWithAlias (StringListP stringListP, RscFileHandle rfHandle, RscId resourceID, WCharCP pAlias)
 Adds a string list resource with an alias to the given resource file overwriting a previous resource with the same alias. More...
 
RMGRSUBS_EXPORT StringListP mdlStringList_loadResourceWithTypeAndAlias (RscFileHandle rfHandle, RscType typeId, RscId resourceID, WCharCP pAlias)
 Reads a string list resource with type and alias from the given resource file. More...
 

Detailed Description

Function Documentation

RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_addResource ( RscFileHandle  rfHandle,
RscId  resourceID,
StringListP  stringListP 
)

The mdlStringList_addResource function adds the string list

to the specified resource file with the given ID.

If a string list resource with the same resource ID already exists, the string list will not be added. mdlStringList_addResourceWithType is used to add a string list with a user- defined resourceclass. Calling mdlStringList_addResource is equivalent to calling mdlStringList_addResourceWithType with a resourceclass of RTYPE_STRINGLIST.

Parameters
rfHandleIN is the resource file handle of the file to receive the string list.
resourceIDIN will be the resource identifier of the string list.
stringListPIN is a pointer to the string list to be added.
Returns
mdlStringList_addResource and mdlStringList_addResourceWithType return SUCCESS if the operation is successful. Otherwise, they return the following string list error or a resource manager error:
Return Value Description
MDLERR_ADDRNOTVALID stringListP is an invalid string list pointer.
See also
usmthmdlStringList_writeResourceC usmthmdlStringList_loadResourceC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_addResourceWithAlias ( RscFileHandle  rfHandle,
RscId  resourceID,
StringListP  stringListP,
WCharCP  pAlias 
)

Adds a string list resource with an alias to the given resource file.

Parameters
rfHandleIN a handle to the resource file
resourceIDIN the Id to save the string list with
stringListPIN the list of strings to be saved
pAliasIN the alias for the resource
Returns
SUCCESS if the resource is written successfully, ERROR otherwise
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_addResourceWithType ( RscFileHandle  rfHandle,
RscType  typeId,
RscId  resourceID,
StringListP  stringListP 
)

The mdlStringList_addResource function adds the string list

to the specified resource file with the given ID.

If a string list resource with the same resource ID already exists, the string list will not be added. mdlStringList_addResourceWithType is used to add a string list with a user- defined resourceclass. Calling mdlStringList_addResource is equivalent to calling mdlStringList_addResourceWithType with a resourceclass of RTYPE_STRINGLIST.

Parameters
rfHandleIN is the resource file handle of the file to receive the string list.
resourceIDIN (only necessary for mdlStringList_addResourceWithType) specifies the resourceclass of the string list. A resourceclass is sometimes referred to as a type ID.
typeIdIN will be the resource identifier of the string list.
stringListPIN is a pointer to the string list to be added.
Returns
mdlStringList_addResource and mdlStringList_addResourceWithType return SUCCESS if the operation is successful. Otherwise, they return the following string list error or a resource manager error:
Return Value Description
MDLERR_ADDRNOTVALID stringListP is an invalid string list pointer.
See also
usmthmdlStringList_writeResourceC usmthmdlStringList_loadResourceC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_addResourceWithTypeAndAlias ( RscFileHandle  rfHandle,
RscType  typeId,
RscId  resourceID,
StringListP  stringListP,
WCharCP  pAlias 
)

Adds a string list resource with type and alias to the given resource file.

Parameters
rfHandleIN a handle to the resource file
typeIdIN the type where the string list is to be added
resourceIDIN the Id to save the string list with
stringListPIN the list of strings to be saved
pAliasIN the alias for the resource
Returns
SUCCESS if the resource is written successfully, ERROR otherwise
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_binarySearch ( long *  pIndex,
StringListP  pStringList,
WCharCP  searchString,
const InfoField *  searchInfoFields,
StringListSortFunc  searchFunc 
)

Performs a binary search of the string list for the given data.

the user must ensure the string list was previously sorted.

Parameters
pIndexIN The location in the string list where the value was found.
pStringListIN The string list to search.
searchStringIN The string to find. NULL to ignore.
searchInfoFieldsIN The info fields to find. NULL to ignore.
searchFuncIN The user callback. NULL will use wcscmp on the member strings. See userStringList_search for callback formatting.
Returns
If a member is located, SUCCESS and pIndex contains the located member index. If the function does not find a member, it returns MDLERR_NOMATCH and pIndex is the location where the member should be inserted. Otherwise, one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
MDLERR_BADARG pString and searchFunc are NULL.
MDLERR_NOMATCH The item was not found in the string list.
Remarks
If using ListBox manager, it is more appropriate to use mdlStringList_binarySearchByColumn.
See also
usmthmdlStringList_binarySearchByColumnC usmthmdlStringList_searchC usmthmdlStringList_searchC usmthmdlStringList_searchByColumnC usmthuserStringList_search.htm
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_binarySearchByColumn ( long *  pIndex,
StringListP  pStringList,
WCharCP  pString,
const InfoField *  pInfoFields,
StringListSortFunc  searchFunc,
long  numColumns,
long  columnIndex 
)

Performs a binary search of the string list for the given data.

the user must ensure the string list was previously sorted.

Parameters
pIndexIN The location in the string list where the value was found.
pStringListIN The string list to search.
pStringIN The string to search. NULL to ignore.
pInfoFieldsIN The info fields to search. NULL to ignore.
searchFuncIN The user callback. NULL will use wcscmp on the member strings. See userStringList_search for callback formatting.
numColumnsIN The number of columns in the string list.
columnIndexIN Column to search.
Returns
If a member is located, SUCCESS and pIndex contains the located member index. If the function does not find a member, it returns MDLERR_NOMATCH and pIndex is the location where the member should be inserted. Otherwise, one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
MDLERR_BADINDEX columnIndex out of range.
MDLERR_BADARG pString and searchFunc are NULL or number of members does not agree with numColumns.
MDLERR_NOMATCH The item was not found in the string list.
See also
usmthmdlStringList_binarySearchC usmthmdlStringList_searchC usmthmdlStringList_searchC usmthmdlStringList_searchByColumnC usmthuserStringList_search.htm
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT long Bentley::mdlStringList_copy ( StringListP  pToStringList,
StringListCP  pFromStringList 
)

Copies the string members from one string list to another.

Parameters
pToStringListIN OUT Initially, a string list created by ~?mdlStringList_create, after this function call, it is a pointer to the newly copied string list.
pFromStringListIN The string list to copy from.
Remarks
All information currently in pToStringList will be lost. pToStringList (including the information fields) will be sized to the same size as fromStringListP.
Returns
SUCCESS if the operation is successful. Otherwise, it returns one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pToStringList is an invalid string list pointer.
MDLERR_INFSMEMORY Memory is insufficient to copy items.
See also
usmthmdlStringList_moveMembersC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StringListP Bentley::mdlStringList_create ( long  initialSize,
long  nInfoFields 
)

Creates a string list with initialSize members and nInfoFields information fields.

If nInfoFields is less than or equal to 0, no information fields will be associated with the string list. If initialSize is less than or equal to 0, no members will be allocated and the user should add additional members to the string list as needed.

Parameters
initialSizeIN Requested number of strings.
nInfoFieldsIN Number of InfoField values attached to string. These fields are 64-bit fields on 64-bit Windows and 32-bit fields on 32-bit Windows.
Returns
A valid pointer if it is successful. Otherwise, it returns NULL.
See also
usmthmdlStringList_insertMemberC usmthmdlStringList_copyC usmthmdlStringList_destroyC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT long Bentley::mdlStringList_deleteMember ( StringListP  pStringList,
long  memberIndex,
long  numToDelete 
)

Deletes numToDelete members, starting at memberIndex, from the string list.

Parameters
pStringListIN The string list to work on.
memberIndexIN Index number of member to remove.
numToDeleteIN The number of members to delete, any invalid value means delete to end.
Remarks
If numToDelete is out of range (<0 or >number of elements in pStringList), all members from memberIndex to the end of the string list are deleted.
Returns
SUCCESS if the operation is successful. Otherwise, it returns one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
RMGRTOOLS_STATUS_BadArg memberIndex is out of range.
MDLERR_INFSMEMORY Memory is insufficient to reallocate the string list.
See also
usmthmdlStringList_insertMemberC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT long Bentley::mdlStringList_destroy ( StringListP  pStrl)

Deallocates memory associated with the string list stringListP.

Parameters
pStrlIN The list to delete.
Returns
SUCCESS if the operation is successful. Otherwise, it returns the following error:
  • MDLERR_ADDRNOTVALID stringListP is an invalid string list pointer.
See also
usmthmdlStringList_createC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT Int32 Bentley::mdlStringList_getInfoFieldInt32 ( StringListCP  pStringList,
long  memberIndex,
long  infoFieldIndex,
StatusInt *  pStatus 
)

Returns the value associated with the information field specified by infoFieldIndex from the member specified by memberIndex in pInfoField.

The value is represented as a 32-bit value.

Parameters
pStringListIN The string list to work on.
memberIndexIN Index number of the requested member.
infoFieldIndexIN Info field to return.
pStatusOUT The status of the function call SUCCESS if the operation is successful. Otherwise, it returns one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
STYLETABLE_ERROR_BadIndex memberIndex is out of range.
Returns
The info field data. This value is a 32-bit value.
See also
mdlStringList_setInfoFieldInt32 mdlStringList_getMember mdlStringList_setMember
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT InfoField Bentley::mdlStringList_getInfoFieldInt64 ( StringListCP  pStringList,
long  memberIndex,
long  infoFieldIndex,
StatusInt *  pStatus 
)

Returns a value associated with the information field specified by infoFieldIndex from the member specified by memberIndex in pInfoField.

The value is represented as a 64-bit value.

Parameters
pStringListIN The string list to work on.
memberIndexIN Index number of the requested member.
infoFieldIndexIN Info field to return.
pStatusOUT The status of the function call SUCCESS if the operation is successful. Otherwise, it returns one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
STYLETABLE_ERROR_BadIndex memberIndex is out of range.
Returns
The info field data. This value is a 64-bit value.
See also
mdlStringList_setInfoFieldInt64 mdlStringList_getMember mdlStringList_setMember
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT void* Bentley::mdlStringList_getInfoFieldPointer ( StringListCP  pStringList,
long  memberIndex,
long  infoFieldIndex,
StatusInt *  pStatus 
)

Returns the value associated with the information field specified by infoFieldIndex from the member specified by memberIndex in pInfoField.

The value is represented as a pointer value.

Parameters
pStringListIN The string list to work on.
memberIndexIN Index number of the requested member.
infoFieldIndexIN Info field to return.
pStatusOUT The status of the function call SUCCESS if the operation is successful. Otherwise, it returns one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
STYLETABLE_ERROR_BadIndex memberIndex is out of range.
Returns
The info field data. This value is a pointer value.
See also
mdlStringList_setInfoFieldPointer mdlStringList_getMember mdlStringList_setMember
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT long Bentley::mdlStringList_getMember ( WCharCP *  ppString,
InfoField **  ppInfoFields,
StringListCP  pStringList,
long  memberIndex 
)

Returns information for the memberIndex member of the string list.

Parameters
ppStringOUT A pointer to the associated string.
ppInfoFieldsOUT A pointer to the associated information fields. These fields are 64-bit fields on 64-bit Windows and 32-bit fields on 32-bit Windows.
pStringListIN String list to return data from.
memberIndexIN Index number of member to return.
Remarks
This function returns pointers to the information, it does not copy the information.
ppString or ppInfoFields can be NULL. If either is NULL, no information will be returned for that item.
Returns
SUCCESS if the operation is successful. Otherwise, it returns one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
STYLETABLE_ERROR_BadIndex memberIndex is out of range.
See also
usmthmdlStringList_getInfoFieldC usmthmdlStringList_setMemberC usmthmdlStringList_sizeC usmthmdlStringList_numInfoFieldsC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT long Bentley::mdlStringList_getMemberString ( WStringR  wString,
InfoField **  ppInfoFields,
StringListCP  pStringList,
long  memberIndex 
)

Returns information for the memberIndex member of the string list.

Parameters
wStringOUT A WString object populated with the the associated string.
ppInfoFieldsOUT A pointer to the associated information fields. These fields are 64-bit fields on 64-bit Windows and 32-bit fields on 32-bit Windows.
pStringListIN String list to return data from.
memberIndexIN Index number of member to return.
Remarks
This function returns a populated WString object and a pointer to the information fields; it does not copy the information fields.
ppInfoFields can be NULL. If either is NULL, no information will be returned for that item.
Returns
SUCCESS if the operation is successful. Otherwise, it returns one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
STYLETABLE_ERROR_BadIndex memberIndex is out of range.
See also
usmthmdlStringList_getInfoFieldC usmthmdlStringList_setMemberC usmthmdlStringList_sizeC usmthmdlStringList_numInfoFieldsC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT long Bentley::mdlStringList_insertMember ( long *  pIndex,
StringListP  pStringList,
long  memberIndex,
long  numToInsert 
)

Creates numToInsert new members and inserts them at memberIndex in the string list.

If memberIndex is out of range, the function appends the members to the end.

Parameters
pIndexOUT Returns the actual index of the member inserted. It also returns -1 if an error occurs. This return value is useful when memberIndex is invalid.
pStringListIN The string list to work on.
memberIndexIN Add member at this index, -1 means the end of the list.
numToInsertIN The number of members to insert.
Returns
SUCCESS if the operation is successful. Otherwise, it returns one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
RMGRTOOLS_STATUS_BadArg numToInsert is invalid.
MDLERR_INFSMEMORY Memory is insufficient to add items.
See also
usmthmdlStringList_createC usmthmdlStringList_moveMembersC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StringListP Bentley::mdlStringList_loadResource ( RscFileHandle  rfHandle,
RscId  resourceID 
)

The mdlStringList_loadResource function loads a string list with the given ID from the specified file.

mdlStringList_loadResourceWithType is used when the string list to be loaded has a user-defined resourceclass. Calling mdlStringList_loadResource is equivalent to calling mdlStringList_loadResourceWithType with a resourceclass of RTYPE_STRINGLIST. When the string list is no longer needed, it should be freed using the mdlStringList_destroy function.

Parameters
rfHandleIN specifies the resource file from which the string list is to be loaded.
resourceIDIN specifies the resource ID of the string list.
Returns
mdlStringList_loadResource and mdlStringList_loadResourceWithType return a pointer to a string list if they are successful. Otherwise, they return NULL.
See also
usmthmdlStringList_addResourceC usmthmdlStringList_writeResourceC usmthmdlStringList_destroyC usmthmdlStringList_loadResourceWithTypeC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StringListP Bentley::mdlStringList_loadResourceWithType ( RscFileHandle  rfHandle,
RscType  typeId,
RscId  resourceID 
)

The mdlStringList_loadResource function loads a string list with the given ID from the specified file.

mdlStringList_loadResourceWithType is used when the string list to be loaded has a user-defined resourceclass. Calling mdlStringList_loadResource is equivalent to calling mdlStringList_loadResourceWithType with a resourceclass of RTYPE_STRINGLIST. When the string list is no longer needed, it should be freed using the mdlStringList_destroy function.

Parameters
rfHandleIN specifies the resource file from which the string list is to be loaded.
resourceIDIN (only necessary for mdlStringList_loadResourceWithType) specifies the resourceclass of the string list. A resourceclass is sometimes referred to as a type ID.
typeIdIN specifies the resource ID of the string list.
Returns
mdlStringList_loadResource and mdlStringList_loadResourceWithType return a pointer to a string list if they are successful. Otherwise, they return NULL.
See also
usmthmdlStringList_addResourceC usmthmdlStringList_writeResourceC usmthmdlStringList_destroyC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StringListP Bentley::mdlStringList_loadResourceWithTypeAndAlias ( RscFileHandle  rfHandle,
RscType  typeId,
RscId  resourceID,
WCharCP  pAlias 
)

Reads a string list resource with type and alias from the given resource file.

Parameters
rfHandleIN a handle to the resource file
typeIdIN the typeId of the string list
resourceIDIN the Id of the resource to read
pAliasIN the alias for the resource
Returns
A pointer to the StringList in memory, or NULL if an error occurs
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT long Bentley::mdlStringList_moveMembers ( StringListP  pStringList,
long  toIndex,
long  fromIndex,
long  numToMove 
)

Moves numToMove members from fromIndex to toIndex.

Data for any members already occupying the destination locations will be lost. The previous locations of moved members are set to empty.

Parameters
pStringListIN The string list to work on.
toIndexIN Move to here.
fromIndexIN Move from here.
numToMoveIN The number of elements to move.
Remarks
Overlapping is handled properly; if the destination overlaps the origin, all of the data being moved is retained and moved to the proper destination locations.
Attempting to move members before the beginning or after the end of the list is illegal. In this case, mdlStringList_moveMembers will return RMGRTOOLS_STATUS_BadArg.
Returns
SUCCESS if the operation is successful. Otherwise, it returns one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
STYLETABLE_ERROR_BadIndex toIndex and/or fromIndex are out of range.
RMGRTOOLS_STATUS_BadArg Members are referenced past the end of the string list.
See also
usmthmdlStringList_insertMemberC usmthmdlStringList_deleteMemberC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT long Bentley::mdlStringList_numInfoFields ( StringListCP  pStringList)

Returns the number of information fields expected on each member of the string list.

Parameters
pStringListIN the string list to work on.
Returns
-1 if an invalid address is passed. Otherwise, it returns the number of information fields associated with the string list.
See also
usmthmdlStringList_sizeC usmthmdlStringList_getMemberC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_search ( long *  pIndex,
StringListP  pStringList,
WCharCP  pString,
const InfoField *  pInfoFields,
long  startIndex,
StringListSearchFunc  searchFunc 
)

Performs a search of the string list for the given data, starting from the member at startIndex.

Parameters
pIndexIN The location in the string list where the value was found.
pStringListIN The string list to search.
pStringIN The string to search. NULL to ignore.
pInfoFieldsIN The info fields to search. NULL to ignore.
startIndexIN The number of columns in the string list.
searchFuncIN The user callback. NULL will use wcscmp on the member strings. See userStringList_search for callback formatting.
Returns
If a member is located, SUCCESS and pIndex contains the located member index. If the function does not find a member, it returns MDLERR_NOMATCH and pIndex is the location where the member should be inserted. Otherwise, one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
MDLERR_BADINDEX columnIndex out of range.
MDLERR_BADARG pString and searchFunc are NULL.
MDLERR_NOMATCH The item was not found in the string list.
See also
usmthmdlStringList_searchByColumnC usmthmdlStringList_binarySearchByColumnC usmthmdlStringList_binarySearchC usmthuserStringList_search.htm
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_searchByColumn ( long *  pIndex,
StringListP  pStringList,
WCharCP  pString,
const InfoField *  pInfoFields,
long  startIndex,
StringListSearchFunc  searchFunc,
long  numColumns,
long  columnIndex 
)

Performs a search of the string list for the given data, starting from the member at startIndex.

Parameters
pIndexIN The location in the string list where the value was found.
pStringListIN The string list to search.
pStringIN The string to search. NULL to ignore.
pInfoFieldsIN The info fields to search. NULL to ignore.
startIndexIN The number of columns in the string list.
searchFuncIN The user callback. NULL will use wcscmp on the member strings. See userStringList_search for callback formatting.
numColumnsIN The number of columns in the string list.
columnIndexIN Column to search.
Returns
If a member is located, SUCCESS and pIndex contains the located member index. If the function does not find a member, it returns MDLERR_NOMATCH and pIndex is the location where the member should be inserted. Otherwise, one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
MDLERR_BADINDEX columnIndex out of range.
MDLERR_BADARG pString and searchFunc are NULL or number of members does not agree with numColumns.
MDLERR_NOMATCH The item was not found in the string list.
See also
usmthmdlStringList_searchC usmthmdlStringList_binarySearchByColumnC usmthmdlStringList_binarySearchC usmthuserStringList_search.htm
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_setInfoFieldInt32 ( StringListP  pStringList,
long  memberIndex,
long  infoFieldIndex,
Int32  infoFieldData 
)

Sets a member's information field to the given 32-bit integer.

Parameters
pStringListIN The string list to work on.
memberIndexIN Is the index of the member to be operated on.
infoFieldIndexIN Specifies the information field to be changed.
infoFieldDataIN Is the data to be placed in the information field.
Returns
SUCCESS if the operation is successful. Otherwise, it returns one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
STYLETABLE_ERROR_BadIndex memberIndex is out of range.
See also
mdlStringList_getInfoFieldInt32 mdlStringList_setMember mdlStringList_getMember
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_setInfoFieldInt64 ( StringListP  pStringList,
long  memberIndex,
long  infoFieldIndex,
InfoField  infoFieldData 
)

Sets a member's information field to the given 64-bit integer.

Parameters
pStringListIN The string list to work on.
memberIndexIN Is the index of the member to be operated on.
infoFieldIndexIN Specifies the information field to be changed.
infoFieldDataIN Is the data to be placed in the information field.
Returns
SUCCESS if the operation is successful. Otherwise, it returns one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
STYLETABLE_ERROR_BadIndex memberIndex is out of range.
See also
mdlStringList_getInfoFieldInt64 mdlStringList_setMember mdlStringList_getMember
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_setInfoFieldPointer ( StringListP  pStringList,
long  memberIndex,
long  infoFieldIndex,
void *  infoFieldData 
)

Sets a member's information field to the given pointer value.

Parameters
pStringListIN The string list to work on.
memberIndexIN Is the index of the member to be operated on.
infoFieldIndexIN Specifies the information field to be changed.
infoFieldDataIN Is the data to be placed in the information field.
Returns
SUCCESS if the operation is successful. Otherwise, it returns one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
STYLETABLE_ERROR_BadIndex memberIndex is out of range.
See also
mdlStringList_getInfoFieldPointer mdlStringList_setMember mdlStringList_getMember
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT long Bentley::mdlStringList_setMember ( StringListP  pStrl,
long  memberIndex,
WCharCP  pString,
const InfoField *  pInfoFields 
)

Sets the member (at memberIndex) to the given data (pString and pInfoFields).

Remarks
If pString or pInfoFields is NULL, the corresponding field of that member will be unaffected. To delete the string, pass an empty string in pString. Data in pInfoFields cannot be deleted.
Parameters
pStrlIN List to work on.
memberIndexIN Add member at this index.
pStringIN Name of member to add, NULL if none.
pInfoFieldsIN Auxiliary data, NULL if none. These fields are 64-bit fields on 64-bit Windows and 32-bit fields on 32-bit Windows.
Remarks
The given data is copied into the string list so the user does not need to handle memory management.
Returns
SUCCESS if the operation is successful. Otherwise, it returns one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
STYLETABLE_ERROR_BadIndex memberIndex is out of range.
MDLERR_INFSMEMORY Memory is insufficient to add items.
See also
usmthmdlStringList_setInfoFieldInt64C usmthmdlStringList_getMemberC usmthmdlStringList_insertMemberC usmthmdlStringList_moveMembersC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT long Bentley::mdlStringList_size ( StringListCP  pStringList)

The number of members in the string list.

Parameters
pStringListIN The string list to work on.
Returns
-1 if an invalid address was passed. Otherwise, it returns the number of members in the string list.
See also
usmthmdlStringList_numInfoFieldsC usmthmdlStringList_getMemberC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_sort ( StringListP  pStringList,
long  numToSort,
bool  ascending,
StringListSortFunc  sortFunc 
)

Performs a sort of members of the string list.

Parameters
pStringListIN The string list to sort.
numToSortIN The number of members to sort, starting with 0.
ascendingIN true to sort ascending based on the strings within the members. If a sortFunc is defined the option is ignored.
sortFuncIN The user callback. NULL will use wcscmp on the member strings. See userStringList_sort for callback formatting.
Returns
SUCCESS if sort was successful. Otherwise, one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
Remarks
The numToSort argument is most useful when the number of allocated members exceeds the members that are actually set and all set members are continuous from member 0.
See also
usmthmdlStringList_sortByColumnC usmthuserStringList_sort.htm
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_sortByColumn ( StringListP  pStringList,
long  numToSort,
bool  ascending,
StringListSortFunc  sortFunc,
long  numColumns,
long  columnIndex 
)

Performs a sort of members of the string list.

Parameters
pStringListIN The string list to sort.
numToSortIN The number of members to sort, starting with 0.
ascendingIN true to sort ascending based on the strings within the members. If a sortFunc is defined the option is ignored.
sortFuncIN The user callback. NULL will use wcscmp on the member strings. See userStringList_sort for callback formatting.
numColumnsIN The number of columns in the string list.
columnIndexIN Column to search.
Remarks
The numToSort argument is most useful when the number of allocated members exceeds the members that are actually set and all set members are continuous from member 0.
Returns
SUCCESS if sort was successful. Otherwise, one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
MDLERR_BADINDEX columnIndex is out of range.
MDLERR_BADARG Number of members does not agree with numColumns.
See also
usmthmdlStringList_sortC usmthuserStringList_sort.htm
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_sortByColumnAndIndex ( StringListP  pStringList,
long  numToSort,
bool  ascending,
StringListSortFunc  sortFunc,
long  numColumns,
long  columnIndex,
long  startRow 
)

Performs a sort of members of the string list.

Parameters
pStringListIN The string list to sort.
numToSortIN The number of members to sort, starting with 0.
ascendingIN true to sort ascending based on the strings within the members. This argument is passed to the sortFunc, if any.
sortFuncIN The user callback. NULL will use wcscmp on the member strings. See userStringList_sortByIndex for callback formatting.
numColumnsIN The number of columns in the string list.
columnIndexIN The column to sort on.
startRowIN The first member (row) included in the sort.
Remarks
numToSort specifies the number of members (rows) to sort. (numToSort x numColums) gives the number of string list entries affected by the sort.
Returns
SUCCESS if sort was successful. Otherwise, one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
MDLERR_BADINDEX startIndex is less than 0 or greater than or equal to the number of elements in the string list.
MDLERR_BADARG If the number of entries in the string list is not a multiple of numColums.
See also
usmthuser_sortByIndexCallbackC usmthmdlStringList_sortByIndexC usmthuserStringList_sortByIndex.htm
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_sortByIndex ( StringListP  pStringList,
long  numToSort,
bool  ascending,
StringListSortFunc  sortFunc,
long  numColumns,
long  startRow 
)

Performs a sort of members of the string list.

Parameters
pStringListIN The string list to sort.
numToSortIN The number of members to sort, starting with 0.
ascendingIN true to sort ascending based on the strings within the members. If a sortFunc is defined the option is ignored.
sortFuncIN The user callback. NULL will use wcscmp on the member strings. See userStringList_sortByIndex for callback formatting.
numColumnsIN The number of columns in the string list.
startRowIN The first row included in the sort.
Remarks
numToSort specifies the number of members (rows) to sort. (numToSort x numColums) gives the number of string list entries affected by the sort.
Returns
SUCCESS if sort was successful. Otherwise, one of the following errors:
 
Return Value Description
MDLERR_ADDRNOTVALID pStringList is an invalid string list pointer.
MDLERR_BADINDEX startIndex is less than 0 or greater than or equal to the number of elements in the string list.
MDLERR_BADARG If the number of entries in the string list is not a multiple of numColums.
See also
usmthuser_sortByIndexCallbackC usmthmdlStringList_sortByColumnAndIndexC usmthuserStringList_sortByIndex.htm
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_writeResource ( StringListP  stringListP,
RscFileHandle  rfHandle,
RscId  resourceID 
)

The mdlStringList_writeResource function adds the string list to the specified resource file with the given ID.

A string list resource existing with the same resource ID will be overwritten. mdlStringList_writeResourceWithType is used to create a string list with a user-defined resourceclass. Calling mdlStringList_writeResource is equivalent to calling mdlStringList_writeResourceWithType with a resourceclass of RTYPE_STRINGLIST.

Parameters
stringListPIN is a pointer to the string list to be saved.
rfHandleIN is the resource file handle of the file to receive the string list.
resourceIDIN will be the resource identifier of the string list.
Returns
mdlStringList_writeResource and mdlStringList_writeResourceWithType return SUCCESS if the operation is successful. Otherwise, they return the following string list error or a resource manager error:
Return Value Description
MDLERR_ADDRNOTVALID stringListP is an invalid string list pointer.
See also
usmthmdlStringList_addResourceC usmthmdlStringList_loadResourceC usmthmdlStringList_writeResourceWithTypeC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_writeResourceWithAlias ( StringListP  stringListP,
RscFileHandle  rfHandle,
RscId  resourceID,
WCharCP  pAlias 
)

Adds a string list resource with an alias to the given resource file overwriting a previous resource with the same alias.

Parameters
rfHandleIN a handle to the resource file
resourceIDIN the Id to save the string list with
stringListPIN the list of strings to be saved
pAliasIN the alias for the resource
Returns
SUCCESS if the resource is written successfully, ERROR otherwise
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_writeResourceWithType ( StringListP  stringListP,
RscFileHandle  rfHandle,
RscType  typeId,
RscId  resourceID 
)

The mdlStringList_writeResource function adds the string

list to the specified resource file with the given ID.

A string list resource existing with the same resource ID will be overwritten. mdlStringList_writeResourceWithType is used to create a string list with a user-defined resourceclass. Calling mdlStringList_writeResource is equivalent to calling mdlStringList_writeResourceWithType with a resourceclass of RTYPE_STRINGLIST.

Parameters
stringListPIN is a pointer to the string list to be saved.
rfHandleIN is the resource file handle of the file to receive the string list.
typeIdIN (necessary for mdlStringList_writeResourceWithType only) specifies the resourceclass of the string list. A resourceclass is sometimes referred to as a type ID.
resourceIDIN will be the resource identifier of the string list.
Returns
mdlStringList_writeResource and mdlStringList_writeResourceWithType return SUCCESS if the operation is successful. Otherwise, they return the following string list error or a resource manager error:
<div class="CellHeading" /div>Return Value <div class="CellHeading" /div>Description
<div class="CellBody" /div>MDLERR_ADDRNOTVALID <div class="CellBody" /div>stringListP is an invalid string list pointer.
See also
usmthmdlStringList_addResourceC usmthmdlStringList_loadResourceC
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StatusInt Bentley::mdlStringList_writeResourceWithTypeAndAlias ( StringListP  stringListP,
RscFileHandle  rfHandle,
RscType  typeId,
RscId  resourceID,
WCharCP  pAlias 
)

Adds a string list resource with type and alias to the given resource file overwriting a previous resource with the same alias.

Parameters
rfHandleIN a handle to the resource file
typeIdIN the type where the string list is to be added
resourceIDIN the Id to save the string list with
stringListPIN the list of strings to be saved
pAliasIN the alias for the resource
Returns
SUCCESS if the resource is written successfully, ERROR otherwise
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StringListP Bentley::strlist_loadResourceWithDescr ( RscFileHandle  rfHandle,
RscId  resourceID,
void *  descrP 
)

Loads a string list from the specified resource file using the resourceId.

Parameters
rfHandleIN a handle to the resource file to read the string list from
resourceIDIN the resourceID
descrPIN the mdl task descriptor owning the string list
Returns
a string list pointer or NULL
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib
RMGRSUBS_EXPORT StringListP Bentley::strlist_loadResourceWithDescrAndType ( RscFileHandle  rfHandle,
RscType  typeId,
RscId  resourceID,
void *  descrP 
)

Loads a string list from the specified resource file using the typeId and resourceId.

Parameters
rfHandleIN a handle to the resource file to read the string list from
typeIdIN the typeId of the string list
resourceIDIN the resourceID
descrPIN the mdl task descriptor owning the string list
Returns
a string list pointer or NULL
Remarks
Required library : RmgrTools<ApiNumber>.lib i.e. RmgrTools3.lib

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.