examples/PIPS/hybridapp/src/hybridapp.cpp File Reference

Go to the source code of this file.

Functions

char * DescToChar (const TDesC &aDes)
void PrintDriveInfoL (const RFs &aFs, const TInt aDriveNumber)
LOCAL_C void MainL ()
GLDEF_C TInt E32Main ()

Detailed Description

Definition in file hybridapp.cpp.


Function Documentation

char* DescToChar ( const TDesC &  aDes  ) 

Converts a TDesC derived descriptor to a 'C' string.

Parameters:
aDes The descriptor to be converted.
Returns:
A pointer to the character array that stores the converted string.

Definition at line 32 of file hybridapp.cpp.

void PrintDriveInfoL ( const RFs &  aFs,
const TInt  aDriveNumber 
)

Prints the memory information for a drive.

Parameters:
aFs A handle to the file server session.
aDriveNumber The drive number of the drive.

Definition at line 65 of file hybridapp.cpp.

GLDEF_C TInt E32Main (  ) 

Returns standard error code on exit

Secure variant only Process entry point. Called by client using RProcess API

Returns:
Standard Epoc error code on process exit
Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API

Entry point for the example

A normal Symbian OS executable provides an E32Main() function which is called by the operating system to start the program.

The below section is added to make the code compatible with v9.1 This is because only exe files are compatible with v9.1

Definition at line 202 of file hybridapp.cpp.


Generated by  doxygen 1.6.2