Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
647 B

#ifdef __cplusplus
extern "C"
{
#endif
ULONG License_wstring_encode (
PWCHAR str); /* NULL-terminated wide character string */
/*
Encodes string
returns ULONG:
<code> => encoded string
function:
*/
BOOL License_data_decode (
PCHAR data, /* pointer to data */
ULONG len); /* data length in bytes */
/*
Decodes arbitrary data stream
returns BOOL:
TRUE => data encoded OK
FALSE => length has to be the multiples of LICENSE_DATA_GRANULARITY bytes
function:
*/
#ifdef __cplusplus
}
#endif