home *** CD-ROM | disk | FTP | other *** search
- //--------------------------------------------------------------------
- // Microsoft MS Remote OLE DB Provider
- //
- // (c) 1997 Microsoft Corporation. All Rights Reserved.
- //
- // MSRemote external constants GUIDS and other things users need
-
- #ifndef MSRemote_INCLUDED
- #pragma option push -b -a8 -pc -A- /*P_O_Push*/
- #define MSRemote_INCLUDED
-
- #define MS_REMOTE_PROGID "MS Remote"
- #define MS_REMOTE_FILENAME "MSDAREM.DLL"
-
- extern const CLSID CLSID_MSRemote //DSO
- #if (defined MSREMOTE_INITCONSTANTS) | (defined DBINITCONSTANTS)
- = { 0x27016870, 0x8e02, 0x11d1, { 0x92, 0x4e, 0x0, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3 } }
- #endif
- ;
-
- extern const CLSID CLSID_MSRemoteSession
- #if (defined MSREMOTE_INITCONSTANTS) | (defined DBINITCONSTANTS)
- = { 0x27016871, 0x8e02, 0x11d1, { 0x92, 0x4e, 0x0, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3 } }
- #endif
- ;
-
- extern const CLSID CLSID_MSRemoteCommand
- #if (defined MSREMOTE_INITCONSTANTS) | (defined DBINITCONSTANTS)
- = { 0x27016872, 0x8e02, 0x11d1, { 0x92, 0x4e, 0x0, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3 } }
- #endif
- ;
-
- extern const char *PROGID_MSRemote
- #if (defined MSREMOTE_INITCONSTANTS) | (defined DBINITCONSTANTS)
- = MS_REMOTE_PROGID
- #endif
- ;
-
- extern const char *PROGID_MSRemote_Version
- #if (defined MSREMOTE_INITCONSTANTS) | (defined DBINITCONSTANTS)
- = MS_REMOTE_PROGID ".1"
- #endif
- ;
-
- extern const GUID DBPROPSET_MSREMOTE_DBINIT
- #if (defined MSREMOTE_INITCONSTANTS) | (defined DBINITCONSTANTS)
- = { 0x27016873, 0x8e02, 0x11d1, { 0x92, 0x4e, 0x0, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3 } }
- #endif
- ;
-
- #define DBPROP_MSREMOTE_SERVER 2 //Name="Remote Server", type=VT_BSTR, def=VT_EMPTY
- #define DBPROP_MSREMOTE_PROVIDER 3 //Name="Remote Provider", type=VT_BSTR, def=VT_EMPTY
- #define DBPROP_MSREMOTE_HANDLER 4 //Name="Handler", type=VT_BSTR, def=VT_EMPTY
- #define DBPROP_MSREMOTE_DFMODE 5 //Name="DFMode", type=VT_BSTR, def=VT_EMPTY
- #define DBPROP_MSREMOTE_INTERNET_TIMEOUT 6 //Name="Internet Timeout", type=VT_I4, def=VT_EMPTY
- #define DBPROP_MSREMOTE_TRANSACT_UPDATES 7 //Name="Transact Updates", type=VT_BOOL, def=VARIANT_FALSE
- #define DBPROP_MSREMOTE_COMMAND_PROPERTIES 8 //Name="Command Properties", type=VT_BSTR, def=VT_EMPTY
-
- extern const GUID DBPROPSET_MSREMOTE_DATASOURCE
- #if (defined MSREMOTE_INITCONSTANTS) | (defined DBINITCONSTANTS)
- = { 0x27016874, 0x8e02, 0x11d1, { 0x92, 0x4e, 0x0, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3 } }
- #endif
- ;
-
- #define DBPROP_MSREMOTE_CURRENT_DFMODE 2 //Name="Current DFMode", type=VT_I4, def=21
-
- #pragma option pop /*P_O_Pop*/
- #endif // MSRemote_INCLUDED
-