home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2000 September / VPR0009A.BIN / VS60SP4JPN / support / msremote.h < prev    next >
C/C++ Source or Header  |  1999-02-28  |  2KB  |  67 lines

  1. //--------------------------------------------------------------------
  2. // Microsoft MS Remote OLE DB Provider
  3. //
  4. // (c) 1997 Microsoft Corporation.    All Rights Reserved.
  5. //
  6. // MSRemote external constants GUIDS and other things users need
  7.  
  8. #ifndef MSRemote_INCLUDED
  9. #define MSRemote_INCLUDED
  10.  
  11. #define MS_REMOTE_PROGID    "MS Remote"
  12. #define MS_REMOTE_FILENAME  "MSDAREM.DLL"
  13.  
  14. extern const CLSID CLSID_MSRemote  //DSO
  15. #ifdef MSREMOTE_INITCONSTANTS
  16.  = { 0x27016870, 0x8e02, 0x11d1, { 0x92, 0x4e, 0x0, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3 } }
  17. #endif
  18. ;
  19.  
  20. extern const CLSID CLSID_MSRemoteSession
  21. #ifdef MSREMOTE_INITCONSTANTS
  22.  = { 0x27016871, 0x8e02, 0x11d1, { 0x92, 0x4e, 0x0, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3 } }
  23. #endif
  24. ;
  25.  
  26. extern const CLSID CLSID_MSRemoteCommand
  27. #ifdef MSREMOTE_INITCONSTANTS
  28.  = { 0x27016872, 0x8e02, 0x11d1, { 0x92, 0x4e, 0x0, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3 } }
  29. #endif
  30. ;
  31.  
  32. extern const char *PROGID_MSRemote
  33. #ifdef MSREMOTE_INITCONSTANTS
  34.  = MS_REMOTE_PROGID
  35. #endif
  36. ;
  37.  
  38. extern const char *PROGID_MSRemote_Version
  39. #ifdef MSREMOTE_INITCONSTANTS
  40.  = MS_REMOTE_PROGID ".1"
  41. #endif
  42. ;
  43.  
  44. extern const GUID DBPROPSET_MSREMOTE_DBINIT
  45. #ifdef MSREMOTE_INITCONSTANTS
  46.  = { 0x27016873, 0x8e02, 0x11d1, { 0x92, 0x4e, 0x0, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3 } }
  47. #endif
  48. ;
  49.  
  50. #define DBPROP_MSREMOTE_SERVER             2   //Name="Remote Server", type=VT_BSTR, def=VT_EMPTY
  51. #define DBPROP_MSREMOTE_PROVIDER           3   //Name="Remote Provider", type=VT_BSTR, def=VT_EMPTY
  52. #define DBPROP_MSREMOTE_HANDLER            4   //Name="Handler", type=VT_BSTR, def=VT_EMPTY
  53. #define DBPROP_MSREMOTE_DFMODE             5   //Name="DFMode", type=VT_BSTR, def=VT_EMPTY
  54. #define DBPROP_MSREMOTE_INTERNET_TIMEOUT   6   //Name="Internet Timeout", type=VT_I4, def=VT_EMPTY
  55. #define DBPROP_MSREMOTE_TRANSACT_UPDATES   7   //Name="Transact Updates", type=VT_BOOL, def=VARIANT_FALSE
  56. #define DBPROP_MSREMOTE_COMMAND_PROPERTIES 8   //Name="Command Properties", type=VT_BSTR, def=VT_EMPTY
  57.  
  58. extern const GUID DBPROPSET_MSREMOTE_DATASOURCE
  59. #ifdef MSREMOTE_INITCONSTANTS
  60.  = { 0x27016874, 0x8e02, 0x11d1, { 0x92, 0x4e, 0x0, 0xc0, 0x4f, 0xbb, 0xbf, 0xb3 } }
  61. #endif
  62. ;
  63.  
  64. #define DBPROP_MSREMOTE_CURRENT_DFMODE  2  //Name="Current DFMode", type=VT_I4, def=21
  65.  
  66. #endif // MSRemote_INCLUDED
  67.