added libps.so, added stub for GetUserName

This commit is contained in:
Peter Honeder committed 2015-06-16 14:02:19 -07:00
1 parent 0c5f78a223
commit 1b02619b2d
4 files changed
+30 -5

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#include "getusername.h"
#include <unistd.h>
BOOL GetUserName(WCHAR_T* userName, UINT32* maxLength)
{
return 0;
}
+10
View File
@@ -0,0 +1,10 @@
#pragma once
#include "pal.h"
PAL_BEGIN_EXTERNC
BOOL GetUserName(WCHAR_T* userName, UINT32* maxLength);
PAL_END_EXTERNC
+3 -1
View File
@@ -51,7 +51,9 @@
#define WIN32_FROM_HRESULT(hr) hr
#define HRESULT_FROM_WIN32(error) error
typedef unsigned long DWORD, *LPDWORD;
typedef int BOOL;
typedef char BOOL;
typedef unsigned short WCHAR_T;
typedef unsigned int UINT32;
typedef unsigned long HRESULT;
typedef const wchar_t *PCWSTR;
typedef wchar_t *PWSTR;