How to package plugins into wp8 project

I have some plugins programed in c . How to package my plugin into wp8 project when I build WP8 project in unity. So I can ues them like
[DllImport (“__Internal”)]
public static extern void encrypt (byte[ ] inbuf, byte[ ] outbuf, int outbufLength);

Windows Phone 8 doesn’t support Platform Invoke. One of the ways execute native code is to use Windows Phone Runtime Components - you’ll have to recompile your C DLL to that.

ok thanks!