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.

44 lines
1.6 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1994.
  5. //
  6. // File: linkcntr.h
  7. //
  8. // Contents: bogus implementation of IOleUILinkContainer
  9. //
  10. // Classes: CMyOleUILinkContainer
  11. //
  12. // Functions:
  13. //
  14. // History: 11-28-94 stevebl Created
  15. //
  16. //----------------------------------------------------------------------------
  17. #ifndef _LINKCNTR_H_
  18. #define _LINKCNTR_H_
  19. class CMyOleUILinkContainer: public IOleUILinkContainer
  20. {
  21. public:
  22. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR * ppvObj);
  23. STDMETHOD_(ULONG, AddRef)(THIS);
  24. STDMETHOD_(ULONG, Release)(THIS);
  25. STDMETHOD_(DWORD, GetNextLink)(THIS_ DWORD dwLink);
  26. STDMETHOD(SetLinkUpdateOptions)(THIS_ DWORD dwLink, DWORD dwUpdateOpt);
  27. STDMETHOD(GetLinkUpdateOptions) (THIS_ DWORD dwLink,
  28. DWORD FAR* lpdwUpdateOpt);
  29. STDMETHOD(SetLinkSource) (THIS_ DWORD dwLink, LPTSTR lpszDisplayName,
  30. ULONG lenFileName, ULONG FAR* pchEaten, BOOL fValidateSource);
  31. STDMETHOD(GetLinkSource) (THIS_ DWORD dwLink,
  32. LPTSTR FAR* lplpszDisplayName, ULONG FAR* lplenFileName,
  33. LPTSTR FAR* lplpszFullLinkType, LPTSTR FAR* lplpszShortLinkType,
  34. BOOL FAR* lpfSourceAvailable, BOOL FAR* lpfIsSelected);
  35. STDMETHOD(OpenLinkSource) (THIS_ DWORD dwLink);
  36. STDMETHOD(UpdateLink) (THIS_ DWORD dwLink,
  37. BOOL fErrorMessage, BOOL fErrorAction);
  38. STDMETHOD(CancelLink) (THIS_ DWORD dwLink);
  39. };
  40. #endif // _LINKCNTR_H_