CreatePropertyDatabase

The CreatePropertyDatabase function creates a property database for describing properties that the parser will be using to describe its data.

DWORD CreatePropertyDatabase(
  HPROTOCOL hProtocol,  
  DWORD nProperties     
);
 

Parameters

hProtocol
Specifies the handle to the protocol that owns this database.
nProperties
Specifies the number of properties that the database can store.

Return Values

The return value is the error code.

Error code Meaning
BHERR_SUCCESS No problems were encountered.
BHERR_INTERNAL_ERROR An internal error occurred.
BHERR_INVALID_HPARSER The HPARSER was invalid.

Remarks

This function is used by a parser to create a property database for describing properties that it will be using to describe its data. The property database is used to interpret Properties added by the parser to describe a Frame.

This function allocates the necessary structures needed to maintain a property database.

Note This function should be called by a parser DLL only from the Register entry point.