TTRunValidationTestsEx function (t2embapi.h)

Validates part or all glyph data of a UCS-4 character (32-bit) font, in the size range specified.

Windows Vista and later: this function will always return E_API_NOTIMPL, and no processing is performed by this API.

Syntax

LONG TTRunValidationTestsEx(
  [in] HDC                       hDC,
  [in] TTVALIDATIONTESTSPARAMSEX *pTestParam
);

Parameters

[in] hDC

Device context handle.

[in] pTestParam

Pointer to a TTVALIDATIONTESTPARAMSEX structure specifying the parameters to test.

Return value

If successful and the glyph data is valid, returns E_NONE.

Otherwise, returns an error code described in Embedding-Function Error Messages.

Remarks

TTRunValidationTestsEx is a UCS-4 version of TTRunValidationTests.

This function was supported in Windows XP and earlier, but is no longer supported. In Windows Vista and later, this function will always return E_API_NOTIMPL, and no processing is performed by this API.

Effective font validation can be performed by a tool, such as Font Validator, that is capable of performing thorough validation of all parts of the font file. Please see https://www.microsoft.com/typography/FontValidator.aspx for information on the Font Validator tool.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header t2embapi.h
Library T2embed.lib
DLL T2embed.dll

See also

TTRunValidationTests

TTVALIDATIONTESTPARAMSEX