次の方法で共有


InitNew method

Informs the object that it is being initialized as a newly created object.

Syntax

HRESULT retVal = object.InitNew();

Parameters

This method has no parameters.

Remarks

E_NOTIMPL should not be returned. Return S_OK, even if the object does not perform any function in this method.