40 WCHAR UserKeyName[64];
51 FIXME(
"SampFillUserDisplayCache(%p)\n", DomainObject);
55 FIXME(
"Already filled!\n");
66 for (EnumIndex = 0; ; EnumIndex++)
68 FIXME(
"EnumIndex: %lu\n", EnumIndex);
69 NameLength = 64 *
sizeof(
WCHAR);
81 FIXME(
"User name: %S\n", UserKeyName);
82 FIXME(
"Name length: %lu\n", NameLength);
88 FIXME(
"Rid: 0x%lx\n", Rid);
106 FIXME(
"Account control: 0x%lx\n", FixedUserData.UserAccountControl);
113 if (UserEntry !=
NULL)
135 FIXME(
"SampFillUserDisplayCache() done (Status 0x%08lx)\n",
Status);
145 TRACE(
"SampInitializeDisplayCache()\n");
166 TRACE(
"SampShutdownDisplayCache()\n");
178 TRACE(
"SampFillDisplayCache()\n");
180 switch (DisplayInformationClass)
PVOID NTAPI RtlAllocateHeap(IN PVOID HeapHandle, IN ULONG Flags, IN SIZE_T Size)
#define NT_SUCCESS(StatCode)
NTSTATUS SampGetObjectAttribute(PSAM_DB_OBJECT DbObject, LPWSTR AttributeName, PULONG AttributeType, LPVOID AttributeData, PULONG AttributeSize)
NTSTATUS SampCloseDbObject(PSAM_DB_OBJECT DbObject)
NTSTATUS SampOpenDbObject(IN PSAM_DB_OBJECT ParentObject, IN LPWSTR ContainerName, IN LPWSTR ObjectName, IN ULONG RelativeId, IN SAM_DB_OBJECT_TYPE ObjectType, IN ACCESS_MASK DesiredAccess, OUT PSAM_DB_OBJECT *DbObject)
NTSTATUS SampFillDisplayCache(_In_ PSAM_DB_OBJECT DomainObject, _In_ DOMAIN_DISPLAY_INFORMATION DisplayInformationClass)
NTSTATUS SampInitializeDisplayCache(VOID)
static BOOLEAN UserListFilled
struct _USER_ENTRY * PUSER_ENTRY
NTSTATUS SampShutdownDisplayCache(VOID)
static LIST_ENTRY UserListHead
static ULONG UserListCount
struct _USER_ENTRY USER_ENTRY
static NTSTATUS SampFillUserDisplayCache(_In_ PSAM_DB_OBJECT DomainObject)
NTSTATUS SampRegOpenKey(IN HANDLE ParentKeyHandle, IN LPCWSTR KeyName, IN ACCESS_MASK DesiredAccess, OUT PHANDLE KeyHandle)
NTSTATUS SampRegEnumerateSubKey(IN HANDLE KeyHandle, IN ULONG Index, IN ULONG Length, OUT LPWSTR Buffer)
struct _SAM_USER_FIXED_DATA SAM_USER_FIXED_DATA
#define InsertTailList(ListHead, Entry)
#define InitializeListHead(ListHead)
_Check_return_ unsigned long __cdecl wcstoul(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
#define USER_NORMAL_ACCOUNT
enum _DOMAIN_DISPLAY_INFORMATION DOMAIN_DISPLAY_INFORMATION
#define STATUS_NO_MORE_ENTRIES
#define STATUS_INVALID_INFO_CLASS
unsigned long AccountControl
SAMPR_DOMAIN_DISPLAY_USER User
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size