RDosExtension Class Reference

class RDosExtension : public RDosSubSession

This subsession offers possibilities for licensees to extend the functionality of the dos server.

Inherits from

Member Functions Documentation

CallFunction(TInt, TAny *, TInt, TBool)

IMPORT_C TIntCallFunction(TIntaFunc,
TAny *aParameter = NULL,
TIntaParLength = 0,
TBoolaAutoComplete = ETrue
)[protected]

Deprecated, please use the overloaded function taking descriptors; TInt CallFunction(const TExtensionParPckg& aParamInfo, TDes8& aParameter)

Implements a synchronous raw function call that has to be implement in the Dsy plug-in. Internal implementation creates temporary descriptors and calls the overloaded CallFunction -function taking TExtensionParPckg and TDes8 parameters.

Parameters

TInt aFuncUnique integer among the extended functions what function we are calling.
TAny * aParameter = NULLA pointer to the parameter.
TInt aParLength = 0Length of the parameter.
TBool aAutoComplete = ETrueETrue if the function is completed by the server, EFalse if it's gonna be completed in the plug-in.

CallFunction(const TExtensionParPckg &, TDes8 &)

IMPORT_C TIntCallFunction(const TExtensionParPckg &aParamInfo,
TDes8 &aParameter
)[protected]

Implements a function call that has to be implement in the Dsy plug-in

Parameters

const TExtensionParPckg & aParamInfoPackage buffer containing parameter information (see TExtensionPar).
TDes8 & aParameterReference to a descriptor containing parameter data.

CallFunction(TRequestStatus &, const TExtensionParPckg &, TDes8 &)

IMPORT_C voidCallFunction(TRequestStatus &aStatus,
const TExtensionParPckg &aParamInfo,
TDes8 &aParameter
)[protected]

Implements an asynchronous raw function call that has to be implement in the Dsy plug-in

Parameters

TRequestStatus & aStatusStatus variable to control the completion of the asynchronous request.
const TExtensionParPckg & aParamInfoPackage buffer containing parameter information (see TExtensionPar).
TDes8 & aParameterReference to a descriptor containing parameter data.

Open(RDosServer &)

IMPORT_C TIntOpen(RDosServer &aServer)

Opens the subsession.

Parameters

RDosServer & aServerA connected session with the Server.