<trclass="memdesc:a4253bf82bb281c7f87f429d2ec8f211e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Initializes the reader. <ahref="#a4253bf82bb281c7f87f429d2ec8f211e">More...</a><br/></td></tr>
<trclass="memdesc:a5278d5065963128bd45873eba489c8c3"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the image's size. <ahref="#a5278d5065963128bd45873eba489c8c3">More...</a><br/></td></tr>
<trclass="memdesc:ab22be2306900b9674192a85fa9bc8ecf"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Obtains the module's <aclass="el"href="structcrashpad_1_1CrashpadInfo.html"title="A structure that can be used by a Crashpad-enabled program to provide information to the Crashpad cra...">CrashpadInfo</a> structure. <ahref="#ab22be2306900b9674192a85fa9bc8ecf">More...</a><br/></td></tr>
<trclass="memdesc:a9c82a9323b9484d7f68343fb1ba55e87"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Obtains information from the module's debug directory, if any. <ahref="#a9c82a9323b9484d7f68343fb1ba55e87">More...</a><br/></td></tr>
<trclass="memdesc:afb49131f8678c646d5d3bce902774e2b"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Obtains the module’s <code><aclass="el"href="structVS__FIXEDFILEINFO.html"title="Version information for a file. ">VS_FIXEDFILEINFO</a></code>, containing its version and type information. <ahref="#afb49131f8678c646d5d3bce902774e2b">More...</a><br/></td></tr>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="classcrashpad_1_1PEImageAnnotationsReader.html"title="A reader of annotations stored in a PE image mapped into another process. ">PEImageAnnotationsReader</a></dd>
<dd>
<aclass="el"href="classcrashpad_1_1PEImageResourceReader.html"title="A reader for resources stored in PE images mapped into another process. ">PEImageResourceReader</a></dd></dl>
<p>This is the value passed as <em>address</em> to <aclass="el"href="classcrashpad_1_1PEImageReader.html#a4253bf82bb281c7f87f429d2ec8f211e"title="Initializes the reader. ">Initialize()</a>. </p>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> on success, with the parameters set appropriately. <code>false</code> on failure. This method may return <code>false</code> without logging anything in the case of a module that does not contain relevant debugging information but is otherwise properly structured. </dd></dl>
<p>Obtains the module's <aclass="el"href="structcrashpad_1_1CrashpadInfo.html"title="A structure that can be used by a Crashpad-enabled program to provide information to the Crashpad cra...">CrashpadInfo</a> structure. </p>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> on success, <code>false</code> on failure. If the module does not have a <code>CPADinfo</code> section, this will return <code>false</code> without logging any messages. Other failures will result in messages being logged. </dd></dl>
<p>This method must be called only once on an object. This method must be called successfully before any other method in this class may be called.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">process_reader</td><td>The reader for the remote process. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">address</td><td>The address, in the remote process' address space, where the <code>IMAGE_DOS_HEADER</code> is located. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">size</td><td>The size of the image. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">module_name</td><td>The module's name, a string to be used in logged messages. This string is for diagnostic purposes.</td></tr>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> if the image was read successfully, <code>false</code> otherwise, with an appropriate message logged. </dd></dl>
<p>This is the value passed as <em>size</em> to <aclass="el"href="classcrashpad_1_1PEImageReader.html#a4253bf82bb281c7f87f429d2ec8f211e"title="Initializes the reader. ">Initialize()</a>. </p>
<p>Obtains the module’s <code><aclass="el"href="structVS__FIXEDFILEINFO.html"title="Version information for a file. ">VS_FIXEDFILEINFO</a></code>, containing its version and type information. </p>
<p>The data obtained from this method should be equivalent to what could be obtained by calling <aclass="el"href="namespacecrashpad.html#af5f4414be804bdcd71f57053d7147eff"title="Retrieve the type and version information from a given module (exe, dll, etc.) ">GetModuleVersionAndType()</a>. Avoiding that function ensures that the data in the module loaded into the remote process will be used as-is, without the risks associated with loading the module into the reading process.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">vs_fixed_file_info</td><td>The <aclass="el"href="structVS__FIXEDFILEINFO.html"title="Version information for a file. ">VS_FIXEDFILEINFO</a> on success. <aclass="el"href="structVS__FIXEDFILEINFO.html#a1ecf0351f90806354f987321c4d1ce0e"title="A bitmask of VS_FF_* values identifying attributes of the file. Only bits present in dwFileFlagsMask ...">VS_FIXEDFILEINFO::dwFileFlags</a> will have been masked with <aclass="el"href="structVS__FIXEDFILEINFO.html#a1523cf64b0b010ecf5a8c3b02866041c"title="A bitmask of VS_FF_* values indicating which bits in dwFileFlags are valid. ">VS_FIXEDFILEINFO::dwFileFlagsMask</a> already.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> on success. <code>false</code> if the module does not contain this information, without logging any messages. <code>false</code> on failure, with a message logged. </dd></dl>