DBchangeInfoElement

Top  Previous  Next

The contents of an attribute should be changed.

The trading of the attribute, as well as the new value of the attribute becomes this required. The user does not need to look after length limitations, because the system puts automatically enough storage space for the new value at possession. If only the attribute name, does not exist, nevertheless, a trading, can be used DBfindChangeInfoElement.

Parametre

info (PINFO_ELEMENT) [IN]

Act of the attribute whose contents should be changed. It must concern an attribute, but the system becomes sour.

worth (void *) [IN]

Pointer on the new contents. This can be every any contents and is not limited to string. If the new length 0 is, this pointer is not used.

len (ULONG) [IN]

The length of the new attribute value.

attributArt (USHORT) [IN]

Kind of the attribute. The kind is stored away with and serves the interpretation of the values. The possible values stand in the attribute kind table.

Result

(T_ERROR) [OUT]

0 functions successfully

but number of the mistake

Declaration

#include "database.h"

 

T_ERROR DLLENTRY DBchangeInfoElement (

PINFO_ELEMENT info,

void * worth,

ULONG len,

USHORT attributArt

);

Related procedures

DBfindChangeInfoElement

DBaddInfo