RFileClamp Class Reference

class RFileClamp

A Handle used to identify a file on storage media.

Public Member Functions
RFileClamp ()
IMPORT_C TInt Clamp ( RFile &)
IMPORT_C TInt Close ( RFs &)
Public Attributes
TInt64 iCookie

Constructor & Destructor Documentation

RFileClamp()

RFileClamp ( ) [inline]

Member Functions Documentation

Clamp(RFile &)

IMPORT_C TInt Clamp ( RFile & aFile )

Clamp the supplied file and store the resulting cookie in this object.

Parameters

RFile & aFile File to clamp.

Close(RFs &)

IMPORT_C TInt Close ( RFs & aFs )

Unclamp the file which was clamped with this object. It is safe to call this function a handle that was not successfully opened.

Parameters

RFs & aFs File server session which was used to generate this clamp cookie value.

Member Data Documentation

TInt64 iCookie

TInt64 iCookie