DBaddInformationRecord

Top  Previous  Next

Add from information to an element.

With this function information can be suspended in different elements. As possible elements are valid: PROOT, PPLANS, PSEGMENT.

If the information already exists in one of the elements, becomes ZERO zurückgeliefert.

Parametre

ptr (PANY) [IN]

Act in one new information angehangen should become. Valid trading are: PROOT, PPLANS, PSEGMENT.

name (const char *) [IN]

The information is noticed under name.

value (void *) [IN]

Behind this pointer the real information is hidden.

len (ULONG) [IN]

len gives the length of the values value.

Result

(PINFORMATION) [OUT]

As a result becomes a trading on a record of information zurückgeliefert. If adding missed or the information quite exists, this becomes zero-acts zurückgeliefert.

Declaration

#include "database.h"

 

PINFORMATION DLLENTRY DBaddInformationRecord (

PANY ptr,

const char * name,

void * value,

ULONG len

);