105 DPRINT1(
"Atom name too long\n");
113 CapturedName = AtomName;
121 CapturedSize = ((AtomNameLength +
sizeof(
WCHAR)) &
122 ~(
sizeof(
WCHAR) -1));
179 if ((CapturedName !=
NULL) && (CapturedName != AtomName))
262 DPRINT1(
"Atom name too long\n");
267 CapturedName = AtomName;
282 CapturedSize = ((AtomNameLength +
sizeof(
WCHAR)) &~
297 if (CapturedName != AtomName)
326 if ((CapturedName) && (CapturedName != AtomName))
367 PVOID AtomInformation,
368 ULONG AtomInformationLength,
391 AtomInformationLength,
401 switch (AtomInformationClass)
426 BasicInformation->
Name,
456 TableInformation->
Atoms);
#define NT_SUCCESS(StatCode)
IN CINT OUT PVOID IN ULONG OUT PULONG ReturnLength
#define ExAllocatePoolWithTag(hernya, size, tag)
#define ExGetPreviousMode
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
VOID NTAPI ProbeForWrite(IN PVOID Address, IN SIZE_T Length, IN ULONG Alignment)
LONG NTAPI ExSystemExceptionFilter(VOID)
#define EXCEPTION_EXECUTE_HANDLER
#define ExFreePoolWithTag(_P, _T)
unsigned short * PRTL_ATOM
struct atom_table ** PRTL_ATOM_TABLE
enum _ATOM_INFORMATION_CLASS ATOM_INFORMATION_CLASS
NTSYSAPI NTSTATUS NTAPI RtlAddAtomToAtomTable(_In_ PRTL_ATOM_TABLE AtomTable, _In_ PWSTR AtomName, _Out_ PRTL_ATOM Atom)
NTSYSAPI NTSTATUS NTAPI RtlLookupAtomInAtomTable(_In_ PRTL_ATOM_TABLE AtomTable, _In_ PWSTR AtomName, _Out_ PRTL_ATOM Atom)
NTSYSAPI NTSTATUS NTAPI RtlCreateAtomTable(_In_ ULONG TableSize, _Inout_ PRTL_ATOM_TABLE *AtomTable)
NTSYSAPI NTSTATUS NTAPI RtlDeleteAtomFromAtomTable(_In_ PRTL_ATOM_TABLE AtomTable, _In_ RTL_ATOM Atom)
NTSYSAPI NTSTATUS NTAPI RtlQueryAtomInAtomTable(_In_ PRTL_ATOM_TABLE AtomTable, _In_ RTL_ATOM Atom, _Out_opt_ PULONG RefCount, _Out_opt_ PULONG PinCount, _Out_opt_z_bytecap_(*NameLength) PWSTR AtomName, _Inout_opt_ PULONG NameLength)
#define RTL_MAXIMUM_ATOM_LENGTH
NTSTATUS NTAPI NtQueryInformationAtom(RTL_ATOM Atom, ATOM_INFORMATION_CLASS AtomInformationClass, PVOID AtomInformation, ULONG AtomInformationLength, PULONG ReturnLength)
PRTL_ATOM_TABLE GlobalAtomTable
PRTL_ATOM_TABLE NTAPI ExpGetGlobalAtomTable(VOID)
NTSTATUS NTAPI NtDeleteAtom(IN RTL_ATOM Atom)
NTSTATUS NTAPI NtAddAtom(IN PWSTR AtomName, IN ULONG AtomNameLength, OUT PRTL_ATOM Atom)
NTSTATUS NTAPI NtFindAtom(IN PWSTR AtomName, IN ULONG AtomNameLength, OUT PRTL_ATOM Atom)
NTSTATUS NTAPI RtlQueryAtomListInAtomTable(IN PRTL_ATOM_TABLE AtomTable, IN ULONG MaxAtomCount, OUT ULONG *AtomCount, OUT RTL_ATOM *AtomList)
#define STATUS_INVALID_INFO_CLASS
#define _SEH2_GetExceptionCode()
#define _SEH2_EXCEPT(...)
#define _SEH2_YIELD(__stmt)
#define ProbeForWriteUshort(Ptr)
#define ProbeForWriteUlong(Ptr)
#define FIELD_OFFSET(t, f)
#define RtlCopyMemory(Destination, Source, Length)
#define STATUS_ACCESS_DENIED
#define STATUS_INVALID_PARAMETER
#define STATUS_INFO_LENGTH_MISMATCH
#define STATUS_INSUFFICIENT_RESOURCES
_In_ ULONG _Out_opt_ PULONG RequiredLength
_Must_inspect_result_ _In_ ULONG Flags
#define ExAllocatePoolWithQuotaTag(a, b, c)
_In_ KPROCESSOR_MODE PreviousMode