<div class="content" name="OpenPerformanceNlsText" uuid="3626fa8a-b20f-4243-bf85-cdb615ed2ca0"><p>The OpenPerformanceNlsText method is called by the client.
In response, the server opens a handle to the <b>HKEY_PERFORMANCE_NLSTEXT</b>
predefined key. The <b>HKEY_PERFORMANCE_NLSTEXT </b> predefined key is used to
retrieve performance information from a registry server using only the <b>BaseRegQueryInfoKey</b>,
<b>BaseRegQueryValue</b>, <b>BaseRegEnumValue,</b> and <b>BaseRegCloseKey</b>
methods.</p><dl>
<dd>
<div><pre> error_status_t OpenPerformanceNlsText(
   [in, unique] PREGISTRY_SERVER_NAME ServerName,
   [in] REGSAM samDesired,
   [out] PRPC_HKEY phKey
 );
</pre></div>
</dd></dl><p><b>ServerName: </b>This SHOULD be sent as NULL and
MUST be ignored on receipt because the binding to the server is already
complete at this stage.</p><p><b>samDesired: </b>This SHOULD be sent as 0 and MUST be
ignored on receipt.</p><p><b>phKey: </b>A pointer to a variable that receives a
handle to the root key <b>HKEY_PERFORMANCE_NLSTEXT</b>, as specified in section
<a href="d93b4170-a865-47bc-a10b-13cb17fbc1b0" data-linktype="relative-path">3.1.1.7</a>.</p><p><b>Return Values: </b>This method MUST always return
a 0 (<b>ERROR_SUCCESS</b>), even in case of errors.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Return value/code</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>0 ERROR_SUCCESS</td>
  <td>Always returned.</td>
 </tr></tbody></table>
</dd></dl><p>Server Operations</p><p>The server MUST always return 0, even in case of errors.</p></div>