Compartir a través de


3.1.5.29 OpenPerformanceNlsText (Opnum 33)

The OpenPerformanceNlsText method is called by the client. In response, the server opens a handle to the HKEY_PERFORMANCE_NLSTEXT predefined key. The HKEY_PERFORMANCE_NLSTEXT  predefined key is used to retrieve performance information from a registry server using only the BaseRegQueryInfoKey, BaseRegQueryValue, BaseRegEnumValue, and BaseRegCloseKey methods.

 error_status_t OpenPerformanceNlsText(
   [in, unique] PREGISTRY_SERVER_NAME ServerName,
   [in] REGSAM samDesired,
   [out] PRPC_HKEY phKey
 );

ServerName: This SHOULD be sent as NULL and MUST be ignored on receipt because the binding to the server is already complete at this stage.

samDesired: This SHOULD be sent as 0 and MUST be ignored on receipt.

phKey: A pointer to a variable that receives a handle to the root key HKEY_PERFORMANCE_NLSTEXT, as specified in section 3.1.1.7.

Return Values: This method MUST always return a 0 (ERROR_SUCCESS), even in case of errors.

Return value/code

Description

0

ERROR_SUCCESS

Always returned.

Server Operations

The server MUST always return 0, even in case of errors.