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 TInt CallFunction ( TInt aFunc,
TAny * aParameter = NULL,
TInt aParLength = 0,
TBool aAutoComplete = 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 aFunc Unique integer among the extended functions what function we are calling.
TAny * aParameter = NULL A pointer to the parameter.
TInt aParLength = 0 Length of the parameter.
TBool aAutoComplete = ETrue ETrue 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 TInt CallFunction ( const TExtensionParPckg & aParamInfo,
TDes8 & aParameter
) [protected]

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

Parameters

const TExtensionParPckg & aParamInfo Package buffer containing parameter information (see TExtensionPar).
TDes8 & aParameter Reference to a descriptor containing parameter data.

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

IMPORT_C void CallFunction ( 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 & aStatus Status variable to control the completion of the asynchronous request.
const TExtensionParPckg & aParamInfo Package buffer containing parameter information (see TExtensionPar).
TDes8 & aParameter Reference to a descriptor containing parameter data.

Open(RDosServer &)

IMPORT_C TInt Open ( RDosServer & aServer )

Opens the subsession.

Parameters

RDosServer & aServer A connected session with the Server.