PtrToUlong

UINT64 __stdcall PtrToUlong(PVOID p){
  return(unsigned int)p;
}

Referenced by:

NtSetInformationProcess
NtTraceControl