IShowPropertiesRsp Interface

The IShowPropertiesRsp interface is used to interact with specific ShowProperties response parameters contained in the in-process COM Server ShowProperties response component, which is returned when the ShowProperties command is invoked.

Client applications may also interact with the ShowProperties response component via the IAppIntRsp interface. For more information about working with command and response components and their COM interfaces, see Command and Response components.

COM Class ID

coclass ShowPropertiesRsp {
[default] interface IShowPropertiesRsp;
interface IAppIntRsp;
};

Reference

DLL FnAppIntShowPropertiesCmd.dll
See Also IShowPropertiesCmd Interface

Methods

The IShowPropertiesRsp interface does not define any public methods.

Example

The following is a fragment from the complete example for the ShowProperties command.

   ...
   // Obtain the response name and description from the standard response component
      _bstr_t bstrResponseDescription = spIAppIntRsp->GetDescription();
      std::cout << "ResponseDescription=" << ( bstrResponseDescription.length() ? (LPCSTR) bstrResponseDescription : _T( "" ) ) << std::endl;
      _bstr_t bstrResponseName = spIAppIntRsp->GetName();
      std::cout << "ResponseName=" << ( bstrResponseName.length() ? (LPCSTR) bstrResponseName : _T( "" ) ) << std::endl;

      // Obtain the custom ShowPropertiesRsp component
      IShowPropertiesRspPtr spIShowPropertiesRsp(spIAppIntRsp);
_ASSERTE(spIShowPropertiesRsp != 0);
...