if (!getAttachments ()) { log_debug ("MapiGPGME.signAttachments: getAttachments failed\n"); return FALSE; }
MapiGPGMEImpl::signAttachments (HWND hwnd){    if (!getAttachments ()) {        log_debug ("MapiGPGME.signAttachments: getAttachments failed\n");	return FALSE;    }        int n = countAttachments ();    log_debug ("MapiGPGME.signAttachments: mail has %d attachments\n", n);    if (!n) {	freeAttachments ();	return TRUE;    }    for (int i=0; i < n; i++) {        LPATTACH amsg = openAttachment (NULL/*FIXME*/,i);	if (!amsg)	    continue;	processAttachment (&amsg, hwnd, i, GPG_ATTACH_SIGN);	releaseAttachment (amsg);    }    freeAttachments ();    return 0;}