So you suggest to drop the whole part and just keep the true part?
m_pwszPrefix := PROP_SHEET_PREFIX_ADMIN;
Sorry to keep firing off my questions but I am grabbing the occassion
is this the corret translation?
Code:
if((m_cfDSObjectNames != pFormatEtc->cfFormat) ||
!(pFormatEtc->tymed & TYMED_HGLOBAL))
{
return DV_E_FORMATETC;
}
Delphi-Quellcode:
if (m_cfDSObjectNames <> pFormatEtc.cfFormat) or (pFormatEtc.tymed and TYMED_HGLOBAL = 0) then
begin
Result := DV_E_FORMATETC;
Exit;
end;