OK I must be having a bad coding day or something. This should finally fix the build problems.

svn path=/trunk/; revision=5658
This commit is contained in:
Andrew Greenwood 2003-08-18 23:10:44 +00:00
parent 0768d3a18b
commit 5f8d059303
2 changed files with 15 additions and 17 deletions

View file

@ -14,7 +14,7 @@
#define NTOS_MODE_USER #define NTOS_MODE_USER
#include <windows.h> #include <windows.h>
#include <accctrl.h> // #include <accctrl.h>
#include <ntos.h> #include <ntos.h>
@ -474,7 +474,7 @@ SetFileSecurityA (
*/ */
STDCALL DWORD GetSecurityInfo ( STDCALL DWORD GetSecurityInfo (
HANDLE handle, HANDLE handle,
SE_OBJECT_TYPE ObjectType, UINT ObjectType, // SE_OBJECT_TYPE
SECURITY_INFORMATION SecurityInfo, SECURITY_INFORMATION SecurityInfo,
PSID *ppsidOwner, PSID *ppsidOwner,
PSID *ppsidGroup, PSID *ppsidGroup,
@ -492,12 +492,12 @@ STDCALL DWORD GetSecurityInfo (
*/ */
STDCALL DWORD GetSecurityInfoExA( STDCALL DWORD GetSecurityInfoExA(
HANDLE hObject, HANDLE hObject,
SE_OBJECT_TYPE ObjectType, UINT ObjectType, // SE_OBJECT_TYPE
SECURITY_INFORMATION SecurityInfo, SECURITY_INFORMATION SecurityInfo,
LPCSTR lpProvider, LPCSTR lpProvider,
LPCSTR lpProperty, LPCSTR lpProperty,
PACTRL_ACCESS *ppAccessList, VOID *ppAccessList, // PACTRL_ACCESS
PACTRL_AUDIT *ppAuditList, VOID *ppAuditList, // PACTRL_AUDIT
LPCSTR *lppOwner, LPCSTR *lppOwner,
LPCSTR *lppGroup LPCSTR *lppGroup
) )
@ -511,12 +511,12 @@ STDCALL DWORD GetSecurityInfoExA(
*/ */
STDCALL DWORD GetSecurityInfoExW( STDCALL DWORD GetSecurityInfoExW(
HANDLE hObject, HANDLE hObject,
SE_OBJECT_TYPE ObjectType, UINT ObjectType, // SE_OBJECT_TYPE
SECURITY_INFORMATION SecurityInfo, SECURITY_INFORMATION SecurityInfo,
LPCWSTR lpProvider, LPCWSTR lpProvider,
LPCWSTR lpProperty, LPCWSTR lpProperty,
PACTRL_ACCESS *ppAccessList, VOID *ppAccessList, // PACTRL_ACCESS
PACTRL_AUDIT *ppAuditList, VOID *ppAuditList, // PACTRL_AUDIT
LPWSTR *lppOwner, LPWSTR *lppOwner,
LPWSTR *lppGroup LPWSTR *lppGroup
) )

View file

@ -16,17 +16,16 @@ __ret_label:
} }
// This is broken, and dragged over from WINE: // This is dragged over from WINE:
/*
typedef struct __EXCEPTION_FRAME typedef struct __EXCEPTION_FRAME
{ {
struct __EXCEPTION_FRAME *Prev; struct __EXCEPTION_FRAME *Prev;
PEXCEPTION_HANDLER Handler; PEXCEPTION_HANDLER Handler;
} EXCEPTION_FRAME, *PEXCEPTION_FRAME; } EXCEPTION_FRAME, *PEXCEPTION_FRAME;
*/
/* VC++ extensions to Win32 SEH */ /* VC++ extensions to Win32 SEH */
/*typedef struct _SCOPETABLE typedef struct _SCOPETABLE
{ {
int previousTryLevel; int previousTryLevel;
int (*lpfnFilter)(PEXCEPTION_POINTERS); int (*lpfnFilter)(PEXCEPTION_POINTERS);
@ -55,17 +54,16 @@ typedef struct __JUMP_BUFFER
unsigned long Eip; unsigned long Eip;
unsigned long Registration; unsigned long Registration;
unsigned long TryLevel; unsigned long TryLevel;
*/ /* Start of new struct members */ /* Start of new struct members */
/* unsigned long Cookie; unsigned long Cookie;
unsigned long UnwindFunc; unsigned long UnwindFunc;
unsigned long UnwindData[6]; unsigned long UnwindData[6];
} _JUMP_BUFFER; } _JUMP_BUFFER;
*/
/* /*
* @unimplemented * @implemented
*/ */
void __stdcall _seh_longjmp_unwind(_JUMP_BUFFER *jmp) void __stdcall _seh_longjmp_unwind(_JUMP_BUFFER *jmp)
{ {
// _local_unwind2((MSVCRT_EXCEPTION_FRAME*) jmp->Registration, jmp->TryLevel); _local_unwind2((MSVCRT_EXCEPTION_FRAME*) jmp->Registration, jmp->TryLevel);
} }