47 #define ACCOUNT_BUFFER_SIZE 256
62 DWORD account_size =
sizeof(account_buffer);
63 char *account = account_buffer;
65 while(!GetUserName(account, &account_size))
67 if(account != account_buffer)
71 switch(GetLastError())
73 case ERROR_NOT_ENOUGH_MEMORY:
74 account = (
char*) malloc(account_size);
84 if(account != account_buffer)
void reportException(wholenumber_t error)
#define Error_Function_no_data_function
RexxString * new_string(const char *s, stringsize_t l)
static RexxString * getUserid()
#define ACCOUNT_BUFFER_SIZE