DBinfoElementOfObjectByNameAsUSHORT

Top  Previous  Next

Value as an USHORT of attribute with name determine.

With this call it is possible to determine his value to a given attribute name. If no attribute with this name exists in the given object, 0 is delivered as a result. The contents of the attribute are delivered as an USHORT.

Parametre

object (POBJECT) [IN]

This is the trading of the object by which the attribute is searched.

infoName (char *) [IN]

This is the name of the attribute which is searched in the object object. The name is a string ASCII. The string is casesensitive.

Result

(USHORT) [OUT]

If a value can be determined, he is delivered as an USHORT, but 0.

Declaration

#include "database.h"

 

USHORT DLLENTRY DBinfoElementOfObjectByNameAsUSHORT (

POBJECT object,

char * infoName

);

Related functions

DBinfoElementOfObjectByName

DBinfoElementOfObjectByNameAsULONG