nw::font::ResFont::RemoveResource Member Function

Syntax

void * RemoveResource();

Arguments

None.

Return Values

Returns a pointer to the associated resource if there is one. Returns NULL if there is no associated resource.

Description

Deallocates the font resource.

After calling this function, the data cannot be used as a font until the nw::font::ResFont::SetResource function is called again.
This function deallocates only the font resource allocation for nw::font::ResFont. It does not deallocate the memory area in which the font resource is stored.

Font resources obtained as return values are rewritten by the nw::font::ResFont::SetResource function. The association can be re-established by passing to the nw::font::ResFont::SetResource function again.

See Also

nw::font::ResFont::SetResource

Revision History

2009/10/20
Initial version.

CONFIDENTIAL