The UnlockResource function is obsolete. Win32 applications do not have to unlock resources.
This function is provided in Win32 only for compatibility with earlier versions of Windows. New Win32 applications should not use this function.
LoadResource, LockResource