Click to open or copy the files for the ScrnSave sample.
This sample demonstrates implementing the seven required functions for a Windows NT 5.0 migration DLL. The DLL demonstrates how the interface works by performing the Windows 9x screen saver upgrade.
This sample demonstrates the following.
This sample uses the following keywords:
_mbsbytes; _mbschr; _mbscpy; _mbsicmp; _mbsinc; _mbslen; _mbsnicmp; assert; countstringbytes; defmac; generatefilepaths; getlasterror; getprocessheap; getscrnsaveexe; heapalloc; heapfree; miginf_addhandleddirectory; miginf_addhandledfile; miginf_addhandledregistry; miginf_addmessage; miginf_addmessagedirectory; miginf_addmessagefile; miginf_addmessageregistry; miginf_addmoveddirectory; miginf_addmovedfile; miginf_addobject; miginf_cleanup; miginf_firstinsection; miginf_getfirstexcludedpath; miginf_getfirstmigrationpath; miginf_initialize; miginf_nextinsection; miginf_writeinftodisk; pbuildlistfromsection; pcreatemigobject; pescapestring; pfindsection; pgetmbssize; pgettypeasstring; pgetvaluestring; poolmemaddmemory; poolmemcreatedword; poolmemcreatestring; poolmemcreatestringa; poolmemdestroypool; poolmemduplicatestringa; poolmemgetalignedmemory; poolmemgetmemory; poolmeminitpool; ppathisinpath; pwriteinfsectiontodisk; setupcloseinffile; setupcloselog; setupfindfirstline; setupfindnextline; setupgetlinetexta; setupopeninffilea; sprintf; text; warning; wcscpy; wcslen; writeprivateprofilestring; zeromemory