private extern static IntPtr RmGet(IntPtr rm, RmGetType type);
private static extern IntPtr RmGet(IntPtr rm, RmGetType type);