| Home
| Previous
| Next
| Up

GA_getDisplaySerialNo

Returns the user serial number as an ASCII string

Declaration

const char * NAPI GA_getDisplaySerialNo(ibool shared)

Prototype In

snap/graphics.h

Parameters

shared | True if the device driver should be loaded into shared memory

Return Value

Serial number as an ASCII string.

Description

This function can be used to get an ASCII string version of the user serial number that can be displayed for the user. This is a printable version of the serial number, and does not contain the actual registration code information (ie: it is a serial number that can be used to look up the user in a customer database).

OEM versions of the product always return “N/A” for this function.

Note: The string is returned in a temporary buffer that is reused. Hence the calling application should copy the returned string to a different buffer immediately after calling this function and before calling any other SNAP functions.

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com