MSRemote.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:3k
源码类别:

模拟服务器

开发平台:

C/C++

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