I am so confused.
Im trying to get the hang of win 32 api but im lost so far.
take this for example.
BOOL GetComputerName(
LPTSTR lpBuffer, // computer name
LPDWORD lpnSize // size of name buffer
);
BOOL I know returns true or false (1,0)
But what do I declare lpBuffer and lpnSize with ?
I see alot of API using these unknown(to me) data types.
Do I just LPTSTR mybuf[20];
and LPDWORD max = 21; ?????
Really lost, please help me get the hang of this.
Thanks