IDiaSession::findFileById

Retrieves a source file by source file identifier.

Syntax

HRESULT findFileById ( 
   DWORD            uniqueId,
   IDiaSourceFile** ppResult
);

Parameters

uniqueId

[in] Specifies the source file identifier.

ppResult

[out] Returns an IDiaSourceFile object that represents the source file retrieved.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The source file identifier is a unique value used internally to the DIA SDK to make all source files unique. This method is typically used internally to the DIA SDK.

See also