uLib  User mode C/C++ extended API library for Win32 programmers.
uLib::GroupList Class Reference

#include <uLib/UmLsa.h>

Inheritance diagram for uLib::GroupList:
DLinkList LIST_ENTRY

Detailed Description

List of GroupEntry enumerating local user groups...

Definition at line 376 of file UmLsa.h.

Public Data

CSTR Machine
 
- Public Data inherited from DLinkList
UINT Count
 
bool SafeRemove
 

Public Functions

 GroupList ()
 
 ~GroupList ()
 
void Clear ()
 
UINT GetFromADS (CSTR Machine)
 
- Public Functions inherited from DLinkList
 DLinkList (bool Safe=true)
 
 DLinkList (PLIST_ENTRY ListHead, bool Safe)
 
 ~DLinkList ()
 
PDLinkList operator= (PLIST_ENTRY ListHead)
 
PLIST_ENTRY operator+= (PLIST_ENTRY Entry)
 
PLIST_ENTRY operator -= (PLIST_ENTRY Entry)
 
bool IsEmpty ()
 
bool Exist (PLIST_ENTRY Entry)
 
PLIST_ENTRY GetFirst ()
 
PLIST_ENTRY GetLast ()
 
PLIST_ENTRY GetNext (PLIST_ENTRY Current)
 
PLIST_ENTRY GetPrev (PLIST_ENTRY Current)
 
PLIST_ENTRY Append (PLIST_ENTRY Entry)
 
PLIST_ENTRY Prepend (PLIST_ENTRY Entry)
 
PLIST_ENTRY RemoveEntry (PLIST_ENTRY Entry)
 
PLIST_ENTRY RemoveFirst ()
 
PLIST_ENTRY RemoveLast ()
 
void RemoveAll (PDListFunc ItemAction, void *UserData=NULL)
 
PLIST_ENTRY Push (PLIST_ENTRY Entry)
 
PLIST_ENTRY Pull ()
 
PLIST_ENTRY Pop ()
 
PLIST_ENTRY operator [] (size_t Index)
 
bool ForEach (PDListFunc Action, void *UserData=NULL)
 
PLIST_ENTRY FirstThat (PDListFunc Match, void *UserData=NULL)
 
PLIST_ENTRY LastThat (PDListFunc Match, void *UserData=NULL)
 
void QuickSort (PDListComp Compare, void *UserData=NULL)
 
UINT AppendList (IN PLIST_ENTRY ListToAppend, OPTOUT PLIST_ENTRY *ppFirst)
 
UINT AppendList (IN PDLinkList ListToAppend, OPTOUT PLIST_ENTRY *ppFirst)
 
UINT operator+= (PDLinkList ListToAppend)
 
UINT ExportToListHead (PLIST_ENTRY ListHead)
 
UINT ImportFromListHead (IN PLIST_ENTRY ListHead, OPTOUT PLIST_ENTRY *ppFirst)
 
UINT ExportToHeadlessList (PLIST_ENTRY *Circular)
 
UINT ImportHeadlessList (IN PLIST_ENTRY Circular, OPTOUT PLIST_ENTRY *ppFirst)
 

Additional Inherited Members

- Protected Attributes inherited from LIST_ENTRY
struct _LIST_ENTRY * Flink
 
struct _LIST_ENTRY * Blink
 

Constructor & Destructor Documentation

◆ GroupList()

uLib::GroupList::GroupList ( )

Definition at line 1064 of file UmLsa.cpp.

◆ ~GroupList()

uLib::GroupList::~GroupList ( )

Definition at line 1068 of file UmLsa.cpp.

Member Function Documentation

◆ Clear()

void uLib::GroupList::Clear ( )

Definition at line 1073 of file UmLsa.cpp.

◆ GetFromADS()

UINT uLib::GroupList::GetFromADS ( CSTR  Machine)

GetFromADS() is the function that obtains the group list.
After this the list will be fully populated.

Definition at line 1085 of file UmLsa.cpp.

Member Data Documentation

◆ Machine

CSTR uLib::GroupList::Machine

Machine name.

Definition at line 378 of file UmLsa.h.


The documentation for this class was generated from the following files: