🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #3385

ANYBODY HAVE A GOOD EXAMPLE OF USING EXTDEVICEMODE...

#3385
From: Robert D. Thompson
Date: Tue, 25 Jun 1991 04:27
27 lines
1385 bytes
	I asked this a while back but received only one reply.

	It was fairly easy to load the library for the required
	driver, then get the procedure address of ExtDeviceMode,
	the call this procedure with NULL to get the required
	structure size, then fill the structure.

	The problem I am having is in setting the settings in
	the WIN.INI  The first time I call ExtDeviceMode it
	works great, but the second time it fills the section
	with 0 values and such.

	THE REAL KICKER is that it only works the first time
	within any Windows Session.  In other words, my app.
	will re-set the settings correctly the first time.

	But the following attempts, even if I close and restart
	my app, the settings are not changed.

	I would appreciate some related samples, or comments, or
	anything that might be of help.

	Thanks...Regards |(8>
---
Robert
rdthomps@vela.acs.oakland.edu
Technical Details
Message-ID: <7495@vela.acs.oakland.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!samsung!umich!vela!rdthomps

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!samsung!umich!vela!rdthomps
From: rdthomps@vela.acs.oakland.edu (Robert D. Thompson)
Newsgroups: comp.windows.ms.programmer
Subject: ANYBODY HAVE A GOOD EXAMPLE OF USING EXTDEVICEMODE...
Message-ID: <7495@vela.acs.oakland.edu>
Date: 25 Jun 91 04:27:42 GMT
Reply-To: rdthomps@vela.acs.oakland.edu (Robert D. Thompson)
Organization: Oakland University, Rochester MI
Lines: 27