Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

141 lines
4.3 KiB

  1. //+============================================================================
  2. //
  3. // Stubs to allow the link to succeeded. None are used.
  4. //
  5. //+============================================================================
  6. #include <pch.cxx>
  7. #pragma hdrstop
  8. #include "trkwks.hxx"
  9. HRESULT StubLnkSearchMachine(RPC_BINDING_HANDLE IDL_handle,
  10. ULONG RestrictionsIn,
  11. const CDomainRelativeObjId *pdroidBirthLast,
  12. const CDomainRelativeObjId *pdroidLast,
  13. CDomainRelativeObjId *pdroidBirthNext,
  14. CDomainRelativeObjId *pdroidNext,
  15. CMachineId *pmcidNext,
  16. TCHAR *ptsz )
  17. {
  18. return E_FAIL;
  19. }
  20. HRESULT StubLnkCallSvrMessage(
  21. /* [in] */ handle_t IDL_handle,
  22. /* [switch_is][out][in] */ TRKSVR_MESSAGE_UNION __RPC_FAR *pMsg)
  23. {
  24. return E_FAIL;
  25. }
  26. void
  27. StubLnkMendLink(PRPC_ASYNC_STATE pAsync_handle,
  28. RPC_BINDING_HANDLE IDL_handle,
  29. FILETIME ftLimit,
  30. DWORD RestrictionsIn,
  31. const CDomainRelativeObjId *pdroidBirth,
  32. const CDomainRelativeObjId *pdroidLast,
  33. const CMachineId * pmcidLast,
  34. CDomainRelativeObjId * pdroidCurrent,
  35. CMachineId * pmcidCurrent,
  36. ULONG * pcbPath,
  37. WCHAR * wsz)
  38. {
  39. return;
  40. }
  41. HRESULT Stubold2_LnkSearchMachine( RPC_BINDING_HANDLE IDL_handle,
  42. ULONG RestrictionsIn,
  43. const CDomainRelativeObjId *pdroidLast,
  44. CDomainRelativeObjId *pdroidNext,
  45. CMachineId *pmcidNext,
  46. TCHAR *tsz )
  47. {
  48. return E_FAIL;
  49. }
  50. HRESULT StubLnkOnRestore(/*[in]*/ RPC_BINDING_HANDLE IDL_handle)
  51. {
  52. return E_FAIL;
  53. }
  54. HRESULT
  55. StubTriggerVolumeClaims( RPC_BINDING_HANDLE IDL_handle,
  56. /*[in]*/ ULONG cVolumes,
  57. /*[in]*/ const CVolumeId *rgvolid )
  58. {
  59. return E_FAIL;
  60. }
  61. HRESULT
  62. StubGetFileTrackingInformation( RPC_BINDING_HANDLE IDL_handle,
  63. /*[in]*/ CDomainRelativeObjId droidCurrent,
  64. /*[in]*/ TrkInfoScope scope,
  65. /*[out]*/ TRK_FILE_TRACKING_INFORMATION_PIPE pipeFileInfo )
  66. {
  67. return E_FAIL;
  68. }
  69. HRESULT
  70. StubGetVolumeTrackingInformation( RPC_BINDING_HANDLE IDL_handle,
  71. /*[in]*/ CVolumeId volid,
  72. /*[in]*/ TrkInfoScope scope,
  73. /*[out]*/ TRK_VOLUME_TRACKING_INFORMATION_PIPE pipeVolInfo )
  74. {
  75. return( E_NOTIMPL );
  76. }
  77. HRESULT StubLnkSetVolumeId(
  78. handle_t IDL_handle,
  79. ULONG iVolume,
  80. const CVolumeId VolId)
  81. {
  82. return( E_NOTIMPL );
  83. }
  84. HRESULT StubLnkRestartDcSynchronization(
  85. RPC_BINDING_HANDLE IDL_handle
  86. )
  87. {
  88. return(E_NOTIMPL);
  89. }
  90. HRESULT Stubold_LnkSearchMachine(
  91. /* [in] */ handle_t IDL_handle,
  92. /* [in] */ ULONG Restrictions,
  93. /* [in] */ const CDomainRelativeObjId __RPC_FAR *pdroidLast,
  94. /* [out] */ CDomainRelativeObjId __RPC_FAR *pdroidReferral,
  95. /* [string][out] */ TCHAR __RPC_FAR tsz[ MAX_PATH + 1 ])
  96. {
  97. return E_NOTIMPL;
  98. }
  99. HRESULT Stubold_LnkCallSvrMessage(
  100. /* [in] */ handle_t IDL_handle,
  101. /* [out][in] */ TRKSVR_MESSAGE_UNION_OLD __RPC_FAR *pMsg)
  102. {
  103. return E_NOTIMPL;
  104. }
  105. HRESULT Stubold_LnkMendLink(
  106. /* [in] */ handle_t IDL_handle,
  107. /* [in] */ FILETIME ftLimit,
  108. /* [in] */ ULONG Restrictions,
  109. /* [in] */ const CDomainRelativeObjId __RPC_FAR *pdroidBirth,
  110. /* [in] */ const CDomainRelativeObjId __RPC_FAR *pdroidLast,
  111. /* [out] */ CDomainRelativeObjId __RPC_FAR *pdroidCurrent,
  112. /* [string][out] */ WCHAR __RPC_FAR wsz[ MAX_PATH + 1 ] )
  113. {
  114. return E_NOTIMPL;
  115. }