Code Search for Developers
 
 
  

FontInstaller.h from guliverkli at Krugle


Show FontInstaller.h syntax highlighted

#pragma once

#include <atlcoll.h>

class CFontInstaller
{
	HANDLE (WINAPI *pAddFontMemResourceEx)(PVOID,DWORD,PVOID,DWORD*);
	BOOL (WINAPI *pRemoveFontMemResourceEx)(HANDLE);
	int (WINAPI *pAddFontResourceEx)(LPCTSTR,DWORD,PVOID);
	BOOL (WINAPI *pRemoveFontResourceEx)(LPCTSTR,DWORD,PVOID);
	BOOL (WINAPI *pMoveFileEx)(LPCTSTR, LPCTSTR,DWORD);

	CAtlList<HANDLE> m_fonts;
	CAtlList<CString> m_files;
	bool InstallFontMemory(const void* pData, UINT len);
	bool InstallFontFile(const void* pData, UINT len);

public:
	CFontInstaller();
	virtual ~CFontInstaller();

	bool InstallFont(const CAtlArray<BYTE>& data);
	bool InstallFont(const void* pData, UINT len);	
	void UninstallFonts();
};




See more files for this project here

guliverkli

Home of VobSub, Media Player Classic (MPC) and other misc utils.

Project homepage: http://sourceforge.net/projects/guliverkli
Programming language(s): C,C++,PHP
License: other

  DSMPropertyBag.cpp
  DSMPropertyBag.h
  DSUtil.cpp
  DSUtil.h
  FontInstaller.cpp
  FontInstaller.h
  MediaTypeEx.cpp
  MediaTypeEx.h
  MediaTypes.cpp
  MediaTypes.h
  NullRenderers.cpp
  NullRenderers.h
  a_yuv2rgb.asm
  a_yuvtable.asm
  convert_a.asm
  dsutil.sln
  dsutil.vcproj
  dsutil_vs2005.sln
  dsutil_vs2005.vcproj
  stdafx.cpp
  stdafx.h
  text.cpp
  text.h
  vd.cpp
  vd.h