23 pustrNtPathName->Length = 0;
51 DPRINT(
"W32kOpenFile(%S)\n", pwszFileName);
86 DWORD flPageProtection,
135 liSectionOffset.
QuadPart = ulViewSize = ulSectionOffset;
152 DPRINT(
"Leaving W32kMapViewOfSection, Status=0x%lx, pvBase=0x%p\n",
Status, pvBase);
168 DPRINT(
"Enter UserLoadImage(%ls)\n", pwszName);
213 if (pbmfh->
bfType == 0x4D42 )
224 DPRINT1(
"Unable to convert the bitmap Info\n");
246 DPRINT1(
"Unknown file type!\n");
253 DPRINT(
"Leaving UserLoadImage, hbmp = %p\n",
hbmp);
#define FILE_NON_DIRECTORY_FILE
HBITMAP NTAPI GreCreateDIBitmapInternal(IN HDC hDc, IN INT cx, IN INT cy, IN DWORD fInit, IN OPTIONAL LPBYTE pjInit, IN OPTIONAL PBITMAPINFO pbmi, IN DWORD iUsage, IN FLONG fl, IN UINT cjMaxBits, IN HANDLE hcmXform)
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
HDC FASTCALL IntGdiCreateDC(PUNICODE_STRING Driver, PUNICODE_STRING pustrDevice, PVOID pUMdhpdev, CONST PDEVMODEW pdmInit, BOOL CreateAsIC)
#define NT_SUCCESS(StatCode)
#define INVALID_HANDLE_VALUE
#define FILE_ATTRIBUTE_NORMAL
NTSTATUS RtlAppendUnicodeToString(IN PUNICODE_STRING Str1, IN PWSTR Str2)
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
#define EXCEPTION_EXECUTE_HANDLER
#define OBJ_KERNEL_HANDLE
#define OBJ_CASE_INSENSITIVE
static OUT PIO_STATUS_BLOCK IoStatusBlock
#define InitializeObjectAttributes(p, n, a, r, s)
NTSYSAPI NTSTATUS NTAPI ZwClose(_In_ HANDLE Handle)
#define SECTION_MAP_WRITE
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
#define NtCurrentProcess()
#define STANDARD_RIGHTS_REQUIRED
_In_ HBITMAP _In_ UINT _In_ UINT _Inout_ LPBITMAPINFO pbmi
__kernel_entry W32KAPI BOOL APIENTRY NtGdiDeleteObjectApp(_In_ HANDLE hobj)
#define _SEH2_GetExceptionCode()
#define _SEH2_EXCEPT(...)
BITMAPINFOHEADER bmiHeader
VOID FASTCALL SetLastNtError(_In_ NTSTATUS Status)
BITMAPINFO *FASTCALL DIB_ConvertBitmapInfo(CONST BITMAPINFO *bmi, DWORD Usage)
VOID FASTCALL DIB_FreeConvertedBitmapInfo(BITMAPINFO *converted, BITMAPINFO *orig, DWORD Usage)
BOOL NTAPI W32kDosPathNameToNtPathName(IN PCWSTR pwszDosPathName, OUT PUNICODE_STRING pustrNtPathName)
HANDLE NTAPI W32kOpenFile(PCWSTR pwszFileName, DWORD dwDesiredAccess)
HBITMAP NTAPI UserLoadImage(PCWSTR pwszName)
PVOID NTAPI W32kMapViewOfSection(HANDLE hSection, DWORD dwPageProtect, ULONG_PTR ulSectionOffset)
HANDLE NTAPI W32kCreateFileSection(HANDLE hFile, ULONG flAllocation, DWORD flPageProtection, ULONGLONG ullMaxSize)
_In_ const BITMAPINFO _In_ UINT _In_opt_ HANDLE hSection
struct tagBITMAPINFO * LPBITMAPINFO