Edit

TestUnlockData function

Unlocks the test handle that was locked with TestQueryData.

Syntax

void TestUnlockData(
    HANDLE test,
    unsigned int options,
    PCSTR data,      
    _Out_ TestInfo* result);

Parameters

test

The test handle returned from TestCreate or TestOpen.

options

The unlock data options. This parameter can be set to the following values.

Value Description
0 None.
1 This update is coming from a test class that was opened with an ambiguous entity, i.e.multiple tests running may assume contention.

data

An arbitrary JSON string.

result [out]

A TestInfo structure containing information about the test.

Return value

None

Remarks

This function has no associated import library or header file; it must be invoked using the LoadLibrary and GetProcAddress functions.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Server 2022
Header None
DLL kernelbase.dll