mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
added libps.so, added stub for GetUserName
This commit is contained in:
1 parent
0c5f78a223
commit
1b02619b2d
4 files changed
+30
-5
No files matched your search
@@ -0,0 +1,8 @@
|
||||
#include "getusername.h"
|
||||
#include <unistd.h>
|
||||
|
||||
BOOL GetUserName(WCHAR_T* userName, UINT32* maxLength)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include "pal.h"
|
||||
|
||||
PAL_BEGIN_EXTERNC
|
||||
|
||||
BOOL GetUserName(WCHAR_T* userName, UINT32* maxLength);
|
||||
|
||||
PAL_END_EXTERNC
|
||||
|
||||
+3
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user