[SCM] Samba Shared Repository - branch master updated

Joseph Sutton jsutton at samba.org
Mon Jan 15 01:57:01 UTC 2024


The branch, master has been updated
       via  f30a79d7f23 python: Generate HRESULT definitions automatically
       via  5199d788f45 s4:scripting: Remove obsolete references to function prototypes
       via  16e55406e97 s4:scripting: Remove trailing whitespace
       via  cce290e8f58 s4:scripting: Generate HRESULT definitions as part of the build process
       via  2e82159d0f6 s4:scripting: Ensure generated error definition files are closed after use
       via  edff07c7d6a s4:scripting: Remove global list of errors
       via  a846ebb4438 s4:scripting: Use common function to parse error descriptions
       via  6b446b5119c s4:scripting: Remove blank line
       via  b70f4b0d9f3 s4:scripting: Correctly report number of parsed lines
       via  484a1a301aa s4:scripting: Let error definition generation scripts tolerate empty lines
       via  a1bf1b22893 s4:scripting: Initialize line number to (possibly) more appropriate value
       via  575a70100f5 s4:scripting: Initialize ‘isWinError’ in constructor
       via  da545372022 libcli:util: Update NTSTATUS definitions
       via  446ef0aa8c8 libcli:util: Update HRESULT definitions
       via  71f1aee6cae s4:scripting: Align integer types
      from  9ea124e29e3 docs: Update idmap_ad.8 that rfc2307 is the default

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit f30a79d7f23565d9bab3ce6f44c307d858fe6f56
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Thu Jan 11 16:23:55 2024 +1300

    python: Generate HRESULT definitions automatically
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
    
    Autobuild-User(master): Joseph Sutton <jsutton at samba.org>
    Autobuild-Date(master): Mon Jan 15 01:56:53 UTC 2024 on atb-devel-224

commit 5199d788f45579093a0e61dd73865f20b75c3fc2
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Fri Jan 12 09:56:29 2024 +1300

    s4:scripting: Remove obsolete references to function prototypes
    
    These prototypes were removed in commit
    0ffe030c0dcd46b51ffb2f11c03d5b48e93d32b9.
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>

commit 16e55406e97d0edf5816887c63eb789998d3c0a3
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Fri Jan 12 09:57:54 2024 +1300

    s4:scripting: Remove trailing whitespace
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>

commit cce290e8f58e0e21713d4c9d69ad73d497bdca83
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Thu Jan 11 11:25:53 2024 +1300

    s4:scripting: Generate HRESULT definitions as part of the build process
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>

commit 2e82159d0f65087af861027bf35544a1e26454ab
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Thu Jan 11 11:23:53 2024 +1300

    s4:scripting: Ensure generated error definition files are closed after use
    
    This helps to avoid warnings like this one:
    
    /data/samba/source4/scripting/bin/gen_hresult.py:178: ResourceWarning: unclosed file <_io.TextIOWrapper name='/data/samba/bin/default/libcli/util/hresult.c' mode='w' encoding='UTF-8'>
      main()
    ResourceWarning: Enable tracemalloc to get the object allocation traceback
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>

commit edff07c7d6af8c6e5276198adad1ae14fef76506
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Thu Jan 11 11:20:59 2024 +1300

    s4:scripting: Remove global list of errors
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>

commit a846ebb443844193943c35adc3b73a52afc9beac
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Thu Jan 11 11:19:22 2024 +1300

    s4:scripting: Use common function to parse error descriptions
    
    The version of parseErrorDescriptions() from gen_error_common is almost
    the same as the one we’ve been using. One minor difference is that
    ErrorDef.error_code is now an integer rather than a string.
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>

commit 6b446b5119cabcb1c7fd35481f3313b64ada098e
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Thu Jan 11 11:14:27 2024 +1300

    s4:scripting: Remove blank line
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>

commit b70f4b0d9f3ba145b66623ced8c9334f2ca55a09
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Thu Jan 11 11:13:33 2024 +1300

    s4:scripting: Correctly report number of parsed lines
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>

commit 484a1a301aa5bab600306bea0170b1464beb9660
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Thu Jan 11 11:12:21 2024 +1300

    s4:scripting: Let error definition generation scripts tolerate empty lines
    
    Commit beb99b80612556bc47e72a63f89fca75839d91d4 add a similar check just
    for gen_hresult.py.
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>

commit a1bf1b2289333d6811f4f18373b050d5706785b7
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Thu Jan 11 11:11:15 2024 +1300

    s4:scripting: Initialize line number to (possibly) more appropriate value
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>

commit 575a70100f50b6595fe7a5b159a3a2a3b9fd2f19
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Thu Jan 11 11:10:28 2024 +1300

    s4:scripting: Initialize ‘isWinError’ in constructor
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>

commit da545372022e8424d6a771ccd741a250c4ae02c6
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Wed Jan 10 17:10:21 2024 +1300

    libcli:util: Update NTSTATUS definitions
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>

commit 446ef0aa8c84a44bfd4d5c19ea4751c466fb268b
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Wed Jan 10 17:01:51 2024 +1300

    libcli:util: Update HRESULT definitions
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>

commit 71f1aee6cae709a8587ef842271c2a43d086dfc6
Author: Joseph Sutton <josephsutton at catalyst.net.nz>
Date:   Wed Jan 10 16:55:19 2024 +1300

    s4:scripting: Align integer types
    
    Commit a41112fcc984c19d5123e4a49a5f5fd4341e811d updated the generated
    code, but not the corresponding generation script.
    
    Signed-off-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>

-----------------------------------------------------------------------

Summary of changes:
 .codespellrc                                     |     2 +-
 libcli/util/hresult.c                            | 14706 ---------------
 libcli/util/hresult.h                            |  2984 ---
 libcli/util/hresult_err_table.txt                | 20520 +++++++++++++++++++++
 libcli/util/ntstatus_err_table.txt               |     6 +-
 libcli/util/wscript_build                        |    13 +
 python/pyglue.c                                  |    12 -
 python/samba/__init__.py                         |     6 -
 python/samba/tests/gkdi.py                       |     8 +-
 python/samba/tests/krb5/authn_policy_tests.py    |     2 +-
 python/samba/tests/krb5/gkdi_tests.py            |     2 +-
 python/samba/tests/krb5/protected_users_tests.py |     3 +-
 selftest/knownfail.d/usage                       |     1 -
 source4/dsdb/tests/python/passwords.py           |     2 +-
 source4/dsdb/tests/python/sam.py                 |     2 +-
 source4/scripting/bin/gen_error_common.py        |     8 +-
 source4/scripting/bin/gen_hresult.py             |   150 +-
 source4/scripting/bin/gen_ntstatus.py            |     5 +-
 source4/scripting/bin/gen_werror.py              |     3 -
 19 files changed, 20626 insertions(+), 17809 deletions(-)
 delete mode 100644 libcli/util/hresult.c
 delete mode 100644 libcli/util/hresult.h
 create mode 100644 libcli/util/hresult_err_table.txt


Changeset truncated at 500 lines:

diff --git a/.codespellrc b/.codespellrc
index 1faf9ba9194..a712c779c0a 100644
--- a/.codespellrc
+++ b/.codespellrc
@@ -1,4 +1,4 @@
 [codespell]
-skip = ./.git,./bin,./docs-xml/archives,./docs-xml/manpages/vfs_fruit.8.xml,./docs-xml/smbdotconf/browse/preferredmaster.xml,./lib/ldb/ldb_sqlite3/trees.ps,./libcli/util/ntstatus.h,./libcli/util/hresult.c,./python/samba/tests/blackbox/testdata,./source3/include/MacExtensions.h,./source3/selftest/ktest-krb5_ccache-2.txt,./source4/setup/display-specifiers,./source4/ldap_server/devdocs,./source4/selftest/provisions,./source4/setup/adprep/WindowsServerDocs,./source4/setup/display-specifiers,./source4/torture/vfs/fruit.c,./testdata,./third_party,*.IBM-DS,*.config,*.diff,*.dump,*.ldif,*.ldf,*.pdml,*.pem,*.po,*.schema
+skip = ./.git,./bin,./docs-xml/archives,./docs-xml/manpages/vfs_fruit.8.xml,./docs-xml/smbdotconf/browse/preferredmaster.xml,./lib/ldb/ldb_sqlite3/trees.ps,./libcli/util/hresult_err_table.txt,./python/samba/tests/blackbox/testdata,./source3/include/MacExtensions.h,./source3/selftest/ktest-krb5_ccache-2.txt,./source4/setup/display-specifiers,./source4/ldap_server/devdocs,./source4/selftest/provisions,./source4/setup/adprep/WindowsServerDocs,./source4/setup/display-specifiers,./source4/torture/vfs/fruit.c,./testdata,./third_party,*.IBM-DS,*.config,*.diff,*.dump,*.ldif,*.ldf,*.pdml,*.pem,*.po,*.schema
 ignore-regex = \\[t]
 ignore-words = .codespellignore
diff --git a/libcli/util/hresult.c b/libcli/util/hresult.c
deleted file mode 100644
index 0ac116430b4..00000000000
--- a/libcli/util/hresult.c
+++ /dev/null
@@ -1,14706 +0,0 @@
-/*
- * Unix SMB/CIFS implementation.
- *
- * HRESULT Error definitions
- *
- * Copyright (C) Noel Power <noel.power at suse.com> 2014
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "includes.h"
-#include "hresult.h"
-/*
- * The following error codes and descriptions are autogenerated from [MS-ERREF]
- * see http://msdn.microsoft.com/en-us/library/cc704587.aspx
- */
-
-static const struct {
-	HRESULT error_code;
-	const char *error_str;
-	const char *error_message;
-} hresult_errs[] = {
-	{
-		HRES_STG_S_CONVERTED,
-		"HRES_STG_S_CONVERTED",
-		"The underlying file was converted to compound file format."
-	},
-	{
-		HRES_STG_S_BLOCK,
-		"HRES_STG_S_BLOCK",
-		"The storage operation should block until more data is available."
-	},
-	{
-		HRES_STG_S_RETRYNOW,
-		"HRES_STG_S_RETRYNOW",
-		"The storage operation should retry immediately."
-	},
-	{
-		HRES_STG_S_MONITORING,
-		"HRES_STG_S_MONITORING",
-		"The notified event sink will not influence the storage operation."
-	},
-	{
-		HRES_STG_S_MULTIPLEOPENS,
-		"HRES_STG_S_MULTIPLEOPENS",
-		"Multiple opens prevent consolidated (commit succeeded)."
-	},
-	{
-		HRES_STG_S_CONSOLIDATIONFAILED,
-		"HRES_STG_S_CONSOLIDATIONFAILED",
-		"Consolidation of the storage file failed (commit succeeded)."
-	},
-	{
-		HRES_STG_S_CANNOTCONSOLIDATE,
-		"HRES_STG_S_CANNOTCONSOLIDATE",
-		"Consolidation of the storage file is inappropriate (commit succeeded)."
-	},
-	{
-		HRES_OLE_S_USEREG,
-		"HRES_OLE_S_USEREG",
-		"Use the registry database to provide the requested information."
-	},
-	{
-		HRES_OLE_S_STATIC,
-		"HRES_OLE_S_STATIC",
-		"Success, but static."
-	},
-	{
-		HRES_OLE_S_MAC_CLIPFORMAT,
-		"HRES_OLE_S_MAC_CLIPFORMAT",
-		"Macintosh clipboard format."
-	},
-	{
-		HRES_DRAGDROP_S_DROP,
-		"HRES_DRAGDROP_S_DROP",
-		"Successful drop took place."
-	},
-	{
-		HRES_DRAGDROP_S_CANCEL,
-		"HRES_DRAGDROP_S_CANCEL",
-		"Drag-drop operation canceled."
-	},
-	{
-		HRES_DRAGDROP_S_USEDEFAULTCURSORS,
-		"HRES_DRAGDROP_S_USEDEFAULTCURSORS",
-		"Use the default cursor."
-	},
-	{
-		HRES_DATA_S_SAMEFORMATETC,
-		"HRES_DATA_S_SAMEFORMATETC",
-		"Data has same FORMATETC."
-	},
-	{
-		HRES_VIEW_S_ALREADY_FROZEN,
-		"HRES_VIEW_S_ALREADY_FROZEN",
-		"View is already frozen."
-	},
-	{
-		HRES_CACHE_S_FORMATETC_NOTSUPPORTED,
-		"HRES_CACHE_S_FORMATETC_NOTSUPPORTED",
-		"FORMATETC not supported."
-	},
-	{
-		HRES_CACHE_S_SAMECACHE,
-		"HRES_CACHE_S_SAMECACHE",
-		"Same cache."
-	},
-	{
-		HRES_CACHE_S_SOMECACHES_NOTUPDATED,
-		"HRES_CACHE_S_SOMECACHES_NOTUPDATED",
-		"Some caches are not updated."
-	},
-	{
-		HRES_OLEOBJ_S_INVALIDVERB,
-		"HRES_OLEOBJ_S_INVALIDVERB",
-		"Invalid verb for OLE object."
-	},
-	{
-		HRES_OLEOBJ_S_CANNOT_DOVERB_NOW,
-		"HRES_OLEOBJ_S_CANNOT_DOVERB_NOW",
-		"Verb number is valid but verb cannot be done now."
-	},
-	{
-		HRES_OLEOBJ_S_INVALIDHWND,
-		"HRES_OLEOBJ_S_INVALIDHWND",
-		"Invalid window handle passed."
-	},
-	{
-		HRES_INPLACE_S_TRUNCATED,
-		"HRES_INPLACE_S_TRUNCATED",
-		"Message is too long; some of it had to be truncated before displaying."
-	},
-	{
-		HRES_CONVERT10_S_NO_PRESENTATION,
-		"HRES_CONVERT10_S_NO_PRESENTATION",
-		"Unable to convert OLESTREAM to IStorage."
-	},
-	{
-		HRES_MK_S_REDUCED_TO_SELF,
-		"HRES_MK_S_REDUCED_TO_SELF",
-		"Moniker reduced to itself."
-	},
-	{
-		HRES_MK_S_ME,
-		"HRES_MK_S_ME",
-		"Common prefix is this moniker."
-	},
-	{
-		HRES_MK_S_HIM,
-		"HRES_MK_S_HIM",
-		"Common prefix is input moniker."
-	},
-	{
-		HRES_MK_S_US,
-		"HRES_MK_S_US",
-		"Common prefix is both monikers."
-	},
-	{
-		HRES_MK_S_MONIKERALREADYREGISTERED,
-		"HRES_MK_S_MONIKERALREADYREGISTERED",
-		"Moniker is already registered in running object table."
-	},
-	{
-		HRES_EVENT_S_SOME_SUBSCRIBERS_FAILED,
-		"HRES_EVENT_S_SOME_SUBSCRIBERS_FAILED",
-		"An event was able to invoke some, but not all, of the subscribers."
-	},
-	{
-		HRES_EVENT_S_NOSUBSCRIBERS,
-		"HRES_EVENT_S_NOSUBSCRIBERS",
-		"An event was delivered, but there were no subscribers."
-	},
-	{
-		HRES_SCHED_S_TASK_READY,
-		"HRES_SCHED_S_TASK_READY",
-		"The task is ready to run at its next scheduled time."
-	},
-	{
-		HRES_SCHED_S_TASK_RUNNING,
-		"HRES_SCHED_S_TASK_RUNNING",
-		"The task is currently running."
-	},
-	{
-		HRES_SCHED_S_TASK_DISABLED,
-		"HRES_SCHED_S_TASK_DISABLED",
-		"The task will not run at the scheduled times because it has been disabled."
-	},
-	{
-		HRES_SCHED_S_TASK_HAS_NOT_RUN,
-		"HRES_SCHED_S_TASK_HAS_NOT_RUN",
-		"The task has not yet run."
-	},
-	{
-		HRES_SCHED_S_TASK_NO_MORE_RUNS,
-		"HRES_SCHED_S_TASK_NO_MORE_RUNS",
-		"There are no more runs scheduled for this task."
-	},
-	{
-		HRES_SCHED_S_TASK_NOT_SCHEDULED,
-		"HRES_SCHED_S_TASK_NOT_SCHEDULED",
-		"One or more of the properties that are needed to run this task on a schedule have not been set."
-	},
-	{
-		HRES_SCHED_S_TASK_TERMINATED,
-		"HRES_SCHED_S_TASK_TERMINATED",
-		"The last run of the task was terminated by the user."
-	},
-	{
-		HRES_SCHED_S_TASK_NO_VALID_TRIGGERS,
-		"HRES_SCHED_S_TASK_NO_VALID_TRIGGERS",
-		"Either the task has no triggers, or the existing triggers are disabled or not set."
-	},
-	{
-		HRES_SCHED_S_EVENT_TRIGGER,
-		"HRES_SCHED_S_EVENT_TRIGGER",
-		"Event triggers do not have set run times."
-	},
-	{
-		HRES_SCHED_S_SOME_TRIGGERS_FAILED,
-		"HRES_SCHED_S_SOME_TRIGGERS_FAILED",
-		"The task is registered, but not all specified triggers will start the task."
-	},
-	{
-		HRES_SCHED_S_BATCH_LOGON_PROBLEM,
-		"HRES_SCHED_S_BATCH_LOGON_PROBLEM",
-		"The task is registered, but it might fail to start. Batch logon privilege needs to be enabled for the task principal."
-	},
-	{
-		HRES_XACT_S_ASYNC,
-		"HRES_XACT_S_ASYNC",
-		"An asynchronous operation was specified. The operation has begun, but its outcome is not known yet."
-	},
-	{
-		HRES_XACT_S_READONLY,
-		"HRES_XACT_S_READONLY",
-		"The method call succeeded because the transaction was read-only."
-	},
-	{
-		HRES_XACT_S_SOMENORETAIN,
-		"HRES_XACT_S_SOMENORETAIN",
-		"The transaction was successfully aborted. However, this is a coordinated transaction, and a number of enlisted resources were aborted outright because they could not support abort-retaining semantics."
-	},
-	{
-		HRES_XACT_S_OKINFORM,
-		"HRES_XACT_S_OKINFORM",
-		"No changes were made during this call, but the sink wants another chance to look if any other sinks make further changes."
-	},
-	{
-		HRES_XACT_S_MADECHANGESCONTENT,
-		"HRES_XACT_S_MADECHANGESCONTENT",
-		"The sink is content and wants the transaction to proceed. Changes were made to one or more resources during this call."
-	},
-	{
-		HRES_XACT_S_MADECHANGESINFORM,
-		"HRES_XACT_S_MADECHANGESINFORM",
-		"The sink is for the moment and wants the transaction to proceed, but if other changes are made following this return by other event sinks, this sink wants another chance to look."
-	},
-	{
-		HRES_XACT_S_ALLNORETAIN,
-		"HRES_XACT_S_ALLNORETAIN",
-		"The transaction was successfully aborted. However, the abort was nonretaining."
-	},
-	{
-		HRES_XACT_S_ABORTING,
-		"HRES_XACT_S_ABORTING",
-		"An abort operation was already in progress."
-	},
-	{
-		HRES_XACT_S_SINGLEPHASE,
-		"HRES_XACT_S_SINGLEPHASE",
-		"The resource manager has performed a single-phase commit of the transaction."
-	},
-	{
-		HRES_XACT_S_LOCALLY_OK,
-		"HRES_XACT_S_LOCALLY_OK",
-		"The local transaction has not aborted."
-	},
-	{
-		HRES_XACT_S_LASTRESOURCEMANAGER,
-		"HRES_XACT_S_LASTRESOURCEMANAGER",
-		"The resource manager has requested to be the coordinator (last resource manager) for the transaction."
-	},
-	{
-		HRES_CO_S_NOTALLINTERFACES,
-		"HRES_CO_S_NOTALLINTERFACES",
-		"Not all the requested interfaces were available."
-	},
-	{
-		HRES_CO_S_MACHINENAMENOTFOUND,
-		"HRES_CO_S_MACHINENAMENOTFOUND",
-		"The specified machine name was not found in the cache."
-	},
-	{
-		HRES_SEC_I_CONTINUE_NEEDED,
-		"HRES_SEC_I_CONTINUE_NEEDED",
-		"The function completed successfully, but it must be called again to complete the context."
-	},
-	{
-		HRES_SEC_I_COMPLETE_NEEDED,
-		"HRES_SEC_I_COMPLETE_NEEDED",
-		"The function completed successfully, but CompleteToken must be called."
-	},
-	{
-		HRES_SEC_I_COMPLETE_AND_CONTINUE,
-		"HRES_SEC_I_COMPLETE_AND_CONTINUE",
-		"The function completed successfully, but both CompleteToken and this function must be called to complete the context."
-	},
-	{
-		HRES_SEC_I_LOCAL_LOGON,
-		"HRES_SEC_I_LOCAL_LOGON",
-		"The logon was completed, but no network authority was available. The logon was made using locally known information."
-	},
-	{
-		HRES_SEC_I_CONTEXT_EXPIRED,
-		"HRES_SEC_I_CONTEXT_EXPIRED",
-		"The context has expired and can no longer be used."
-	},
-	{
-		HRES_SEC_I_INCOMPLETE_CREDENTIALS,
-		"HRES_SEC_I_INCOMPLETE_CREDENTIALS",
-		"The credentials supplied were not complete and could not be verified. Additional information can be returned from the context."
-	},
-	{
-		HRES_SEC_I_RENEGOTIATE,
-		"HRES_SEC_I_RENEGOTIATE",
-		"The context data must be renegotiated with the peer."
-	},
-	{
-		HRES_SEC_I_NO_LSA_CONTEXT,
-		"HRES_SEC_I_NO_LSA_CONTEXT",
-		"There is no LSA mode context associated with this context."
-	},
-	{
-		HRES_SEC_I_SIGNATURE_NEEDED,
-		"HRES_SEC_I_SIGNATURE_NEEDED",
-		"A signature operation must be performed before the user can authenticate."
-	},
-	{
-		HRES_CRYPT_I_NEW_PROTECTION_REQUIRED,
-		"HRES_CRYPT_I_NEW_PROTECTION_REQUIRED",
-		"The protected data needs to be reprotected."
-	},
-	{
-		HRES_NS_S_CALLPENDING,
-		"HRES_NS_S_CALLPENDING",
-		"The requested operation is pending completion."
-	},
-	{
-		HRES_NS_S_CALLABORTED,
-		"HRES_NS_S_CALLABORTED",
-		"The requested operation was aborted by the client."
-	},
-	{
-		HRES_NS_S_STREAM_TRUNCATED,
-		"HRES_NS_S_STREAM_TRUNCATED",
-		"The stream was purposefully stopped before completion."
-	},
-	{
-		HRES_NS_S_REBUFFERING,
-		"HRES_NS_S_REBUFFERING",
-		"The requested operation has caused the source to rebuffer."
-	},
-	{
-		HRES_NS_S_DEGRADING_QUALITY,
-		"HRES_NS_S_DEGRADING_QUALITY",
-		"The requested operation has caused the source to degrade codec quality."
-	},
-	{
-		HRES_NS_S_TRANSCRYPTOR_EOF,
-		"HRES_NS_S_TRANSCRYPTOR_EOF",
-		"The transcryptor object has reached end of file."
-	},
-	{
-		HRES_NS_S_WMP_UI_VERSIONMISMATCH,
-		"HRES_NS_S_WMP_UI_VERSIONMISMATCH",
-		"An upgrade is needed for the theme manager to correctly show this skin. Skin reports version: %.1f."
-	},
-	{
-		HRES_NS_S_WMP_EXCEPTION,
-		"HRES_NS_S_WMP_EXCEPTION",
-		"An error occurred in one of the UI components."
-	},
-	{
-		HRES_NS_S_WMP_LOADED_GIF_IMAGE,
-		"HRES_NS_S_WMP_LOADED_GIF_IMAGE",
-		"Successfully loaded a GIF file."
-	},
-	{
-		HRES_NS_S_WMP_LOADED_PNG_IMAGE,
-		"HRES_NS_S_WMP_LOADED_PNG_IMAGE",
-		"Successfully loaded a PNG file."
-	},
-	{
-		HRES_NS_S_WMP_LOADED_BMP_IMAGE,
-		"HRES_NS_S_WMP_LOADED_BMP_IMAGE",
-		"Successfully loaded a BMP file."
-	},
-	{
-		HRES_NS_S_WMP_LOADED_JPG_IMAGE,
-		"HRES_NS_S_WMP_LOADED_JPG_IMAGE",
-		"Successfully loaded a JPG file."
-	},
-	{
-		HRES_NS_S_WMG_FORCE_DROP_FRAME,
-		"HRES_NS_S_WMG_FORCE_DROP_FRAME",
-		"Drop this frame."
-	},
-	{
-		HRES_NS_S_WMR_ALREADYRENDERED,
-		"HRES_NS_S_WMR_ALREADYRENDERED",
-		"The specified stream has already been rendered."
-	},
-	{
-		HRES_NS_S_WMR_PINTYPEPARTIALMATCH,
-		"HRES_NS_S_WMR_PINTYPEPARTIALMATCH",
-		"The specified type partially matches this pin type."
-	},
-	{
-		HRES_NS_S_WMR_PINTYPEFULLMATCH,
-		"HRES_NS_S_WMR_PINTYPEFULLMATCH",
-		"The specified type fully matches this pin type."
-	},
-	{
-		HRES_NS_S_WMG_ADVISE_DROP_FRAME,
-		"HRES_NS_S_WMG_ADVISE_DROP_FRAME",
-		"The timestamp is late compared to the current render position. Advise dropping this frame."
-	},
-	{
-		HRES_NS_S_WMG_ADVISE_DROP_TO_KEYFRAME,
-		"HRES_NS_S_WMG_ADVISE_DROP_TO_KEYFRAME",
-		"The timestamp is severely late compared to the current render position. Advise dropping everything up to the next key frame."
-	},
-	{
-		HRES_NS_S_NEED_TO_BUY_BURN_RIGHTS,
-		"HRES_NS_S_NEED_TO_BUY_BURN_RIGHTS",
-		"No burn rights. You will be prompted to buy burn rights when you try to burn this file to an audio CD."
-	},
-	{
-		HRES_NS_S_WMPCORE_PLAYLISTCLEARABORT,
-		"HRES_NS_S_WMPCORE_PLAYLISTCLEARABORT",
-		"Failed to clear playlist because it was aborted by user."
-	},
-	{
-		HRES_NS_S_WMPCORE_PLAYLISTREMOVEITEMABORT,
-		"HRES_NS_S_WMPCORE_PLAYLISTREMOVEITEMABORT",
-		"Failed to remove item in the playlist since it was aborted by user."
-	},
-	{
-		HRES_NS_S_WMPCORE_PLAYLIST_CREATION_PENDING,
-		"HRES_NS_S_WMPCORE_PLAYLIST_CREATION_PENDING",
-		"Playlist is being generated asynchronously."
-	},
-	{
-		HRES_NS_S_WMPCORE_MEDIA_VALIDATION_PENDING,
-		"HRES_NS_S_WMPCORE_MEDIA_VALIDATION_PENDING",
-		"Validation of the media is pending."
-	},
-	{
-		HRES_NS_S_WMPCORE_PLAYLIST_REPEAT_SECONDARY_SEGMENTS_IGNORED,
-		"HRES_NS_S_WMPCORE_PLAYLIST_REPEAT_SECONDARY_SEGMENTS_IGNORED",
-		"Encountered more than one Repeat block during ASX processing."
-	},
-	{
-		HRES_NS_S_WMPCORE_COMMAND_NOT_AVAILABLE,
-		"HRES_NS_S_WMPCORE_COMMAND_NOT_AVAILABLE",
-		"Current state of WMP disallows calling this method or property."
-	},
-	{
-		HRES_NS_S_WMPCORE_PLAYLIST_NAME_AUTO_GENERATED,
-		"HRES_NS_S_WMPCORE_PLAYLIST_NAME_AUTO_GENERATED",
-		"Name for the playlist has been auto generated."
-	},
-	{


-- 
Samba Shared Repository



More information about the samba-cvs mailing list