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
);
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. |
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.