Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 Distribution Function Administration Guide


AIT_LogMessage

Organization of this page

Description

Saves a message into a RecDFile.log file opened by the AIT_InitLog function.

Format

bool AIT_LogMessage  (
  string strMessage     // Message character string
);

Parameters

strMessage (input)

Specify a character string message you want to write into a log file.

Return values

The return value is true if the function was executed normally, and false if not. If the function has returned false, you can use AIT_GetLastError to acquire an extended error code. The following gives the error codes that AIT_GetLastError might return:

Extended error number

Error code

3

ERROR_PATH_NOT_FOUND

4

ERROR_TOO_MANY_OPEN_FILES

5

ERROR_ACCESS_DENIED

8

ERROR_NOT_ENOUGH_MEMORY

14

ERROR_OUTOFMEMORY

19

ERROR_WRITE_PROTECT

32

ERROR_SHARING_VIOLATION

33

ERROR_LOCK_VIOLATION

53

ERROR_BAD_NETPATH

82

ERROR_CANNOT_MAKE

87

ERROR_INVALID_PARAMETER

112

ERROR_DISK_FULL

123

ERROR_INVALID_NAME

148

ERROR_PATH_BUSY

161

ERROR_BAD_PATHNAME

183

ERROR_ALREADY_EXISTS

206

ERROR_FILENAME_EXCED_RANGE

1005

ERROR_UNRECOGNIZED_VOLUME

1210

ERROR_INVALID_COMPUTERNAME

1214

ERROR_INVALID_NETNAME

1231

ERROR_NETWORK_UNREACHABLE

1392

ERROR_FILE_CORRUPT

Note

This function records the current date and time as well as messages.