home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_02_11
/
2n11048a
< prev
next >
Wrap
Text File
|
1991-08-06
|
533b
|
25 lines
/* Windows Initialization Files -- sample source code Listing 4
* Kevin H. Carlson 8/07/91
*/
extern int result;
LONG FAR PASCAL MainWndProc(HWND hWnd, WORD message, WORD wParam, LONG lParam)
{
switch(message)
{
. /* other message processing */
.
.
case WM_WININICHANGE:
GetProfileString(.....);/* load all needed info */
result = GetProfileInt(...);/* from WIN.INI */
break;
.
.
.
}
return FALSE;
}