version: Use the official NT macro rather than obsolete one.
This commit is contained in:
parent
aaa1908888
commit
a290263860
|
@ -289,7 +289,7 @@ static BOOL find_pe_resource( HFILE lzfd, LPCSTR typeid, LPCSTR resid,
|
|||
pehdoffset = LZSeek( lzfd, 0, SEEK_CUR );
|
||||
if ( sizeof(pehd) != LZRead( lzfd, (LPSTR)&pehd, sizeof(pehd) ) ) return 0;
|
||||
|
||||
resDataDir = pehd.OptionalHeader.DataDirectory+IMAGE_FILE_RESOURCE_DIRECTORY;
|
||||
resDataDir = pehd.OptionalHeader.DataDirectory+IMAGE_DIRECTORY_ENTRY_RESOURCE;
|
||||
if ( !resDataDir->Size )
|
||||
{
|
||||
TRACE("No resources in PE dll\n" );
|
||||
|
|
Loading…
Reference in New Issue