public static extern bool EncodeSetNotify(int Handle, EncodeNotifyProcedure Procedure, IntPtr User = default(IntPtr));
public static extern bool EncodeSetNotify(int handle, EncodeNotifyProcedure proc, IntPtr user);