共用方式為


3.1.4.2.9 get_Description (Opnum 15)

The get_Description method gets the Description property of the event class.

 [propget, id(5), helpstring("property Description")] HRESULT Description(
   [out, retval] BSTR* pbstrDescription
 );

pbstrDescription: If the method returns a success HRESULT, this MUST contain the Description property of the event class, as specified in section 3.1.1.1. The string value MUST be of length less than or equal to 255.

Return Values: An HRESULT specifying success or failure. All success codes MUST be treated the same, and all failure codes MUST be treated the same.

When this method is invoked, the server MUST verify that this value was previously set on this DCOM object instance servicing this method call. If not, the server MUST fail the call, returning a failure HRESULT back to the client. Otherwise, the server MUST return the value of the Description property.