Closing the File Queue and INF File
After the queue has finished committing its operations, it should be closed using the SetupCloseFileQueue function with the handle that was created by SetupOpenFileQueue. The default queue callback must be destroyed and recreated before another queue can be committed.
If a default context was initiated for use by the default callback routine, it should also be terminated by calling the SetupTermDefaultQueueCallback function. The Context is a pointer to the structure returned by the SetupInitDefaultQueueCallback function.
When access to the INF information is no longer needed, call the SetupCloseInfFile function with the handle that was created by SetupOpenFileQueue to free system resources.