The DestroyPropertyDatabase function destroys a property database created by calls to CreatePropertyDatabase and AddProperty.
DWORD DestroyPropertyDatabase(
HPROTOCOL hProtocol
);
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 to destroy a property database created by calls to CreatePropertyDatabase and AddProperty, which frees up all resources associated with this database.