Ver Mensaje Individual
  #5  
Antiguo 18-06-2014
Avatar de escafandra
[escafandra] escafandra is offline
Miembro Premium
 
Registrado: nov 2007
Posts: 2.197
Reputación: 20
escafandra Tiene un aura espectacularescafandra Tiene un aura espectacular
Usa NtQueryInformationProcess

Código:
  
typedef struct _PROCESS_BASIC_INFORMATION {
    PVOID Reserved1;
    //PPEB PebBaseAddress;
    PVOID PebBaseAddress;
    PVOID Reserved2[2];
    ULONG_PTR UniqueProcessId;
    PVOID Reserved3;
} PROCESS_BASIC_INFORMATION;

PROCESS_BASIC_INFORMATION PBI;
NtQueryInformationProcess(GetCurrentProcess(), 0, &PBI, sizeof(PBI), 0);

Saludos.
Responder Con Cita