What is AGL on .NET Compact Framework??
Any information about it would be very appreciated!
For Example(Code from .NET Compact Framework):
DllImport("AGL", EntryPoint="@106")]
public static extern PAL_ERROR Blt(IntPtr howThis, IntPtr howSrc, ref RC rcSrc, ref RC rcDst, int cvKey, AGL_BLT md);
public void Save(Stream stream, ImageFormat format)
{
if (stream == null)
{
throw new ArgumentNullException("stream");
}
if (!stream.CanSeek || !stream.CanWrite)
{
throw new ArgumentException();
}
MISC.HandleAr(GL.SaveImage(this.m_how, format.m_imgfmt, StreamWrapper.CreateStreamCallback(stream)));
}
It is a support DLL in the Compact Framework. It contains unmanaged code to help make Windows Forms run on Windows CE and Windows Mobile. The term “PAL” you see used means Platform Abstraction Layer.
The @106 syntax in the [DllImport] attribute means “106th exported function”. Exports are normally named instead of numbered, but AGL isn’t meant for general use. The Blt() function maps to BitBlt() in the Windows API.