TTRunValidationTests function (t2embapi.h)

Validates part or all glyph data of a wide-character (16-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 TTRunValidationTests(
  [in] HDC                     hDC,
  [in] TTVALIDATIONTESTSPARAMS *pTestParam
);

Parameters

[in] hDC

Device context handle.

[in] pTestParam

Pointer to a TTVALIDATIONTESTPARAMS 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

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. See the Font Validator documentation for more information.

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

TTRunValidationTestsEx

TTVALIDATIONTESTPARAMS