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.

67 lines
1.7 KiB

  1. #include <windows.h>
  2. #include <assert.h>
  3. #include <oledlg.h>
  4. #include "linkcntr.h"
  5. HRESULT STDMETHODCALLTYPE CMyOleUILinkContainer::QueryInterface(REFIID riid, LPVOID FAR * ppvObj)
  6. {
  7. return(E_NOTIMPL);
  8. };
  9. ULONG STDMETHODCALLTYPE CMyOleUILinkContainer::AddRef()
  10. {
  11. return(0);
  12. };
  13. ULONG STDMETHODCALLTYPE CMyOleUILinkContainer::Release()
  14. {
  15. return(0);
  16. }
  17. DWORD STDMETHODCALLTYPE CMyOleUILinkContainer::GetNextLink(DWORD dwLink)
  18. {
  19. return(0);
  20. }
  21. HRESULT STDMETHODCALLTYPE CMyOleUILinkContainer::SetLinkUpdateOptions(DWORD dwLink, DWORD dwUpdateOpt)
  22. {
  23. return(S_OK);
  24. }
  25. HRESULT STDMETHODCALLTYPE CMyOleUILinkContainer::GetLinkUpdateOptions(DWORD dwLink,
  26. DWORD FAR* lpdwUpdateOpt)
  27. {
  28. *lpdwUpdateOpt = OLEUPDATE_ONCALL;
  29. return(S_OK);
  30. };
  31. HRESULT STDMETHODCALLTYPE CMyOleUILinkContainer::SetLinkSource(DWORD dwLink, LPTSTR lpszDisplayName,
  32. ULONG lenFileName, ULONG FAR* pchEaten, BOOL fValidateSource)
  33. {
  34. return(E_NOTIMPL);
  35. };
  36. HRESULT STDMETHODCALLTYPE CMyOleUILinkContainer::GetLinkSource(DWORD dwLink,
  37. LPTSTR FAR* lplpszDisplayName, ULONG FAR* lplenFileName,
  38. LPTSTR FAR* lplpszFullLinkType, LPTSTR FAR* lplpszShortLinkType,
  39. BOOL FAR* lpfSourceAvailable, BOOL FAR* lpfIsSelected)
  40. {
  41. return(E_NOTIMPL);
  42. };
  43. HRESULT STDMETHODCALLTYPE CMyOleUILinkContainer::OpenLinkSource(DWORD dwLink)
  44. {
  45. return(E_NOTIMPL);
  46. };
  47. HRESULT STDMETHODCALLTYPE CMyOleUILinkContainer::UpdateLink(DWORD dwLink,
  48. BOOL fErrorMessage, BOOL fErrorAction)
  49. {
  50. return(E_NOTIMPL);
  51. };
  52. HRESULT STDMETHODCALLTYPE CMyOleUILinkContainer::CancelLink(DWORD dwLink)
  53. {
  54. return(E_NOTIMPL);
  55. };