Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8bc12f3f
Commit
8bc12f3f
authored
Oct 20, 2007
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Oct 22, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Define OBJECT_BASIC_INFORMATION in source file as it is not…
advapi32/tests: Define OBJECT_BASIC_INFORMATION in source file as it is not defined in Windows SDK winternl.h.
parent
05cb54fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
security.c
dlls/advapi32/tests/security.c
+23
-1
No files found.
dlls/advapi32/tests/security.c
View file @
8bc12f3f
...
...
@@ -31,10 +31,32 @@
#include "sddl.h"
#include "ntsecapi.h"
#include "lmcons.h"
#include "winternl.h"
#include "wine/test.h"
/* copied from Wine winternl.h - not included in the Windows SDK */
typedef
enum
_OBJECT_INFORMATION_CLASS
{
ObjectBasicInformation
,
ObjectNameInformation
,
ObjectTypeInformation
,
ObjectAllInformation
,
ObjectDataInformation
}
OBJECT_INFORMATION_CLASS
,
*
POBJECT_INFORMATION_CLASS
;
typedef
struct
_OBJECT_BASIC_INFORMATION
{
ULONG
Attributes
;
ACCESS_MASK
GrantedAccess
;
ULONG
HandleCount
;
ULONG
PointerCount
;
ULONG
PagedPoolUsage
;
ULONG
NonPagedPoolUsage
;
ULONG
Reserved
[
3
];
ULONG
NameInformationLength
;
ULONG
TypeInformationLength
;
ULONG
SecurityDescriptorLength
;
LARGE_INTEGER
CreateTime
;
}
OBJECT_BASIC_INFORMATION
,
*
POBJECT_BASIC_INFORMATION
;
#define expect_eq(expr, value, type, format) { type ret = expr; ok((value) == ret, #expr " expected " format " got " format "\n", (value), (ret)); }
typedef
VOID
(
WINAPI
*
fnBuildTrusteeWithSidA
)(
PTRUSTEEA
pTrustee
,
PSID
pSid
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment