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