Source code of Windows XP (NT5)
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.

89 lines
2.6 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1998.
  5. //
  6. // File: I C O M T A R G F . C P P
  7. //
  8. // Contents: ICommandTarget implementation for IConnectionFolder
  9. //
  10. // Notes:
  11. //
  12. // Author: jeffspr 12 Mar 1998
  13. //
  14. //----------------------------------------------------------------------------
  15. #include "pch.h"
  16. #pragma hdrstop
  17. //+---------------------------------------------------------------------------
  18. //
  19. // Member: CUPnPDeviceFolder::QueryStatus
  20. //
  21. // Purpose: [IOleCommandTarget] Queries the object for the status of one
  22. // or more commands generated by user interface events.
  23. //
  24. // This interface is required but is currently unimplemented
  25. //
  26. // Arguments:
  27. // pguidCmdGroup [in] // Pointer to command group
  28. // cCmds [in] // Number of commands in prgCmds array
  29. // prgCmds [in,out] // Array of commands
  30. // pCmdText [in,out] // Pointer to name or status of command
  31. //
  32. // Returns:
  33. //
  34. // Author: jeffspr 12 Aug 1999
  35. //
  36. // Notes:
  37. //
  38. HRESULT CUPnPDeviceFolder::QueryStatus(
  39. const GUID * pguidCmdGroup,
  40. ULONG cCmds,
  41. OLECMD prgCmds[],
  42. OLECMDTEXT * pCmdText)
  43. {
  44. HRESULT hr = E_NOTIMPL;
  45. TraceHr(ttidError, FAL, hr, (hr == E_NOTIMPL), "CUPnPDeviceFolder::QueryStatus");
  46. return hr;
  47. }
  48. //+---------------------------------------------------------------------------
  49. //
  50. // Member: CUPnPDeviceFolder::Exec
  51. //
  52. // Purpose: [IOleCommandTarget] Executes a specified command or displays
  53. // help for a command.
  54. //
  55. // This method is not currently referenced, but if the shell
  56. // wanted to enumerate only incoming our outgoing connections,
  57. // it would use the CFCID_SETENUMTYPE command to force the
  58. // issue (that is unimplemented on our side, however)
  59. //
  60. // Arguments:
  61. // pguidCmdGroup [in] // Pointer to command group
  62. // nCmdID [in] // Identifier of command to execute
  63. // nCmdexecopt [in] // Options for executing the command
  64. // pvaIn [in] // Pointer to input arguments
  65. // pvaOut [in,out] // Pointer to command output
  66. //
  67. // Returns:
  68. //
  69. // Author: jeffspr 12 Aug 1999
  70. //
  71. // Notes:
  72. //
  73. HRESULT CUPnPDeviceFolder::Exec(
  74. const GUID * pguidCmdGroup,
  75. DWORD nCmdID,
  76. DWORD nCmdexecopt,
  77. VARIANTARG * pvaIn,
  78. VARIANTARG * pvaOut)
  79. {
  80. HRESULT hr = NOERROR;
  81. TraceHr(ttidError, FAL, hr, FALSE, "CUPnPDeviceFolder::Exec");
  82. return hr;
  83. }