Hi,
can anyone help me with understanding what is the purpose of ampersand sign
in following cast : (UNALIGNED DWORD*&) ? Below is code snipet where I
spoted this.
thanx
BOOL CWnd::ExecuteDlgInit(LPVOID lpResource)
{
BOOL bSuccess = TRUE;
if (lpResource != NULL)
{
UNALIGNED WORD* lpnRes = (WORD*)lpResource;
while (bSuccess && *lpnRes != 0)
{
WORD nIDC = *lpnRes++;
WORD nMsg = *lpnRes++;
DWORD dwLen = *((UNALIGNED DWORD*&)lpnRes)++; // *& -> ?????
//...
}
// ...
}
//...
}