Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Lista dos processos em execução

From Wiki
Jump to: navigation, search
Article Metadata

Artigo
Criado por cabezonxdg em 24 Apr 2008
Última alteração feita por hamishwillee em 10 Nov 2011
Obtenção da lista de processos em execução pelo sistema.
#include <e32base.h>
#include <e32cons.h>
 
TInt E32Main()
{
CConsoleBase* gConsole = NULL;
_LIT(KTituloConsole, "Aplicação console");
_LIT(KApp, "Aplicação: %S \n");
gConsole = Console::NewL(KTituloConsole, TSize(KConsFullScreen,KConsFullScreen));
TFindProcess acharProcesso;
TFullName nomeProcesso;
while( acharProcesso.Next(nomeProcesso) == KErrNone )
{
gConsole->Printf(KApp, &nomeProcesso);
}
gConsole->Getch();
 
return 1;
}
This page was last modified on 10 November 2011, at 04:20.
132 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×