Go to the source code of this file.
◆ FN_RtlQueryEnvironmentVariable
◆ START_TEST()
Definition at line 23 of file RtlQueryEnvironmentVariable.c.
24{
25 static WCHAR TestEnv[] =
L"TestVar=TestVal\0Foo=4\0EmptyVar\0Bar=8\0\0";
29
34 {
36 skip(
"RtlQueryEnvironmentVariable is not available\n");
37 return;
38 }
39
40
44
45
52
53
60
61
69
70
78
79
84
85
90
91
98}
_In_ PVOID _In_ ULONG _Out_ PVOID _In_ ULONG _Inout_ PULONG ReturnLength
static FN_RtlQueryEnvironmentVariable * pRtlQueryEnvironmentVariable
NTSTATUS NTAPI FN_RtlQueryEnvironmentVariable(_In_opt_ PVOID Environment, _In_reads_(NameLength) PWSTR Name, _In_ SIZE_T NameLength, _Out_writes_(ValueLength) PWSTR Value, _In_ SIZE_T ValueLength, _Out_ PSIZE_T ReturnLength)
#define ok_eq_wstr(value, expected)
#define ok_eq_size(value, expected)
#define ok_eq_wchar(value, expected)
#define ok_ntstatus(status, expected)
#define GetProcAddress(x, y)
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
#define STATUS_VARIABLE_NOT_FOUND
#define _WIN32_WINNT_VISTA
#define STATUS_BUFFER_TOO_SMALL
◆ pRtlQueryEnvironmentVariable