da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * CDDL HEADER START
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * The contents of this file are subject to the terms of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Common Development and Distribution License (the "License").
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * You may not use this file except in compliance with the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * See the License for the specific language governing permissions
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * and limitations under the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * When distributing Covered Code, include this CDDL HEADER in each
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * If applicable, add the following below this CDDL HEADER, with the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * fields enclosed by brackets "[]" replaced with your own identifying
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * information: Portions Copyright [yyyy] [name of copyright owner]
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * CDDL HEADER END
f96bd5c800e73e351b0b6e4bd7f00b578dad29bbAlan Wright * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Use is subject to license terms.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Windows Registry (WINREG) RPC interface definition.
3db3f65c6274eb042354801a308c8e9bc4994553amw * The Windows registry is split into a number of hives, which are divided
3db3f65c6274eb042354801a308c8e9bc4994553amw * by function. The hive names are abbreviated and prefixed by HKEY or HK.
3db3f65c6274eb042354801a308c8e9bc4994553amw * HKEY_CLASSES_ROOT (HKCR) Information about registered applications
3db3f65c6274eb042354801a308c8e9bc4994553amw * HKEY_CURRENT_USER (HKCU) Settings for the current logged in user.
3db3f65c6274eb042354801a308c8e9bc4994553amw * HKEY_LOCAL_MACHINE (HKLM) Settings for all users on the computer.
3db3f65c6274eb042354801a308c8e9bc4994553amw * HKEY_USERS (HKU) HKEY_CURRENT_USER subkeys for user accounts.
3db3f65c6274eb042354801a308c8e9bc4994553amw * HKEY_CURRENT_CONFIG (HKCC) Runtime configuration information.
3db3f65c6274eb042354801a308c8e9bc4994553amw * HKEY_PERFORMANCE_DATA (HKPD) Runtime performance data.
3db3f65c6274eb042354801a308c8e9bc4994553amw * HKEY_DYN_DATA (HKDD) Runtime data for Windows 9x applications.
3db3f65c6274eb042354801a308c8e9bc4994553amw * HKEY_PERFORMANCE_TEXT (HKPT) Runtime performance information.
3db3f65c6274eb042354801a308c8e9bc4994553amw * HKEY_PERFORMANCE_NLS (HKPN) Runtime performance information.
3db3f65c6274eb042354801a308c8e9bc4994553amw/* Windows NT */
3db3f65c6274eb042354801a308c8e9bc4994553amw/* Windows 2000 */
3db3f65c6274eb042354801a308c8e9bc4994553amw/* Windows XP and Windows Server 2003 */
3db3f65c6274eb042354801a308c8e9bc4994553amw/* Windows 2003 SP1 */
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Fake Varying/Conformant with a funny conformant.
3db3f65c6274eb042354801a308c8e9bc4994553amw * Some of the OUT parameters are also supplied
3db3f65c6274eb042354801a308c8e9bc4994553amw * as IN parameters but we can ignore them.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Some of the OUT parameters are also supplied
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * as IN parameters but we can ignore them.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw /* IN ignore the remaining input data */
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Some of the OUT parameters are also supplied
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * as IN parameters but we can ignore them.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw /* IN ignore the remaining input data */
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw /* IN ignore the remaining input data */
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * The real structure of shutdown passes some strings, a timeout
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * and reboot/shutdown flags but this allows us to accept the call,
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * without anything appearing in the log, and return access denied.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * The WINREG interface.