전에 사용되던 초기화 함수. 현재는 미사용.
===== COM 객체 인스턴스 생성 - CoCreateInstance =====
**<nowiki>CoCreateInstance( CLSID, NULL, CLSCTX_ALL, IID_IUnknown, (void**)&pUnk )</nowiki... 하려는 인터페이스 인스턴스를 생성
==== 함수 호출관계 빨리 보기 ====
- CoCreateInstance()
- IClassFactory 인터페이스 변수 준비
- C... 응되는 클래스팩토리 COM 객체를 얻어 리턴
- 리턴된 클래스팩토리 COM 객체의 CreateInstance()를 호출
- 작업 종료
===== COM 객체 인스턴스 생성 -
ng3 = "string.";
HRESULT hr;
size_t * pcch;
// Create a bold and an italic logical font.
hfntItalic = MyCreateFont();
hfntBold = MyCreateFont();
// Select the bold font and draw the first string
// beginning