HRESULT CRegisterExtension::UnRegisterVerbs(PCWSTR const rgpszAssociation[], UINT countAssociation, PCWSTR pszVerb) const
{
    HRESULT hr = S_OK;
    for (UINT i = 0; SUCCEEDED(hr) && (i < countAssociation); i++)
    {
        hr = UnRegisterVerb(rgpszAssociation[i], pszVerb);
    }

    if (SUCCEEDED(hr) && HasClassID())
    {
        hr = UnRegisterObject();
    }
    return hr;
}
示例#2
0
BOOL _cdecl DonePlugin(){
	//AfxMessageBox("DONE!");
	UnRegisterObject("Реестр");
	UnRegisterObject("Registry");
	return TRUE;
}