++ed by:
MOB XLAT KEEDI SALVA

4 PAUSE users
3 non-PAUSE users.

Aldo Calpini

NAME

Win32::API::Callback - Callback support for Win32::API

SYNOPSIS

  use Win32::API;
  use Win32::API::Callback;

  my $callback = Win32::API::Callback->new(
    sub { my($a, $b) = @_; return $a+$b; },
    "NN", "N",
  );

  Win32::API->Import(
      'mydll', 'two_integers_cb', 'KNN', 'N',
  );

  $sum = two_integers_cb( $callback, 3, 2 );

FOREWORDS

  • Support for this module is highly experimental at this point.

  • I won't be surprised if it doesn't work for you.

  • Feedback is very appreciated.

  • Documentation is in the work. Either see the SYNOPSIS above or the samples in the samples directory.

AUTHOR

Aldo Calpini ( dada@perl.it ).