Nikolay Sivov (@nsivov) commented about dlls/ntdll/tests/rtl.c:
free( group_sid );
}
+static void test_RtlQueryInformationActiveActivationContext(void) +{
- ACTIVATION_CONTEXT_BASIC_INFORMATION basic;
- ULONG_PTR cookie;
- NTSTATUS status;
- HANDLE context;
- SIZE_T size;
- BOOL ret;
- context = create_actctx_from_module_manifest();
- ok( context != INVALID_HANDLE_VALUE, "Failed to create context, error %lu.\n", GetLastError() );
- ret = ActivateActCtx( context, &cookie );
- ok( ret, "ActivateActCtx failed, error %lu.\n", GetLastError() );
It's better to have this created dynamically from a file, we don't need a resource section just for that.
Another option is to have RtlQueryInformationActiveActivationContext test in kernel32/tests where we have all the helpers available.