Changeset 22116 in vbox for trunk/include/iprt
- Timestamp:
- Aug 10, 2009 12:10:30 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50875
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/dbg.h
r22114 r22116 442 442 443 443 /** 444 * Information about a mapping. 445 * 446 * This is used by RTDbgAsModuleGetMapByIndex. 447 */ 448 typedef struct RTDBGASMAPINFO 449 { 450 /** The mapping address. */ 451 RTUINTPTR Address; 452 /** The segment mapped there. 453 * This is NIL_RTDBGSEGIDX if the entire module image is mapped here. */ 454 RTDBGSEGIDX iSeg; 455 } RTDBGASMAPINFO; 456 /** Pointer to info about an address space mapping. */ 457 typedef RTDBGASMAPINFO *PRTDBGASMAPINFO; 458 /** Pointer to const info about an address space mapping. */ 459 typedef RTDBGASMAPINFO const *PCRTDBGASMAPINFO; 460 461 /** 462 * Queries mapping information for a module given by index. 463 * 464 * @returns IRPT status code. 465 * @retval VERR_INVALID_HANDLE if hDbgAs is invalid. 466 * @retval VERR_OUT_OF_RANGE if the name index was out of range. 467 * @retval VINF_BUFFER_OVERFLOW if the array is too small and the returned 468 * information is incomplete. 469 * 470 * @param hDbgAs The address space handle. 471 * @param iModule The index of the module to get. 472 * @param paMappings Where to return the mapping information. The buffer 473 * size is given by *pcMappings. 474 * @param pcMappings IN: Size of the paMappings array. OUT: The number of 475 * entries returned. 476 * @param fFlags Flags for reserved for future use. MBZ. 477 * 478 * @remarks See remarks for RTDbgAsModuleByIndex regarding the volatility of the 479 * iModule parameter. 480 */ 481 RTDECL(int) RTDbgAsModuleQueryMapByIndex(RTDBGAS hDbgAs, uint32_t iModule, PRTDBGASMAPINFO paMappings, uint32_t *pcMappings, uint32_t fFlags); 482 483 /** 444 484 * Adds a symbol to a module in the address space. 445 485 *
Note:
See TracChangeset
for help on using the changeset viewer.