[This is preliminary documentation and subject to change.]
The GetCopyright method retrieves the copyright information in the module.
[VB] String GetCopyright();
[JAVA] java.lang.String GetCopyright();
[C++] HRESULT GetCopyright(
BSTR *pstrCopyright // out
);
[VB][JAVA] The return value is a String representing the copyright information.
[C++] The return value is an HRESULT. A value of S_OK indicates success.
The GetCopyright method is used to retrieve the copyright information for the module.
HRESULT hr;
BSTR bstrCopyright = NULL;
// pIManageModule is previously instantiated ICertManageModule object
hr = pIManageModule->GetCopyright( &bstrCopyright );
if ( S_OK == hr )
printf("Copyright is: %S\n", bstrCopyright );
// free resources when done
if ( NULL != bstrCopyright )
SysFreeString( bstrCopyright );
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in certmod.h.
Import Library: Use certidl.lib.