Hi all,
I know that this could not be the right place to ask this question, but, I was thinking maybe someone would know about this, as there are many experts in .net programming.
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);
:sign0013:
I know that this could not be the right place to ask this question, but, I was thinking maybe someone would know about this, as there are many experts in .net programming.
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);
:sign0013: