- 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
CPRPOBJ.H
Package: MSDN_VC98.zip [view]
Upload User: bangxh
Upload Date: 2007-01-31
Package Size: 42235k
Code Size: 2k
Category:
Windows Develop
Development Platform:
Visual C++
- /*++
- Copyright (c) 1996 Microsoft Corporation
- Module Name:
- CPrpObj.h
- Abstract:
- Sample Provider GetObject functionality
- Author:
- Environment:
- User mode
- Revision History :
- --*/
- #ifndef _CPRPOBJ_H_
- #define _CPRPOBJ_H_
- struct SYNTAXMAP
- {
- BSTR bstrName;
- BSTR bstrSampleDSName;
- long lOleAutoDataType;
- };
- struct SYNTAXINFO
- {
- BSTR bstrName;
- long lOleAutoDataType;
- };
- class CSampleDSProperty : INHERIT_TRACKING,
- public CCoreADsObject,
- public IADsProperty
- {
- public:
- /* IUnknown methods */
- STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
- DECLARE_STD_REFCOUNTING
- /* Other methods */
- DECLARE_IDispatch_METHODS
- DECLARE_IADs_METHODS
- DECLARE_IADsProperty_METHODS
- /* Constructors, Destructors, ... */
- CSampleDSProperty::CSampleDSProperty();
- CSampleDSProperty::~CSampleDSProperty();
- static
- HRESULT
- CSampleDSProperty::CreateProperty(
- BSTR bstrParent,
- BSTR bstrName,
- LPSampleDS_ATTR_DEF lpAttrDef,
- DWORD dwObjectState,
- REFIID riid,
- void **ppvObj
- );
- static
- HRESULT
- CSampleDSProperty::CreateProperty(
- BSTR bstrParent,
- BSTR bstrName,
- HANDLE hTree,
- DWORD dwObjectState,
- REFIID riid,
- void **ppvObj
- );
- static
- HRESULT
- CSampleDSProperty::AllocatePropertyObject(
- CSampleDSProperty **ppProperty
- );
- protected:
- CDispatchMgr FAR * _pDispMgr;
- /* Properties */
- VARIANT _vADsNames;
- VARIANT _vDsNames;
- BSTR _bstrSyntax;
- };
- HRESULT
- MapSyntaxIdtoADsSyntax(
- DWORD dwSyntaxId,
- LPWSTR pszADsSyntax
- );
- HRESULT
- MapSyntaxIdtoSampleDSSyntax(
- DWORD dwSyntaxId,
- LPWSTR pszSampleDSSyntax
- );
- #endif