View previous topic :: View next topic |
Author |
Message |
Phase0
Joined: 03 Jan 2006 Posts: 1
|
Posted: Tue Jan 03, 2006 5:09 pm Post subject: more conflicts with std.*.windows |
|
|
The problems I found in Core32 commit 28:
In winnt.d line 1241 (after the line reading "// begin_ntddk begin_nthal begin_ntifs")
ACCESS_MASK is defined in phobos so it needs Version(Standalone) in core32
Same for PACCESS_MASK on the next line.
In windef.d line 82:
PWSTR is marked as STANDALONE but it is not defined in phobos.
LPWSTR is in phobos so probably their declarations must be separated.
The following declarations are missing (ANSI functions are in Phobos):
Registry related ones:
extern (Windows)
{
export LONG RegOpenKeyW(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult);
export LONG RegQueryValueExW(HKEY hKey,
LPCWSTR lpValueName,
LPDWORD lpReserved,
LPDWORD lpType,
LPBYTE lpData,
LPDWORD lpcbData);
}
File functions:
extern (Windows) {
export BOOL GetFileSizeEx(HANDLE hFile, out LARGE_INTEGER lpFileSize);
} |
|
Back to top |
|
|
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|