- 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
CENUMSCH.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:
- EnumSch.h
- Abstract:
- Author:
- Environment:
- User mode
- Revision History :
- --*/
- #ifndef _ENUMSCH_H_
- #define _ENUMSCH_H_
- class FAR CSampleDSSchemaEnum : public CSampleDSEnumVariant
- {
- public:
- // IEnumVARIANT methods
- STDMETHOD(Next)(
- ULONG cElements,
- VARIANT FAR* pvar,
- ULONG FAR* pcElementFetched
- );
- static
- HRESULT
- Create(
- CSampleDSSchemaEnum FAR* FAR* ppenumvariant,
- BSTR bstrSampleDSTreeName,
- BSTR bstrADsPath,
- BSTR bstrDomainName,
- VARIANT var
- );
- CSampleDSSchemaEnum();
- ~CSampleDSSchemaEnum();
- HRESULT
- EnumObjects(
- ULONG cElements,
- VARIANT FAR * pvar,
- ULONG FAR * pcElementFetched
- );
- private:
- ObjectTypeList FAR *_pObjList;
- //HANDLE _hOperationData;
- //HANDLE _hTree;
- LPSampleDS_ATTR_DEF _lpAttrDefs;
- DWORD _dwAttrCurrent;
- DWORD _dwAttrReturned;
- BSTR _bstrName;
- BSTR _bstrSampleDSTreeName;
- BSTR _bstrADsPath;
- LPSampleDS_CLASS_DEF _lpClassDefs;
- DWORD _dwClassCurrent;
- DWORD _dwClassReturned;
- //DWORD _dwCurrentEntry;
- //DWORD _dwInfoType;
- HRESULT
- CSampleDSSchemaEnum::GetClassObject(
- IDispatch **ppDispatch
- );
- HRESULT
- EnumClasses(
- ULONG cElements,
- VARIANT FAR* pvar,
- ULONG FAR* pcElementFetched
- );
- HRESULT
- CSampleDSSchemaEnum::EnumObjects(
- DWORD ObjectType,
- ULONG cElements,
- VARIANT FAR * pvar,
- ULONG FAR * pcElementFetched
- );
- HRESULT
- CSampleDSSchemaEnum::EnumProperties(
- ULONG cElements,
- VARIANT FAR* pvar,
- ULONG FAR* pcElementFetched
- );
- HRESULT
- CSampleDSSchemaEnum::GetPropertyObject(
- IDispatch ** ppDispatch
- );
- };
- #endif