DestroyPropertyDatabase

The DestroyPropertyDatabase function destroys a property database created by calls to CreatePropertyDatabase and AddProperty.

DWORD DestroyPropertyDatabase(
  HPROTOCOL hProtocol  
);
 

Parameters

hProtocol
Specifies the handle to the property database to destroy.

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 to destroy a property database created by calls to CreatePropertyDatabase and AddProperty, which frees up all resources associated with this database.