Go to the source code of this file.
◆ START_TEST()
◆ Test_ThreadPriorityClass()
static void Test_ThreadPriorityClass |
( |
void |
| ) |
|
|
static |
Definition at line 13 of file NtSetInformationThread.c.
14{
17
20 {
21 skip(
"Failed to allocate memory for thread priority variable!\n");
22 return;
23 }
24
25
27
28
32 0);
34
35
41
42
48
49
53 0);
55
56
60 0);
62
63
69
70
76
77
83
84
85
86
87
94
96}
#define STATUS_PRIVILEGE_NOT_HELD
#define ok_hex(expression, result)
#define HeapFree(x, y, z)
#define LOW_REALTIME_PRIORITY
NTSTATUS NTAPI NtSetInformationThread(IN HANDLE ThreadHandle, IN THREADINFOCLASS ThreadInformationClass, IN PVOID ThreadInformation, IN ULONG ThreadInformationLength)
#define STATUS_INVALID_HANDLE
#define STATUS_ACCESS_VIOLATION
#define STATUS_DATATYPE_MISALIGNMENT
#define STATUS_INFO_LENGTH_MISMATCH
_In_ WDFINTERRUPT _In_ WDF_INTERRUPT_POLICY _In_ WDF_INTERRUPT_PRIORITY Priority
HANDLE WINAPI GetCurrentThread(void)
Referenced by START_TEST().
◆ Test_ThreadSetAlignmentProbe()
static void Test_ThreadSetAlignmentProbe |
( |
void |
| ) |
|
|
static |
Definition at line 100 of file NtSetInformationThread.c.
101{
103
104
106 {
107
109 InfoClass,
113
114
116 InfoClass,
120
121
123 InfoClass,
127 }
128}
#define SET(field, seg, reg)
VOID QuerySetThreadValidator(_In_ ALIGNMENT_PROBE_MODE ValidationMode, _In_ ULONG InfoClassIndex, _In_ PVOID InfoPointer, _In_ ULONG InfoLength, _In_ NTSTATUS ExpectedStatus)
static const INFORMATION_CLASS_INFO PsThreadInfoClass[]
Referenced by START_TEST().