Jump to content

FS FINDCLOSE: Difference between revisions

From EDM2
Created page with "Provides the mechanism for an FSD to release resources allocated on behalf of FS_FINDFIRST and FS_FINDNEXT. ==Syntax== FS_FINDCLOSE(pfsfsi, pfsfsd) ==Parameters== ;pfsfsi:..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
Provides the mechanism for an FSD to release resources allocated on behalf of FS_FINDFIRST and FS_FINDNEXT.  
{{DISPLAYTITLE:FS_FINDCLOSE}}
Provides the mechanism for an FSD to release resources allocated on behalf of FS_FINDFIRST and FS_FINDNEXT.
 
==Syntax==
==Syntax==
  FS_FINDCLOSE(pfsfsi, pfsfsd)
  FS_FINDCLOSE(pfsfsi, pfsfsd)
==Parameters==
==Parameters==
;pfsfsi: is a pointer to the file-system-independent file search structure.  
;pfsfsi: is a pointer to the file-system-independent file search structure.
:The FSD should not update this structure.  
:The FSD should not update this structure.
;pfsfsd: is a pointer to the file-system-dependent file search structure.
:The FSD may use this to store information about continuation of its search.


;pfsfsd: is a pointer to the file-system-dependent file search structure. 
==Calling Sequence==
:The FSD may use this to store information about continuation of its search .
==Returns==
==Sample==
Calling Sequence
<PRE>
<PRE>
int far pascal FS_FINDCLOSE(pfsfsi, pfsfsd)
int far pascal FS_FINDCLOSE(pfsfsi, pfsfsd)
Line 16: Line 17:
struct fsfsi far * pfsfsi;
struct fsfsi far * pfsfsi;
struct fsfsd far * pfsfsd;
struct fsfsd far * pfsfsd;
</PRE>


</PRE>
==Remarks==
==Remarks==
DosFindClose has been called on the handle associated with the search buffer . Any file system related information may be released.  
DosFindClose has been called on the handle associated with the search buffer. Any file system related information may be released.
 
If FS_FINDFIRST for a particular search returns an error, an FS_FINDCLOSE for that search will not be issued.


If FS_FINDFIRST for a particular search returns an error, an FS_FINDCLOSE for that search will not be issued. 
[[Category:IFS Interfaces]]
[[Category:IFS Interfaces]]
{{DISPLAYTITLE:FS_FINDCLOSE}}

Latest revision as of 02:37, 10 February 2020

Provides the mechanism for an FSD to release resources allocated on behalf of FS_FINDFIRST and FS_FINDNEXT.

Syntax

FS_FINDCLOSE(pfsfsi, pfsfsd)

Parameters

pfsfsi
is a pointer to the file-system-independent file search structure.
The FSD should not update this structure.
pfsfsd
is a pointer to the file-system-dependent file search structure.
The FSD may use this to store information about continuation of its search.

Calling Sequence

int far pascal FS_FINDCLOSE(pfsfsi, pfsfsd)

struct fsfsi far * pfsfsi;
struct fsfsd far * pfsfsd;

Remarks

DosFindClose has been called on the handle associated with the search buffer. Any file system related information may be released.

If FS_FINDFIRST for a particular search returns an error, an FS_FINDCLOSE for that search will not be issued.