Why does the UuidFromString function request a non-constant pointer to an unsigned char?

I have no idea why the UuidFromString function requested a non const pointer for an unsigned char. Why not const char*instead?

My thoughts are that there is no need to modify the data indicated by the first argument.

+4
source share
1 answer

UuidFromString was developed for COM / DCOM.

unsigned char , char ( char - signed, , [-128, 127] - ANSI , < 0 ).

- (UuidToString) const. , UuidFromString , , .

0

Source: https://habr.com/ru/post/1622467/


All Articles