ReactOS  0.4.14-dev-57-g333b8f1
cordebug.idl
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2011 Alistair Leslie-Hughes
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 import "unknwn.idl";
20 import "objidl.idl";
21 
22 cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
23 cpp_quote("#undef CreateProcess")
24 cpp_quote("#endif")
25 
63 
64 
65 typedef [wire_marshal(unsigned long)] void *HPROCESS;
66 typedef [wire_marshal(unsigned long)] void *HTHREAD;
67 
68 /* These are defined in corhrd.idl but used here. */
69 cpp_quote("#if 0")
70 
71 typedef UINT32 mdToken;
72 typedef mdToken mdModule;
73 typedef SIZE_T mdScope;
82 
84 
87 
88 cpp_quote("#endif")
89 
92 
93 typedef UINT64 TASKID;
94 typedef DWORD CONNID;
95 
96 
97 cpp_quote("#ifndef _COR_IL_MAP")
98 cpp_quote("#define _COR_IL_MAP")
99 
101 {
105 } COR_IL_MAP;
106 
107 cpp_quote("#endif /* _COR_IL_MAP */")
108 
109 cpp_quote("#ifndef _COR_DEBUG_IL_TO_NATIVE_MAP_")
110 cpp_quote("#define _COR_DEBUG_IL_TO_NATIVE_MAP_")
111 
113 {
115  PROLOG = -2,
116  EPILOG = -3
118 
120 {
125 
126 cpp_quote("#endif /* _COR_DEBUG_IL_TO_NATIVE_MAP_ */")
127 
128 
130 {
134 
136 {
139 
140 [
141  object,
142  local,
143  uuid(CC7BCAF7-8A68-11d2-983C-0000F808342D),
145 ]
147 {
148  HRESULT GetType([out] CorElementType *pType);
149  HRESULT GetSize([out] ULONG32 *pSize);
150  HRESULT GetAddress([out] CORDB_ADDRESS *pAddress);
152 };
153 
154 [
155  object,
156  local,
157  uuid(938c6d66-7fb6-4f69-b389-425b8987329b),
159 ]
161 {
162  HRESULT GetProcess([out] ICorDebugProcess **ppProcess);
163  HRESULT GetID([out] DWORD *pdwThreadId);
164  HRESULT GetHandle([out] HTHREAD *phThreadHandle);
165  HRESULT GetAppDomain([out] ICorDebugAppDomain **ppAppDomain);
168 
169  typedef enum CorDebugUserState
170  {
175  USER_STOPPED = 0x10,
178 
181 
183  HRESULT GetCurrentException([out] ICorDebugValue **ppExceptionObject);
185  HRESULT CreateStepper([out] ICorDebugStepper **ppStepper);
190  HRESULT CreateEval([out] ICorDebugEval **ppEval);
191  HRESULT GetObject([out] ICorDebugValue **ppObject);
192 };
193 
194 [
195  object,
196  local,
197  uuid(3d6f5f62-7538-11d3-8d5b-00104b35e7ef),
199 ]
200 
202 {
203  HRESULT Stop([in] DWORD dwTimeoutIgnored);
204  HRESULT Continue([in] BOOL fIsOutOfBand);
205  HRESULT IsRunning([out] BOOL *pbRunning);
207  [out] BOOL *pbQueued);
210  [in] ICorDebugThread *pExceptThisThread);
211  HRESULT Detach();
212  HRESULT Terminate([in] UINT exitCode);
213  HRESULT CanCommitChanges([in] ULONG cSnapshots,
214  [in] ICorDebugEditAndContinueSnapshot *pSnapshots[],
215  [out] ICorDebugErrorInfoEnum **pError);
216  HRESULT CommitChanges([in] ULONG cSnapshots,
217  [in] ICorDebugEditAndContinueSnapshot *pSnapshots[],
218  [out] ICorDebugErrorInfoEnum **pError);
219 };
220 
221 [
222  object,
223  local,
224  uuid(3d6f5f64-7538-11d3-8d5b-00104b35e7ef),
226 ]
228 {
229  HRESULT GetID([out] DWORD *pdwProcessId);
230  HRESULT GetHandle([out] HPROCESS *phProcessHandle);
233  HRESULT IsTransitionStub([in] CORDB_ADDRESS address, [out] BOOL *pbTransitionStub);
234  HRESULT IsOSSuspended([in] DWORD threadID, [out] BOOL *pbSuspended);
235  HRESULT GetThreadContext([in] DWORD threadID, [in] ULONG32 contextSize,
236  [in, out] BYTE context[]);
237  HRESULT SetThreadContext([in] DWORD threadID, [in] ULONG32 contextSize, [in] BYTE context[]);
241  HRESULT EnableLogMessages([in]BOOL fOnOff);
242  HRESULT ModifyLogSwitch([in] WCHAR *pLogSwitchName,
243  [in]LONG lLevel);
245  HRESULT GetObject([out] ICorDebugValue **ppObject);
246  HRESULT ThreadForFiberCookie([in] DWORD fiberCookie, [out] ICorDebugThread **ppThread);
247  HRESULT GetHelperThreadID([out] DWORD *pThreadID);
248 };
249 
250 [
251  object,
252  local,
253  uuid(3d6f5f63-7538-11d3-8d5b-00104b35e7ef),
255 ]
257 {
258  HRESULT GetProcess([out] ICorDebugProcess **ppProcess);
261  [out] ICorDebugModule **ppModule);
264  HRESULT IsAttached([out] BOOL *pbAttached);
265  HRESULT GetName([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out] WCHAR szName[]);
266  HRESULT GetObject([out] ICorDebugValue **ppObject);
267  HRESULT Attach();
268  HRESULT GetID([out] ULONG32 *pId);
269 };
270 
271 [
272  object,
273  local,
274  uuid(3d6f5f60-7538-11d3-8d5b-00104b35e7ef),
276 ]
278 {
279  HRESULT Breakpoint([in] ICorDebugAppDomain *pAppDomain,
280  [in] ICorDebugThread *pThread,
281  [in] ICorDebugBreakpoint *pBreakpoint);
282 
283  typedef enum CorDebugStepReason
284  {
293 
294  HRESULT StepComplete([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread,
296  HRESULT Break([in] ICorDebugAppDomain *pAppDomain,
298  HRESULT Exception([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread,
299  [in] BOOL unhandled);
300  HRESULT EvalComplete([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread,
301  [in] ICorDebugEval *pEval);
302  HRESULT EvalException([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread,
303  [in] ICorDebugEval *pEval);
305  HRESULT ExitProcess([in] ICorDebugProcess *pProcess);
308  HRESULT LoadModule([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugModule *pModule);
309  HRESULT UnloadModule([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugModule *pModule);
312  HRESULT DebuggerError([in] ICorDebugProcess *pProcess, [in] HRESULT errorHR,
313  [in] DWORD errorCode);
314 
315  typedef enum LoggingLevelEnum
316  {
331 
332  typedef enum LogSwitchCallReason
333  {
338 
339  HRESULT LogMessage([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread,
340  [in] LONG lLevel, [in] WCHAR *pLogSwitchName, [in] WCHAR *pMessage);
341  HRESULT LogSwitch([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread,
342  [in] LONG lLevel, [in] ULONG ulReason, [in] WCHAR *pLogSwitchName,
343  [in] WCHAR *pParentName);
344  HRESULT CreateAppDomain([in] ICorDebugProcess *pProcess, [in] ICorDebugAppDomain *pAppDomain);
345  HRESULT ExitAppDomain([in] ICorDebugProcess *pProcess, [in] ICorDebugAppDomain *pAppDomain);
346  HRESULT LoadAssembly([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugAssembly *pAssembly);
347  HRESULT UnloadAssembly([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugAssembly *pAssembly);
349  HRESULT NameChange([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread);
351  [in] IStream *pSymbolStream);
353  [in] ICorDebugFunction *pFunction, [in] BOOL fAccurate);
354 
356  [in] ICorDebugBreakpoint *pBreakpoint, [in] DWORD dwError);
357 };
358 
359 [
360  object,
361  local,
362  uuid(250E5EEA-DB5C-4C76-B6F3-8C46F12E3203),
364 ]
366 {
368  [in] ICorDebugThread *pThread, [in] ICorDebugFunction *pOldFunction,
369  [in] ICorDebugFunction *pNewFunction, [in] ULONG32 oldILOffset);
370 
371  HRESULT CreateConnection([in] ICorDebugProcess *pProcess, [in] CONNID dwConnectionId,
372  [in] WCHAR *pConnName);
373 
374  HRESULT ChangeConnection([in] ICorDebugProcess *pProcess, [in] CONNID dwConnectionId );
375 
376  HRESULT DestroyConnection([in] ICorDebugProcess *pProcess, [in] CONNID dwConnectionId );
377 
378 
380  {
386 
388  {
391 
392  HRESULT Exception( [in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread,
393  [in] ICorDebugFrame *pFrame, [in] ULONG32 nOffset,
394  [in] CorDebugExceptionCallbackType dwEventType, [in] DWORD dwFlags );
395 
397  {
401 
402  HRESULT ExceptionUnwind( [in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread,
404  [in] DWORD dwFlags );
405 
407  [in] ICorDebugThread *pThread, [in] ICorDebugFunction *pFunction);
408 
410  [in] ICorDebugThread *pThread, [in] ICorDebugMDA * pMDA
411  );
412 
413 };
414 [
415  object,
416  local,
417  uuid(3d6f5f61-7538-11d3-8d5b-00104b35e7ef),
419 ]
420 interface ICorDebug : IUnknown
421 {
423  HRESULT Terminate();
426  HRESULT CreateProcess([in] LPCWSTR lpApplicationName, [in] LPWSTR lpCommandLine,
427  [in] LPSECURITY_ATTRIBUTES lpProcessAttributes,
428  [in] LPSECURITY_ATTRIBUTES lpThreadAttributes,
429  [in] BOOL bInheritHandles, [in] DWORD dwCreationFlags,
430  [in] PVOID lpEnvironment, [in] LPCWSTR lpCurrentDirectory,
431  [in] LPSTARTUPINFOW lpStartupInfo,
432  [in] LPPROCESS_INFORMATION lpProcessInformation,
433  [in] CorDebugCreateProcessFlags debuggingFlags,
434  [out] ICorDebugProcess **ppProcess);
435 
436  HRESULT DebugActiveProcess([in] DWORD id, [in] BOOL win32Attach,
437  [out] ICorDebugProcess **ppProcess);
439  HRESULT GetProcess([in] DWORD dwProcessId, [out] ICorDebugProcess **ppProcess);
440  HRESULT CanLaunchOrAttach([in] DWORD dwProcessId, [in] BOOL win32DebuggingEnabled);
441 };
442 
443 
444 [
445  object,
446  local,
447  uuid(CC7BCAE8-8A68-11d2-983C-0000F808342D),
449 ]
451 {
452  HRESULT Activate([in] BOOL bActive);
453  HRESULT IsActive([out] BOOL *pbActive);
454 };
455 
456 [
457  object,
458  local,
459  uuid(CC7BCAE9-8A68-11d2-983C-0000F808342D),
461 ]
463 {
464  HRESULT GetFunction([out] ICorDebugFunction **ppFunction);
465  HRESULT GetOffset([out] ULONG32 *pnOffset);
466 };
467 
468 [
469  object,
470  local,
471  uuid(CC7BCAEA-8A68-11d2-983C-0000F808342D),
473 ]
475 {
476  HRESULT GetModule([out] ICorDebugModule **ppModule);
477 };
478 
479 [
480  object,
481  local,
482  uuid(CC7BCAEB-8A68-11d2-983C-0000F808342D),
484 ]
486 {
487  HRESULT GetValue([out] ICorDebugValue **ppValue);
488 };
489 
490 [
491  object,
492  local,
493  uuid(CC7BCAEC-8A68-11d2-983C-0000F808342D),
495 ]
497 {
498  HRESULT IsActive([out] BOOL *pbActive);
500 
501  typedef enum CorDebugIntercept
502  {
509  INTERCEPT_ALL = 0xffff
511 
513 
514  typedef enum CorDebugUnmappedStop
515  {
516  STOP_NONE = 0x0,
517  STOP_PROLOG = 0x01,
518  STOP_EPILOG = 0x02,
522 
523  STOP_ALL = 0xffff,
524 
526 
528  HRESULT Step([in] BOOL bStepIn);
529 
530  typedef struct COR_DEBUG_STEP_RANGE
531  {
534 
535  HRESULT StepRange([in] BOOL bStepIn, [in] COR_DEBUG_STEP_RANGE ranges[], [in] ULONG32 cRangeCount);
536  HRESULT StepOut();
537  HRESULT SetRangeIL([in] BOOL bIL);
538 };
539 
540 [
541  object,
542  local,
543  uuid(CC7BCB01-8A68-11d2-983C-0000F808342D),
545 ]
547 {
548  HRESULT Skip([in] ULONG celt);
549  HRESULT Reset();
550  HRESULT Clone([out] ICorDebugEnum **ppEnum);
551  HRESULT GetCount([out] ULONG *pcelt);
552 };
553 
554 [
555  object,
556  local,
557  uuid(63ca1b24-4359-4883-bd57-13f815f58744),
559 ]
560 
562 {
563  HRESULT Next([in] ULONG celt, [out] ICorDebugAppDomain *values[], [out] ULONG *pceltFetched);
564 
565 };
566 
567 [
568  object,
569  local,
570  uuid(4a2a1ec9-85ec-4bfb-9f15-a89fdfe0fe83),
572 ]
574 {
575  HRESULT Next([in] ULONG celt, [out] ICorDebugAssembly *values[], [out] ULONG *pceltFetched);
576 
577 };
578 
579 [
580  object,
581  local,
582  uuid(CC7BCB03-8A68-11d2-983C-0000F808342D),
584 ]
586 {
587  HRESULT Next([in] ULONG celt, [out] ICorDebugBreakpoint *breakpoints[], [out] ULONG *pceltFetched);
588 };
589 
590 [
591  object,
592  local,
593  uuid(CC7BCB08-8A68-11d2-983C-0000F808342D),
595 ]
597 {
598  HRESULT Next([in] ULONG celt, [out] ICorDebugChain *chains[], [out] ULONG *pceltFetched);
599 };
600 
601 [
602  object,
603  local,
604  uuid(F0E18809-72B5-11d2-976F-00A0C9B4D50C),
606 ]
608 {
610  [out] ULONG *pceltFetched);
611 };
612 
613 [
614  object,
615  local,
616  uuid(CC7BCB07-8A68-11d2-983C-0000F808342D),
618 ]
620 {
621  HRESULT Next([in] ULONG celt, [out] ICorDebugFrame *frames[], [out] ULONG *pceltFetched);
622 };
623 
624 [
625  object,
626  local,
627  uuid(CC7BCB09-8A68-11d2-983C-0000F808342D),
629 ]
631 {
632  HRESULT Next([in] ULONG celt, [out] ICorDebugModule *modules[], [out] ULONG *pceltFetched);
633 };
634 
635 [
636  object,
637  local,
638  uuid(CC7BCB02-8A68-11d2-983C-0000F808342D),
640 ]
642 {
643  HRESULT Next([in] ULONG celt, [out] CORDB_ADDRESS objects[], [out] ULONG *pceltFetched);
644 };
645 
646 [
647  object,
648  local,
649  uuid(CC7BCB05-8A68-11d2-983C-0000F808342D),
651 ]
653 {
654  HRESULT Next([in] ULONG celt, [out] ICorDebugProcess *processes[], [out] ULONG *pceltFetched);
655 };
656 
657 [
658  object,
659  local,
660  uuid(CC7BCB04-8A68-11d2-983C-0000F808342D),
662 ]
664 {
665  HRESULT Next([in] ULONG celt, [out] ICorDebugStepper *steppers[], [out] ULONG *pceltFetched);
666 };
667 
668 [
669  object,
670  local,
671  uuid(CC7BCB06-8A68-11d2-983C-0000F808342D),
673 ]
675 {
676  HRESULT Next([in] ULONG celt, [out] ICorDebugThread *threads[], [out] ULONG *pceltFetched);
677 };
678 
679 [
680  object,
681  local,
682  uuid(CC7BCAEE-8A68-11d2-983C-0000F808342D),
684 ]
686 {
687  HRESULT GetThread([out] ICorDebugThread **ppThread);
689  HRESULT GetContext([out] ICorDebugContext **ppContext);
690  HRESULT GetCaller([out] ICorDebugChain **ppChain);
691  HRESULT GetCallee([out] ICorDebugChain **ppChain);
692  HRESULT GetPrevious([out] ICorDebugChain **ppChain);
693  HRESULT GetNext([out] ICorDebugChain **ppChain);
694  HRESULT IsManaged([out] BOOL *pManaged);
698  typedef enum CorDebugChainReason
699  {
700  CHAIN_NONE = 0x000,
703  CHAIN_SECURITY = 0x004,
714 
716 };
717 
718 [
719  object,
720  local,
721  uuid(CC7BCAEF-8A68-11d2-983C-0000F808342D),
723 ]
725 {
726  HRESULT GetChain([out] ICorDebugChain **ppChain);
727  HRESULT GetCode([out] ICorDebugCode **ppCode);
728  HRESULT GetFunction([out] ICorDebugFunction **ppFunction);
731  HRESULT GetCaller([out] ICorDebugFrame **ppFrame);
732  HRESULT GetCallee([out] ICorDebugFrame **ppFrame);
733  HRESULT CreateStepper([out] ICorDebugStepper **ppStepper);
734 };
735 
736 
737 [
738  object,
739  local,
740  uuid(CC7BCB0B-8A68-11d2-983C-0000F808342D),
742 ]
744 {
745  typedef enum CorDebugRegister
746  {
750 
754 
759 
762 
771 
775 
780 
783 
792 
809 
811 
814 
816 
817  HRESULT GetRegistersAvailable([out] ULONG64 *pAvailable);
818 
819  HRESULT GetRegisters([in] ULONG64 mask, [in] ULONG32 regCount,
820  [out] CORDB_REGISTER regBuffer[]);
821  HRESULT SetRegisters([in] ULONG64 mask, [in] ULONG32 regCount,
822  [in] CORDB_REGISTER regBuffer[]);
823  HRESULT GetThreadContext([in] ULONG32 contextSize, [in, out] BYTE context[]);
824  HRESULT SetThreadContext([in] ULONG32 contextSize, [in] BYTE context[]);
825 }
826 
827 [
828  object,
829  local,
830  uuid(CC7BCAF6-8A68-11d2-983C-0000F808342D),
832 ]
834 {
835  HRESULT CallFunction([in] ICorDebugFunction *pFunction, [in] ULONG32 nArgs,
836  [in] ICorDebugValue *ppArgs[]);
837  HRESULT NewObject([in] ICorDebugFunction *pConstructor, [in] ULONG32 nArgs,
838  [in] ICorDebugValue *ppArgs[]);
840  HRESULT NewString([in] LPCWSTR string);
841  HRESULT NewArray([in] CorElementType elementType, [in] ICorDebugClass *pElementClass,
842  [in] ULONG32 rank, [in] ULONG32 dims[], [in] ULONG32 lowBounds[]);
843  HRESULT IsActive([out] BOOL *pbActive);
844  HRESULT Abort();
845  HRESULT GetResult([out] ICorDebugValue **ppResult);
846  HRESULT GetThread([out] ICorDebugThread **ppThread);
847  HRESULT CreateValue([in] CorElementType elementType, [in] ICorDebugClass *pElementClass,
848  [out] ICorDebugValue **ppValue);
849 };
850 
851 [
852  object,
853  local,
854  uuid(6DC3FA01-D7CB-11d2-8A95-0080C792E5D8),
856 ]
858 {
859  HRESULT CopyMetaData([in] IStream *pIStream, [out] GUID *pMvid);
860  HRESULT GetMvid([out] GUID *pMvid);
861  HRESULT GetRoDataRVA([out] ULONG32 *pRoDataRVA);
862  HRESULT GetRwDataRVA([out] ULONG32 *pRwDataRVA);
863  HRESULT SetPEBytes([in] IStream *pIStream);
864  HRESULT SetILMap([in] mdToken mdFunction, [in] ULONG cMapSize, [in] COR_IL_MAP map[]);
865  HRESULT SetPESymbolBytes([in] IStream *pIStream);
866 };
867 
868 [
869  object,
870  local,
871  uuid(dba2d8c1-e5c5-4069-8c13-10a7c6abf43d),
873 ]
875 {
876  HRESULT GetProcess([out] ICorDebugProcess **ppProcess);
878  HRESULT GetAssembly([out] ICorDebugAssembly **ppAssembly);
879  HRESULT GetName([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out] WCHAR szName[]);
880  HRESULT EnableJITDebugging([in] BOOL bTrackJITInfo, [in] BOOL bAllowJitOpts);
881  HRESULT EnableClassLoadCallbacks([in] BOOL bClassLoadCallbacks);
882  HRESULT GetFunctionFromToken([in] mdMethodDef methodDef, [out] ICorDebugFunction **ppFunction);
884  HRESULT GetClassFromToken([in] mdTypeDef typeDef, [out] ICorDebugClass **ppClass);
888  HRESULT GetToken([out] mdModule *pToken);
889  HRESULT IsDynamic([out] BOOL *pDynamic);
891  HRESULT GetSize([out] ULONG32 *pcBytes);
892  HRESULT IsInMemory([out] BOOL *pInMemory);
893 };
894 
895 [
896  object,
897  local,
898  uuid(CC7BCAF5-8A68-11d2-983C-0000F808342D),
900 ]
902 {
903  HRESULT GetModule([out] ICorDebugModule **pModule);
904  HRESULT GetToken([out] mdTypeDef *pTypeDef);
906  [out] ICorDebugValue **ppValue);
907 };
908 
909 [
910  object,
911  local,
912  uuid(df59507c-d47a-459e-bce2-6427eac8fd06),
914 ]
916 {
917  HRESULT GetProcess([out] ICorDebugProcess **ppProcess);
918  HRESULT GetAppDomain([out] ICorDebugAppDomain **ppAppDomain);
921  HRESULT GetName([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out] WCHAR szName[]);
922 };
923 
924 
925 [
926  object,
927  local,
928  uuid(CC7BCAF3-8A68-11d2-983C-0000F808342D),
930 ]
932 {
933  HRESULT GetModule([out] ICorDebugModule **ppModule);
934  HRESULT GetClass([out] ICorDebugClass **ppClass);
935  HRESULT GetToken([out] mdMethodDef *pMethodDef);
936  HRESULT GetILCode([out] ICorDebugCode **ppCode);
940  HRESULT GetCurrentVersionNumber([out] ULONG32 *pnCurrentVersion);
941 };
942 
943 [
944  object,
945  local,
946  uuid(5263E909-8CB5-11d3-BD2F-0000F80849BD),
948 ]
950 {
951  HRESULT DebugEvent([in] LPDEBUG_EVENT pDebugEvent, [in] BOOL fOutOfBand);
952 };
953 
954 [
955  object,
956  local,
957  uuid(8D600D41-F4F6-4cb3-B7EC-7BD164944036),
959 ]
961 {
962  HRESULT GetModule([out] ICorDebugModule **ppModule);
963  HRESULT GetToken([out]mdToken *pToken);
965  HRESULT GetString([in] ULONG32 cchString, [out] ULONG32 *pcchString,
966  [out] WCHAR szString[]);
967 }
968 
969 [
970  object,
971  local,
972  uuid(18AD3D6E-B7D2-11d2-BD04-0000F80849BD),
974 ]
976 {
977  HRESULT GetClass([out] ICorDebugClass **ppClass);
978  HRESULT GetFieldValue([in] ICorDebugClass *pClass, [in] mdFieldDef fieldDef,
979  [out] ICorDebugValue **ppValue);
980  HRESULT GetVirtualMethod([in] mdMemberRef memberRef, [out] ICorDebugFunction **ppFunction);
981  HRESULT GetContext([out] ICorDebugContext **ppContext);
982  HRESULT IsValueClass([out] BOOL *pbIsValueClass);
983  HRESULT GetManagedCopy([out] IUnknown **ppObject);
985 };
986 
987 [
988  object,
989  local,
990  uuid(CC7BCB00-8A68-11d2-983C-0000F808342D),
992 ]
994 {
995 };
996 
997 [
998  object,
999  local,
1000  uuid(CC7BCAF4-8A68-11d2-983C-0000F808342D),
1002 ]
1004 {
1005  HRESULT IsIL([out] BOOL *pbIL);
1006  HRESULT GetFunction([out] ICorDebugFunction **ppFunction);
1007  HRESULT GetAddress([out] CORDB_ADDRESS *pStart);
1008  HRESULT GetSize([out] ULONG32 *pcBytes);
1010  HRESULT GetCode([in] ULONG32 startOffset, [in] ULONG32 endOffset,
1011  [in] ULONG32 cBufferAlloc, [out] BYTE buffer[], [out] ULONG32 *pcBufferSize);
1012  HRESULT GetVersionNumber([out] ULONG32 *nVersion);
1013  HRESULT GetILToNativeMapping([in] ULONG32 cMap, [out] ULONG32 *pcMap,
1016  [out] ULONG32 offsets[]);
1017 };
1018 
1019 [
1020  object,
1021  local,
1022  uuid(CC726F2F-1DB7-459b-B0EC-05F01D841B42),
1024 ]
1026 {
1027  HRESULT GetName([in] ULONG32 cchName, [out] ULONG32 * pcchName, [out] WCHAR szName[]);
1028 
1030 
1031  HRESULT GetXML([in] ULONG32 cchName, [out] ULONG32 * pcchName, [out] WCHAR szName[]);
1032 
1033  typedef enum CorDebugMDAFlags
1034  {
1036  } CorDebugMDAFlags;
1037 
1038  HRESULT GetFlags([in] CorDebugMDAFlags * pFlags);
1039 
1040  HRESULT GetOSThreadId([out] DWORD * pOsTid);
1041 };
HRESULT GetModule([out] ICorDebugModule **pModule)
HRESULT ControlCTrap([in] ICorDebugProcess *pProcess)
HRESULT ExceptionUnwind([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] CorDebugExceptionUnwindCallbackType dwEventType, [in] DWORD dwFlags)
HRESULT CreateStepper([out] ICorDebugStepper **ppStepper)
HRESULT GetFunction([out] ICorDebugFunction **ppFunction)
HRESULT Terminate()
HRESULT GetSize([out] ULONG32 *pcBytes)
HRESULT StepRange([in] BOOL bStepIn, [in] COR_DEBUG_STEP_RANGE ranges[], [in] ULONG32 cRangeCount)
HRESULT GetOSThreadId([out] DWORD *pOsTid)
HRESULT StepComplete([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] ICorDebugStepper *pStepper, [in] CorDebugStepReason reason)
HRESULT GetID([out] DWORD *pdwThreadId)
HRESULT Next([in] ULONG celt, [out] ICorDebugAssembly *values[], [out] ULONG *pceltFetched)
HRESULT Breakpoint([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] ICorDebugBreakpoint *pBreakpoint)
HRESULT IsRunning([out] BOOL *pbRunning)
ULONG32 newOffset
Definition: cordebug.idl:103
#define REFIID
Definition: guiddef.h:118
HRESULT GetILCode([out] ICorDebugCode **ppCode)
HRESULT CallFunction([in] ICorDebugFunction *pFunction, [in] ULONG32 nArgs, [in] ICorDebugValue *ppArgs[])
unsigned int ULONG32
Definition: basetsd.h:125
HRESULT CreateBreakpoint([out] ICorDebugFunctionBreakpoint **ppBreakpoint)
SIZE_T mdScope
Definition: cordebug.idl:73
HRESULT SetUnmappedStopMask([in] CorDebugUnmappedStop mask)
SIZE_T PCCOR_SIGNATURE
Definition: cordebug.idl:81
HRESULT NameChange([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread)
HRESULT GetReason([out] CorDebugChainReason *pReason)
HRESULT GetObject([out] ICorDebugValue **ppObject)
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
HRESULT GetCaller([out] ICorDebugChain **ppChain)
HRESULT CreateConnection([in] ICorDebugProcess *pProcess, [in] CONNID dwConnectionId, [in] WCHAR *pConnName)
HRESULT GetActiveChain([out] ICorDebugChain **ppChain)
HRESULT GetMvid([out] GUID *pMvid)
Definition: http.c:6587
HRESULT GetNativeCode([out] ICorDebugCode **ppCode)
HRESULT EnumerateBreakpoints([out] ICorDebugBreakpointEnum **ppBreakpoints)
REFIID riid
Definition: precomp.h:44
HRESULT Break([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *thread)
HRESULT GetToken([out]mdToken *pToken)
HRESULT UnloadAssembly([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugAssembly *pAssembly)
HRESULT CreateThread([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *thread)
HRESULT GetToken([out] mdModule *pToken)
HRESULT GetAddress([out] CORDB_ADDRESS *pAddress)
ULONG64 CORDB_REGISTER
Definition: cordebug.idl:91
HRESULT IsDynamic([out] BOOL *pDynamic)
HRESULT DebugActiveProcess([in] DWORD id, [in] BOOL win32Attach, [out] ICorDebugProcess **ppProcess)
HRESULT ExitProcess([in] ICorDebugProcess *pProcess)
HRESULT GetVirtualMethod([in] mdMemberRef memberRef, [out] ICorDebugFunction **ppFunction)
HRESULT EvalException([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] ICorDebugEval *pEval)
HRESULT EnumerateThreads([out] ICorDebugThreadEnum **ppThreads)
GLboolean GLenum GLenum GLvoid * values
Definition: glext.h:5666
ULONG32 oldOffset
Definition: cordebug.idl:102
GLintptr offset
Definition: glext.h:5920
SIZE_T LPPROCESS_INFORMATION
Definition: cordebug.idl:86
HRESULT GetModule([out] ICorDebugModule **ppModule)
DWORD CONNID
Definition: cordebug.idl:94
HRESULT MDANotification([in] ICorDebugController *pController, [in] ICorDebugThread *pThread, [in] ICorDebugMDA *pMDA)
HRESULT Next([in] ULONG celt, [out] ICorDebugProcess *processes[], [out] ULONG *pceltFetched)
HRESULT CommitChanges([in] ULONG cSnapshots, [in] ICorDebugEditAndContinueSnapshot *pSnapshots[], [out] ICorDebugErrorInfoEnum **pError)
HRESULT EnumerateProcesses([out] ICorDebugProcessEnum **ppProcess)
HRESULT SetManagedHandler([in] ICorDebugManagedCallback *pCallback)
HRESULT Skip([in] ULONG celt)
HRESULT LoadClass([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugClass *c)
GLuint buffer
Definition: glext.h:5915
SIZE_T LPSTARTUPINFOW
Definition: cordebug.idl:85
HRESULT GetRwDataRVA([out] ULONG32 *pRwDataRVA)
HRESULT GetCode([in] ULONG32 startOffset, [in] ULONG32 endOffset, [in] ULONG32 cBufferAlloc, [out] BYTE buffer[], [out] ULONG32 *pcBufferSize)
mdToken mdTypeDef
Definition: cordebug.idl:74
HRESULT UnloadModule([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugModule *pModule)
HRESULT SetPEBytes([in] IStream *pIStream)
HRESULT Continue([in] BOOL fIsOutOfBand)
HRESULT Deactivate()
HRESULT Initialize()
HRESULT ModifyLogSwitch([in] WCHAR *pLogSwitchName, [in]LONG lLevel)
HRESULT UpdateModuleSymbols([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugModule *pModule, [in] IStream *pSymbolStream)
HRESULT DestroyConnection([in] ICorDebugProcess *pProcess, [in] CONNID dwConnectionId)
HRESULT EnumerateModules([out] ICorDebugModuleEnum **ppModules)
HRESULT CreateBreakpoint([out] ICorDebugValueBreakpoint **ppBreakpoint)
HRESULT IsActive([out] BOOL *pbActive)
HRESULT GetLocalVarSigToken([out] mdSignature *pmdSig)
HRESULT GetFunction([out] ICorDebugFunction **ppFunction)
_In_ DWORD _In_ DWORD _Out_writes_to_opt_ pcchString LPSTR _Inout_ DWORD * pcchString
Definition: wincrypt.h:4509
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
HRESULT GetThread([out] ICorDebugThread **ppThread)
HRESULT GetAppDomain([out] ICorDebugAppDomain **ppAppDomain)
HRESULT Clone([out] ICorDebugEnum **ppEnum)
HRESULT GetCount([out] ULONG *pcelt)
HRESULT GetSize([out] ULONG32 *pcBytes)
HRESULT CreateProcess([in] LPCWSTR lpApplicationName, [in] LPWSTR lpCommandLine, [in] LPSECURITY_ATTRIBUTES lpProcessAttributes, [in] LPSECURITY_ATTRIBUTES lpThreadAttributes, [in] BOOL bInheritHandles, [in] DWORD dwCreationFlags, [in] PVOID lpEnvironment, [in] LPCWSTR lpCurrentDirectory, [in] LPSTARTUPINFOW lpStartupInfo, [in] LPPROCESS_INFORMATION lpProcessInformation, [in] CorDebugCreateProcessFlags debuggingFlags, [out] ICorDebugProcess **ppProcess)
HRESULT GetThread([in] DWORD dwThreadId, [out] ICorDebugThread **ppThread)
HRESULT GetProcess([out] ICorDebugProcess **ppProcess)
HRESULT GetHandle([out] HPROCESS *phProcessHandle)
HRESULT GetStackRange([out] CORDB_ADDRESS *pStart, [out] CORDB_ADDRESS *pEnd)
HRESULT GetClass([out] ICorDebugClass **ppClass)
HRESULT CreateProcess([in] ICorDebugProcess *pProcess)
HRESULT DebugEvent([in] LPDEBUG_EVENT pDebugEvent, [in] BOOL fOutOfBand)
_In_ PSID _Out_writes_to_opt_ cchName LPSTR _Inout_ LPDWORD cchName
Definition: winbase.h:2706
mdToken mdFieldDef
Definition: cordebug.idl:78
HRESULT EnumerateChains([out] ICorDebugChainEnum **ppChains)
HRESULT EnumerateAssemblies([out] ICorDebugAssemblyEnum **ppAssemblies)
HRESULT GetValue([out] ICorDebugValue **ppValue)
static const CLSID * objects[]
Definition: apphelp.c:110
HRESULT CanCommitChanges([in] ULONG cSnapshots, [in] ICorDebugEditAndContinueSnapshot *pSnapshots[], [out] ICorDebugErrorInfoEnum **pError)
GLenum GLint GLuint mask
Definition: glext.h:6028
HRESULT SetThreadContext([in] ULONG32 contextSize, [in] BYTE context[])
HRESULT GetObject([out] ICorDebugValue **ppObject)
HRESULT GetFunctionToken([out] mdMethodDef *pToken)
unsigned int UINT32
unsigned int BOOL
Definition: ntddk_ex.h:94
HRESULT GetName([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out] WCHAR szName[])
long LONG
Definition: pedump.c:60
HRESULT GetModuleFromMetaDataInterface([in] IUnknown *pIMetaData, [out] ICorDebugModule **ppModule)
HRESULT GetNext([out] ICorDebugChain **ppChain)
#define e
Definition: ke_i.h:82
HRESULT NewObjectNoConstructor([in] ICorDebugClass *pClass)
HRESULT Exception([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] ICorDebugFrame *pFrame, [in] ULONG32 nOffset, [in] CorDebugExceptionCallbackType dwEventType, [in] DWORD dwFlags)
HRESULT GetThread([out] ICorDebugThread **ppThread)
HRESULT GetCurrentVersionNumber([out] ULONG32 *pnCurrentVersion)
HRESULT BreakpointSetError([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] ICorDebugBreakpoint *pBreakpoint, [in] DWORD dwError)
mdToken mdSourceFile
Definition: cordebug.idl:75
HRESULT GetName([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out] WCHAR szName[])
HRESULT FunctionRemapComplete([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] ICorDebugFunction *pFunction)
HRESULT GetProcess([out] ICorDebugProcess **ppProcess)
SIZE_T LPDEBUG_EVENT
Definition: cordebug.idl:83
HRESULT GetDescription([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out] WCHAR szName[])
HRESULT EnableJITDebugging([in] BOOL bTrackJITInfo, [in] BOOL bAllowJitOpts)
HRESULT NewObject([in] ICorDebugFunction *pConstructor, [in] ULONG32 nArgs, [in] ICorDebugValue *ppArgs[])
HRESULT GetActiveFrame([out] ICorDebugFrame **ppFrame)
HRESULT GetToken([out] mdMethodDef *pMethodDef)
HRESULT GetStackRange([out] CORDB_ADDRESS *pStart, [out] CORDB_ADDRESS *pEnd)
HRESULT IsTransitionStub([in] CORDB_ADDRESS address, [out] BOOL *pbTransitionStub)
HRESULT Step([in] BOOL bStepIn)
HRESULT GetCurrentException([out] ICorDebugValue **ppExceptionObject)
HRESULT Next([in] ULONG celt, [out] ICorDebugChain *chains[], [out] ULONG *pceltFetched)
mdToken mdModule
Definition: cordebug.idl:72
HRESULT GetStaticFieldValue([in] mdFieldDef fieldDef, [in] ICorDebugFrame *pFrame, [out] ICorDebugValue **ppValue)
mdToken mdSignature
Definition: cordebug.idl:79
HRESULT LoadAssembly([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugAssembly *pAssembly)
HRESULT Terminate([in] UINT exitCode)
HRESULT GetModule([out] ICorDebugModule **ppModule)
HRESULT GetProcess([out] ICorDebugProcess **ppProcess)
HRESULT GetFunctionFromToken([in] mdMethodDef methodDef, [out] ICorDebugFunction **ppFunction)
HRESULT GetILToNativeMapping([in] ULONG32 cMap, [out] ULONG32 *pcMap, [out] COR_DEBUG_IL_TO_NATIVE_MAP map[])
HRESULT GetToken([out] mdTypeDef *pTypeDef)
HRESULT GetSize([out] ULONG32 *pSize)
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
HRESULT GetBaseAddress([out] CORDB_ADDRESS *pAddress)
HRESULT Reset()
HRESULT GetGlobalVariableValue([in] mdFieldDef fieldDef, [out] ICorDebugValue **ppValue)
GLsizeiptr size
Definition: glext.h:5919
HRESULT EnumerateObjects([out] ICorDebugObjectEnum **ppObjects)
HRESULT GetProcess([in] DWORD dwProcessId, [out] ICorDebugProcess **ppProcess)
HRESULT GetID([out] DWORD *pdwProcessId)
HRESULT GetHelperThreadID([out] DWORD *pThreadID)
HRESULT IsAttached([out] BOOL *pbAttached)
HRESULT Next([in] ULONG celt, [out] ICorDebugStepper *steppers[], [out] ULONG *pceltFetched)
HRESULT GetContext([out] ICorDebugContext **ppContext)
HRESULT CreateBreakpoint([out] ICorDebugModuleBreakpoint **ppBreakpoint)
__wchar_t WCHAR
Definition: xmlstorage.h:180
HRESULT DebuggerError([in] ICorDebugProcess *pProcess, [in] HRESULT errorHR, [in] DWORD errorCode)
LONG HRESULT
Definition: typedefs.h:77
HRESULT EnumerateFrames([out] ICorDebugFrameEnum **ppFrames)
BOOL fAccurate
Definition: cordebug.idl:104
HRESULT LoadModule([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugModule *pModule)
HRESULT ClearCurrentException()
HRESULT GetChain([out] ICorDebugChain **ppChain)
HRESULT IsManaged([out] BOOL *pManaged)
const GLubyte * c
Definition: glext.h:8905
struct COR_DEBUG_IL_TO_NATIVE_MAP COR_DEBUG_IL_TO_NATIVE_MAP
static FILE * out
Definition: regtests2xml.c:44
CorDebugThreadState
Definition: cordebug.idl:129
unsigned long DWORD
Definition: ntddk_ex.h:95
GLuint address
Definition: glext.h:9393
HRESULT IsValueClass([out] BOOL *pbIsValueClass)
HRESULT GetPrevious([out] ICorDebugChain **ppChain)
HRESULT SetILMap([in] mdToken mdFunction, [in] ULONG cMapSize, [in] COR_IL_MAP map[])
HRESULT Next([in] ULONG celt, [out] ICorDebugModule *modules[], [out] ULONG *pceltFetched)
HRESULT GetEnCRemapSequencePoints([in] ULONG32 cMap, [out] ULONG32 *pcMap, [out] ULONG32 offsets[])
Definition: _map.h:44
HRESULT EnumerateSteppers([out] ICorDebugStepperEnum **ppSteppers)
static HANDLE thread
Definition: service.c:33
HRESULT Abort()
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1904
unsigned __int64 ULONG64
Definition: imports.h:198
HRESULT GetType([out] CorElementType *pType)
HRESULT SetFromManagedCopy([in] IUnknown *pObject)
HRESULT IsActive([out] BOOL *pbActive)
DWORD dwThreadId
Definition: fdebug.c:31
HRESULT GetMetaDataInterface([in] REFIID riid, [out] IUnknown **ppObj)
HRESULT GetRoDataRVA([out] ULONG32 *pRoDataRVA)
HRESULT GetClassFromToken([in] mdTypeDef typeDef, [out] ICorDebugClass **ppClass)
HRESULT SetRangeIL([in] BOOL bIL)
HRESULT NewArray([in] CorElementType elementType, [in] ICorDebugClass *pElementClass, [in] ULONG32 rank, [in] ULONG32 dims[], [in] ULONG32 lowBounds[])
HRESULT UnloadClass([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugClass *c)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT GetString([in] ULONG32 cchString, [out] ULONG32 *pcchString, [out] WCHAR szString[])
HRESULT SetAllThreadsDebugState([in] CorDebugThreadState state, [in] ICorDebugThread *pExceptThisThread)
static HANDLE ULONG_PTR DWORD threads
Definition: process.c:81
static int state
Definition: maze.c:121
HRESULT SetThreadContext([in] DWORD threadID, [in] ULONG32 contextSize, [in] BYTE context[])
HRESULT HasQueuedCallbacks([in] ICorDebugThread *pThread, [out] BOOL *pbQueued)
unsigned char BYTE
Definition: mem.h:68
HRESULT GetProcess([out] ICorDebugProcess **ppProcess)
HRESULT GetName([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out] WCHAR szName[])
HRESULT CreateAppDomain([in] ICorDebugProcess *pProcess, [in] ICorDebugAppDomain *pAppDomain)
HRESULT ReadMemory([in] CORDB_ADDRESS address, [in] DWORD size, [out] BYTE buffer[], [out] SIZE_T *read)
HRESULT GetContext([out] ICorDebugContext **ppContext)
#define interface
Definition: basetyps.h:61
HRESULT IsOSSuspended([in] DWORD threadID, [out] BOOL *pbSuspended)
HRESULT LogSwitch([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] LONG lLevel, [in] ULONG ulReason, [in] WCHAR *pLogSwitchName, [in] WCHAR *pParentName)
HRESULT Next([in] ULONG celt, [out] ICorDebugEditAndContinueErrorInfo *errors[], [out] ULONG *pceltFetched)
HRESULT GetActiveFrame([out] ICorDebugFrame **ppFrame)
HRESULT CreateStepper([out] ICorDebugStepper **ppStepper)
HRESULT CreateEval([out] ICorDebugEval **ppEval)
HRESULT EditAndContinueRemap([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] ICorDebugFunction *pFunction, [in] BOOL fAccurate)
HRESULT GetFunctionFromRVA([in] CORDB_ADDRESS rva, [out] ICorDebugFunction **ppFunction)
HRESULT GetHandle([out] HTHREAD *phThreadHandle)
#define local
Definition: zutil.h:30
HRESULT EnableLogMessages([in]BOOL fOnOff)
HRESULT SetRegisters([in] ULONG64 mask, [in] ULONG32 regCount, [in] CORDB_REGISTER regBuffer[])
CorDebugCreateProcessFlags
Definition: cordebug.idl:135
HRESULT GetClass([out] ICorDebugClass **ppClass)
HRESULT GetXML([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out] WCHAR szName[])
mdToken mdMethodDef
Definition: cordebug.idl:77
ULONG_PTR SIZE_T
Definition: typedefs.h:78
HRESULT GetCallee([out] ICorDebugFrame **ppFrame)
HRESULT ExitAppDomain([in] ICorDebugProcess *pProcess, [in] ICorDebugAppDomain *pAppDomain)
CorElementType
Definition: corhdr.h:52
HRESULT GetCallee([out] ICorDebugChain **ppChain)
GLuint in
Definition: glext.h:9616
HRESULT WriteMemory([in] CORDB_ADDRESS address, [in] DWORD size, [in] BYTE buffer[], [out] SIZE_T *written)
HRESULT ExitThread([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *thread)
static unsigned char pointer_default
Definition: parser.tab.c:114
HRESULT ThreadForFiberCookie([in] DWORD fiberCookie, [out] ICorDebugThread **ppThread)
HRESULT CreateBreakpoint([in] ULONG32 offset, [out] ICorDebugFunctionBreakpoint **ppBreakpoint)
HRESULT GetAppDomain([out] ICorDebugAppDomain **ppAppDomain)
ULONG64 CORDB_ADDRESS
Definition: cordebug.idl:90
HRESULT GetUserState([out] CorDebugUserState *pState)
HRESULT SetPESymbolBytes([in] IStream *pIStream)
HRESULT GetManagedCopy([out] IUnknown **ppObject)
Definition: ttei6.cpp:27
struct ICorDebugStepper::COR_DEBUG_STEP_RANGE COR_DEBUG_STEP_RANGE
HRESULT GetRegisterSet([out] ICorDebugRegisterSet **ppRegisters)
HRESULT Activate([in] BOOL bActive)
HRESULT GetAssembly([out] ICorDebugAssembly **ppAssembly)
unsigned int UINT
Definition: ndis.h:50
mdToken mdMemberRef
Definition: cordebug.idl:76
HRESULT ChangeConnection([in] ICorDebugProcess *pProcess, [in] CONNID dwConnectionId)
HRESULT GetName([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out] WCHAR szName[])
HRESULT SetUnmanagedHandler([in] ICorDebugUnmanagedCallback *pCallback)
HRESULT CanLaunchOrAttach([in] DWORD dwProcessId, [in] BOOL win32DebuggingEnabled)
HRESULT GetID([out] ULONG32 *pId)
HRESULT Next([in] ULONG celt, [out] ICorDebugBreakpoint *breakpoints[], [out] ULONG *pceltFetched)
HRESULT CreateValue([in] CorElementType elementType, [in] ICorDebugClass *pElementClass, [out] ICorDebugValue **ppValue)
HRESULT GetVersionNumber([out] ULONG32 *nVersion)
HRESULT GetFunction([out] ICorDebugFunction **ppFunction)
HRESULT GetCode([out] ICorDebugCode **ppCode)
HRESULT GetRegisters([in] ULONG64 mask, [in] ULONG32 regCount, [out] CORDB_REGISTER regBuffer[])
UINT32 mdToken
Definition: cordebug.idl:71
HRESULT GetDebugState([out] CorDebugThreadState *pState)
HRESULT Stop([in] DWORD dwTimeoutIgnored)
HRESULT GetEditAndContinueSnapshot([out] ICorDebugEditAndContinueSnapshot **ppEditAndContinueSnapshot)
static const WCHAR szName[]
Definition: msipriv.h:1194
HRESULT IsInMemory([out] BOOL *pInMemory)
unsigned int ULONG
Definition: retypes.h:1
HRESULT GetOffset([out] ULONG32 *pnOffset)
HRESULT EnableClassLoadCallbacks([in] BOOL bClassLoadCallbacks)
HRESULT CopyMetaData([in] IStream *pIStream, [out] GUID *pMvid)
HRESULT IsIL([out] BOOL *pbIL)
HRESULT GetRegisterSet([out] ICorDebugRegisterSet **ppRegisters)
HRESULT GetRegistersAvailable([out] ULONG64 *pAvailable)
HRESULT EnumerateAppDomains([out] ICorDebugAppDomainEnum **ppAppDomains)
HRESULT GetCodeBase([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out] WCHAR szName[])
HRESULT GetAddress([out] CORDB_ADDRESS *pStart)
HRESULT EvalComplete([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] ICorDebugEval *pEval)
unsigned long long UINT64
CorDebugIlToNativeMappingTypes
Definition: cordebug.idl:112
WCHAR * LPWSTR
Definition: xmlstorage.h:184
HRESULT GetModule([out] ICorDebugModule **ppModule)
HRESULT GetErrorCode([out]HRESULT *pHr)
HRESULT GetFieldValue([in] ICorDebugClass *pClass, [in] mdFieldDef fieldDef, [out] ICorDebugValue **ppValue)
HRESULT GetFlags([in] CorDebugMDAFlags *pFlags)
HRESULT NewString([in] LPCWSTR string)
_COR_IL_MAP struct _COR_IL_MAP COR_IL_MAP
HRESULT Exception([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] BOOL unhandled)
HRESULT GetThreadContext([in] DWORD threadID, [in] ULONG32 contextSize, [in, out] BYTE context[])
HRESULT ClearCurrentException([in] DWORD threadID)
UINT64 TASKID
Definition: cordebug.idl:93
HRESULT FunctionRemapOpportunity([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] ICorDebugFunction *pOldFunction, [in] ICorDebugFunction *pNewFunction, [in] ULONG32 oldILOffset)
HRESULT LogMessage([in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] LONG lLevel, [in] WCHAR *pLogSwitchName, [in] WCHAR *pMessage)
HRESULT GetObject([out] ICorDebugValue **ppObject)
HRESULT Next([in] ULONG celt, [out] CORDB_ADDRESS objects[], [out] ULONG *pceltFetched)
HRESULT Next([in] ULONG celt, [out] ICorDebugThread *threads[], [out] ULONG *pceltFetched)
HRESULT SetInterceptMask([in] CorDebugIntercept mask)
HRESULT IsActive([out] BOOL *pbActive)
void * object
Definition: jmemsys.h:48
HRESULT GetThreadContext([in] ULONG32 contextSize, [in, out] BYTE context[])
_CRTIMP int __cdecl read(_In_ int _FileHandle, _Out_writes_bytes_(_MaxCharCount) void *_DstBuf, _In_ unsigned int _MaxCharCount)
#define F(x, y, z)
Definition: md5.c:51
HRESULT SetDebugState([in] CorDebugThreadState state)
HRESULT GetCaller([out] ICorDebugFrame **ppFrame)
HRESULT Next([in] ULONG celt, [out] ICorDebugAppDomain *values[], [out] ULONG *pceltFetched)
HRESULT Next([in] ULONG celt, [out] ICorDebugFrame *frames[], [out] ULONG *pceltFetched)
HRESULT GetResult([out] ICorDebugValue **ppResult)
HRESULT StepOut()
ULONG CorElementType
Definition: cordebug.idl:80