Update of /cvsroot/pywin32/pywin32/win32/src/win32net
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8538
Modified Files:
win32netgroup.cpp win32netmisc.cpp win32netuse.cpp
win32netuser.cpp
Log Message:
Try and clarify the docs for the 'resume handle' function.
Index: win32netgroup.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/win32net/win32netgroup.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** win32netgroup.cpp 9 Sep 2002 07:43:06 -0000 1.4
--- win32netgroup.cpp 6 Mar 2004 23:55:59 -0000 1.5
***************
*** 271,276 ****
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyGROUP_INFO_*>, depending on the level parameter),
! // the total available, and a "resume handle". If the result handle is true, you should call
! // this function again to fetch more data, passing this handle in the resumeHandle param.
PyObject *PyNetGroupEnum(PyObject *self, PyObject *args)
{
--- 271,280 ----
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyGROUP_INFO_*>, depending on the level parameter),
! // the total available, and a new "resume handle". The first time you call
! // this function, you should pass zero for the resume handle. If more data
! // is available than what was returned, a new non-zero resume handle will be
! // returned, which can be used to call the function again to fetch more data.
! // This process may repeat, each time with a new resume handle, until zero is
! // returned for the new handle, indicating all the data has been read.
PyObject *PyNetGroupEnum(PyObject *self, PyObject *args)
{
***************
*** 286,291 ****
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyGROUP_USERS_INFO_*>, depending on the level parameter),
! // the total available, and a "resume handle". If the result handle is true, you should call
! // this function again to fetch more data, passing this handle in the resumeHandle param.
PyObject *PyNetGroupGetUsers(PyObject *self, PyObject *args)
{
--- 290,299 ----
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyGROUP_USERS_INFO_*>, depending on the level parameter),
! // the total available, and a new "resume handle". The first time you call
! // this function, you should pass zero for the resume handle. If more data
! // is available than what was returned, a new non-zero resume handle will be
! // returned, which can be used to call the function again to fetch more data.
! // This process may repeat, each time with a new resume handle, until zero is
! // returned for the new handle, indicating all the data has been read.
PyObject *PyNetGroupGetUsers(PyObject *self, PyObject *args)
{
***************
*** 361,366 ****
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyGROUP_INFO_*>, depending on the level parameter),
! // the total available, and a "resume handle". If the result handle is true, you should call
! // this function again to fetch more data, passing this handle in the resumeHandle param.
PyObject *PyNetLocalGroupEnum(PyObject *self, PyObject *args)
{
--- 369,378 ----
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyGROUP_INFO_*>, depending on the level parameter),
! // the total available, and a new "resume handle". The first time you call
! // this function, you should pass zero for the resume handle. If more data
! // is available than what was returned, a new non-zero resume handle will be
! // returned, which can be used to call the function again to fetch more data.
! // This process may repeat, each time with a new resume handle, until zero is
! // returned for the new handle, indicating all the data has been read.
PyObject *PyNetLocalGroupEnum(PyObject *self, PyObject *args)
{
***************
*** 399,404 ****
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyLOCALGROUP_MEMBERS_INFO_*>, depending on the level parameter),
! // the total available, and a "resume handle". If the result handle is true, you should call
! // this function again to fetch more data, passing this handle in the resumeHandle param.
PyObject *PyNetLocalGroupGetMembers(PyObject *self, PyObject *args)
{
--- 411,420 ----
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyLOCALGROUP_MEMBERS_INFO_*>, depending on the level parameter),
! // the total available, and a new "resume handle". The first time you call
! // this function, you should pass zero for the resume handle. If more data
! // is available than what was returned, a new non-zero resume handle will be
! // returned, which can be used to call the function again to fetch more data.
! // This process may repeat, each time with a new resume handle, until zero is
! // returned for the new handle, indicating all the data has been read.
PyObject *PyNetLocalGroupGetMembers(PyObject *self, PyObject *args)
{
Index: win32netmisc.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/win32net/win32netmisc.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** win32netmisc.cpp 18 Oct 2003 06:04:27 -0000 1.7
--- win32netmisc.cpp 6 Mar 2004 23:55:59 -0000 1.8
***************
*** 343,348 ****
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PySHARE_INFO_*>, depending on the level parameter),
! // the total available, and a "resume handle". If the result handle is true, you should call
! // this function again to fetch more data, passing this handle in the resumeHandle param.
PyObject *
PyNetShareEnum(PyObject *self, PyObject *args)
--- 343,352 ----
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PySHARE_INFO_*>, depending on the level parameter),
! // the total available, and a new "resume handle". The first time you call
! // this function, you should pass zero for the resume handle. If more data
! // is available than what was returned, a new non-zero resume handle will be
! // returned, which can be used to call the function again to fetch more data.
! // This process may repeat, each time with a new resume handle, until zero is
! // returned for the new handle, indicating all the data has been read.
PyObject *
PyNetShareEnum(PyObject *self, PyObject *args)
***************
*** 665,670 ****
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PySERVER_INFO_*>, depending on the level parameter),
! // the total available, and a "resume handle". If the result handle is true, you should call
! // this function again to fetch more data, passing this handle in the resumeHandle param.
PyObject *
PyNetServerEnum(PyObject *self, PyObject *args)
--- 669,678 ----
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PySERVER_INFO_*>, depending on the level parameter),
! // the total available, and a new "resume handle". The first time you call
! // this function, you should pass zero for the resume handle. If more data
! // is available than what was returned, a new non-zero resume handle will be
! // returned, which can be used to call the function again to fetch more data.
! // This process may repeat, each time with a new resume handle, until zero is
! // returned for the new handle, indicating all the data has been read.
PyObject *
PyNetServerEnum(PyObject *self, PyObject *args)
***************
*** 809,814 ****
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyWKSTA_USER_INFO_*>, depending on the level parameter),
! // the total available, and a "resume handle". If the result handle is true, you should call
! // this function again to fetch more data, passing this handle in the resumeHandle param.
PyObject *
PyNetWkstaUserEnum(PyObject *self, PyObject *args)
--- 817,826 ----
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyWKSTA_USER_INFO_*>, depending on the level parameter),
! // the total available, and a new "resume handle". The first time you call
! // this function, you should pass zero for the resume handle. If more data
! // is available than what was returned, a new non-zero resume handle will be
! // returned, which can be used to call the function again to fetch more data.
! // This process may repeat, each time with a new resume handle, until zero is
! // returned for the new handle, indicating all the data has been read.
PyObject *
PyNetWkstaUserEnum(PyObject *self, PyObject *args)
***************
*** 950,955 ****
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyWKSTA_TRANSPORT_INFO_*>, depending on the level parameter),
! // the total available, and a "resume handle". If the result handle is true, you should call
! // this function again to fetch more data, passing this handle in the resumeHandle param.
PyObject *
PyNetWkstaTransportEnum(PyObject *self, PyObject *args)
--- 962,971 ----
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyWKSTA_TRANSPORT_INFO_*>, depending on the level parameter),
! // the total available, and a new "resume handle". The first time you call
! // this function, you should pass zero for the resume handle. If more data
! // is available than what was returned, a new non-zero resume handle will be
! // returned, which can be used to call the function again to fetch more data.
! // This process may repeat, each time with a new resume handle, until zero is
! // returned for the new handle, indicating all the data has been read.
PyObject *
PyNetWkstaTransportEnum(PyObject *self, PyObject *args)
Index: win32netuse.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/win32net/win32netuse.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** win32netuse.cpp 7 Jun 2003 02:05:08 -0000 1.3
--- win32netuse.cpp 6 Mar 2004 23:55:59 -0000 1.4
***************
*** 154,159 ****
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyUSE_INFO_*>, depending on the level parameter),
! // the total available, and a "resume handle". If the result handle is true, you should call
! // this function again to fetch more data, passing this handle in the resumeHandle param.
PyObject *
PyNetUseEnum(PyObject *self, PyObject *args)
--- 154,163 ----
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyUSE_INFO_*>, depending on the level parameter),
! // the total available, and a new "resume handle". The first time you call
! // this function, you should pass zero for the resume handle. If more data
! // is available than what was returned, a new non-zero resume handle will be
! // returned, which can be used to call the function again to fetch more data.
! // This process may repeat, each time with a new resume handle, until zero is
! // returned for the new handle, indicating all the data has been read.
PyObject *
PyNetUseEnum(PyObject *self, PyObject *args)
Index: win32netuser.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/win32net/win32netuser.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** win32netuser.cpp 20 Feb 2001 14:35:44 -0000 1.4
--- win32netuser.cpp 6 Mar 2004 23:55:59 -0000 1.5
***************
*** 339,344 ****
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyUSER_INFO_*>, depending on the level parameter),
! // the total available, and a "resume handle". If the result handle is true, you should call
! // this function again to fetch more data, passing this handle in the resumeHandle param.
PyObject *PyNetUserEnum(PyObject *self, PyObject *args)
{
--- 339,348 ----
// @rdesc The result is a list of items read (with each item being a dictionary of format
// <o PyUSER_INFO_*>, depending on the level parameter),
! // the total available, and a new "resume handle". The first time you call
! // this function, you should pass zero for the resume handle. If more data
! // is available than what was returned, a new non-zero resume handle will be
! // returned, which can be used to call the function again to fetch more data.
! // This process may repeat, each time with a new resume handle, until zero is
! // returned for the new handle, indicating all the data has been read.
PyObject *PyNetUserEnum(PyObject *self, PyObject *args)
{
|