RStartProcess Class Reference

class RStartProcess

Starts a process and synchronise with it.

The process must support synchronisation via Randezvous

Member Functions Documentation

ErrorCode()

TInt ErrorCode ( ) const

Name()

TDesC & Name ( ) [inline]

Start(const TDesC &, TRequestStatus &)

IMPORT_C TInt Start ( const TDesC & aName,
TRequestStatus & aStatus
)

Starts the process asynchronously (using a thread)

Parameters

const TDesC & aName name of the process DLL/EXE
TRequestStatus & aStatus

Start(const TDesC &)

IMPORT_C TInt Start ( const TDesC & aName )

Parameters

const TDesC & aName

StartProcess()

TInt StartProcess ( ) [private]

Starts the process and waits for a completion

StartProcessThreadFn(TAny *)

TInt StartProcessThreadFn ( TAny * aStartProcess ) [private, static]

Parameters

TAny * aStartProcess

WaitForCompletion()

TInt WaitForCompletion ( ) [private]

Member Data Documentation

TInt iErrorCode

TInt iErrorCode [private]

TBufC< KMaxFileNameLength > iName

TBufC < KMaxFileNameLength > iName [private]

RProcess iProcess

RProcess iProcess [private]