Update of /cvsroot/pywin32/pywin32/win32/src/win32net
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19745/win32/src/win32net
Modified Files:
Tag: AMD64
win32netfile.cpp win32netgroup.cpp
Log Message:
- Initial work on AMD64 support
Index: win32netgroup.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/win32net/win32netgroup.cpp,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -C2 -d -r1.5 -r1.5.2.1
*** win32netgroup.cpp 6 Mar 2004 23:55:59 -0000 1.5
--- win32netgroup.cpp 21 Dec 2006 23:17:16 -0000 1.5.2.1
***************
*** 284,288 ****
// @pyparm int|prefLen|MAX_PREFERRED_LENGTH|The preferred length of the data buffer.
// @pyseeapi NetGroupEnum
! return PyDoSimpleEnum(self, args, &NetGroupEnum, "NetGroupEnum", group_infos);
}
--- 284,288 ----
// @pyparm int|prefLen|MAX_PREFERRED_LENGTH|The preferred length of the data buffer.
// @pyseeapi NetGroupEnum
! return PyDoSimpleEnum(self, args, (PFNSIMPLEENUM)&NetGroupEnum, "NetGroupEnum", group_infos);
}
***************
*** 304,308 ****
// @pyparm int|prefLen|4096|The preferred length of the data buffer.
// @pyseeapi NetGroupGetUsers
! return PyDoNamedEnum(self, args, &NetGroupGetUsers, "NetGroupGetUsers", group_users_infos);
}
--- 304,308 ----
// @pyparm int|prefLen|4096|The preferred length of the data buffer.
// @pyseeapi NetGroupGetUsers
! return PyDoNamedEnum(self, args, (PFNNAMEDENUM)&NetGroupGetUsers, "NetGroupGetUsers", group_users_infos);
}
***************
*** 382,386 ****
// @pyparm int|prefLen|MAX_PREFERRED_LENGTH|The preferred length of the data buffer.
// @pyseeapi NetLocalGroupEnum
! return PyDoSimpleEnum(self, args, &NetLocalGroupEnum, "NetLocalGroupEnum", localgroup_infos);
}
--- 382,386 ----
// @pyparm int|prefLen|MAX_PREFERRED_LENGTH|The preferred length of the data buffer.
// @pyseeapi NetLocalGroupEnum
! return PyDoSimpleEnum(self, args, (PFNSIMPLEENUM)&NetLocalGroupEnum, "NetLocalGroupEnum", localgroup_infos);
}
***************
*** 425,429 ****
// @pyparm int|prefLen|4096|The preferred length of the data buffer.
// @pyseeapi NetLocalGroupGetMembers
! return PyDoNamedEnum(self, args, &NetLocalGroupGetMembers, "NetLocalGroupGetMembers", localgroup_members_infos);
}
--- 425,429 ----
// @pyparm int|prefLen|4096|The preferred length of the data buffer.
// @pyseeapi NetLocalGroupGetMembers
! return PyDoNamedEnum(self, args, (PFNNAMEDENUM)&NetLocalGroupGetMembers, "NetLocalGroupGetMembers", localgroup_members_infos);
}
Index: win32netfile.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/win32net/win32netfile.cpp,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -C2 -d -r1.5 -r1.5.2.1
*** win32netfile.cpp 29 Aug 2005 09:51:45 -0000 1.5
--- win32netfile.cpp 21 Dec 2006 23:17:16 -0000 1.5.2.1
***************
*** 65,69 ****
Py_BEGIN_ALLOW_THREADS
nStatus = NetFileEnum(server_name, base_path, user_name, info_lvl,
! (LPBYTE*)&pBuf2, buff_len, &dwEntriesRead, &dwTotalEntries, &dwResumeHandle);
Py_END_ALLOW_THREADS
--- 65,69 ----
Py_BEGIN_ALLOW_THREADS
nStatus = NetFileEnum(server_name, base_path, user_name, info_lvl,
! (LPBYTE*)&pBuf2, buff_len, &dwEntriesRead, &dwTotalEntries, (PDWORD_PTR)&dwResumeHandle);
Py_END_ALLOW_THREADS
***************
*** 98,102 ****
nStatus = NetFileEnum(server_name, base_path, user_name, info_lvl,
(LPBYTE*)&pBuf3, buff_len, &dwEntriesRead,
! &dwTotalEntries, &dwResumeHandle);
Py_END_ALLOW_THREADS
--- 98,102 ----
nStatus = NetFileEnum(server_name, base_path, user_name, info_lvl,
(LPBYTE*)&pBuf3, buff_len, &dwEntriesRead,
! &dwTotalEntries, (PDWORD_PTR)&dwResumeHandle);
Py_END_ALLOW_THREADS
|