log_debug (LOGFILE, "get keyid for %s\r\n", keyid+8);
passphraseCallback (void *opaque, const char *uid_hint, 		    const char *passphrase_info,		    int last_was_bad, int fd){    MapiGPGME *ctx = (MapiGPGME*)opaque;    const char *passwd;    char keyid[16+1];    DWORD nwritten = 0;    int i=0;    while (uid_hint && *uid_hint != ' ')	keyid[i++] = *uid_hint++;    keyid[i] = '\0';        passwd = ctx->getPassphrase (keyid+8);    log_debug (LOGFILE, "get keyid for %s\r\n", keyid+8);    /*log_debug (LOGFILE, "get keyid %s = '%s'\r\n", keyid+8, passwd);*/    if (passwd != NULL) {	WriteFile ((HANDLE)fd, passwd, strlen (passwd), &nwritten, NULL);	WriteFile ((HANDLE)fd, "\n", 1, &nwritten, NULL);    }    return 0;}