Print this page
1575 untangle libmlrpc ... (smbsrv)


   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.


  24  */
  25 
  26 #ifndef _MLSVC_WINREG_NDL_
  27 #define _MLSVC_WINREG_NDL_
  28 
  29 /*
  30  * Windows Registry (WINREG) RPC interface definition.
  31  *
  32  * The Windows registry is split into a number of hives, which are divided
  33  * by function.  The hive names are abbreviated and prefixed by HKEY or HK.
  34  *
  35  * HKEY_CLASSES_ROOT     (HKCR) Information about registered applications
  36  * HKEY_CURRENT_USER     (HKCU) Settings for the current logged in user.
  37  * HKEY_LOCAL_MACHINE    (HKLM) Settings for all users on the computer.
  38  * HKEY_USERS            (HKU)  HKEY_CURRENT_USER subkeys for user accounts.
  39  * HKEY_CURRENT_CONFIG   (HKCC) Runtime configuration information.
  40  * HKEY_PERFORMANCE_DATA (HKPD) Runtime performance data.
  41  * HKEY_DYN_DATA         (HKDD) Runtime data for Windows 9x applications.
  42  * HKEY_PERFORMANCE_TEXT (HKPT) Runtime performance information.
  43  * HKEY_PERFORMANCE_NLS  (HKPN) Runtime performance information.
  44  */
  45 
  46 #include "ndrtypes.ndl"
  47 
  48 /* Windows NT */
  49 #define WINREG_OPNUM_OpenHKCR           0x00
  50 #define WINREG_OPNUM_OpenHKCU           0x01
  51 #define WINREG_OPNUM_OpenHKLM           0x02
  52 #define WINREG_OPNUM_OpenHKPD           0x03
  53 #define WINREG_OPNUM_OpenHKUsers        0x04
  54 #define WINREG_OPNUM_Close              0x05
  55 #define WINREG_OPNUM_CreateKey          0x06
  56 #define WINREG_OPNUM_DeleteKey          0x07
  57 #define WINREG_OPNUM_DeleteValue        0x08
  58 #define WINREG_OPNUM_EnumKey            0x09
  59 #define WINREG_OPNUM_EnumValue          0x0a
  60 #define WINREG_OPNUM_FlushKey           0x0b
  61 #define WINREG_OPNUM_GetKeySec          0x0c
  62 #define WINREG_OPNUM_LoadKey            0x0d
  63 #define WINREG_OPNUM_NotifyChange       0x0e
  64 #define WINREG_OPNUM_OpenKey            0x0f
  65 #define WINREG_OPNUM_QueryKey           0x10
  66 #define WINREG_OPNUM_QueryValue         0x11




   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  *
  25  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  26  */
  27 
  28 #ifndef _MLSVC_WINREG_NDL_
  29 #define _MLSVC_WINREG_NDL_
  30 
  31 /*
  32  * Windows Registry (WINREG) RPC interface definition.
  33  *
  34  * The Windows registry is split into a number of hives, which are divided
  35  * by function.  The hive names are abbreviated and prefixed by HKEY or HK.
  36  *
  37  * HKEY_CLASSES_ROOT     (HKCR) Information about registered applications
  38  * HKEY_CURRENT_USER     (HKCU) Settings for the current logged in user.
  39  * HKEY_LOCAL_MACHINE    (HKLM) Settings for all users on the computer.
  40  * HKEY_USERS            (HKU)  HKEY_CURRENT_USER subkeys for user accounts.
  41  * HKEY_CURRENT_CONFIG   (HKCC) Runtime configuration information.
  42  * HKEY_PERFORMANCE_DATA (HKPD) Runtime performance data.
  43  * HKEY_DYN_DATA         (HKDD) Runtime data for Windows 9x applications.
  44  * HKEY_PERFORMANCE_TEXT (HKPT) Runtime performance information.
  45  * HKEY_PERFORMANCE_NLS  (HKPN) Runtime performance information.
  46  */
  47 
  48 #include <libmlrpc/ndrtypes.ndl>
  49 
  50 /* Windows NT */
  51 #define WINREG_OPNUM_OpenHKCR           0x00
  52 #define WINREG_OPNUM_OpenHKCU           0x01
  53 #define WINREG_OPNUM_OpenHKLM           0x02
  54 #define WINREG_OPNUM_OpenHKPD           0x03
  55 #define WINREG_OPNUM_OpenHKUsers        0x04
  56 #define WINREG_OPNUM_Close              0x05
  57 #define WINREG_OPNUM_CreateKey          0x06
  58 #define WINREG_OPNUM_DeleteKey          0x07
  59 #define WINREG_OPNUM_DeleteValue        0x08
  60 #define WINREG_OPNUM_EnumKey            0x09
  61 #define WINREG_OPNUM_EnumValue          0x0a
  62 #define WINREG_OPNUM_FlushKey           0x0b
  63 #define WINREG_OPNUM_GetKeySec          0x0c
  64 #define WINREG_OPNUM_LoadKey            0x0d
  65 #define WINREG_OPNUM_NotifyChange       0x0e
  66 #define WINREG_OPNUM_OpenKey            0x0f
  67 #define WINREG_OPNUM_QueryKey           0x10
  68 #define WINREG_OPNUM_QueryValue         0x11