Advantage Client Engine
Terminates an active search in the data dictionary and free the resources that was allocated for the search.
UNSIGNED32 AdsDDFindClose( ADSHANDLE hDBConn, ADSHANDLE hFindHandle );
hDBConn (I) |
Handle of a database connection. |
hFindHandle (I) |
Find handle that was returned by AdsDDFindFirstObject. |
None.
AdsDDFindClose is used to terminate a search initiated by AdsDDFindFirstObject.
Find all index files that are associated with the "Customer Information" table.
AdsConnect60( "n:\\MyData\\myData.ADD", ADS_REMOTE_SERVER, "ADSSYS", NULL, ADS_DEFAULT, &hDD );
usBufferSize = sizeof( aucFileName );
if ( AE_SUCCESS == AdsDDFindFirstObject( hDD, ADS_DD_INDEX_FILE_OBJECT,
"Customer Information", aucFileName,
&usBufferSize ))
{
do
{
printf( "%s\n", aucFileName );
usBufferSize = sizeof( aucFileName );
}
while ( AE_SUCCESS == AdsDDFindNextObject( hDD, aucFileName, &usBufferSize ));
AdsDDFindClose( hDD );
}