#include "precomp.h"
Go to the source code of this file.
Classes | |
struct | RESOURCE_ACCEL |
struct | _OLDCURSOR |
struct | tagMAPRES |
Defines | |
#define | BPP01_MAXCOLORS 2 |
#define | BPP04_MAXCOLORS 16 |
#define | BPP08_MAXCOLORS 256 |
#define | RESCLR_BLACK 0x00000000 |
#define | RESCLR_WHITE 0x00FFFFFF |
#define | BMR_ICON 1 |
#define | BMR_BITMAP 2 |
#define | BMR_CURSOR 3 |
#define | GETINITDC() (gfSystemInitialized ? NtUserGetDC(NULL) : CreateDCW(L"DISPLAY", L"", NULL, NULL)) |
#define | RELEASEINITDC(hdc) (gfSystemInitialized ? ReleaseDC(NULL, hdc) : DeleteDC(hdc)) |
#define | ISRIFFFORMAT(p) (((UNALIGNED RTAG *)(p))->ckID == FOURCC_RIFF) |
#define | MR_FAILFOR40 0x01 |
#define | MR_MONOCHROME 0x02 |
#define | FACCEL_VALID (FALT | FCONTROL | FNOINVERT | FSHIFT | FVIRTKEY | FLASTKEY) |
#define | MAX_BMPMAP 32 |
#define | lpbch ((LPBITMAPCOREHEADER)lpbi) |
#define | upbch ((UPBITMAPCOREHEADER)upbih) |
#define | lpRGB ((UNALIGNED LONG *)lpColorTable) |
#define | lpRGBw ((UNALIGNED WORD *)lpColorTable) |
#define | upbch ((UPBITMAPCOREHEADER)upbih) |
#define | upOldIcoCur ((UPOLDCURSOR)upbih) |
Typedefs | |
typedef * | PRESOURCE_ACCEL |
typedef _OLDCURSOR | OLDCURSOR |
typedef _OLDCURSOR * | POLDCURSOR |
typedef OLDCURSOR UNALIGNED * | UPOLDCURSOR |
typedef tagMAPRES | MAPRES |
typedef tagMAPRES * | LPMAPRES |
typedef tagMAPRES * | PMAPRES |
Functions | |
HBITMAP | CopyBmp (HBITMAP hbmpOrg, int cxNew, int cyNew, UINT LR_flags) |
HANDLE | SplFindResource (HINSTANCE hmod, LPCWSTR lpName, LPCWSTR lpType) |
VOID | SplFreeResource (HANDLE hRes, HINSTANCE hmod, UINT lrFlags) |
BOOL | WowGetModuleFileName (HMODULE hModule, LPWSTR pwsz, DWORD cchMax) |
HMODULE | WowGetModuleHandle (LPCWSTR pwsz) |
HACCEL WINAPI | CreateAcceleratorTableA (LPACCEL paccel, int cAccel) |
int | CopyAcceleratorTableA (HACCEL hacc, LPACCEL paccel, int length) |
PACCELCACHE * | FindAccResource (HACCEL hAccel, PVOID pRes) |
void | AddAccResource (HACCEL hAccel, PVOID pRes) |
BOOL | DestroyAcceleratorTable (HACCEL hAccel) |
HANDLE | LoadAcc (HINSTANCE hmod, HANDLE hrl) |
HACCEL WINAPI | LoadAcceleratorsA (HINSTANCE hmod, LPCSTR lpAccName) |
HACCEL WINAPI | LoadAcceleratorsW (HINSTANCE hmod, LPCWSTR lpAccName) |
int WINAPI | LoadStringA (HINSTANCE hmod, UINT wID, LPSTR lpAnsiBuffer, int cchBufferMax) |
int WINAPI | LoadStringW (HINSTANCE hmod, UINT wID, LPWSTR lpBuffer, int cchBufferMax) |
PBYTE | SkipIDorString (LPBYTE pb) |
DWORD | GetSizeDialogTemplate (HINSTANCE hmod, LPCDLGTEMPLATE pdt) |
INT_PTR WINAPI | DialogBoxIndirectParamA (HINSTANCE hmod, LPCDLGTEMPLATEA lpDlgTemplate, HWND hwndOwner, DLGPROC lpDialogFunc, LPARAM dwInitParam) |
INT_PTR WINAPI | DialogBoxIndirectParamW (HINSTANCE hmod, LPCDLGTEMPLATEW lpDlgTemplate, HWND hwndOwner, DLGPROC lpDialogFunc, LPARAM dwInitParam) |
INT_PTR WINAPI | DialogBoxIndirectParamAorW (HINSTANCE hmod, LPCDLGTEMPLATEW lpDlgTemplate, HWND hwndOwner, DLGPROC lpDialogFunc, LPARAM dwInitParam, UINT fAnsiFlags) |
HWND WINAPI | CreateDialogIndirectParamA (HINSTANCE hmod, LPCDLGTEMPLATEA lpDlgTemplate, HWND hwndOwner, DLGPROC lpDialogFunc, LPARAM dwInitParam) |
HWND WINAPI | CreateDialogIndirectParamW (HINSTANCE hmod, LPCDLGTEMPLATEW lpDlgTemplate, HWND hwndOwner, DLGPROC lpDialogFunc, LPARAM dwInitParam) |
HWND WINAPI | CreateDialogIndirectParamAorW (HANDLE hmod, LPCDLGTEMPLATE lpDlgTemplate, HWND hwndOwner, DLGPROC lpDialogFunc, LPARAM dwInitParam, UINT fAnsi) |
INT_PTR WINAPI | DialogBoxParamA (HINSTANCE hmod, LPCSTR lpName, HWND hwndOwner, DLGPROC lpDialogFunc, LPARAM dwInitParam) |
INT_PTR WINAPI | DialogBoxParamW (HINSTANCE hmod, LPCWSTR lpName, HWND hwndOwner, DLGPROC lpDialogFunc, LPARAM dwInitParam) |
HWND WINAPI | CreateDialogParamA (HINSTANCE hmod, LPCSTR lpName, HWND hwndOwner, DLGPROC lpDialogFunc, LPARAM dwInitParam) |
HWND WINAPI | CreateDialogParamW (HINSTANCE hmod, LPCWSTR lpName, HWND hwndOwner, DLGPROC lpDialogFunc, LPARAM dwInitParam) |
BOOL WINAPI | DestroyCursor (HCURSOR hcur) |
HICON | CreateIcoCur (PCURSORDATA lpi) |
HCURSOR | CreateIcoCurIndirect (PCURSORDATA pcurCreate, UINT cPlanes, UINT cBitsPixel, CONST BYTE *lpANDbits, CONST BYTE *lpXORbits) |
HCURSOR WINAPI | CreateCursor (HINSTANCE hModule, int iXhotspot, int iYhotspot, int iWidth, int iHeight, LPBYTE lpANDplane, LPBYTE lpXORplane) |
HICON WINAPI | CreateIcon (HINSTANCE hModule, int iWidth, int iHeight, BYTE planes, BYTE bpp, CONST BYTE *lpANDplane, CONST BYTE *lpXORplane) |
HICON WINAPI | CreateIconIndirect (PICONINFO piconinfo) |
BOOL WINAPI | GetIconInfo (HICON hicon, PICONINFO piconinfo) |
HCURSOR WINAPI | GetCursorFrameInfo (HCURSOR hcur, LPWSTR lpName, int iFrame, LPDWORD pjifRate, LPINT pccur) |
BOOL WINAPI | _FreeResource (HANDLE hResData, HINSTANCE hModule) |
LPSTR WINAPI | _LockResource (HANDLE hResData, HINSTANCE hModule) |
BOOL WINAPI | _UnlockResource (HANDLE hResData, HINSTANCE hModule) |
int WINAPI | LookupIconIdFromDirectory (PBYTE presbits, BOOL fIcon) |
int WINAPI | LookupIconIdFromDirectoryEx (PBYTE presbits, BOOL fIcon, int cxDesired, int cyDesired, UINT LR_flags) |
HANDLE | LoadCursorIconFromResource (PBYTE presbits, LPCWSTR lpName, int cxDesired, int cyDesired, UINT LR_flags) |
HICON WINAPI | CreateIconFromResource (PBYTE presbits, DWORD dwResSize, BOOL fIcon, DWORD dwVer) |
HICON WINAPI | CreateIconFromResourceEx (PBYTE presbits, DWORD dwResSize, BOOL fIcon, DWORD dwVer, int cxDesired, int cyDesired, UINT LR_flags) |
HBITMAP | Convert1BppToMonoBitmap (HDC hdcSrc, HBITMAP hbm1Bpp) |
HBITMAP | CreateScreenBitmap (int cx, int cy, UINT planes, UINT bpp, LPSTR lpBits, LPBOOL pf1Bpp) |
HBITMAP | LoadBmp (HINSTANCE hmod, LPCWSTR lpName, int cxDesired, int cyDesired, UINT flags) |
HBITMAP WINAPI | LoadBitmapA (HINSTANCE hmod, LPCSTR lpName) |
HBITMAP WINAPI | LoadBitmapW (HINSTANCE hmod, LPCWSTR lpName) |
HCURSOR WINAPI | LoadCursorA (HINSTANCE hmod, LPCSTR lpName) |
HCURSOR WINAPI | LoadCursorW (HINSTANCE hmod, LPCWSTR lpName) |
HICON WINAPI | LoadIconA (HINSTANCE hmod, LPCSTR lpName) |
HICON WINAPI | LoadIconW (HINSTANCE hmod, LPCWSTR lpName) |
HANDLE WINAPI | LoadImageA (HINSTANCE hmod, LPCSTR lpName, UINT type, int cxDesired, int cyDesired, UINT flags) |
HANDLE WINAPI | LoadImageW (HINSTANCE hmod, LPCWSTR lpName, UINT IMAGE_code, int cxDesired, int cyDesired, UINT flags) |
UINT | GetIconIdEx (HINSTANCE hmod, HANDLE hrsd, LPCWSTR lpszType, DWORD cxDesired, DWORD cyDesired, UINT LR_flags) |
HANDLE | LoadDIB (HINSTANCE hmod, LPCWSTR lpName, LPWSTR type, DWORD cxDesired, DWORD cyDesired, UINT LR_flags) |
HICON | LoadIcoCur (HINSTANCE hmod, LPCWSTR pszResName, LPWSTR type, DWORD cxDesired, DWORD cyDesired, UINT LR_flags) |
HANDLE | ObjectFromDIBResource (HINSTANCE hmod, LPCWSTR lpName, LPWSTR type, DWORD cxDesired, DWORD cyDesired, UINT LR_flags) |
HBITMAP | BitmapFromDIB (int cxNew, int cyNew, WORD bPlanesNew, WORD bBitsPixelNew, UINT LR_flags, int cxOld, int cyOld, LPSTR lpBits, LPBITMAPINFO lpbi, HPALETTE hpal) |
DWORD | HowManyColors (IN UPBITMAPINFOHEADER upbih, IN BOOL fOldFormat, OUT OPTIONAL LPBYTE *ppColorTable) |
VOID | ChangeDibColors (IN LPBITMAPINFOHEADER lpbih, IN UINT LR_flags) |
HICON | ConvertDIBIcon (LPBITMAPINFOHEADER lpbih, HINSTANCE hmod, LPCWSTR lpName, BOOL fIcon, DWORD cxNew, DWORD cyNew, UINT LR_flags) |
BOOL | TrulyMonochrome (LPVOID lpColorTable, BOOL fOldFormat) |
LPBITMAPINFOHEADER | CopyDibHdr (IN UPBITMAPINFOHEADER upbih, OUT LPSTR *lplpBits, OUT LPBOOL lpfMono) |
HBITMAP | ConvertDIBBitmap (IN UPBITMAPINFOHEADER upbih, IN DWORD cxDesired, IN DWORD cyDesired, IN UINT LR_flags, OUT OPTIONAL LPBITMAPINFOHEADER *lplpbih, IN OUT OPTIONAL LPSTR *lplpBits) |
UINT | MyAbs (int valueHave, int valueWant) |
UINT | Magnitude (int nValue) |
UINT | MatchImage (LPRESDIR lprd, LPINT lpcxWant, LPINT lpcyWant, UINT uColorsWant, BOOL fIcon) |
UINT | GetBestImage (LPRESDIR lprd, UINT uCount, int cxDesired, int cyDesired, UINT bpp, BOOL fIcon) |
_inline DWORD | GetIcoCurWidth (DWORD cxOrg, BOOL fIcon, UINT lrFlags, DWORD cxDes) |
_inline DWORD | GetIcoCurHeight (DWORD cyOrg, BOOL fIcon, UINT lrFlags, DWORD cyDes) |
_inline DWORD | GetIcoCurBpp (UINT lrFlags) |
HANDLE | WOWFindResourceExWCover (HANDLE hmod, LPCWSTR rt, LPCWSTR lpUniName, WORD LangId) |
HBITMAP | WOWLoadBitmapA (HINSTANCE hmod, LPCSTR lpName, LPBYTE pResData, DWORD cbResData) |
HICON | WowServerLoadCreateCursorIcon (HANDLE hmod, LPWSTR pszModName, DWORD dwExpWinVer, LPCWSTR lpName, DWORD cb, PVOID pResData, LPWSTR type, BOOL fClient) |
HMENU | WowServerLoadCreateMenu (HANDLE hMod, LPCSTR lpName, CONST LPMENUTEMPLATE pmt, DWORD cb, BOOL fCallClient) |
PVOID | DIBFromBitmap (HBITMAP hbmp, HDC hdc) |
HICON | CopyImageFromRes (LPWSTR pszModName, LPWSTR pszResName, PCURSORFIND pcfSearch, UINT LR_flags) |
HICON | CopyIcoCur (HICON hicoSrc, BOOL fIcon, int cxNew, int cyNew, UINT LR_flags) |
HANDLE WINAPI | CopyImage (HANDLE hImage, UINT IMAGE_flag, int cxNew, int cyNew, UINT LR_flags) |
HANDLE | InternalCopyImage (HANDLE hImage, UINT IMAGE_flag, int cxNew, int cyNew, UINT LR_flags) |
int | RtlGetIdFromDirectory (PBYTE presbits, BOOL fIcon, int cxDesired, int cyDesired, DWORD LR_flags, PDWORD pdwResSize) |
|
|
|
Definition at line 36 of file clres.c. Referenced by CopyDibHdr(). |
|
Definition at line 34 of file clres.c. Referenced by CopyDibHdr(). |
|
Definition at line 19 of file clres.c. Referenced by ChangeDibColors(), CopyDibHdr(), and MatchImage(). |
|
Definition at line 20 of file clres.c. Referenced by ChangeDibColors(). |
|
Definition at line 21 of file clres.c. Referenced by ChangeDibColors(), and MatchImage(). |
|
Definition at line 401 of file clres.c. Referenced by LoadAcc(). |
|
Definition at line 54 of file clres.c. Referenced by CreateScreenBitmap(). |
|
Definition at line 60 of file clres.c. Referenced by CreateIconFromResourceEx(), and ObjectFromDIBResource(). |
|
Referenced by BitmapFromDIB(), and DIBtoBMP(). |
|
Referenced by TrulyMonochrome(). |
|
Referenced by TrulyMonochrome(). |
|
Referenced by LoadBmp(). |
|
Definition at line 63 of file clres.c. Referenced by LoadBmp(), and LoadIcoCur(). |
|
Definition at line 64 of file clres.c. Referenced by LoadBmp(). |
|
Definition at line 57 of file clres.c. Referenced by CreateScreenBitmap(). |
|
Definition at line 23 of file clres.c. Referenced by BitmapFromDIB(), ChangeDibColors(), CopyDibHdr(), LoadBmp(), and TrulyMonochrome(). |
|
Definition at line 24 of file clres.c. Referenced by BitmapFromDIB(), ChangeDibColors(), CopyDibHdr(), LoadBmp(), and TrulyMonochrome(). |
|
|
|
Referenced by CopyDibHdr(), and HowManyColors(). |
|
Referenced by CopyDibHdr(). |
|
Referenced by LoadIcoCur(). |
|
|
|
|
|
|
|
|
|
Referenced by LoadAcc(). |
|
|
|
Definition at line 1499 of file clres.c.
|
|
Definition at line 1509 of file clres.c.
|
|
Definition at line 1518 of file clres.c.
|
|
Definition at line 327 of file clres.c. References ACCELCACHE, tagACCELCACHE::dwLockCount, gcsAccelCache, gpac, tagACCELCACHE::hAccel, HMValidateHandleNoDesktop(), NULL, tagACCELCACHE::pacNext, tagACCELCACHE::pRes, and TYPE_ACCELTABLE. Referenced by LoadAcc().
|
|
Definition at line 2950 of file clres.c. References BOOL, Convert1BppToMonoBitmap(), CreateScreenBitmap(), DWORD, FALSE, gcsHdc, ghdcBits2, lpbch, LPVOID, NULL, PUSIF_PALETTEDISPLAY, RealizePalette, RESCLR_BLACK, RESCLR_WHITE, SelectPalette, SetBestStretchMode, SmartStretchDIBits(), TEST_PUSIF, and TRUE. Referenced by ConvertDIBBitmap(), and ConvertDIBIcon().
|
|
Definition at line 3203 of file clres.c. References BPP01_MAXCOLORS, BPP04_MAXCOLORS, BPP08_MAXCOLORS, ChangeColor, DWORD, FALSE, HowManyColors(), RESCLR_BLACK, RESCLR_WHITE, RGBX, SYSRGB, UINT, VOID(), and WINDOW. Referenced by ConvertDIBBitmap(), and ConvertDIBIcon().
|
|
Definition at line 1680 of file clres.c. References NULL. Referenced by BitmapFromDIB(), and LoadBmp().
|
|
Definition at line 3679 of file clres.c. References BitmapFromDIB(), BitmapWidth, BOOL, BYTE, ChangeDibColors(), CopyDibHdr(), gpsi, NULL, SYSMET, and UserLocalFree.
|
|
Definition at line 3344 of file clres.c. References BitmapFromDIB(), BOOL, ChangeDibColors(), ConvertDIBBitmap(), CreateIcoCur(), CURSORF_ACONFRAME, CURSORF_FROMRESOURCE, CURSORF_GLOBAL, CURSORF_LRSHARED, FALSE, hmodUser, INT, MAX_PATH, MultDiv, NULL, PTR_TO_ID, szUSER32, UserLocalFree, and WowGetModuleFileName(). Referenced by CreateIconFromResourceEx(), LoadCursorIconFromFileMap(), ObjectFromDIBResource(), ReadIconFromFileMap(), and WowServerLoadCreateCursorIcon().
|
|
Definition at line 236 of file clres.c. References NT_SUCCESS, NtUserCopyAcceleratorTable(), NULL, and RtlUnicodeToMultiByteN().
|
|
Definition at line 4377 of file clres.c. References ConvertDIBBitmap(), DIBFromBitmap(), DWORD, gcsHdc, GetIcoCurBpp(), ghdcBits2, NULL, and UserLocalFree. Referenced by CopyIcoCur(), CreateIconIndirect(), and InternalCopyImage().
|
|
Definition at line 3546 of file clres.c. References BitmapWidth, BMR_CURSOR, BMR_ICON, BPP01_MAXCOLORS, DWORD, FALSE, HowManyColors(), NULL, RESCLR_BLACK, RESCLR_WHITE, TRUE, TrulyMonochrome(), upbch, UPBITMAPINFOHEADER, upOldIcoCur, and UserLocalAlloc. Referenced by ConvertDIBBitmap().
|
|
Definition at line 4493 of file clres.c. References _SetCursorIconData(), tagCURSORFIND::bpp, CopyBmp(), CopyImageFromRes(), CURSOR_ALWAYSDESTROY, tagCURSORFIND::cx, tagCURSORFIND::cy, cy, DestroyCursor(), DWORD, GetIcoCurBpp(), GetIcoCurHeight(), GetIcoCurWidth(), tagCURSORFIND::hcur, MAX_PATH, MultDiv, NtUserCallOneParam(), NtUserDestroyCursor(), NtUserGetIconInfo(), NtUserGetIconSize(), NULL, PTR_TO_ID, tagCURSORFIND::rt, and TRUE. Referenced by InternalCopyImage().
|
|
Definition at line 4697 of file clres.c. References InternalCopyImage(), and NULL.
|
|
Definition at line 4436 of file clres.c. References tagCURSORFIND::bpp, tagCURSORFIND::cx, tagCURSORFIND::cy, FindExistingCursorIcon(), hmodUser, LoadIcoCur(), NULL, PCURSORFIND, tagCURSORFIND::rt, szUSER32, and WowGetModuleHandle(). Referenced by CopyIcoCur().
|
|
Definition at line 199 of file clres.c. References CHAR, NT_SUCCESS, NtUserCreateAcceleratorTable(), NULL, and RtlMultiByteToUnicodeN().
|
|
Definition at line 1244 of file clres.c. References CreateIcoCurIndirect(), DWORD, and SHORT.
|
|
Definition at line 796 of file clres.c. References CreateDialogIndirectParamAorW().
|
|
Definition at line 826 of file clres.c. References DWORD, GetSizeDialogTemplate(), InternalCreateDialog(), and NULL. Referenced by CreateDialogIndirectParamA(), CreateDialogIndirectParamW(), CreateDialogParamA(), and CreateDialogParamW().
|
|
Definition at line 811 of file clres.c. References CreateDialogIndirectParamAorW().
|
|
Definition at line 941 of file clres.c. References CreateDialogIndirectParamAorW(), FINDRESOURCEA, FREERESOURCE, LOADRESOURCE, LOCKRESOURCE, NULL, and UNLOCKRESOURCE.
|
|
Definition at line 975 of file clres.c. References CreateDialogIndirectParamAorW(), FINDRESOURCEW, FREERESOURCE, LOADRESOURCE, LOCKRESOURCE, NULL, and UNLOCKRESOURCE.
|
|
Definition at line 1029 of file clres.c. References _SetCursorIconData(), CURSOR_ALWAYSDESTROY, tagCURSORDATA::CURSORF_flags, CURSORF_GLOBAL, tagCURSORDATA::cx, tagCURSORDATA::cy, tagCURSORDATA::hbmColor, tagCURSORDATA::hbmMask, NtUserCallOneParam(), NtUserDestroyCursor(), and NULL. Referenced by ConvertDIBIcon().
|
|
Definition at line 1084 of file clres.c. References _SetCursorIconData(), BOOL, tagCURSORDATA::bpp, CURSOR_ALWAYSDESTROY, tagCURSORDATA::CURSORF_flags, tagCURSORDATA::cx, tagCURSORDATA::cy, cy, tagCURSORDATA::hbmColor, tagCURSORDATA::hbmMask, tagCURSORDATA::lpModName, tagCURSORDATA::lpName, NtUserCallOneParam(), NtUserDestroyCursor(), NULL, tagCURSORDATA::rt, UINT, UserLocalAlloc, and UserLocalFree. Referenced by CreateCursor(), and CreateIcon().
|
|
Definition at line 1278 of file clres.c. References CreateIcoCurIndirect(), DWORD, and SHORT.
|
|
Definition at line 1604 of file clres.c. References CreateIconFromResourceEx().
|
|
Definition at line 1627 of file clres.c. References ConvertDIBIcon(), GetIcoCurHeight(), GetIcoCurWidth(), ISRIFFFORMAT, LoadCursorIconFromResource(), and NULL. Referenced by ConsoleWindowProc(), CreateIconFromResource(), ExtractIconFromEXE(), and IconFromBestImage().
|
|
Definition at line 1307 of file clres.c. References _SetCursorIconData(), CopyBmp(), CURSOR_ALWAYSDESTROY, DWORD, gcsHdc, ghdcBits2, NtUserCallOneParam(), NtUserDestroyCursor(), NULL, PTR_TO_ID, and SHORT. Referenced by CopyIcon(), and ExtractIconFromBMP().
|
|
Definition at line 1732 of file clres.c. References cy, DWORD, GETINITDC, gpsi, LPVOID, NULL, RELEASEINITDC, TRUE, and UINT.
|
|
Definition at line 358 of file clres.c. References BOOL, tagACCELCACHE::dwLockCount, FALSE, FindAccResource(), gcsAccelCache, NtUserDestroyAcceleratorTable(), NULL, tagACCELCACHE::pacNext, and TRUE.
|
|
Definition at line 1017 of file clres.c. References BOOL, CURSOR_CALLFROMCLIENT, and NtUserDestroyCursor(). Referenced by CopyIcoCur(), and ExtractIconFromICO().
|
|
Definition at line 728 of file clres.c. References DialogBoxIndirectParamAorW().
|
|
Definition at line 758 of file clres.c. References DWORD, GetSizeDialogTemplate(), and InternalDialogBox(). Referenced by DialogBoxIndirectParamA(), DialogBoxIndirectParamW(), DialogBoxParamA(), and DialogBoxParamW().
|
|
Definition at line 743 of file clres.c. References DialogBoxIndirectParamAorW().
|
|
Definition at line 868 of file clres.c. References DialogBoxIndirectParamAorW(), FINDRESOURCEA, FREERESOURCE, LOADRESOURCE, LOCKRESOURCE, and UNLOCKRESOURCE. Referenced by DefFrameProcWorker().
|
|
Definition at line 902 of file clres.c. References DialogBoxIndirectParamAorW(), and FINDRESOURCEW. Referenced by DefFrameProcWorker().
|
|
Definition at line 4279 of file clres.c. References DWORD, NULL, UserLocalAlloc, and WIDTHBYTES. Referenced by CopyBmp().
|
|
Definition at line 285 of file clres.c. References tagACCELCACHE::dwLockCount, gpac, tagACCELCACHE::hAccel, HMValidateHandleNoDesktop(), NULL, tagACCELCACHE::pacNext, tagACCELCACHE::pRes, and TYPE_ACCELTABLE. Referenced by DestroyAcceleratorTable(), and LoadAcc().
|
|
Definition at line 3980 of file clres.c. References gpsi, MatchImage(), and UINT. Referenced by RtlGetIdFromDirectory().
|
|
Definition at line 1465 of file clres.c. References LoadIcoCur(), NtUserGetCursorFrameInfo(), and NULL. Referenced by xxxNextAniIconStep(), and xxxSetStaticImage().
|
|
Definition at line 4096 of file clres.c. References DWORD, PUSIF_PALETTEDISPLAY, SYSMET, and TEST_PUSIF. Referenced by CopyBmp(), CopyIcoCur(), LoadIcoCur(), and RtlGetIdFromDirectory().
|
|
Definition at line 4074 of file clres.c. Referenced by CopyIcoCur(), CreateIconFromResourceEx(), LoadIcoCur(), RtlGetIdFromDirectory(), and WowServerLoadCreateCursorIcon().
|
|
Definition at line 4052 of file clres.c. Referenced by CopyIcoCur(), CreateIconFromResourceEx(), LoadIcoCur(), RtlGetIdFromDirectory(), and WowServerLoadCreateCursorIcon().
|
|
Definition at line 2502 of file clres.c. References LOCKRESOURCE, LookupIconIdFromDirectoryEx(), PBYTE, UINT, and UNLOCKRESOURCE. Referenced by LoadDIB().
|
|
Definition at line 1450 of file clres.c. References BOOL, FALSE, NtUserGetIconInfo(), and NULL. Referenced by CopyIcon().
|
|
Definition at line 609 of file clres.c. References BOOL, DWORD, FALSE, GETEXPWINVER, SkipIDorString(), TRUE, UINT, and VER40. Referenced by CreateDialogIndirectParamAorW(), and DialogBoxIndirectParamAorW().
|
|
Definition at line 3165 of file clres.c. References DWORD, NULL, upbch, and UPBITMAPINFOHEADER. Referenced by ChangeDibColors(), and CopyDibHdr().
|
|
Definition at line 4719 of file clres.c. References CopyBmp(), CopyIcoCur(), and NULL. Referenced by CopyImage().
|
|
Definition at line 403 of file clres.c. References AddAccResource(), FACCEL_VALID, FindAccResource(), FLASTKEY, FREERESOURCE, gcsAccelCache, LOADRESOURCE, LOCKRESOURCE, NtUserCreateAcceleratorTable(), NULL, PRESOURCE_ACCEL, UNLOCKRESOURCE, UserLocalAlloc, and UserLocalFree. Referenced by LoadAcceleratorsA(), and LoadAcceleratorsW().
|
|
Definition at line 501 of file clres.c. References FINDRESOURCEA, and LoadAcc().
|
|
Definition at line 512 of file clres.c. References FINDRESOURCEW, and LoadAcc().
|
|
Definition at line 2292 of file clres.c. References ID, LoadBmp(), NULL, TRUE, and UserLocalFree.
|
|
Definition at line 2312 of file clres.c. References LoadBmp().
|
|
Definition at line 1899 of file clres.c. References BitBltSysBmp(), BOOL, Convert1BppToMonoBitmap(), CreateScreenBitmap(), DrawFrameControl(), DrawIconEx(), DWORD, FALSE, FillRect(), FINDRESOURCEW, FREERESOURCE, gcsHdc, GETAPPVER, ghdcBits2, gpsi, hmodUser, LOADRESOURCE, LOCKRESOURCE, MAX_BMPMAP, MAX_RESOURCE_INDEX, MENU, MR_FAILFOR40, MR_MONOCHROME, NtUserBitBltSysBmp(), NULL, NUM_BUTTON_STATES, NUM_BUTTON_TYPES, OBI_CHECK, OBI_DNARROW, OBI_DNARROW_D, OBI_DNARROW_I, OBI_LFARROW, OBI_LFARROW_D, OBI_LFARROW_I, OBI_MENUARROW, OBI_MENUCHECK, OBI_NCGRIP, OBI_RADIOMASK, OBI_REDUCE_MBAR, OBI_REDUCE_MBAR_D, OBI_RESTORE_MBAR, OBI_RESTORE_MBAR_D, OBI_RGARROW, OBI_RGARROW_D, OBI_RGARROW_I, OBI_UPARROW, OBI_UPARROW_D, OBI_UPARROW_I, OBI_ZOOM, OBI_ZOOM_D, ObjectFromDIBResource(), OFFSET_120_DPI, OFFSET_96_DPI, PTR_TO_ID, RESCLR_BLACK, RESCLR_WHITE, SYSHBR, SYSMET, TRUE, UNLOCKRESOURCE, VER40, and WINDOW. Referenced by LoadBitmapA(), LoadBitmapW(), LoadImageW(), and WOWLoadBitmapA().
|
|
Definition at line 2329 of file clres.c. References ID, LoadCursorW(), NULL, TRUE, and UserLocalFree.
|
|
Definition at line 1573 of file clres.c. References BOOL, FILEINFO, LoadCursorIconFromFileMap(), _FILEINFO::pFileEnd, _FILEINFO::pFileMap, _FILEINFO::pFilePtr, and _FILEINFO::pszName. Referenced by CreateIconFromResourceEx(), and ObjectFromDIBResource().
|
|
Definition at line 2349 of file clres.c. References LoadIcoCur(). Referenced by LoadCursorA().
|
|
Definition at line 2544 of file clres.c. References FINDRESOURCEW, GetIconIdEx(), hmodUser, LOADRESOURCE, NULL, PTR_TO_ID, SplFindResource(), SplFreeResource(), type, and UINT. Referenced by ObjectFromDIBResource().
|
|
Definition at line 2657 of file clres.c. References tagMAPRES::bFlags, tagCURSORFIND::bpp, ConnectIfNecessary, CURSORFIND, tagCURSORFIND::cx, tagCURSORFIND::cy, FindExistingCursorIcon(), GETAPPVER, GetIcoCurBpp(), GetIcoCurHeight(), GetIcoCurWidth(), tagCURSORFIND::hcur, hmodUser, tagMAPRES::idDisp, tagMAPRES::idUser, IS_PTR, LPMAPRES, MAX_PATH, MR_FAILFOR40, NULL, ObjectFromDIBResource(), PTR_TO_ID, tagCURSORFIND::rt, szUSER32, type, VER40, and WowGetModuleFileName(). Referenced by CopyImageFromRes(), GetCursorFrameInfo(), LoadCursorsAndIcons(), LoadCursorW(), LoadIconW(), LoadImageW(), SetSystemCursor(), and WowServerLoadCreateCursorIcon().
|
|
Definition at line 2373 of file clres.c. References ID, LoadIconW(), NULL, TRUE, and UserLocalFree.
|
|
Definition at line 2393 of file clres.c. References LoadIcoCur(). Referenced by DefWindowProcWorker(), and LoadIconA().
|
|
Definition at line 2414 of file clres.c. References ID, LoadImageW(), NULL, TRUE, type, and UserLocalFree.
|
|
Definition at line 2443 of file clres.c. References GETEXPWINVER, LoadBmp(), LoadIcoCur(), NULL, and VER40. Referenced by LoadImageA().
|
|
Definition at line 531 of file clres.c. References FALSE, INT, LoadStringOrError(), and min.
|
|
Definition at line 569 of file clres.c. References LoadStringOrError(). Referenced by MessageBoxWorker().
|
|
Definition at line 1537 of file clres.c. References LookupIconIdFromDirectoryEx().
|
|
Definition at line 1550 of file clres.c. References ConnectIfNecessary, NULL, and RtlGetIdFromDirectory(). Referenced by ExtractIconFromEXE(), GetIconIdEx(), IconFromBestImage(), and LookupIconIdFromDirectory().
|
|
Definition at line 3844 of file clres.c. References UINT. Referenced by MatchImage().
|
|
Definition at line 3903 of file clres.c. References BPP01_MAXCOLORS, BPP08_MAXCOLORS, Magnitude(), MyAbs(), and UINT. Referenced by GetBestImage().
|
|
Definition at line 3823 of file clres.c. References UINT. Referenced by MatchImage().
|
|
Definition at line 2847 of file clres.c. References ConvertDIBBitmap(), ConvertDIBIcon(), ISRIFFFORMAT, LoadCursorIconFromResource(), LoadDIB(), LOCKRESOURCE, NULL, PBYTE, PTR_TO_ID, RtlLoadObjectFromDIBFile(), SplFreeResource(), type, and UNLOCKRESOURCE. Referenced by LoadBmp(), and LoadIcoCur().
|
|
Definition at line 4759 of file clres.c. References GetBestImage(), GetIcoCurBpp(), GetIcoCurHeight(), GetIcoCurWidth(), NULL, and UINT. Referenced by LookupIconIdFromDirectoryEx(), and ReadIconGuts().
|
|
Definition at line 589 of file clres.c. References PBYTE. Referenced by GetSizeDialogTemplate().
|
|
Definition at line 88 of file clres.c. References FINDRESOURCEW. Referenced by LoadDIB().
|
|
Definition at line 105 of file clres.c. References FREERESOURCE, hmodUser, and VOID(). Referenced by LoadDIB(), and ObjectFromDIBResource().
|
|
Definition at line 3490 of file clres.c. References BOOL, FALSE, lpRGB, lpRGBw, RESCLR_BLACK, and RESCLR_WHITE. Referenced by CopyDibHdr().
|
|
Definition at line 4127 of file clres.c. References FINDRESOURCEEXA, ID, NULL, TRUE, and UserLocalFree. Referenced by UserRegisterWowHandlers().
|
|
Definition at line 128 of file clres.c. References BOOL, FALSE, and TRUE. Referenced by ConvertDIBIcon(), and LoadIcoCur().
|
|
Definition at line 157 of file clres.c. Referenced by CopyImageFromRes().
|
|
Definition at line 4158 of file clres.c. References ConvertDIBBitmap(), ID, LoadBmp(), NULL, TRUE, and UserLocalFree. Referenced by UserRegisterWowHandlers().
|
|
Definition at line 4200 of file clres.c. References BOOL, ConvertDIBIcon(), GetIcoCurHeight(), GetIcoCurWidth(), LoadIcoCur(), NULL, type, and UINT. Referenced by UserRegisterWowHandlers().
|
|
Definition at line 4250 of file clres.c. References CreateMenuFromResource(), LoadMenuA(), and NULL.
|