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