Ignore:
Timestamp:
5/16/2010 11:06:43 AM (2 years ago)
Author:
lowjoel
Message:

Use discrete types where possible:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.Util.Native/OpenHandle.h

    r2032 r2148  
    2727using namespace System::Collections::Generic; 
    2828using namespace System::Collections::ObjectModel; 
     29using namespace System::Diagnostics; 
    2930using namespace Microsoft::Win32::SafeHandles; 
    3031 
     
    9697        /// The process ID of the process owning the handle. 
    9798        /// </summary> 
    98         property int ProcessId 
     99        property Process^ Process 
    99100        { 
    100             int get() 
     101            System::Diagnostics::Process^ get() 
    101102            { 
    102                 return processId; 
     103                return System::Diagnostics::Process::GetProcessById(processId); 
    103104            } 
    104105        }; 
Note: See TracChangeset for help on using the changeset viewer.