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
dbseci.idl
Package: SwordOnline.rar [view]
Upload User: dzyhzl
Upload Date: 2019-04-29
Package Size: 56270k
Code Size: 2k
Category:
Game Server Simulator
Development Platform:
C/C++
- //-----------------------------------------------------------------------------
- // File: dbseci.idl
- //
- // Copyright: Copyright (c) Microsoft Corporation
- //
- // Contents: OLE DB interface definition
- //
- // Comments:
- //
- //-----------------------------------------------------------------------------
- #include "idlmulti.h"
- //
- #if( OLEDBVER >= 0x0200 )
- REMOTED_INTERFACE(0c733a62-2a1c-11ce-ade5-00aa0044773d)
- #else
- LOCAL_INTERFACE(0c733a62-2a1c-11ce-ade5-00aa0044773d)
- #endif
- interface IDBSecurityInfo : IUnknown {
- typedef DWORD DBTRUSTEEACCTTYPE;
- enum DBTRUSTEEACCTTYPEENUM {
- DBTRUSTEEACCTTYPE_UNKNOWN,
- DBTRUSTEEACCTTYPE_USER,
- DBTRUSTEEACCTTYPE_GROUP,
- };
- typedef DWORD DBTRUSTEEIDTYPE;
- enum DBTRUSTEEIDTYPEENUM {
- DBTRUSTEEIDTYPE_SID,
- DBTRUSTEEIDTYPE_NAME,
- };
- typedef DWORD DBTRUSTEEMULT;
- enum DBTRUSTEEMULTENUM {
- DBTRUSTEEMULT_NONE,
- DBTRUSTEEMULT_IMPERSONATE,
- };
- typedef struct tagDBTRUSTEE {
- struct tagDBTRUSTEE * pMultipleTrustee;
- LPOLESTR pwszName;
- DBTRUSTEEMULT dwMultipleTrusteeOp;
- DBTRUSTEEIDTYPE dwTrusteeIDType;
- DBTRUSTEEACCTTYPE dwTrusteeAcctType;
- } DBTRUSTEE, *PDBTRUSTEE;
- typedef struct tagDBOBJECTTYPE {
- LPOLESTR pwszObjectTypeName;
- GUID * pguidObjectTypeId;
- } DBOBJECTTYPE;
- typedef struct tagDBPERMTYPE {
- LPOLESTR pwszPermissionTypeName;
- GUID * pguidPermissionTypeId;
- } DBPERMTYPE;
- typedef struct tagDBTRUSTEETYPE {
- LPOLESTR pwszTrusteeTypeName;
- GUID * pguidTrusteeTypeId;
- } DBTRUSTEETYPE;
- typedef struct tagDBACCESSTRIPLE {
- // DBPERMISSION Permission;
- DBPERMTYPE PermissionType;
- DBOBJECTTYPE ObjectType;
- DBTRUSTEETYPE TrusteeType;
- } DBACCESSTRIPLE;
- HRESULT GetAccessTriples(
- [in, out] ULONG * pcAccessTriplesInfo,
- [out, size_is(,*pcAccessTriplesInfo)] DBACCESSTRIPLE ** prgAccessTripleInfo
- );
- HRESULT GetAuthenticatedTrusteeIdentity(
- [out] DBTRUSTEE * pTrustee
- );
- HRESULT GetObjectTypesInfo(
- [in, out] ULONG * pcObjectInfo,
- [out, size_is(,*pcObjectInfo)] DBOBJECTTYPE ** prgObjectInfo
- );
- HRESULT GetPermTypesInfo(
- [in, out] ULONG * pcPermInfo,
- [out, size_is(,*pcPermInfo)] DBPERMTYPE ** prgPermInfo
- );
- }