Prev: GDI DrawLine
Next: marvendas@gmail.com Kit completo deSolenóides ( solenoid ) + chicote Para Câmbio automatico 01M hidramatico Audi A3 Vw Golf gti turbo 23069
From: limhyeam on 18 Feb 2010 05:19 Hi all, I am trying to look high and low on this issue. I know that we can use DeviceInfo to get the UUID, however, I was also trying to get the UUID using SystemParametersInfo.. I get 1439 Win39Error. I dont know what is wrong with it as the documentation in MSDN on this is only one line. Can anyone point out what is wrong with this line? Thanks. byte[] UUID = new byte[16]; const uint SPI_GETUUID = 263; SystemParametersInfo(SPI_GETUUID, 0, ref UUID, 0); Cheers, Desmond
From: Armin Zingler on 18 Feb 2010 07:03
limhyeam schrieb: > Hi all, > > I am trying to look high and low on this issue. I know that we can use > DeviceInfo to get the UUID, however, I was also trying to get the UUID using > SystemParametersInfo.. I get 1439 Win39Error. I dont know what is wrong with > it as the documentation in MSDN on this is only one line. > > Can anyone point out what is wrong with this line? Thanks. > > byte[] UUID = new byte[16]; > const uint SPI_GETUUID = 263; > > SystemParametersInfo(SPI_GETUUID, 0, ref UUID, 0); What kind of machine? I didn't find SPI_GETUUID in my local MSDN installation, only online in the "Mobile & Embedded Development" SDK. -- Armin |