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