Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pfdynamicunload.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pfdynamicunload.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pfdynamicunload.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pfdynamicunload.html on line 8
Unload a dynamically loaded font
#include <photon/Pf.h>
long PfDynamicUnload( long lDynamicFontID );
#include <font_api.h>
long PfDynamicUnloadCx( struct _Pf_ctrl * context,
long lDynamicFontID );
- context
- (PfDynamicUnloadCx() only) A pointer to the font context to use, returned by
PfAttachCx() or
PfAttachDllCx().
- lDynamicFontID
- The font ID, returned by
PfDynamicLoad(),
of the font that you want to unload.
- PfDynamicUnload()
- ph
- PfDynamicUnloadCx()
- font
This function unloads a dynamically loaded font.
0L on success, or -1L if an error occurred
(errno
is set).
PfDynamicUnload():
- ESRCH
- The function couldn't locate the given dynamic font ID or font file entry.
- EBADF
- An error occurred when attempting to close and remove
the font file from the affected library.
- ENOMEM
- Not enough memory was available to proceed with the unload.
- EINVAL
- An invalid condition was encountered, possibly due to an invalid font file.
PfDynamicUnloadCx():
- ERANGE
- Provided ID is less than zero.
- EBADF
- Connection has gone stale, or a device error occurred.
- ENETUNREACH
- Bad message buffer.
- ELIBACC
- Unable to locate render plugin for specified font.
- ESRCH
- Unable to locate render plugin type for specified id.
PfDynamicUnload(): See
PfDynamicLoad().
PfDynamicUnloadCx(): See the example for PfDynamicLoadCx().
Photon
PfDynamicUnload()
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PfDynamicUnloadCx()
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
PfDynamicLoad(),
PfDynamicLoadCx()
Fonts
chapter of the Photon Programmer's Guide
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pfdynamicunload.html on line 189
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pfdynamicunload.html on line 189