IGR_Subfiles_Close¶
IGR_Subfiles_Close
releases the resources associated with an enumeration generated by IGR_Get_Subfiles_Enumerator
or a similar function. It is imperative to free enumerators before closing the owning document.
Prototype¶
IGR_RETURN_CODE IGR_Subfiles_Close(
HSUBFILES handle,
Error_Control_Block* error);
Parameters¶
enumerator: HSUBFILES
Handle to an enumerator opened by IGR_Get_Subfiles_Enumerator.
error: Pointer to Error_Control_Block
Returns error details if the call fails.
Return value¶
Success: IGR_LONG
Returns IGR_OK.
Failure: IGR_LONG
Returns one of the possible IGR_E error codes.
Sample code¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
|