updf_close_storageΒΆ
updf_close_storage closes a storage of sub storage.
- bool = updf_close_storage(stg)
Return Value
If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).
Parameters
- stg
stg is a storage object (see updf_create_file, updf_open_file, updf_create_storage).
Example
def test_updf_close_storage()
{
ssFile = GetTempPath() + "test.updf";
stg = updf_create_file(ssFile);
stg1 = updf_create_storage(stg, "Storage-1");
stg2 = updf_create_storage(stg, "Storage-2");
updf_close_storage(stg2);
updf_close_storage(stg1);
updf_close_storage(stg);
}
test_updf_close_storage();
History
Version |
Description |
---|---|
5.6.0 |
New |
See also
Overview UPDF Files, updf_commit, updf_open_file, updf_create_file, updf_open_storage, updf_create_storage
id-2034145