Merge branch 'master' of ssh://git.samba.org/data/git/samba into singlerpc
authorJelmer Vernooij <jelmer@samba.org>
Wed, 17 Sep 2008 13:45:01 +0000 (15:45 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 17 Sep 2008 13:45:01 +0000 (15:45 +0200)
41 files changed:
lib/popt/libpopt.m4
source3/librpc/gen_ndr/dfs.h
source3/librpc/gen_ndr/echo.h
source3/librpc/gen_ndr/epmapper.h
source3/librpc/gen_ndr/initshutdown.h
source3/librpc/gen_ndr/lsa.h
source3/librpc/gen_ndr/ndr_dfs.c
source3/librpc/gen_ndr/ndr_echo.c
source3/librpc/gen_ndr/ndr_echo.h
source3/librpc/gen_ndr/ndr_epmapper.c
source3/librpc/gen_ndr/ndr_initshutdown.c
source3/librpc/gen_ndr/ndr_lsa.c
source3/librpc/gen_ndr/ndr_netlogon.c
source3/librpc/gen_ndr/ndr_notify.c
source3/librpc/gen_ndr/ndr_svcctl.c
source3/librpc/gen_ndr/netlogon.h
source3/librpc/gen_ndr/notify.h
source3/librpc/gen_ndr/svcctl.h
source3/librpc/idl/dfs.idl
source3/librpc/idl/drsuapi.idl
source3/librpc/idl/dssetup.idl
source3/librpc/idl/echo.idl
source3/librpc/idl/epmapper.idl
source3/librpc/idl/eventlog.idl
source3/librpc/idl/initshutdown.idl
source3/librpc/idl/lsa.idl
source3/librpc/idl/nbt.idl
source3/librpc/idl/netlogon.idl
source3/librpc/idl/notify.idl
source3/librpc/idl/ntsvcs.idl
source3/librpc/idl/spoolss.idl
source3/librpc/idl/srvsvc.idl
source3/librpc/idl/svcctl.idl
source3/librpc/idl/winreg.idl
source4/librpc/idl/dfs.idl
source4/librpc/idl/drsuapi.idl
source4/librpc/idl/eventlog.idl
source4/librpc/idl/lsa.idl
source4/librpc/idl/netlogon.idl
source4/librpc/idl/ntsvcs.idl
source4/librpc/idl/svcctl.idl

index 79980d1d6b504344330e1ce0d4e76ff5c4a7f698..cfa2eaad23210342575082f0d16009478dce2303 100644 (file)
@@ -25,7 +25,7 @@ if test x"$INCLUDED_POPT" != x"no"; then
        dnl find the popt sources. This is meant to work both for 
        dnl popt standalone builds, and builds of packages using popt
        poptdir=""
-       poptpaths="$srcdir $srcdir/lib/popt $srcdir/popt $srcdir/../popt"
+       poptpaths="$srcdir $srcdir/lib/popt $srcdir/popt $srcdir/../popt $srcdir/../lib/popt"
        for d in $poptpaths; do
                if test -f "$d/popt.c"; then
                        poptdir="$d"            
index 8957eaef56a47783c73f8978a625404ded2827e7..07548c3742cb8771fe123e13a92da7bfb5e9c865 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <stdint.h>
 
+#include "librpc/gen_ndr/misc.h"
 #ifndef _HEADER_netdfs
 #define _HEADER_netdfs
 
index c8b5b864224d882772eb8c08be8009112b38228c..79d4220714d40b121272919be953cb96ab69057f 100644 (file)
@@ -7,7 +7,7 @@
 
 struct echo_info1 {
        uint8_t v;
-};
+}/* [public] */;
 
 struct echo_info2 {
        uint16_t v;
index d39269b32b2e66f03356891a06a76f6ab25d50d9..7689ee54a658240713421d758a2aeeaff759bf2a 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <stdint.h>
 
+#include "librpc/gen_ndr/misc.h"
 #ifndef _HEADER_epmapper
 #define _HEADER_epmapper
 
index 366f017c97fe21638f85be6e47f8c4ad5b362426..3f2384641bfb797330ce18d224395879a1bc0872 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <stdint.h>
 
+#include "librpc/gen_ndr/lsa.h"
 #ifndef _HEADER_initshutdown
 #define _HEADER_initshutdown
 
index 1e3d3162b280026137811dfab212205a690e40b8..b37d7a1c417966a0a1abc36bc5f710bb81d190bb 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <stdint.h>
 
+#include "librpc/gen_ndr/misc.h"
 #include "librpc/gen_ndr/security.h"
 #ifndef _HEADER_lsarpc
 #define _HEADER_lsarpc
index 05f6fcc0ed5dec17c284efa716d396cfb2a2d088..75a0d4b7552960e7ad6fc6b1a7ac29b360b868ff 100644 (file)
@@ -3,6 +3,7 @@
 #include "includes.h"
 #include "librpc/gen_ndr/ndr_dfs.h"
 
+#include "librpc/gen_ndr/ndr_misc.h"
 static enum ndr_err_code ndr_push_dfs_ManagerVersion(struct ndr_push *ndr, int ndr_flags, enum dfs_ManagerVersion r)
 {
        NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r));
index 93a8464c7bebf6756d1b31864175daadb2aba3fe..99556e1bffa9c9644833ae1b3fccb927d701ca25 100644 (file)
@@ -3,7 +3,7 @@
 #include "includes.h"
 #include "librpc/gen_ndr/ndr_echo.h"
 
-static enum ndr_err_code ndr_push_echo_info1(struct ndr_push *ndr, int ndr_flags, const struct echo_info1 *r)
+_PUBLIC_ enum ndr_err_code ndr_push_echo_info1(struct ndr_push *ndr, int ndr_flags, const struct echo_info1 *r)
 {
        if (ndr_flags & NDR_SCALARS) {
                NDR_CHECK(ndr_push_align(ndr, 1));
@@ -14,7 +14,7 @@ static enum ndr_err_code ndr_push_echo_info1(struct ndr_push *ndr, int ndr_flags
        return NDR_ERR_SUCCESS;
 }
 
-static enum ndr_err_code ndr_pull_echo_info1(struct ndr_pull *ndr, int ndr_flags, struct echo_info1 *r)
+_PUBLIC_ enum ndr_err_code ndr_pull_echo_info1(struct ndr_pull *ndr, int ndr_flags, struct echo_info1 *r)
 {
        if (ndr_flags & NDR_SCALARS) {
                NDR_CHECK(ndr_pull_align(ndr, 1));
index 7af1c7446b8fa4b1277addca50032f80847d7812..c1c77165737b4da94dd2c1df2e59e68d63b7fcaa 100644 (file)
@@ -32,6 +32,8 @@ extern const struct ndr_interface_table ndr_table_rpcecho;
 #define NDR_ECHO_TESTDOUBLEPOINTER (0x09)
 
 #define NDR_RPCECHO_CALL_COUNT (10)
+enum ndr_err_code ndr_push_echo_info1(struct ndr_push *ndr, int ndr_flags, const struct echo_info1 *r);
+enum ndr_err_code ndr_pull_echo_info1(struct ndr_pull *ndr, int ndr_flags, struct echo_info1 *r);
 void ndr_print_echo_info1(struct ndr_print *ndr, const char *name, const struct echo_info1 *r);
 void ndr_print_echo_info2(struct ndr_print *ndr, const char *name, const struct echo_info2 *r);
 void ndr_print_echo_info3(struct ndr_print *ndr, const char *name, const struct echo_info3 *r);
index 0ffaba019d31afeab37588482b35b10598a16b3d..b7cead8a2140e4eb51073cddf23fb51736b797d3 100644 (file)
@@ -3,6 +3,7 @@
 #include "includes.h"
 #include "librpc/gen_ndr/ndr_epmapper.h"
 
+#include "librpc/gen_ndr/ndr_misc.h"
 static enum ndr_err_code ndr_push_epm_protocol(struct ndr_push *ndr, int ndr_flags, enum epm_protocol r)
 {
        NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r));
index 5d6c0c3c08db560a587cf4f83f723fcef87355bc..271dac12b0ebd231324bf5e49a57962bed466b28 100644 (file)
@@ -3,6 +3,7 @@
 #include "includes.h"
 #include "librpc/gen_ndr/ndr_initshutdown.h"
 
+#include "librpc/gen_ndr/ndr_lsa.h"
 static enum ndr_err_code ndr_push_initshutdown_String_sub(struct ndr_push *ndr, int ndr_flags, const struct initshutdown_String_sub *r)
 {
        if (ndr_flags & NDR_SCALARS) {
index 716984bb915e71f93cb09d7d817032c3552b39a0..b5dd2a0bc1132140834e9cd043771c2d74904170 100644 (file)
@@ -3,6 +3,7 @@
 #include "includes.h"
 #include "librpc/gen_ndr/ndr_lsa.h"
 
+#include "librpc/gen_ndr/ndr_misc.h"
 #include "librpc/gen_ndr/ndr_security.h"
 _PUBLIC_ enum ndr_err_code ndr_push_lsa_String(struct ndr_push *ndr, int ndr_flags, const struct lsa_String *r)
 {
index a656a8501afac914e4e6bfebdce71a7b55c694f5..0bd3d0fd164e5259ddd0fe85b6a6205cba783d3e 100644 (file)
@@ -3,6 +3,7 @@
 #include "includes.h"
 #include "librpc/gen_ndr/ndr_netlogon.h"
 
+#include "librpc/gen_ndr/ndr_misc.h"
 #include "librpc/gen_ndr/ndr_lsa.h"
 #include "librpc/gen_ndr/ndr_samr.h"
 #include "librpc/gen_ndr/ndr_security.h"
index 00ba8bc29329107c6c0c5e9e0ac91a657109a40b..b4be9a8f5a54696e08c13dade09142ce4333d1f4 100644 (file)
@@ -3,6 +3,7 @@
 #include "includes.h"
 #include "librpc/gen_ndr/ndr_notify.h"
 
+#include "librpc/gen_ndr/ndr_misc.h"
 _PUBLIC_ enum ndr_err_code ndr_push_notify_entry(struct ndr_push *ndr, int ndr_flags, const struct notify_entry *r)
 {
        if (ndr_flags & NDR_SCALARS) {
index 9482b78c3e2b24f66a0095319b3d91781d02cf55..ec1450b48ba2e1f8d911f176be8c90ac6e96295f 100644 (file)
@@ -3,6 +3,7 @@
 #include "includes.h"
 #include "librpc/gen_ndr/ndr_svcctl.h"
 
+#include "librpc/gen_ndr/ndr_misc.h"
 static enum ndr_err_code ndr_push_SERVICE_LOCK_STATUS(struct ndr_push *ndr, int ndr_flags, const struct SERVICE_LOCK_STATUS *r)
 {
        if (ndr_flags & NDR_SCALARS) {
index 1cea1f0f42f490525c4946be8505f3f12c4e552f..a38deb302a255fb09881b75548d3d8f5eb087e63 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <stdint.h>
 
+#include "librpc/gen_ndr/misc.h"
 #include "librpc/gen_ndr/lsa.h"
 #include "librpc/gen_ndr/samr.h"
 #include "librpc/gen_ndr/security.h"
index c809702e5d509e555b4eec66d8656e4af79dfe15..8b2eca5004433198a5a7140c3120a5f4006b7de1 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <stdint.h>
 
+#include "librpc/gen_ndr/misc.h"
 #ifndef _HEADER_notify
 #define _HEADER_notify
 
index d4135d2ddb9b89d18b42141fc59b1cb966942978..b7f39a9b029efcf4ffc4e0e8d797f419a019dca7 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <stdint.h>
 
+#include "librpc/gen_ndr/misc.h"
 #ifndef _HEADER_svcctl
 #define _HEADER_svcctl
 
index a729b0e560dcc46958ecc866ecb8c6c101e55f76..1b145f3dfa384a9da39b133f8d6e719b931c964e 100644 (file)
@@ -2,6 +2,8 @@
   dfs interface definition
 */
 
+import "misc.idl";
+
 [ uuid("4fc742e0-4a10-11cf-8273-00aa004ae673"),
   version(3.0),
   pointer_default(unique),
                );
 
        /* Function 0x06 */
-       WERROR dfs_Rename();
+       [todo] WERROR dfs_Rename();
 
        /* Function 0x07 */
-       WERROR dfs_Move();
+       [todo] WERROR dfs_Move();
 
        /* Function 0x08 */
-       WERROR dfs_ManagerGetConfigInfo();
+       [todo] WERROR dfs_ManagerGetConfigInfo();
 
        /* Function 0x09 */
-       WERROR dfs_ManagerSendSiteInfo();
+       [todo] WERROR dfs_ManagerSendSiteInfo();
 
        /* Function 0x0a */
        typedef struct {
                );
 
        /* Function 0x13 */
-       WERROR dfs_Add2();
+       [todo] WERROR dfs_Add2();
 
        /* Function 0x14 */
-       WERROR dfs_Remove2();
+       [todo] WERROR dfs_Remove2();
 
        /* Function 0x15 */
        [public] WERROR dfs_EnumEx(
        );
 
        /* Function 0x16 */
-       WERROR dfs_SetInfo2();
+       [todo] WERROR dfs_SetInfo2();
 }
index 56dd4830542b68298186b307ab799c2add581e6e..df6dcba23ab4dc27c2b7198b0faa5eed53f3844b 100644 (file)
@@ -739,7 +739,7 @@ interface drsuapi
                /* TODO ... */
        } drsuapi_DsReplicaAddOptions;
 
-       WERROR DRSUAPI_REPLICA_ADD();
+       [todo] WERROR DRSUAPI_REPLICA_ADD();
 
        /*****************/
         /* Function 0x06 */
@@ -749,7 +749,7 @@ interface drsuapi
                /* TODO ... */
        } drsuapi_DsReplicaDeleteOptions;
 
-       WERROR DRSUAPI_REPLICA_DEL();
+       [todo] WERROR DRSUAPI_REPLICA_DEL();
 
        /*****************/
         /* Function 0x07 */
@@ -758,11 +758,11 @@ interface drsuapi
                DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE                     = 0x00000002
        } drsuapi_DsReplicaModifyOptions;
 
-       WERROR DRSUAPI_REPLICA_MODIFY();
+       [todo] WERROR DRSUAPI_REPLICA_MODIFY();
 
        /*****************/
         /* Function 0x08 */
-       WERROR DRSUAPI_VERIFY_NAMES();
+       [todo] WERROR DRSUAPI_VERIFY_NAMES();
 
        /*****************/
         /* Function 0x09 */
@@ -815,7 +815,7 @@ interface drsuapi
 
        /*****************/
         /* Function 0x0a */
-       WERROR DRSUAPI_INTER_DOMAIN_MOVE();
+       [todo] WERROR DRSUAPI_INTER_DOMAIN_MOVE();
 
        /*****************/
         /* Function 0x0b */
@@ -998,7 +998,7 @@ interface drsuapi
 
        /*****************/
         /* Function 0x0f */
-       WERROR DRSUAPI_REMOVE_DS_DOMAIN();
+       [todo] WERROR DRSUAPI_REMOVE_DS_DOMAIN();
 
        /*****************/
         /* Function 0x10 */
@@ -1242,7 +1242,7 @@ interface drsuapi
 
        /*****************/
         /* Function 0x12 */
-       WERROR DRSUAPI_EXECUTE_KCC();
+       [todo] WERROR DRSUAPI_EXECUTE_KCC();
 
        /*****************/
        /* Function 0x13 */
@@ -1523,7 +1523,7 @@ interface drsuapi
 
        /*****************/
         /* Function 0x14 */
-       WERROR DRSUAPI_ADD_SID_HISTORY();
+       [todo] WERROR DRSUAPI_ADD_SID_HISTORY();
 
        /*****************/
         /* Function 0x15 */
@@ -1557,11 +1557,11 @@ interface drsuapi
 
        /*****************/
         /* Function 0x16 */
-       WERROR DRSUAPI_REPLICA_VERIFY_OBJECTS();
+       [todo] WERROR DRSUAPI_REPLICA_VERIFY_OBJECTS();
 
        /*****************/
         /* Function 0x17 */
-       WERROR DRSUAPI_GET_OBJECT_EXISTENCE();
+       [todo] WERROR DRSUAPI_GET_OBJECT_EXISTENCE();
 
        /*****************/
         /* Function 0x18 */
index af6350cc438c9d19585951a6200c5555d235deb1..14de9f76338dc92c2a299664e67055055c355970 100644 (file)
@@ -88,14 +88,14 @@ import "misc.idl";
          These stubs are left here only as a way of documenting the names
          of the calls in case they ever turn up on the wire.
        */
-       WERROR dssetup_DsRoleDnsNameToFlatName();
-       WERROR dssetup_DsRoleDcAsDc();
-       WERROR dssetup_DsRoleDcAsReplica();
-       WERROR dssetup_DsRoleDemoteDc();
-       WERROR dssetup_DsRoleGetDcOperationProgress();
-       WERROR dssetup_DsRoleGetDcOperationResults();
-       WERROR dssetup_DsRoleCancel();
-       WERROR dssetup_DsRoleServerSaveStateForUpgrade();
-       WERROR dssetup_DsRoleUpgradeDownlevelServer();
-       WERROR dssetup_DsRoleAbortDownlevelServerUpgrade();
+       [todo] WERROR dssetup_DsRoleDnsNameToFlatName();
+       [todo] WERROR dssetup_DsRoleDcAsDc();
+       [todo] WERROR dssetup_DsRoleDcAsReplica();
+       [todo] WERROR dssetup_DsRoleDemoteDc();
+       [todo] WERROR dssetup_DsRoleGetDcOperationProgress();
+       [todo] WERROR dssetup_DsRoleGetDcOperationResults();
+       [todo] WERROR dssetup_DsRoleCancel();
+       [todo] WERROR dssetup_DsRoleServerSaveStateForUpgrade();
+       [todo] WERROR dssetup_DsRoleUpgradeDownlevelServer();
+       [todo] WERROR dssetup_DsRoleAbortDownlevelServerUpgrade();
 }
index 5ea37f1ac1940cc22d0801f87b8075f15154826e..bf1e318674988ec3a6260b7ab64b8169fe4ed98d 100644 (file)
@@ -38,7 +38,7 @@ interface rpcecho
 
 
        /* test some alignment issues */
-       typedef struct {
+       typedef [public] struct {
                uint8 v;
        } echo_info1;
 
index 5611c3de1835a3167e785cdb721e85c996bcfdb5..2cbe3e1f02ca5d3ec6297e010e9c9e40fda12b31 100644 (file)
@@ -3,11 +3,14 @@
 /*
   endpoint mapper interface
   Related links:
+       http://www.opengroup.org/onlinepubs/9629399/apdxo.htm : The official IDL for this pipe
        http://www.opengroup.org/onlinepubs/9629399/apdxl.htm : Details on towers
 http://www.opengroup.org/onlinepubs/9629399/chap6.htm#tagcjh_11_02_03_01: binding strings
 
 */
 
+import "misc.idl";
+
 [
  uuid("e1af8308-5d1f-11c9-91a4-08002b14a0fa"), 
  version(3.0), 
@@ -298,5 +301,5 @@ interface epmapper
 
        /**********************/
        /* Function 0x07      */
-       error_status_t epm_MapAuth();
+       [todo] error_status_t epm_MapAuth();
 }
index 18b1a0e454934a55d0018cc66db57ee703f54274..ce25dd65ffbd3125fbf699f0b90c1728f5b38c33 100644 (file)
@@ -64,7 +64,7 @@ import "lsa.idl", "security.idl";
 
        /******************/
        /* Function: 0x01 */
-       NTSTATUS eventlog_BackupEventLogW();
+       [todo] NTSTATUS eventlog_BackupEventLogW();
        
        /******************/
        /* Function: 0x02 */
@@ -74,7 +74,7 @@ import "lsa.idl", "security.idl";
 
        /******************/
        /* Function: 0x03 */
-       NTSTATUS eventlog_DeregisterEventSource();
+       [todo] NTSTATUS eventlog_DeregisterEventSource();
 
        /******************/
        /* Function: 0x04 */
@@ -92,7 +92,7 @@ import "lsa.idl", "security.idl";
 
        /******************/
        /* Function: 0x06 */
-       NTSTATUS eventlog_ChangeNotify();
+       [todo] NTSTATUS eventlog_ChangeNotify();
 
        /******************/
        /* Function: 0x07 */
@@ -107,11 +107,11 @@ import "lsa.idl", "security.idl";
 
        /******************/
        /* Function: 0x08 */
-       NTSTATUS eventlog_RegisterEventSourceW();
+       [todo] NTSTATUS eventlog_RegisterEventSourceW();
 
        /******************/
        /* Function: 0x09 */
-       NTSTATUS eventlog_OpenBackupEventLogW();
+       [todo] NTSTATUS eventlog_OpenBackupEventLogW();
 
        /******************/
        /* Function: 0x0a */
@@ -127,51 +127,51 @@ import "lsa.idl", "security.idl";
 
        /*****************/
        /* Function 0x0b */
-       NTSTATUS eventlog_ReportEventW();
+       [todo] NTSTATUS eventlog_ReportEventW();
 
        /*****************/
        /* Function 0x0c */
-       NTSTATUS eventlog_ClearEventLogA();
+       [todo] NTSTATUS eventlog_ClearEventLogA();
        
        /******************/
        /* Function: 0x0d */
-       NTSTATUS eventlog_BackupEventLogA();
+       [todo] NTSTATUS eventlog_BackupEventLogA();
 
        /*****************/
        /* Function 0x0e */
-       NTSTATUS eventlog_OpenEventLogA();
+       [todo] NTSTATUS eventlog_OpenEventLogA();
 
        /*****************/
        /* Function 0x0f */
-       NTSTATUS eventlog_RegisterEventSourceA();
+       [todo] NTSTATUS eventlog_RegisterEventSourceA();
 
        /*****************/
        /* Function 0x10 */
-       NTSTATUS eventlog_OpenBackupEventLogA();
+       [todo] NTSTATUS eventlog_OpenBackupEventLogA();
 
        /*****************/
        /* Function 0x11 */
-       NTSTATUS eventlog_ReadEventLogA();
+       [todo] NTSTATUS eventlog_ReadEventLogA();
 
        /*****************/
        /* Function 0x12 */
-       NTSTATUS eventlog_ReportEventA();
+       [todo] NTSTATUS eventlog_ReportEventA();
 
        /*****************/
        /* Function 0x13 */
-       NTSTATUS eventlog_RegisterClusterSvc();
+       [todo] NTSTATUS eventlog_RegisterClusterSvc();
 
        /*****************/
        /* Function 0x14 */
-       NTSTATUS eventlog_DeregisterClusterSvc();
+       [todo] NTSTATUS eventlog_DeregisterClusterSvc();
 
        /*****************/
        /* Function 0x15 */
-       NTSTATUS eventlog_WriteClusterEvents();
+       [todo] NTSTATUS eventlog_WriteClusterEvents();
 
        /*****************/
        /* Function 0x16 */
-       NTSTATUS eventlog_GetLogIntormation();
+       [todo] NTSTATUS eventlog_GetLogIntormation();
 
        /*****************/
        /* Function 0x17 */
index 8815a9a29ea136d4730bd77704f156683f859306..dfc52714c4cdef608a5297a816e49075ec32aa0b 100644 (file)
@@ -4,6 +4,8 @@
   initshutdown interface definition
 */
 
+import "lsa.idl";
+
 [ 
   uuid("894de0c0-0d55-11d3-a322-00c04fa321a1"),
   version(1.0),
index cb16f64dab6375f14bb75ff69afb5aa3b3e5f264..ff4aafa0bdfcf6813a19763acfd0cf73f98fbad4 100644 (file)
@@ -4,7 +4,7 @@
   lsa interface definition
 */
 
-import "security.idl";
+import "misc.idl", "security.idl";
 
 [ uuid("12345778-1234-abcd-ef00-0123456789ab"),
   version(0.0),
@@ -108,7 +108,7 @@ import "security.idl";
 
        /******************/
        /* Function: 0x05 */
-       NTSTATUS lsa_ChangePassword ();
+       [todo] NTSTATUS lsa_ChangePassword ();
 
 
        /******************/
@@ -297,7 +297,7 @@ import "security.idl";
 
        /******************/
        /* Function:       0x09 */
-       NTSTATUS lsa_ClearAuditLog ();
+       [todo] NTSTATUS lsa_ClearAuditLog ();
 
        /******************/
        /* Function: 0x0a */
@@ -506,10 +506,10 @@ import "security.idl";
                );
 
        /* Function:           0x15 */
-       NTSTATUS lsa_GetQuotasForAccount();
+       [todo] NTSTATUS lsa_GetQuotasForAccount();
        
        /* Function:           0x16 */
-       NTSTATUS lsa_SetQuotasForAccount();
+       [todo] NTSTATUS lsa_SetQuotasForAccount();
        
        /* Function:    0x17 */
        NTSTATUS lsa_GetSystemAccessAccount(
@@ -759,9 +759,9 @@ import "security.idl";
        );
 
        /* Function:       0x2a */
-       NTSTATUS lsa_StorePrivateData();
+       [todo] NTSTATUS lsa_StorePrivateData();
        /* Function:        0x2b */
-       NTSTATUS lsa_RetrievePrivateData();
+       [todo] NTSTATUS lsa_RetrievePrivateData();
 
 
        /**********************/
@@ -892,7 +892,7 @@ import "security.idl";
                );
 
        /* Function 0x38 */
-       NTSTATUS lsa_TestCall();
+       [todo] NTSTATUS lsa_TestCall();
 
        /**********************/
        /* Function 0x39 */
@@ -951,28 +951,28 @@ import "security.idl";
        NTSTATUS lsa_CreateTrustedDomainEx2();
 
        /* Function 0x3c */
-       NTSTATUS lsa_CREDRWRITE();
+       [todo] NTSTATUS lsa_CREDRWRITE();
 
        /* Function 0x3d */
-       NTSTATUS lsa_CREDRREAD();
+       [todo] NTSTATUS lsa_CREDRREAD();
 
        /* Function 0x3e */
-       NTSTATUS lsa_CREDRENUMERATE();
+       [todo] NTSTATUS lsa_CREDRENUMERATE();
 
        /* Function 0x3f */
-       NTSTATUS lsa_CREDRWRITEDOMAINCREDENTIALS();
+       [todo] NTSTATUS lsa_CREDRWRITEDOMAINCREDENTIALS();
 
        /* Function 0x40 */
-       NTSTATUS lsa_CREDRREADDOMAINCREDENTIALS();
+       [todo] NTSTATUS lsa_CREDRREADDOMAINCREDENTIALS();
 
        /* Function 0x41 */
-       NTSTATUS lsa_CREDRDELETE();
+       [todo] NTSTATUS lsa_CREDRDELETE();
 
        /* Function 0x42 */
-       NTSTATUS lsa_CREDRGETTARGETINFO();
+       [todo] NTSTATUS lsa_CREDRGETTARGETINFO();
 
        /* Function 0x43 */
-       NTSTATUS lsa_CREDRPROFILELOADED();
+       [todo] NTSTATUS lsa_CREDRPROFILELOADED();
 
        /**********************/
        /* Function 0x44 */
@@ -1001,16 +1001,16 @@ import "security.idl";
                );
 
        /* Function 0x45 */
-       NTSTATUS lsa_CREDRGETSESSIONTYPES();
+       [todo] NTSTATUS lsa_CREDRGETSESSIONTYPES();
 
        /* Function 0x46 */
-       NTSTATUS lsa_LSARREGISTERAUDITEVENT();
+       [todo] NTSTATUS lsa_LSARREGISTERAUDITEVENT();
 
        /* Function 0x47 */
-       NTSTATUS lsa_LSARGENAUDITEVENT();
+       [todo] NTSTATUS lsa_LSARGENAUDITEVENT();
 
        /* Function 0x48 */
-       NTSTATUS lsa_LSARUNREGISTERAUDITEVENT();
+       [todo] NTSTATUS lsa_LSARUNREGISTERAUDITEVENT();
 
        /* Function 0x49 */
        typedef struct {
@@ -1058,10 +1058,10 @@ import "security.idl";
                );
 
        /* Function 0x4a */
-       NTSTATUS lsa_LSARSETFORESTTRUSTINFORMATION();
+       [todo] NTSTATUS lsa_LSARSETFORESTTRUSTINFORMATION();
 
        /* Function 0x4b */
-       NTSTATUS lsa_CREDRRENAME();
+       [todo] NTSTATUS lsa_CREDRRENAME();
 
        /*****************/
        /* Function 0x4c */
@@ -1089,15 +1089,15 @@ import "security.idl";
                );
 
        /* Function 0x4e */
-       NTSTATUS lsa_LSAROPENPOLICYSCE();
+       [todo] NTSTATUS lsa_LSAROPENPOLICYSCE();
 
        /* Function 0x4f */
-       NTSTATUS lsa_LSARADTREGISTERSECURITYEVENTSOURCE();
+       [todo] NTSTATUS lsa_LSARADTREGISTERSECURITYEVENTSOURCE();
 
        /* Function 0x50 */
-       NTSTATUS lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE();
+       [todo] NTSTATUS lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE();
 
        /* Function 0x51 */
-       NTSTATUS lsa_LSARADTREPORTSECURITYEVENT();
+       [todo] NTSTATUS lsa_LSARADTREPORTSECURITYEVENT();
 
 }
index 9f5c4a9a5f70af6e9af1ab8ac5d65442a37b55d1..654f53c52f49cc4ddfa722bf68587795185e1316 100644 (file)
@@ -167,7 +167,7 @@ interface nbt
        } nbt_rdata;
 
 /*
- * this macro works arround the problem
+ * this macro works around the problem
  * that we need to use nbt_rdata_data
  * together with NBT_QTYPE_NETBIOS
  * for WACK replies
index 74535fc073249c1868ef81da0bd9a24319a38928..eaa4ed14daf9fff71c71133a201666ead59c6e37 100644 (file)
@@ -4,7 +4,7 @@
   who contributed!
 */
 
-import "lsa.idl", "samr.idl", "security.idl", "nbt.idl";
+import "misc.idl", "lsa.idl", "samr.idl", "security.idl", "nbt.idl";
 
 #include "idl_types.h"
 
@@ -1056,11 +1056,11 @@ interface netlogon
 
        /*****************/
        /* Function 0x15 */
-       WERROR netr_NETRLOGONDUMMYROUTINE1();
+       [todo] WERROR netr_NETRLOGONDUMMYROUTINE1();
 
        /****************/
        /* Function 0x16 */
-       WERROR netr_NETRLOGONSETSERVICEBITS();
+       [todo] WERROR netr_NETRLOGONSETSERVICEBITS();
 
        /****************/
        /* Function 0x17 */
@@ -1072,11 +1072,11 @@ interface netlogon
 
        /****************/
        /* Function 0x18 */
-       WERROR netr_NETRLOGONCOMPUTESERVERDIGEST();
+       [todo] WERROR netr_NETRLOGONCOMPUTESERVERDIGEST();
 
        /****************/
        /* Function 0x19 */
-       WERROR netr_NETRLOGONCOMPUTECLIENTDIGEST();
+       [todo] WERROR netr_NETRLOGONCOMPUTECLIENTDIGEST();
 
        /****************/
        /* Function 0x1a */
@@ -1201,7 +1201,7 @@ interface netlogon
 
        /****************/
        /* Function 0x20 */
-       WERROR netr_NETRLOGONSENDTOSAM();
+       [todo] WERROR netr_NETRLOGONSENDTOSAM();
 
        /****************/
        /* Function 0x21 */
@@ -1237,7 +1237,7 @@ interface netlogon
 
        /****************/
        /* Function 0x23 */
-       WERROR netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN();
+       [todo] WERROR netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN();
 
        /****************/
        /* Function 0x24 */
@@ -1404,5 +1404,5 @@ interface netlogon
 
        /****************/
        /* Function 0x2e */
-       WERROR netr_NETRSERVERGETTRUSTINFO();
+       [todo] WERROR netr_NETRSERVERGETTRUSTINFO();
 }
index c4e633c254fe2890555ea96ca71c3e34d5c527b6..6f9ad25f092e3e838768ec528c97057fbe84927a 100644 (file)
@@ -7,6 +7,8 @@
    the change notify buffers
 */
 
+import "misc.idl";
+
 [
   pointer_default(unique)
 ]
index bac2549c737ca50bd410912990aa406b16d3a49e..cd71de58681d4b30e2949fe6c94f2a52f903dd0b 100644 (file)
@@ -1,6 +1,7 @@
 /*
   plug and play services
 */
+
 [
   uuid("8d9f4e40-a03d-11ce-8f69-08003e30051b"),
   version(1.0),
index 2144393ebd44ef1c61d97b2c709bd10f3765150e..6b4b0b8a162807e41d556418b7ab4ca9430461c6 100644 (file)
@@ -3,7 +3,7 @@
 /*
   spoolss interface definitions
 */
-import "security.idl", "winreg.idl";
+import "misc.idl", "security.idl", "winreg.idl";
 
 [ uuid("12345678-1234-abcd-ef00-0123456789ab"),
   version(1.0),
@@ -386,14 +386,14 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x05 */
-       WERROR spoolss_AddPrinter(
+       [todo] WERROR spoolss_AddPrinter(
                /* This function is not implemented in Samba 3 as no
                   clients have been observed using it. */
        );
 
        /******************/
        /* Function: 0x06 */
-       WERROR spoolss_DeletePrinter(
+       [todo] WERROR spoolss_DeletePrinter(
        );
 
        /******************/
@@ -442,7 +442,7 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x09 */
-       WERROR spoolss_AddPrinterDriver(
+       [todo] WERROR spoolss_AddPrinterDriver(
        );
 
        typedef struct {
@@ -564,7 +564,7 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x0b */
-       WERROR spoolss_GetPrinterDriver(
+       [todo] WERROR spoolss_GetPrinterDriver(
        );
 
        /******************/
@@ -602,7 +602,7 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x0e */
-       WERROR spoolss_AddPrintProcessor(
+       [todo] WERROR spoolss_AddPrintProcessor(
        );
 
        /******************/
@@ -644,7 +644,7 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x10 */
-       WERROR spoolss_GetPrintProcessorDirectory(
+       [todo] WERROR spoolss_GetPrintProcessorDirectory(
        );
 
        /******************/
@@ -713,12 +713,12 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x18 */
-       WERROR spoolss_AddJob(
+       [todo] WERROR spoolss_AddJob(
        );
 
        /******************/
        /* Function: 0x19 */
-       WERROR spoolss_ScheduleJob(
+       [todo] WERROR spoolss_ScheduleJob(
        );
 
        /******************/
@@ -806,7 +806,7 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x1c */
-       WERROR spoolss_WaitForPrinterChange(
+       [todo] WERROR spoolss_WaitForPrinterChange(
        );
 
        /******************/
@@ -1022,79 +1022,79 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x26 */
-       WERROR spoolss_ConfigurePort(
+       [todo] WERROR spoolss_ConfigurePort(
        );
 
        /******************/
        /* Function: 0x27 */
-       WERROR spoolss_DeletePort(
+       [todo] WERROR spoolss_DeletePort(
        );
 
        /******************/
        /* Function: 0x28 */
-       WERROR spoolss_CreatePrinterIC(
+       [todo] WERROR spoolss_CreatePrinterIC(
        );
 
        /******************/
        /* Function: 0x29 */
-       WERROR spoolss_PlayGDIScriptOnPrinterIC(
+       [todo] WERROR spoolss_PlayGDIScriptOnPrinterIC(
        );
 
        /******************/
        /* Function: 0x2a */
-       WERROR spoolss_DeletePrinterIC(
+       [todo] WERROR spoolss_DeletePrinterIC(
        );
 
        /******************/
        /* Function: 0x2b */
-       WERROR spoolss_AddPrinterConnection(
+       [todo] WERROR spoolss_AddPrinterConnection(
        );
 
        /******************/
        /* Function: 0x2c */
-       WERROR spoolss_DeletePrinterConnection(
+       [todo] WERROR spoolss_DeletePrinterConnection(
        );
 
        /******************/
        /* Function: 0x2d */
-       WERROR spoolss_PrinterMessageBox(
+       [todo] WERROR spoolss_PrinterMessageBox(
                /* Marked as obsolete in MSDN.  "Not necessary and has
                   no effect". */
        );
 
        /******************/
        /* Function: 0x2e */
-       WERROR spoolss_AddMonitor(
+       [todo] WERROR spoolss_AddMonitor(
        );
 
        /******************/
        /* Function: 0x2f */
-       WERROR spoolss_DeleteMonitor(
+       [todo] WERROR spoolss_DeleteMonitor(
        );
 
        /******************/
        /* Function: 0x30 */
-       WERROR spoolss_DeletePrintProcessor(
+       [todo] WERROR spoolss_DeletePrintProcessor(
        );
 
        /******************/
        /* Function: 0x31 */
-       WERROR spoolss_AddPrintProvidor(
+       [todo] WERROR spoolss_AddPrintProvidor(
        );
 
        /******************/
        /* Function: 0x32 */
-       WERROR spoolss_DeletePrintProvidor(
+       [todo] WERROR spoolss_DeletePrintProvidor(
        );
 
        /******************/
        /* Function: 0x33 */
-       WERROR spoolss_EnumPrintProcDataTypes(
+       [todo] WERROR spoolss_EnumPrintProcDataTypes(
        );
 
        /******************/
        /* Function: 0x34 */
-       WERROR spoolss_ResetPrinter(
+       [todo] WERROR spoolss_ResetPrinter(
        );
 
        /******************/
@@ -1115,12 +1115,12 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x36 */
-       WERROR spoolss_FindFirstPrinterChangeNotification(
+       [todo] WERROR spoolss_FindFirstPrinterChangeNotification(
        );
 
        /******************/
        /* Function: 0x37 */
-       WERROR spoolss_FindNextPrinterChangeNotification(
+       [todo] WERROR spoolss_FindNextPrinterChangeNotification(
        );
 
        /******************/
@@ -1131,7 +1131,7 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x39 */
-       WERROR spoolss_RouterFindFirstPrinterChangeNotificationOld(
+       [todo] WERROR spoolss_RouterFindFirstPrinterChangeNotificationOld(
        );
 
        /******************/
@@ -1147,7 +1147,7 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x3b */
-       WERROR spoolss_RouterReplyPrinter(
+       [todo] WERROR spoolss_RouterReplyPrinter(
        );
 
        /******************/
@@ -1158,22 +1158,22 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x3d */
-       WERROR spoolss_AddPortEx(
+       [todo] WERROR spoolss_AddPortEx(
        );
 
        /******************/
        /* Function: 0x3e */
-       WERROR spoolss_RouterFindFirstPrinterChangeNotification(
+       [todo] WERROR spoolss_RouterFindFirstPrinterChangeNotification(
        );
 
        /******************/
        /* Function: 0x3f */
-       WERROR spoolss_SpoolerInit(
+       [todo] WERROR spoolss_SpoolerInit(
        );
 
        /******************/
        /* Function: 0x40 */
-       WERROR spoolss_ResetPrinterEx(
+       [todo] WERROR spoolss_ResetPrinterEx(
        );
 
        typedef [enum16bit] enum {
@@ -1239,7 +1239,7 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x42 */
-       WERROR spoolss_RouterRefreshPrinterChangeNotification(
+       [todo] WERROR spoolss_RouterRefreshPrinterChangeNotification(
        );
 
        typedef struct {
@@ -1295,7 +1295,7 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x44 */
-       WERROR spoolss_44(
+       [todo] WERROR spoolss_44(
        );
 
        typedef struct {
@@ -1399,7 +1399,7 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x47 */
-       WERROR spoolss_47(
+       [todo] WERROR spoolss_47(
        );
 
        /******************/
@@ -1425,17 +1425,17 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x4a */
-       WERROR spoolss_4a(
+       [todo] WERROR spoolss_4a(
        );
 
        /******************/
        /* Function: 0x4b */
-       WERROR spoolss_4b(
+       [todo] WERROR spoolss_4b(
        );
 
        /******************/
        /* Function: 0x4c */
-       WERROR spoolss_4c(
+       [todo] WERROR spoolss_4c(
        );
 
        /******************/
@@ -1492,32 +1492,32 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x52 */
-       WERROR spoolss_DeletePrinterKey(
+       [todo] WERROR spoolss_DeletePrinterKey(
        );
 
        /******************/
        /* Function: 0x53 */
-       WERROR spoolss_53(
+       [todo] WERROR spoolss_53(
        );
 
        /******************/
        /* Function: 0x54 */
-       WERROR spoolss_DeletePrinterDriverEx(
+       [todo] WERROR spoolss_DeletePrinterDriverEx(
        );
 
        /******************/
        /* Function: 0x55 */
-       WERROR spoolss_55(
+       [todo] WERROR spoolss_55(
        );
 
        /******************/
        /* Function: 0x56 */
-       WERROR spoolss_56(
+       [todo] WERROR spoolss_56(
        );
 
        /******************/
        /* Function: 0x57 */
-       WERROR spoolss_57(
+       [todo] WERROR spoolss_57(
        );
 
        /******************/
@@ -1536,36 +1536,36 @@ import "security.idl", "winreg.idl";
 
        /******************/
        /* Function: 0x59 */
-       [public] WERROR spoolss_AddPrinterDriverEx(
+       [public,todo] WERROR spoolss_AddPrinterDriverEx(
        );
 
        /******************/
        /* Function: 0x5a */
-       WERROR spoolss_5a(
+       [todo] WERROR spoolss_5a(
        );
 
        /******************/
        /* Function: 0x5b */
-       WERROR spoolss_5b(
+       [todo] WERROR spoolss_5b(
        );
 
        /******************/
        /* Function: 0x5c */
-       WERROR spoolss_5c(
+       [todo] WERROR spoolss_5c(
        );
 
        /******************/
        /* Function: 0x5d */
-       WERROR spoolss_5d(
+       [todo] WERROR spoolss_5d(
        );
 
        /******************/
        /* Function: 0x5e */
-       WERROR spoolss_5e(
+       [todo] WERROR spoolss_5e(
        );
 
        /******************/
        /* Function: 0x5f */
-       WERROR spoolss_5f(
+       [todo] WERROR spoolss_5f(
        );
 }
index 0bbd24a5dd18cfc9671fffecaf567052eb814c45..39d72b73da06a275f7cac93b8bc7108abedd8cb0 100644 (file)
@@ -3,7 +3,6 @@
 /*
   srvsvc interface definitions
 */
-
 import "security.idl", "svcctl.idl";
 
 [ uuid("4b324fc8-1670-01d3-1278-5a47bf6ee188"),
@@ -1377,7 +1376,7 @@ import "security.idl", "svcctl.idl";
 
        /******************/
        /* Function: 0x22 */
-       WERROR srvsvc_NETRPRNAMECANONICALIZE(
+       [todo] WERROR srvsvc_NETRPRNAMECANONICALIZE(
                );
 
        /******************/
@@ -1470,56 +1469,56 @@ import "security.idl", "svcctl.idl";
 
        /******************/
        /* Function: 0x2b */
-       WERROR srvsvc_NETRDFSGETVERSION(
+       [todo] WERROR srvsvc_NETRDFSGETVERSION(
                );
 
        /******************/
        /* Function: 0x2c */
-       WERROR srvsvc_NETRDFSCREATELOCALPARTITION(
+       [todo] WERROR srvsvc_NETRDFSCREATELOCALPARTITION(
                );
 
        /******************/
        /* Function: 0x2d */
-       WERROR srvsvc_NETRDFSDELETELOCALPARTITION(
+       [todo] WERROR srvsvc_NETRDFSDELETELOCALPARTITION(
                );
 
        /******************/
        /* Function: 0x2e */
-       WERROR srvsvc_NETRDFSSETLOCALVOLUMESTATE(
+       [todo] WERROR srvsvc_NETRDFSSETLOCALVOLUMESTATE(
                );
 
        /******************/
        /* Function: 0x2f */
-       WERROR srvsvc_NETRDFSSETSERVERINFO(
+       [todo] WERROR srvsvc_NETRDFSSETSERVERINFO(
                );
 
        /******************/
        /* Function: 0x30 */
-       WERROR srvsvc_NETRDFSCREATEEXITPOINT(
+       [todo] WERROR srvsvc_NETRDFSCREATEEXITPOINT(
                );
 
        /******************/
        /* Function: 0x31 */
-       WERROR srvsvc_NETRDFSDELETEEXITPOINT(
+       [todo] WERROR srvsvc_NETRDFSDELETEEXITPOINT(
                );
 
        /******************/
        /* Function: 0x32 */
-       WERROR srvsvc_NETRDFSMODIFYPREFIX(
+       [todo] WERROR srvsvc_NETRDFSMODIFYPREFIX(
                );
 
        /******************/
        /* Function: 0x33 */
-       WERROR srvsvc_NETRDFSFIXLOCALVOLUME(
+       [todo] WERROR srvsvc_NETRDFSFIXLOCALVOLUME(
                );
 
        /******************/
        /* Function: 0x34 */
-       WERROR srvsvc_NETRDFSMANAGERREPORTSITEINFO(
+       [todo] WERROR srvsvc_NETRDFSMANAGERREPORTSITEINFO(
                );
 
        /******************/
        /* Function: 0x35 */
-       WERROR srvsvc_NETRSERVERTRANSPORTDELEX(
+       [todo] WERROR srvsvc_NETRSERVERTRANSPORTDELEX(
                );
 }
index 5a843d04ef22330e2c0aa269c76bf4900e8f16ee..d1289a64d7c16c8df07fe953b2a7b360f82d9824 100644 (file)
@@ -4,6 +4,7 @@
   svcctl interface definitions
 */
 
+import "misc.idl";
 [ uuid("367abb81-9844-35f1-ad32-98f038001003"),
   version(2.0),
   pointer_default(unique),
 
        /*****************/
        /* Function 0x07 */
-       WERROR svcctl_SetServiceStatus(
+       [todo] WERROR svcctl_SetServiceStatus(
        );
 
        /*****************/
 
        /*****************/
        /* Function 0x09 */
-       WERROR svcctl_NotifyBootConfigStatus(
+       [todo] WERROR svcctl_NotifyBootConfigStatus(
        );
 
        /*****************/
 
        /*****************/
        /* Function 0x22 */
-       WERROR svcctl_GetCurrentGroupeStateW(
+       [todo] WERROR svcctl_GetCurrentGroupeStateW(
        );
 
        /*****************/
        /* Function 0x23 */
-       WERROR svcctl_EnumServiceGroupW(
+       [todo] WERROR svcctl_EnumServiceGroupW(
        );
 
        /*****************/
 
        /*****************/
        /* Function 0x2b */
-       WERROR svcctl_SCSendTSMessage(
+       [todo] WERROR svcctl_SCSendTSMessage(
        );
 }
index 2f02419af50e5ed5c105f1ce093420d65d1a417c..0d651800a521317cec5521a60af0443e57b63e17 100644 (file)
@@ -297,7 +297,7 @@ import "lsa.idl", "initshutdown.idl", "security.idl";
 
        /******************/
        /* Function: 0x17 */
-       WERROR winreg_UnLoadKey(
+       [todo] WERROR winreg_UnLoadKey(
        );
 
        /******************/
@@ -369,7 +369,7 @@ import "lsa.idl", "initshutdown.idl", "security.idl";
 
        /******************/
        /* Function: 0x1f */
-       WERROR winreg_SaveKeyEx(
+       [todo] WERROR winreg_SaveKeyEx(
        );
 
        /******************/
@@ -390,6 +390,6 @@ import "lsa.idl", "initshutdown.idl", "security.idl";
 
        /******************/
        /* Function: 0x22 */
-       WERROR winreg_QueryMultipleValues2(
+       [todo] WERROR winreg_QueryMultipleValues2(
        );
 }
index b279f555d93403d4c7bb7879a1c8c2e767e58085..1b145f3dfa384a9da39b133f8d6e719b931c964e 100644 (file)
@@ -16,7 +16,8 @@ import "misc.idl";
        typedef [v1_enum] enum {
                DFS_MANAGER_VERSION_NT4         = 1,
                DFS_MANAGER_VERSION_W2K         = 2,
-               DFS_MANAGER_VERSION_W2K3        = 4
+               DFS_MANAGER_VERSION_W2K3        = 4,
+               DFS_MANAGER_VERSION_W2K8        = 6
        } dfs_ManagerVersion;
 
        [public] void dfs_GetManagerVersion(
index cc76599be67a198f02a3661a724e992976d22b0f..0a5a081dd7fad9b016e837b9f2247d2cca68a474 100644 (file)
@@ -419,10 +419,17 @@ interface drsuapi
                DRSUAPI_ATTRIBUTE_searchFlags                   = 0x0002014e,
                DRSUAPI_ATTRIBUTE_lDAPDisplayName               = 0x000201cc,
                DRSUAPI_ATTRIBUTE_name                          = 0x00090001,
+               DRSUAPI_ATTRIBUTE_userAccountControl            = 0x00090008,
                DRSUAPI_ATTRIBUTE_currentValue                  = 0x0009001b,
+               DRSUAPI_ATTRIBUTE_homeDirectory                 = 0x0009002c,
+               DRSUAPI_ATTRIBUTE_homeDrive                     = 0x0009002d,
+               DRSUAPI_ATTRIBUTE_scriptPath                    = 0x0009003e,
+               DRSUAPI_ATTRIBUTE_profilePath                   = 0x0009008b,
                DRSUAPI_ATTRIBUTE_objectSid                     = 0x00090092,
                DRSUAPI_ATTRIBUTE_schemaIDGUID                  = 0x00090094,
                DRSUAPI_ATTRIBUTE_dBCSPwd                       = 0x00090037,/* lmPwdHash */
+               DRSUAPI_ATTRIBUTE_logonHours                    = 0x00090040,
+               DRSUAPI_ATTRIBUTE_userWorkstations              = 0x00090056,
                DRSUAPI_ATTRIBUTE_unicodePwd                    = 0x0009005a,/* ntPwdHash */
                DRSUAPI_ATTRIBUTE_ntPwdHistory                  = 0x0009005e,
                DRSUAPI_ATTRIBUTE_priorValue                    = 0x00090064,
@@ -431,6 +438,7 @@ interface drsuapi
                DRSUAPI_ATTRIBUTE_trustAuthOutgoing             = 0x00090087,
                DRSUAPI_ATTRIBUTE_lmPwdHistory                  = 0x000900a0,
                DRSUAPI_ATTRIBUTE_sAMAccountName                = 0x000900dd,
+               DRSUAPI_ATTRIBUTE_sAMAccountType                = 0x0009012e,
                DRSUAPI_ATTRIBUTE_fSMORoleOwner                 = 0x00090171,
                DRSUAPI_ATTRIBUTE_systemFlags                   = 0x00090177,
                DRSUAPI_ATTRIBUTE_serverReference               = 0x00090203,
@@ -438,7 +446,11 @@ interface drsuapi
                DRSUAPI_ATTRIBUTE_initialAuthIncoming           = 0x0009021b,
                DRSUAPI_ATTRIBUTE_initialAuthOutgoing           = 0x0009021c,
                DRSUAPI_ATTRIBUTE_wellKnownObjects              = 0x0009026a,
+               DRSUAPI_ATTRIBUTE_dNSHostName                   = 0x0009026b,
                DRSUAPI_ATTRIBUTE_isMemberOfPartialAttributeSet = 0x0009027f,
+               DRSUAPI_ATTRIBUTE_userPrincipalName             = 0x00090290,
+               DRSUAPI_ATTRIBUTE_groupType                     = 0x000902ee,
+               DRSUAPI_ATTRIBUTE_servicePrincipalName          = 0x00090303,
                DRSUAPI_ATTRIBUTE_objectCategory                = 0x0009030e,
                DRSUAPI_ATTRIBUTE_gPLink                        = 0x0009037b,
                DRSUAPI_ATTRIBUTE_msDS_Behavior_Version         = 0x000905b3,
index ee42300c7c6e6291d3e02b4929724c7cfcf59bb4..4a62ce14f36328972d2c02509df8f04a79780018 100644 (file)
@@ -86,7 +86,10 @@ import "lsa.idl", "security.idl";
 
        /******************/
        /* Function: 0x05 */
-       [todo] NTSTATUS eventlog_GetOldestRecord();
+       NTSTATUS eventlog_GetOldestRecord(
+               [in] policy_handle *handle,
+               [out,ref] uint32 *oldest_entry
+       );
 
        /******************/
        /* Function: 0x06 */
index b26d50c173d8f1e5bab9590cbd1118353d4ccbf2..9a6e4a202c42d432e652547f74c4848d436e8a9d 100644 (file)
@@ -95,8 +95,11 @@ import "misc.idl", "security.idl";
 
        /******************/
        /* Function: 0x04 */
-       [todo] NTSTATUS lsa_SetSecObj ();
-
+       NTSTATUS lsa_SetSecObj(
+               [in]            policy_handle *handle,
+               [in]            security_secinfo sec_info,
+               [in,ref]        sec_desc_buf *sdbuf
+               );
 
        /******************/
        /* Function: 0x05 */
@@ -484,9 +487,16 @@ import "misc.idl", "security.idl";
        [todo] NTSTATUS lsa_SetQuotasForAccount();
        
        /* Function:    0x17 */
-       [todo] NTSTATUS lsa_GetSystemAccessAccount();
+       NTSTATUS lsa_GetSystemAccessAccount(
+               [in]    policy_handle *handle,
+               [out,ref] uint32 *access_mask
+               );
+
        /* Function:    0x18 */
-       [todo] NTSTATUS lsa_SetSystemAccessAccount();
+       NTSTATUS lsa_SetSystemAccessAccount(
+               [in]    policy_handle *handle,
+               [in]    uint32 access_mask
+               );
 
        /* Function:        0x19 */
        NTSTATUS lsa_OpenTrustedDomain(
index 22981068518bcd5ad0ec7a2e3b8f412daa78cc99..8a36922fdd197ef46cc8c7dc3245d199697d464b 100644 (file)
@@ -827,6 +827,7 @@ interface netlogon
 
        /* function_code values */
        typedef [v1_enum] enum {
+               NETLOGON_CONTROL_SYNC             = 2,
                NETLOGON_CONTROL_REDISCOVER       = 5,
                NETLOGON_CONTROL_TC_QUERY         = 6,
                NETLOGON_CONTROL_TRANSPORT_NOTIFY = 7,
@@ -880,6 +881,33 @@ interface netlogon
        /*****************/
        /* Function 0x0F */
 
+       typedef [bitmap32bit] bitmap {
+               NETLOGON_NEG_ACCOUNT_LOCKOUT            = 0x00000001,
+               NETLOGON_NEG_PERSISTENT_SAMREPL         = 0x00000002,
+               NETLOGON_NEG_ARCFOUR                    = 0x00000004,
+               NETLOGON_NEG_PROMOTION_COUNT            = 0x00000008,
+               NETLOGON_NEG_CHANGELOG_BDC              = 0x00000010,
+               NETLOGON_NEG_FULL_SYNC_REPL             = 0x00000020,
+               NETLOGON_NEG_MULTIPLE_SIDS              = 0x00000040,
+               NETLOGON_NEG_REDO                       = 0x00000080,
+               NETLOGON_NEG_PASSWORD_CHANGE_REFUSAL    = 0x00000100,
+               NETLOGON_NEG_SEND_PASSWORD_INFO_PDC     = 0x00000200,
+               NETLOGON_NEG_GENERIC_PASSTHROUGH        = 0x00000400,
+               NETLOGON_NEG_CONCURRENT_RPC             = 0x00000800,
+               NETLOGON_NEG_AVOID_ACCOUNT_DB_REPL      = 0x00001000,
+               NETLOGON_NEG_AVOID_SECURITYAUTH_DB_REPL = 0x00002000,
+               NETLOGON_NEG_128BIT                     = 0x00004000, /* STRONG_KEYS */
+               NETLOGON_NEG_TRANSITIVE_TRUSTS          = 0x00008000,
+               NETLOGON_NEG_DNS_DOMAIN_TRUSTS          = 0x00010000,
+               NETLOGON_NEG_PASSWORD_SET2              = 0x00020000,
+               NETLOGON_NEG_GETDOMAININFO              = 0x00040000,
+               NETLOGON_NEG_CROSS_FOREST_TRUSTS        = 0x00080000,
+               NETLOGON_NEG_NEUTRALIZE_NT4_EMULATION   = 0x00100000,
+               NETLOGON_NEG_RODC_PASSTHROUGH           = 0x00200000,
+               NETLOGON_NEG_AUTHENTICATED_RPC_LSASS    = 0x20000000,
+               NETLOGON_NEG_SCHANNEL                   = 0x40000000 /* AUTHENTICATED_RPC */
+       } netr_NegotiateFlags;
        NTSTATUS netr_ServerAuthenticate2(
                [in,unique]  [string,charset(UTF16)] uint16 *server_name,
                [in]         [string,charset(UTF16)] uint16 account_name[],
@@ -967,6 +995,8 @@ interface netlogon
                DS_ONLY_LDAP_NEEDED             = 0x00008000,
                DS_IS_FLAT_NAME                 = 0x00010000,
                DS_IS_DNS_NAME                  = 0x00020000,
+               DS_TRY_NEXTCLOSEST_SITE         = 0x00040000,
+               DS_DIRECTORY_SERVICE_6_REQUIRED = 0x00080000,
                DS_RETURN_DNS_NAME              = 0x40000000,
                DS_RETURN_FLAT_NAME             = 0x80000000
        } netr_DsRGetDCName_flags;
index 1cdf8eecaa9d652fe5b20104d6e72f2ec4f71c69..9c7bdae42d2f93ee1de758e3a784293d475406a2 100644 (file)
@@ -20,9 +20,31 @@ interface ntsvcs
        [todo] void PNP_GetRelatedDeviceInstance();
        [todo] void PNP_EnumerateSubKeys();
        [todo] void PNP_GetDeviceList();
-       [todo] void PNP_GetDeviceListSize();
+       /******************/
+       /* Function: 0x0b */
+
+       WERROR PNP_GetDeviceListSize(
+               [in,unique] [string,charset(UTF16)] uint16 *devicename,
+               [out,ref] uint32 *size,
+               [in] uint32 flags
+               );
+
        [todo] void PNP_GetDepth();
-       [todo] void PNP_GetDeviceRegProp();
+       /******************/
+       /* Function: 0x0d */
+
+       const int DEV_REGPROP_DESC = 1;
+
+       WERROR PNP_GetDeviceRegProp(
+               [in,ref] [string,charset(UTF16)] uint16 *devicepath,
+               [in] uint32 property,
+               [in,out,ref] uint32 *unknown1,
+               [out,ref] [size_is(*buffer_size)] [length_is(*buffer_size)] uint8 *buffer,
+               [in,out,ref] uint32 *buffer_size,
+               [in,out,ref] uint32 *needed,
+               [in] uint32 unknown3
+               );
+
        [todo] void PNP_SetDeviceRegProp();
        [todo] void PNP_GetClassInstance();
        [todo] void PNP_CreateKey();
@@ -49,8 +71,37 @@ interface ntsvcs
        [todo] void PNP_RequestDeviceEject();
        [todo] void PNP_IsDockStationPresent();
        [todo] void PNP_RequestEjectPC();
-       [todo] void PNP_HwProfFlags();
-       [todo] void PNP_GetHwProfInfo();
+       /******************/
+       /* Function: 0x28 */
+
+       WERROR PNP_HwProfFlags(
+               [in] uint32 unknown1,
+               [in,ref] [string,charset(UTF16)] uint16 *devicepath,
+               [in] uint32 unknown2,
+               [in,out,ref] uint32 *unknown3,
+               [in,out,unique] uint16 *unknown4,
+               [in,unique] [string,charset(UTF16)] uint16 *unknown5,
+               [out,unique] [string,charset(UTF16)] uint16 **unknown5a,
+               [in] uint32 unknown6,
+               [in] uint32 unknown7
+               );
+
+       /******************/
+       /* Function: 0x29 */
+
+       typedef struct {
+               uint32 unknown1;
+               uint16 unknown2[160];
+               uint32 unknown3;
+       } PNP_HwProfInfo;
+
+       WERROR PNP_GetHwProfInfo(
+               [in] uint32 idx,
+               [in,out,ref] PNP_HwProfInfo *info,
+               [in] uint32 unknown1,
+               [in] uint32 unknown2
+               );
+
        [todo] void PNP_AddEmptyLogConf();
        [todo] void PNP_FreeLogConf();
        [todo] void PNP_GetFirstLogConf();
index 615f4e3dabab4b2238452860c8e3864ec0090e0e..961493d9b2569276c7ea86f5aac10771da39ff7d 100644 (file)
@@ -115,12 +115,21 @@ import "misc.idl";
 
        /*****************/
        /* Function 0x04 */
-       [todo] WERROR svcctl_QueryServiceObjectSecurity(
+       WERROR svcctl_QueryServiceObjectSecurity(
+               [in] policy_handle *handle,
+               [in] uint32 security_flags,
+               [out,ref,size_is(buffer_size)] uint8 *buffer,
+               [in,range(0,0x40000)] uint32 buffer_size,
+               [out,ref,range(0,0x40000)] uint32 *needed
        );
 
        /*****************/
        /* Function 0x05 */
-       [todo] WERROR svcctl_SetServiceObjectSecurity(
+       WERROR svcctl_SetServiceObjectSecurity(
+               [in] policy_handle *handle,
+               [in] uint32 security_flags,
+               [in,ref,size_is(buffer_size)] uint8 *buffer,
+               [in] uint32 buffer_size
        );
 
        /*****************/
@@ -227,10 +236,22 @@ import "misc.idl";
 
        /*****************/
        /* Function 0x10 */
+       typedef [bitmap32bit] bitmap {
+               SC_RIGHT_SVC_QUERY_CONFIG               = 0x0001,
+               SC_RIGHT_SVC_CHANGE_CONFIG              = 0x0002,
+               SC_RIGHT_SVC_QUERY_STATUS               = 0x0004,
+               SC_RIGHT_SVC_ENUMERATE_DEPENDENTS       = 0x0008,
+               SC_RIGHT_SVC_START                      = 0x0010,
+               SC_RIGHT_SVC_STOP                       = 0x0020,
+               SC_RIGHT_SVC_PAUSE_CONTINUE             = 0x0040,
+               SC_RIGHT_SVC_INTERROGATE                = 0x0080,
+               SC_RIGHT_SVC_USER_DEFINED_CONTROL       = 0x0100
+       } svcctl_ServiceAccessMask;
+
        WERROR svcctl_OpenServiceW(
                [in,ref] policy_handle *scmanager_handle,
                [in] [string,charset(UTF16)] uint16 ServiceName[],
-               [in] uint32 access_mask,
+               [in] svcctl_ServiceAccessMask access_mask,
                [out,ref] policy_handle *handle
        );