windows-nt/Source/XPSP1/NT/shell/lib/badapps/modules.h

60 lines
786 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
version.h
Abstract:
Declares the structures used for version checkings.
Author:
Calin Negreanu (calinn) 01/20/1999
Revision History:
--*/
#pragma once
#include <windows.h>
#include <winnt.h>
PBYTE
ShMapFileIntoMemory (
IN PCTSTR FileName,
OUT PHANDLE FileHandle,
OUT PHANDLE MapHandle
);
BOOL
ShUnmapFile (
IN PBYTE FileImage,
IN HANDLE MapHandle,
IN HANDLE FileHandle
);
DWORD
ShGetModuleType (
IN PBYTE MappedImage
);
ULONG
ShGetPECheckSum (
IN PBYTE MappedImage
);
UINT
ShGetCheckSum (
IN ULONG ImageSize,
IN PBYTE MappedImage
);
PTSTR
ShGet16ModuleDescription (
IN PBYTE MappedImage
);