CLSID.C
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- /***
- *clsid.c
- *
- * This is a part of the Microsoft Source Code Samples.
- *
- * Copyright (C) 1992-1997 Microsoft Corporation. All rights reserved.
- *
- * This source code is only intended as a supplement to Microsoft Development
- * Tools and/or WinHelp documentation. See these sources for detailed
- * information regarding the Microsoft samples programs.
- *
- *Purpose:
- * This file allocates and initializes the CLSIDs.
- *
- *****************************************************************************/
- #ifdef _PPCMAC
- #pragma data_seg ("_FAR_DATA")
- #pragma data_seg ( )
- #endif //_PPCMAC
- #ifdef _MAC
- # include <Types.h>
- #ifdef _MSC_VER
- # include <Processe.h>
- # include <AppleEve.h>
- #else //_MSC_VER
- # include <Processes.h>
- # include <AppleEvents.h>
- #endif //_MSC_VER
- #else
- # include <windows.h>
- #endif
- #ifndef WIN32
- #include <compobj.h>
- #endif //!WIN32
- // this redefines the DEFINE_GUID() macro to do allocation.
- //
- #include <initguid.h>
- #ifndef INITGUID
- # define INITGUID
- #endif
- // due to the previous header, including this causes the DEFINE_GUID
- // definitions in the following header(s) to actually allocate data.
- //
- #include "clsid.h"