[DllImport("kernel32.dll")]
static extern IntPtr LockResource(IntPtr hResData);
None.
does not call SetLastError, according to MSDN.
this function returnes a pointer to the resource. you can use Marshal.Copy() to copy the data from the pointer to a managed array.
Please add some!
Do you know one? Please contribute it!