home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_02_05
/
2n05014a
< prev
next >
Wrap
Text File
|
1991-04-02
|
428b
|
23 lines
/*
* LoadNonExistentResource()
* Loads a non-existent resource in, and attempts to delete it.
*
* Assumptions:
* hInst is the instance of our program
* The cursor 'BOGUS' does not exist.
*
*/
LoadNonExistentResource(HANDLE hInst)
{
HCURSOR hCurse;
/*----------------------*/
hCurse = LoadCursor(hInst,"BOGUS");
if (hCurse != NULL)
DeleteObject((HANDLE)hCurse);
}