mirror of
				https://github.com/stascorp/rdpwrap.git
				synced 2025-11-04 06:32:02 +00:00 
			
		
		
		
	dwResumeHandle initialized before calling EnumServicesStatusEx()
This commit is contained in:
		@@ -349,6 +349,8 @@ begin
 | 
			
		||||
    Halt(Code);
 | 
			
		||||
  end;
 | 
			
		||||
 | 
			
		||||
  dwResumeHandle:=0;
 | 
			
		||||
 | 
			
		||||
  SetLength(Svc, 1489);
 | 
			
		||||
  FillChar(Svc[0], sizeof(Svc[0])*Length(Svc), 0);
 | 
			
		||||
  if not EnumServicesStatusEx(hSC, SC_ENUM_PROCESS_INFO, SERVICE_WIN32, SERVICE_STATE_ALL,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user