Headers diff for t2embed.dll between 6.1.7601.17514-Windows_7.0 and 6.3.9600.17415-Windows_8.1 versions



 t2embapi.h (6.1.7601.17514-Windows_7.0)   t2embapi.h (6.3.9600.17415-Windows_8.1) 
skipping to change at line 12 skipping to change at line 12
* * * *
* t2embapi.h -- OpenType embedding services dll (T2EMBED.DLL) * * t2embapi.h -- OpenType embedding services dll (T2EMBED.DLL) *
* * * *
* (c) Microsoft Corporation. All Rights Reserved. * * (c) Microsoft Corporation. All Rights Reserved. *
* * * *
*************************************************************************/ *************************************************************************/
#ifndef __t2embapi__ #ifndef __t2embapi__
#define __t2embapi__ #define __t2embapi__
#pragma once #pragma once
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
// Charset flags for ulCharSet field of TTEmbedFont // Charset flags for ulCharSet field of TTEmbedFont
#define CHARSET_UNICODE 1 #define CHARSET_UNICODE 1
#define CHARSET_DEFAULT 1 #define CHARSET_DEFAULT 1
#define CHARSET_SYMBOL 2 #define CHARSET_SYMBOL 2
#define CHARSET_GLYPHIDX 3 #define CHARSET_GLYPHIDX 3
skipping to change at line 178 skipping to change at line 182
unsigned long ulCharSet; // Same as ulCharSet param to TTEmbedFont. unsigned long ulCharSet; // Same as ulCharSet param to TTEmbedFont.
unsigned short usReserved1; unsigned short usReserved1;
unsigned short usCharCodeCount; // If zero, we test over all glyphs. unsigned short usCharCodeCount; // If zero, we test over all glyphs.
unsigned long* pulCharCodeSet; // Pointer to array of Unicode chars. unsigned long* pulCharCodeSet; // Pointer to array of Unicode chars.
}TTVALIDATIONTESTSPARAMSEX; }TTVALIDATIONTESTSPARAMSEX;
/* Font Embedding APIs ----------------------------------------------------*/ /* Font Embedding APIs ----------------------------------------------------*/
LONG WINAPI TTEmbedFont LONG WINAPI TTEmbedFont
( (
__in HDC hDC, // device-context handle _In_ HDC hDC, // device-context handle
__in ULONG ulFlags, // flags specifying the request _In_ ULONG ulFlags, // flags specifying the request
__in ULONG ulCharSet, // flags specifying char set _In_ ULONG ulCharSet, // flags specifying char set
__out ULONG* pulPrivStatus, // upon completion contains embeddin _Out_ ULONG* pulPrivStatus, // upon completion contains embeddin
g priv of font g priv of font
__out ULONG* pulStatus, // on completion may contain status _Out_ ULONG* pulStatus, // on completion may contain status
flags for request flags for request
__callback WRITEEMBEDPROC lpfnWriteToStream, // callback function for doc/di sk writes __callback WRITEEMBEDPROC lpfnWriteToStream, // callback function for doc/di sk writes
__in LPVOID lpvWriteStream, // the output stream tokin _In_ LPVOID lpvWriteStream, // the output stream token
__in_ecount(usCharCodeCount) USHORT* pusCharCodeSet, // address of _In_reads_(usCharCodeCount) USHORT* pusCharCodeSet, // address of
buffer containing optional buffer containing optional
// character codes for subsetting // character codes for subsetting
__in USHORT usCharCodeCount, // number of characters in the _In_ USHORT usCharCodeCount, // number of characters in the
// lpvCharCodeSet buffer // lpvCharCodeSet buffer
__in USHORT usLanguage, // specifies the language in the name table to keep _In_ USHORT usLanguage, // specifies the language in the name table to keep
// set to 0 to keep all // set to 0 to keep all
__in_opt TTEMBEDINFO* pTTEmbedInfo // optional security _In_opt_ TTEMBEDINFO* pTTEmbedInfo // optional security
); );
LONG WINAPI TTEmbedFontFromFileA LONG WINAPI TTEmbedFontFromFileA
( (
__in HDC hDC, // device-context handle _In_ HDC hDC, // device-context handle
__in LPCSTR szFontFileName, // TrueType font file name _In_ LPCSTR szFontFileName, // TrueType font file name
__in USHORT usTTCIndex, // If file image is a TTC, this mu _In_ USHORT usTTCIndex, // If file image is a TTC, this mu
st be zero based index st be zero based index
__in ULONG ulFlags, // flags specifying the request _In_ ULONG ulFlags, // flags specifying the request
__in ULONG ulCharSet, // flags specifying char set _In_ ULONG ulCharSet, // flags specifying char set
__out ULONG* pulPrivStatus, // upon completion contains embedd _Out_ ULONG* pulPrivStatus, // upon completion contains embedd
ing priv of font ing priv of font
__out ULONG* pulStatus, // on completion may contain statu _Out_ ULONG* pulStatus, // on completion may contain statu
s flags for request s flags for request
__callback WRITEEMBEDPROC lpfnWriteToStream, // callback function for doc/di sk writes __callback WRITEEMBEDPROC lpfnWriteToStream, // callback function for doc/di sk writes
__in LPVOID lpvWriteStream, // the output stream tokin _In_ LPVOID lpvWriteStream, // the output stream token
__in_ecount(usCharCodeCount) USHORT* pusCharCodeSet, // address of _In_reads_(usCharCodeCount) USHORT* pusCharCodeSet, // address of
buffer containing optional buffer containing optional
// character codes for subsetting // character codes for subsetting
__in USHORT usCharCodeCount, // number of characters in the _In_ USHORT usCharCodeCount, // number of characters in the
// lpvCharCodeSet buffer // lpvCharCodeSet buffer
__in USHORT usLanguage, // specifies the language in the name table to keep _In_ USHORT usLanguage, // specifies the language in the name table to keep
// set to 0 to keep all // set to 0 to keep all
__in_opt TTEMBEDINFO* pTTEmbedInfo // optional security _In_opt_ TTEMBEDINFO* pTTEmbedInfo // optional security
); );
LONG WINAPI TTLoadEmbeddedFont LONG WINAPI TTLoadEmbeddedFont
( (
__out HANDLE* phFontReference, // on completion, contains handl e to identify embedded font installed _Out_ HANDLE* phFontReference, // on completion, contains handl e to identify embedded font installed
// on system // on system
__in ULONG ulFlags, // flags specifying the request _In_ ULONG ulFlags, // flags specifying the request
__out ULONG* pulPrivStatus, // on completion, contains the embed _Out_ ULONG* pulPrivStatus, // on completion, contains the embed
ding status ding status
__in ULONG ulPrivs, // allows for the reduction of licen _In_ ULONG ulPrivs, // allows for the reduction of licen
sing privileges sing privileges
__out ULONG* pulStatus, // on completion, may contain status _Out_ ULONG* pulStatus, // on completion, may contain status
flags for request flags for request
__in READEMBEDPROC lpfnReadFromStream, // callback function for doc/disk re _In_ READEMBEDPROC lpfnReadFromStream, // callback function for doc/disk re
ads ads
__in LPVOID lpvReadStream, // the input stream tokin _In_ LPVOID lpvReadStream, // the input stream token
__in_opt LPWSTR szWinFamilyName, // the new 16 bit windows family _In_opt_ LPWSTR szWinFamilyName, // the new 16 bit windows family
name can be NULL name can be NULL
__in_opt LPSTR szMacFamilyName, // the new 8 bit mac family name _In_opt_ LPSTR szMacFamilyName, // the new 8 bit mac family name
can be NULL can be NULL
__in_opt TTLOADINFO* pTTLoadInfo // optional security _In_opt_ TTLOADINFO* pTTLoadInfo // optional security
); );
LONG WINAPI TTGetEmbeddedFontInfo LONG WINAPI TTGetEmbeddedFontInfo
( (
__in ULONG ulFlags, // flags specifying the request _In_ ULONG ulFlags, // flags specifying the request
__out ULONG* pulPrivStatus, // on completion, contains the emb _Out_ ULONG* pulPrivStatus, // on completion, contains the emb
edding status edding status
__in ULONG ulPrivs, // allows for the reduction of lice _In_ ULONG ulPrivs, // allows for the reduction of lice
nsing privileges nsing privileges
__out ULONG* pulStatus, // on completion, may contain stat _Out_ ULONG* pulStatus, // on completion, may contain stat
us flags for request us flags for request
__callback READEMBEDPROC lpfnReadFromStream, // callback function for doc/ disk reads __callback READEMBEDPROC lpfnReadFromStream, // callback function for doc/ disk reads
__in LPVOID lpvReadStream, // the input stream tokin _In_ LPVOID lpvReadStream, // the input stream token
__in_opt TTLOADINFO* pTTLoadInfo // optional security _In_opt_ TTLOADINFO* pTTLoadInfo // optional security
); );
LONG WINAPI TTDeleteEmbeddedFont LONG WINAPI TTDeleteEmbeddedFont
( (
__in HANDLE hFontReference, // Reference to font value provided by load _In_ HANDLE hFontReference, // Reference to font value provided by load
functions functions
__in ULONG ulFlags, _In_ ULONG ulFlags,
__out ULONG* pulStatus _Out_ ULONG* pulStatus
); );
LONG WINAPI TTGetEmbeddingType LONG WINAPI TTGetEmbeddingType
( (
__in HDC hDC, // device context handle _In_ HDC hDC, // device context handle
__out ULONG* pulEmbedType // upon completion, contains the _Out_ ULONG* pulEmbedType // upon completion, contains the
// embedding status // embedding status
); );
LONG WINAPI TTCharToUnicode LONG WINAPI TTCharToUnicode
( (
__in HDC hDC, // device context handle _In_ HDC hDC, // device context handle
__in_ecount(ulCharCodeSize) UCHAR* pucCharCodes, // array of 8 bi _In_reads_(ulCharCodeSize) UCHAR* pucCharCodes, // array of 8 bit
t character codes to convert character codes to convert
__in ULONG ulCharCodeSize, // size of 8 bit character code array _In_ ULONG ulCharCodeSize, // size of 8 bit character code array
__out_ecount(ulShortCodeSize) USHORT* pusShortCodes, // buffer to r _Out_writes_(ulShortCodeSize) USHORT* pusShortCodes, // buffer to r
ecieve Unicode code points ecieve Unicode code points
__in ULONG ulShortCodeSize, // size in wide characters of 16 bit ch _In_ ULONG ulShortCodeSize, // size in wide characters of 16 bit ch
aracter code array aracter code array
__in ULONG ulFlags // Control flags _In_ ULONG ulFlags // Control flags
); );
LONG WINAPI TTRunValidationTests LONG WINAPI TTRunValidationTests
( (
__in HDC hDC, // device context handle _In_ HDC hDC, // device context handle
__in TTVALIDATIONTESTSPARAMS* pTestParam // _In_ TTVALIDATIONTESTSPARAMS* pTestParam //
); );
/* Font Enabling APIs -----------------------------------------------------*/ /* Font Enabling APIs -----------------------------------------------------*/
LONG WINAPI TTIsEmbeddingEnabled LONG WINAPI TTIsEmbeddingEnabled
( (
__in HDC hDC, // device context handle _In_ HDC hDC, // device context handle
__out BOOL* pbEnabled // upon completion will indicate if en _Out_ BOOL* pbEnabled // upon completion will indicate if en
abled abled
); );
LONG WINAPI TTIsEmbeddingEnabledForFacename LONG WINAPI TTIsEmbeddingEnabledForFacename
( (
__in LPCSTR lpszFacename, // facename _In_ LPCSTR lpszFacename, // facename
__out BOOL* pbEnabled // upon completion will indicate if en _Out_ BOOL* pbEnabled // upon completion will indicate if en
abled abled
); );
LONG WINAPI TTEnableEmbeddingForFacename LONG WINAPI TTEnableEmbeddingForFacename
( // If fEnable != 0, it removes the indicated ( // If fEnable != 0, it removes the indicated
__in LPCSTR lpszFacename, // typeface name from the "embedding _In_ LPCSTR lpszFacename, // typeface name from the "embedding
__in BOOL bEnable // exclusion list". Else, it enters th _In_ BOOL bEnable // exclusion list". Else, it enters th
e e
); // indicated typeface name in the "embedding ); // indicated typeface name in the "embedding
// exclusion list". // exclusion list".
LONG WINAPI TTEmbedFontEx LONG WINAPI TTEmbedFontEx
( (
__in HDC hDC, // device-context handle _In_ HDC hDC, // device-context handle
__in ULONG ulFlags, // flags specifying the request _In_ ULONG ulFlags, // flags specifying the request
__in ULONG ulCharSet, // flags specifying char set _In_ ULONG ulCharSet, // flags specifying char set
__out ULONG* pulPrivStatus, // upon completion contains embeddin _Out_ ULONG* pulPrivStatus, // upon completion contains embeddin
g priv of font g priv of font
__out ULONG* pulStatus, // on completion may contain status _Out_ ULONG* pulStatus, // on completion may contain status
flags for request flags for request
__callback WRITEEMBEDPROC lpfnWriteToStream, // callback function for doc/di sk writes __callback WRITEEMBEDPROC lpfnWriteToStream, // callback function for doc/di sk writes
__in LPVOID lpvWriteStream, // the output stream tokin _In_ LPVOID lpvWriteStream, // the output stream token
__in_ecount(usCharCodeCount) ULONG* pulCharCodeSet, // address of _In_reads_(usCharCodeCount) ULONG* pulCharCodeSet, // address of
buffer containing optional buffer containing optional
// character codes for subsetting // character codes for subsetting
__in USHORT usCharCodeCount, // number of characters in the _In_ USHORT usCharCodeCount, // number of characters in the
// lpvCharCodeSet buffer // lpvCharCodeSet buffer
__in USHORT usLanguage, // specifies the language in the name table to keep _In_ USHORT usLanguage, // specifies the language in the name table to keep
// set to 0 to keep all // set to 0 to keep all
__in_opt TTEMBEDINFO* pTTEmbedInfo // optional security _In_opt_ TTEMBEDINFO* pTTEmbedInfo // optional security
); );
LONG WINAPI TTRunValidationTestsEx LONG WINAPI TTRunValidationTestsEx
( (
__in HDC hDC, // device context handle _In_ HDC hDC, // device context handle
__in TTVALIDATIONTESTSPARAMSEX* pTestParam // _In_ TTVALIDATIONTESTSPARAMSEX* pTestParam //
); );
LONG WINAPI TTGetNewFontName LONG WINAPI TTGetNewFontName
( (
__deref_in HANDLE* phFontReference, // contains handle t o identify embedded font installed _In_ HANDLE* phFontReference, // contains handle to iden tify embedded font installed
// on system // on system
__out_ecount(cchMaxWinName) LPWSTR wzWinFamilyName, // the new 16 bit wi _Out_writes_(cchMaxWinName) LPWSTR wzWinFamilyName, // the new 16 bit wi
ndows family name. Must be at least LF_FACESIZE long. ndows family name. Must be at least LF_FACESIZE long.
__in LONG cchMaxWinName, // actual length of _In_ LONG cchMaxWinName, // actual length of
the windows name. the windows name.
__out_ecount(cchMaxMacName) LPSTR szMacFamilyName, // the new 8 bit mac _Out_writes_(cchMaxMacName) LPSTR szMacFamilyName, // the new 8 bit mac
family name. Must be at least LF_FACESIZE long. family name. Must be at least LF_FACESIZE long.
__in LONG cchMaxMacName // actual length of _In_ LONG cchMaxMacName // actual length of
the macintosh name. the macintosh name.
); );
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#endif //__t2embapi__ #endif //__t2embapi__
 End of changes. 31 change blocks. 
104 lines changed or deleted 111 lines changed or added

This html diff was produced by rfcdiff 1.41.