示例#1
0
 internal TraceClient(
     Native.TraceFileHandle Handle,
     JPTRCR_CLIENT Client
     )
 {
     this.Handle = Handle;
     this.Client = Client;
 }
示例#2
0
 internal TraceCall(
     Native.TraceFileHandle Handle,
     JPTRCR_CALL Call,
     JPTRCR_MODULE Module,
     SYMBOL_INFO SymInfo)
 {
     this.Handle    = Handle;
     this.Function  = SymInfo.Name;
     this.Call      = Call;
     this.Module    = Module;
     this.EntryType = ( JPTRCR_CALL_ENTRY_TYPE )Call.EntryType;
 }
示例#3
0
        public TraceFile(string Path)
        {
            IntPtr RawHandle;
            int    Hr = Native.JptrcrOpenFile(
                Path,
                out RawHandle);

            if (Hr < 0)
            {
                throw new Win32Exception(Hr);
            }

            this.Handle = new Native.TraceFileHandle(RawHandle);
        }
示例#4
0
 internal extern static int JptrcrEnumChildCalls(
     Native.TraceFileHandle FileHandle,
     ref JPTRCR_CALL_HANDLE CallerHandle,
     IntPtr Callback,
     IntPtr Context);
示例#5
0
 internal extern static int JptrcrEnumCalls(
     Native.TraceFileHandle FileHandle,
     ref JPTRCR_CLIENT Client,
     IntPtr Callback,
     IntPtr Context);
示例#6
0
 internal extern static int JptrcrEnumClients(
     Native.TraceFileHandle FileHandle,
     IntPtr Callback,
     IntPtr Context);
示例#7
0
文件: Native.cs 项目: ryoon/ntrace
        public TraceFile(string Path)
        {
            IntPtr RawHandle;
            int Hr = Native.JptrcrOpenFile(
                Path,
                out RawHandle);
            if (Hr < 0)
            {
                throw new Win32Exception(Hr);
            }

            this.Handle = new Native.TraceFileHandle(RawHandle);
        }
示例#8
0
文件: Native.cs 项目: ryoon/ntrace
 internal TraceClient(
     Native.TraceFileHandle Handle,
     JPTRCR_CLIENT Client
     )
 {
     this.Handle = Handle;
     this.Client = Client;
 }
示例#9
0
文件: Native.cs 项目: ryoon/ntrace
 internal TraceCall(
     Native.TraceFileHandle Handle,
     JPTRCR_CALL Call,
     JPTRCR_MODULE Module,
     SYMBOL_INFO SymInfo)
 {
     this.Handle = Handle;
     this.Function = SymInfo.Name;
     this.Call = Call;
     this.Module = Module;
     this.EntryType = ( JPTRCR_CALL_ENTRY_TYPE ) Call.EntryType;
 }