Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Initiates access to a source of debugging symbols and retrieves information about that source.
Syntax
IDiaDataSourceEx2 : IDiaDataSourceEx
Methods in Vtable Order
The following table shows the methods of IDiaDataSourceEx2.
| Method | Description |
|---|---|
IDiaDataSourceEx2::findNamedStreams |
Retrieves all names of named streams within the datasource that match the optionally given pattern. |
Remarks
A call to one of the load methods of the IDiaDataSource interface opens the symbol source. A successful call to the IDiaDataSource::openSession method returns an IDiaSession interface that supports querying the data source. If the load method returns a file-related error, then the IDiaDataSource::get_lastError method return value contains the file name associated with the error.
Notes for Callers
This interface is obtained by calling the CoCreateInstance function with the class identifier CLSID_DiaSource and the interface ID of IID_IDiaDataSourceEx, or by calling QueryInterface on an existing IDiaDataSource interface pointer. The example shows how this interface is obtained.
Example
IDiaDataSource* pSource;
HRESULT hr = CoCreateInstance(CLSID_DiaSource,
NULL,
CLSCTX_INPROC_SERVER,
IID_IDiaDataSourceEx2,
(void**) &pSource);
if (FAILED(hr))
{
// Report error and exit
}
Requirements
Header: Dia2.h
Library: diaguids.lib
DLL: msdia140.dll