GetNextFileInfo

Top  Previous  Next

Iterates through the entries in the composite file.

 

[C++]

 

HRESULT GetNextFileInfo(

BSTR * pbstrName,

BSTR * pbstrKey,

double * pfSize,

DATE * pdtModified

);

 

 

Parameters

 

pbstrName

[out] Full path of the file relative to the composite file.

 

pbstrKey

[out] Unique identifier used to extract the file from the composite file.

 

pfSize

[out] Size of the file in bytes.

 

pdtModified

[out] Last modified date of the file.

 

Return Value

 

S_OK

File was successfully returned.

CINT_S_NOMOREFILES

No more files left in list.

E_FAIL

An error occurred.

 

 

Remarks

 

Composite interpreter rules:

1.Composite interpreters should return each name as the full pathname, within the composite to the file. When the file comes to be displayed file names will be extracted by looking for the last '\'.
2.Composite interpreters should be able to iterate through the entire list irregardless of the internal file hierarchy.
3.Composite interpreters should be able to access a file directly from the key provided during GetNextFileInfo.
4.Only files are ever returned from a composite file, directory entries should be ignored. Composite files within composite files should be returned as files and let core search engine decide that it is actually a container.

 

When GetNextFileInfo has reached the end of the file list it should return  CINT_S_NOMOREFILES which is defined as:

 

 const HRESULT CINT_S_NOMOREFILES = MAKE_HRESULT( SEVERITY_SUCCESS, FACILITY_ITF, 0x0101);

 

 


Copyright © 2003-2013 Mythicsoft Ltd. All rights reserved.
SDK help file version: 7.0.2