Trace: » Bootloader for PXA168 » Connect a Display to a Trizeps » Get_DeviceID
Access to information is restricted depending on your login.
Request login-information through our contact form.
Table of Contents
Get_DeviceID
The function Get_DeviceID gets the unique DeviceID of the Trizeps-Module .
unsigned long Get_DeviceID( int devid_type void* dest ); unsigned long GetDeviceID( int devid_type void* dest );
Parameters
devid_type
Allowed values are: DEVICE_ID_TYPE_KUK and DEVICE_ID_TYPE_MICROSOFT
dest
Pointer to a KUKDEVICE or MSDEVICE structure (view drvlib_app.h).
Note: In case *dest = ptr to KUKDEVICE set KuKID.ddesc.dwSize=sizeof(KUKDEVICE); Samples:
unsigned long ret; KUKDEVICE KuKID; KuKID.ddesc.dwSize=sizeof(KUKDEVICE); ret = GetDeviceID( DEVICE_ID_TYPE_KUK, (char*)(&KuKID)); or: MSDEVICE MsID; ret = GetDeviceID( DEVICE_ID_TYPE_MICROSOFT, (char*)(&MsID));
Return Values
If the function succeeds, the return value is the number of bytes filled into struct.
If the function fails, the return value is negative.
Remarks
Requirements
OS Versions: Windows CE 4.2 and later.
Header: drvlib_app.h
Link Library: drvlib_app.lib
See Also
(C) 2009 Keith & Koep GmbH. Alle Rechte vorbehalten. Nutzungsbedingungen
(C) 2009 Keith & Koep GmbH. All rights reserved. Terms of Use
(C) 2009 Keith & Koep GmbH. All rights reserved. Terms of Use