A guide is available at http://avisynthnew.wikinet.org/wiki/Avisynth_Plugin_Development_in_C
http://forum.doom9.org/showthread.php?p=1465008#post1465008