3.7.4.1.18 RpcWinStationReadRegistry (Opnum 30)

The RpcWinStationReadRegistry method tells the terminal server to reread, from the registry, the configuration data for all the WinStations, and to update the memory locations where this data was stored with the values read from the registry.<187> The caller of this RPC method MUST be running either as SYSTEM or as an Administrator.<188>

 BOOLEAN RpcWinStationReadRegistry(
   [in] SERVER_HANDLE hServer,
   [out] DWORD* pResult
 );

hServer: Handle to the server object. This is of type SERVER_HANDLE. hServer MUST be obtained from a previous call to RpcWinStationOpenServer.

pResult:  If the call was successful, this parameter MUST be STATUS_SUCCESS (0x00000000), as specified in [MS-ERREF]; otherwise, it MUST be an implementation-specific negative value.

Return Values:  Returns TRUE if the call succeeded, or FALSE if the method failed. On failure, pResult indicates the failure status code.

Return value/code

Description

0x01

TRUE

Successful completion.

0x00

FALSE

Method call failed.