reverted to buildable state

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4132 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
wj32
2011-03-09 07:15:21 +00:00
parent 8b3ea94312
commit d02af78065
3 changed files with 949 additions and 246 deletions
File diff suppressed because it is too large Load Diff
@@ -1431,7 +1431,7 @@ namespace ProcessHacker.Native.Objects
/// Gets the handles owned by the process.
/// </summary>
/// <returns>An array of handle information structures.</returns>
public KphProcessHandle[] GetHandles()
public ProcessHandleInformation[] GetHandles()
{
int returnLength = 0;
int attempts = 0;
@@ -1461,10 +1461,10 @@ namespace ProcessHacker.Native.Objects
}
int handleCount = data.ReadInt32(0);
KphProcessHandle[] handles = new KphProcessHandle[handleCount];
ProcessHandleInformation[] handles = new ProcessHandleInformation[handleCount];
for (int i = 0; i < handleCount; i++)
handles[i] = data.ReadStruct<KphProcessHandle>(sizeof(int), i);
handles[i] = data.ReadStruct<ProcessHandleInformation>(sizeof(int), i);
return handles;
}
@@ -3,7 +3,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{8A448157-E1A7-4DDF-954E-287F1117832B}</ProjectGuid>
<OutputType>Library</OutputType>