ICertManageModule::GetCopyright

[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
);

Parameters

[C++] pstrCopyright
Pointer to a BSTR type that will contain the copyright information. The GetCopyright method fails if pstrCopyright is NULL. It is the caller's responsibility to call SysFreeString when done with pstrCopyright.

Return Values

[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.

Remarks

The GetCopyright method is used to retrieve the copyright information for the module.

Example

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 );
 

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in certmod.h.
  Import Library: Use certidl.lib.