title: How to define, DEP is ON in system
body: <p>DelphiXe; Xp,Vista,Win7,WSrv2008R2;</p>
  
  <p><img src="https://i.stack.imgur.com/kT2QY.gif" alt="enter image description here"></p>
  
  <p>0.DEP(Data Execution Prevention) CPU supported</p>
  
  <pre><code>Function isCpuDEP:bool; 
  begin
  Result:=... //???
  end;
  </code></pre>
  
  <p>1.How to define, DEP is ON in system? </p>
  
  <pre><code>Function isEnableDEP:bool; // Win Xp comparable
  begin
  Result:=false;if isCpuDEP=false then exit;
  Result:=... //???
  end;
  </code></pre>
  
  <p>2.To define, that if DEP it is enabled, and also enabled for ALL programs and services?</p>
  
  <pre><code>Function isEnableDEPForAllProgram:bool;
  begin
  Result:=false;if isEnableDEP=false then exit;
  Result:=... //???
  end;
  </code></pre>
  
  <p>3.Get DEP program list? </p>
  
  <pre><code>Function GetDEPProgramList:TStringList;
  begin
  Result:=nil;if isEnableDEPForAllProgram=false then exit;
  Result:=Tstringlist.Create;
  Result:=... //???
  end;
  </code></pre>