Changeset 2148 for trunk/eraser/Eraser.Util.Native/OpenHandle.h
- Timestamp:
- 5/16/2010 11:06:43 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/eraser/Eraser.Util.Native/OpenHandle.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser/Eraser.Util.Native/OpenHandle.h
r2032 r2148 27 27 using namespace System::Collections::Generic; 28 28 using namespace System::Collections::ObjectModel; 29 using namespace System::Diagnostics; 29 30 using namespace Microsoft::Win32::SafeHandles; 30 31 … … 96 97 /// The process ID of the process owning the handle. 97 98 /// </summary> 98 property int ProcessId99 property Process^ Process 99 100 { 100 intget()101 System::Diagnostics::Process^ get() 101 102 { 102 return processId;103 return System::Diagnostics::Process::GetProcessById(processId); 103 104 } 104 105 };
Note: See TracChangeset
for help on using the changeset viewer.
