public static extern bool WIMUnregisterMessageCallback(IntPtr hWim, WIMMessageCallback fpMessageProc);
public static extern int WIMRegisterMessageCallback(IntPtr hWim, WIMMessageCallback fpMessageProc, IntPtr pvUserData);
public static extern bool WIMUnregisterMessageCallback(IntPtr hWim, WIMMessageCallback fpMessageProc);
public static extern int WIMRegisterMessageCallback(IntPtr hWim, WIMMessageCallback fpMessageProc, IntPtr pvUserData);