SubmitAccountNote
Adds a note about an object’s account to an audit record (For cross-platform functionality, see Developing NLMs with Cross-Platform Functions ( NDK: NLM Development Concepts, Tools, and Functions) and call NWSubmitAccountNote)
#include <\nlm\nit\nwaccntg.h> int SubmitAccountNote ( WORD binderyObjectType, char *binderyObjectName, WORD serviceType, WORD commentType, char *comment)
The binderyObjectType and binderyObjectName parameters must uniquely identify the bindery object and must not contain wildcard characters. The binderyObjectName parameter is a NULL-terminated string (maximum 48 characters, including the NULL terminator). Only printable characters can be used. Slashes, backslashes, colons, semicolons, commas, asterisks, spaces, and question marks are prohibited.
The serviceType parameter usually contains the object type of the charging account server.
The commentType parameter contains the type of the comment in the comment parameter. Comment types are administered by Novell and are listed below.
Developers should contact Novell for unique comment types. Comment types greater than 0x8000 are reserved for experimental purposes. The description is located in the NET$REC.DAT file.
The comment parameter contains the entry that the server makes in the audit record. The audit record is contained in the SYS:SYSTEM\NET$ACCT.DAT file. Comments are restricted to 256 bytes, including the NULL terminator.