WRITEEMBEDPROC function pointer
Client-provided callback function, used by TTEmbedFont, TTEmbedFontEx, and TTEmbedFontFromFileA to write stream contents to a buffer.
Syntax
typedef unsigned long ( WINAPIV *WRITEEMBEDPROC)(
_In_ void *lpvWriteStream,
_In_ const void *lpvBuffer,
_In_ const unsigned long cbBuffer
);
Parameters
lpvWriteStream [in]
Stream identifier (file handle or other) of the output stream (font structure).lpvBuffer [in]
Address of buffer with data to write.cbBuffer [in]
Number of bytes to write (from buffer to stream).
Return value
Returns the number of bytes successfully written. In the event of failure, no special error codes are returned. The system function that called this will detect failure from the fact that not as many bytes were written as were requested.
Requirements
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
T2embapi.h |