Skip to content

Latest commit

 

History

History
80 lines (60 loc) · 2.37 KB

nc-fontsub-cfp_allocproc.md

File metadata and controls

80 lines (60 loc) · 2.37 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NC:fontsub.CFP_ALLOCPROC
CFP_ALLOCPROC (fontsub.h)
Client-provided callback function, used by CreateFontPackage and MergeFontPackage to allocate memory.
CFP_ALLOCPROC
CFP_ALLOCPROC callback
CFP_ALLOCPROC callback function [Windows GDI]
_win32_CFP_ALLOCPROC
fontsub/CFP_ALLOCPROC
gdi.cfp_allocproc
gdi\cfp_allocproc.htm
gdi
f6a98721-ebd1-4d83-bc9d-adde2e3ce525
12/05/2018
CFP_ALLOCPROC, CFP_ALLOCPROC callback, CFP_ALLOCPROC callback function [Windows GDI], _win32_CFP_ALLOCPROC, fontsub/CFP_ALLOCPROC, gdi.cfp_allocproc
fontsub.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
CFP_ALLOCPROC
fontsub/CFP_ALLOCPROC
c++
APIRef
kbSyntax
UserDefined
FontSub.h
CFP_ALLOCPROC

-description

Client-provided callback function, used by CreateFontPackage and MergeFontPackage to allocate memory.

-parameters

-param unnamedParam1

Number of bytes to allocate.

-returns

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.

-see-also

CFP_FREEPROC

CFP_REALLOCPROC

CreateFontPackage

MergeFontPackage