|
// Icons.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
#include "Icons.h"
#include "resource.h"
BOOL APIENTRY DllMain(HANDLE hModule, DWORD dwReason, LPVOID lpReserved)
{
switch (dwReason)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
} // switch
return TRUE;
}
// Returns first icon index
ICONS_API UINT IconsGetIconIndex()
{
return IDI_ICON1;
}
// Returns icon count
ICONS_API UINT IconsGetIconCount()
{
return IDI_ICON28 - IDI_ICON1 + 1;
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here