Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Client-provided callback function, used by CreateFontPackage and MergeFontPackage to allocate memory.
Syntax
CFP_ALLOCPROC CfpAllocproc;
void * CfpAllocproc(
size_t unnamedParam1
)
{...}
Parameters
unnamedParam1
Number of bytes to allocate.
Return value
Returns a void pointer to the allocated space, or NULL if there is insufficient memory available.
Remarks
malloc conforms to this type; the application can either use malloc or a more specialized function for memory allocation. Whatever function is chosen, there must also be appropriate functions to reallocate and to free this memory.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | fontsub.h |