Sizeofresource

[DllImport("Kernel32.dll")][return: MarshalAs(UnmanagedType.U4)]
public static extern uint SizeofResource(IntPtr hModule,
   IntPtr hResInfo
);

Microsoft documentation: Link

Last updated