IFSMgr_SetErrString

IFSMgr_SetErrString(
 char * errstr,
 unsigned int errorcode,
 unsigned int table
 )
 

This service takes error strings from other VxDs and stores them for use when handling the GetErrorText ( int 2fh function 5 ). It also handles strings for use by IFSMgr_Popup. There are two tables: the errorcode table and the device name table. The errorcode table contains the strings for the GetErrorText function and the device name table contains the strings for use by the IFSMgr_Popup service. Note that the memory containing the error strings must be left in memory. The IFS manager does not copy the error strings, it just stores the pointers to them.

errstr
Supplies pointer to ASCIIZ error message string.
errorcode
Supplies error number of the error message.
table
Supplies the table indicator: 0 means errorcode table, 1 means device name table.

ERROR_ACCESS_DENIED is returned if the error code is already in the table.