Não é mais possível fazer postagens ou usar assinaturas novas da Usenet nos Grupos do Google. O conteúdo histórico continua disponível.
Dispensar

Using EnumDisplayDevices for Monitor info?

654 visualizações
Pular para a primeira mensagem não lida

DGJ

não lida,
24 de out. de 2007, 16:55:5424/10/2007
para
Hi all

Can anyone give me some advice on using EnumDisplayDevices(), I am
trying to find an accurate way of getting EDID monitor information
such as model and serial number.

I have been told that this is the best way to locate the current
monitor in the system registry to extract the EDID data.

Many thanks

DGJ

TheCodebreakers

não lida,
25 de out. de 2007, 01:51:2725/10/2007
para
Try this code:
--------------------------------------------------------------------------------------------------
procedure TForm1.Button1Click(Sender: TObject);
var
lpDisplayDevice: TDisplayDevice;
dwFlags: DWORD;
cc: DWORD;
begin
lpdisplaydevice.cb := sizeof(lpdisplaydevice);
dwflags := 0;
cc:= 0;
while EnumDisplayDevices(nil, cc, lpDisplayDevice , dwFlags) do
begin
inc(cc);
listbox1.items.add(lpDisplayDevice.DeviceString);
end;
end;
--------------------------------------------------------------------------------------------------

Rgds,
Bondan Sumbodo S

0 nova mensagem