ePass1000 C/C++ API Reference Manual Version 2.0

# epas_CloseFile

The epas_CloseFile function closes file opened by the epas_OpenFile function.

    EPAS_STATUS EPAS_API
    epas_CloseFile(
        EPAS_HANDLE hContextHandle    // [in]
    );

#### Requirement

epas_CreateContext, epas_OpenDevice, epas_ChangeDir, epas_OpenFile

#### Parameters

hContextHandle
  [in] Handle to device context.

#### Return Values

If the function succeeds, FT_SUCCESS returned.

For a list of all return codes, see Status Return Values.

#### Sample Code

    EPAS_STATUS epsRet;
    EPAS_HANDLE handle;
    epsRet = epas_CloseFile(handle);
    .
    .
    .

#### See Also

epas_CreateFile, epas_DeleteFile, epas_OpenFile, epas_GetFileInfo, epas_Read, epas_Write, epas_CreateDir, epas_DeleteDir, epas_GetCurrentDir, epas_ChangeDir, epas_Directory