Something went wrong. Try again.
Reactos
Something went wrong. Try again.
[NETAPI32] Fix NetUserEnum to work on x64 master
The previous implementation used the resume_handle parameter to return a pointer to the active enumeration context, but resume_handle is a DWORD. To support 64 bit pointers, the enumeration context is inserted into a global linked list and given a unique 32 bit value as identifier for later lookup. The way the function is implemented, leaking a data structure while the MSDN description does not indicate that, seems a little questionable in general, but that is something that I leave to the original author to investigate.
Author Timo Kreuzer Date (Apr 1, 2019, 11:45 PM UTC) Commit be97da34 be97da34accdf65aafaded60c3be1131a2b3cd97 Parent 61e35141 61e35141e8dafec355cd8cd96e060a82c0b3155c