Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
dllmain.c
////////// |
// |
// File: dllmain.c |
// |
// Contains: Code for creating a derived media handler component for QuickDraw pictures. |
// |
// Written by: Tim Monroe |
// |
// Copyright: © 1999 by Apple Computer, Inc., all rights reserved. |
// |
// Change History (most recent first): |
// |
// <1> 01/16/99 rtm first file |
// |
////////// |
#include <QTML.h> |
#include <windows.h> |
static HINSTANCE ghInst = 0; |
BOOL WINAPI dllMain (HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved) |
{ |
ghInst = hInst; |
switch (ul_reason_for_call) { |
case DLL_PROCESS_ATTACH: |
break; |
case DLL_THREAD_ATTACH: |
break; |
case DLL_THREAD_DETACH: |
break; |
case DLL_PROCESS_DETACH: |
break; |
} |
return(true); |
} |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14