gpgme

dlsymdlopen

1.12.0

5 / 630 files match, 2 filtered matches.

src/w32-util.c



105 | #define RTLD_LAZY 0
106 | 
107 | static GPG_ERR_INLINE void *
108 | dlopen (const char * name, int flag)
109 | {
110 |   void * hd = LoadLibrary (name);
209 |     {
210 |       /* Available since W2000; thus we dynload it.  */
211 |       initialized = 1;
212 |       handle = dlopen ("user32.dll", RTLD_LAZY);
213 |       if (handle)
214 |         {


src/w32-io.c



547 |      out of the recv.  A shutdown does this nicely.  For handles
548 |      (i.e. pipes) it would also be nice to cancel the operation, but
549 |      such a feature is only available since Vista.  Thus we need to
550 |      dlopen that syscall.  */
551 |   if (ctx->file_hd != INVALID_HANDLE_VALUE)
552 |     {