- Code/Resource
- Windows Develop
- Linux-Unix program
- Internet-Socket-Network
- Web Server
- Browser Client
- Ftp Server
- Ftp Client
- Browser Plugins
- Proxy Server
- Email Server
- Email Client
- WEB Mail
- Firewall-Security
- Telnet Server
- Telnet Client
- ICQ-IM-Chat
- Search Engine
- Sniffer Package capture
- Remote Control
- xml-soap-webservice
- P2P
- WEB(ASP,PHP,...)
- TCP/IP Stack
- SNMP
- Grid Computing
- SilverLight
- DNS
- Cluster Service
- Network Security
- Communication-Mobile
- Game Program
- Editor
- Multimedia program
- Graph program
- Compiler program
- Compress-Decompress algrithms
- Crypt_Decrypt algrithms
- Mathimatics-Numerical algorithms
- MultiLanguage
- Disk/Storage
- Java Develop
- assembly language
- Applications
- Other systems
- Database system
- Embeded-SCM Develop
- FlashMX/Flex
- source in ebook
- Delphi VCL
- OS Develop
- MiddleWare
- MPI
- MacOS develop
- LabView
- ELanguage
- Software/Tools
- E-Books
- Artical/Document
PERDRAW.H
Package: MSDN_VC98.zip [view]
Upload User: bangxh
Upload Date: 2007-01-31
Package Size: 42235k
Code Size: 3k
Category:
Windows Develop
Development Platform:
Visual C++
- /*+==========================================================================
- File: PERDRAW.H
- Summary: Main include file for the PERDRAW.DLL dynamic link library.
- Intended primarily for external users of this DLL who exploit
- it via static linkage to the DllRegisterServer and
- DllUnregisterServer exported service calls.
- For a comprehensive tutorial code tour of PERDRAW's contents
- and offerings see the tutorial PERDRAW.HTM file. For
- more specific technical details on the internal workings see
- the comments dispersed throughout the PERDRAW source code.
- Classes: none.
- Functions: DllRegisterServer, DllUnregisterServer.
- Origin: 5-20-97: atrent - Editor-inheritance from STOSERVE.H in
- the STOSERVE Tutorial Code Sample. [Revised]
- ----------------------------------------------------------------------------
- This file is part of the Microsoft COM Tutorial Code Samples.
- Copyright (C) Microsoft Corporation, 1997. All rights reserved.
- This source code is intended only as a supplement to Microsoft
- Development Tools and/or on-line documentation. See these other
- materials for detailed information regarding Microsoft code samples.
- THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
- KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
- PARTICULAR PURPOSE.
- ==========================================================================+*/
- #if !defined(PERDRAW_H)
- #define PERDRAW_H
- #if !defined(RC_INCLUDE)
- #if !defined(_DLLEXPORT_)
- // If _DLLEXPORT_ is NOT defined then the default is to import.
- #if defined(__cplusplus)
- #define DLLENTRY extern "C" __declspec(dllimport)
- #else
- #define DLLENTRY extern __declspec(dllimport)
- #endif
- #define STDENTRY DLLENTRY HRESULT WINAPI
- #define STDENTRY_(type) DLLENTRY type WINAPI
- // Here is the list of server APIs offered by the DLL (using the
- // appropriate entry API declaration macros just #defined above).
- STDENTRY DllRegisterServer(void);
- STDENTRY DllUnregisterServer(void);
- #else // _DLLEXPORT_
- // Else if _DLLEXPORT_ is indeed defined then we've been told to export.
- #if defined(__cplusplus)
- #define DLLENTRY extern "C" __declspec(dllexport)
- #else
- #define DLLENTRY __declspec(dllexport)
- #endif
- #define STDENTRY DLLENTRY HRESULT WINAPI
- #define STDENTRY_(type) DLLENTRY type WINAPI
- #endif // _DLLEXPORT_
- #endif // RC_INCLUDE
- #endif // PERDRAW_H