public static extern int /* BOOL */ MapAndLoad(
     [MarshalAs(UnmanagedType.LPStr)] string ImageName,                  // PCSTR
     [MarshalAs(UnmanagedType.LPStr)] string DllPath,                    // PSTR
     out LoadedImage loadedImage,                                        // PLOADED_IMAGE
     int DotDll,                                                         // BOOL
     int ReadOnly                                                        // BOOL
     );
 public static extern int /* BOOL */ UnMapAndLoad(
     out LoadedImage loadedImage                 // PLOADED_IMAGE
     );