[ADVAPI32]
* Zap SidTable.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65044 97493ccd-5924-5043-b1f5-66cb403b36ce
[ADVAPI32]
* Remove unused MAX_GUID_STRING_LEN and RECORD.
* Remove some unneeded forward declarations.
* Reorder ACEFLAG to reduce difference to Wine.
CORE-8540

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65045 97493ccd-5924-5043-b1f5-66cb403b36ce
[ADVAPI32]
* Update GetTrusteeForm{A,W}().
CORE-8540

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65050 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32K]
- Fail in NtGdiCreateClientObj, when the object type is not valid.
This is based on Windows behavior, only more strict. Windows allows to set the stock bit and reuse count, which is probably not what we want.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65052 97493ccd-5924-5043-b1f5-66cb403b36ce
[GDI32]
Add Support routines for client objects. Will be used later. You might wonder why the code uses a lame hash table to link the client object handles to the user mode pointer, when it should be clear that a *client* object should have a user mode attribute, like other objects, that we can use, especially since that is the only real purpose of that object. Well, tell that the MS developer, who implemented client objects without a user mode attribute...

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65053 97493ccd-5924-5043-b1f5-66cb403b36ce
[KERNEL32]
 - Do not try to open memory events under the process object root directory.
CORE-8600 #resolve

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65054 97493ccd-5924-5043-b1f5-66cb403b36ce
[GDI32]
- Improve formatting
- Use more consistent variable names
- Remove unnecessary casts
- Add some annotations
- No intended code changes

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65055 97493ccd-5924-5043-b1f5-66cb403b36ce
[GDI32]
Forgot to commit this...

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65056 97493ccd-5924-5043-b1f5-66cb403b36ce
[GDI32]
- Handle GDILoObjType_LO_ALTDC_TYPE in GdiGetDcAttr
- Rewrite GdiGetLDC using GdiGetDcAttr
- Implement GdiSetLDC

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65058 97493ccd-5924-5043-b1f5-66cb403b36ce
[FAST486]: We should invalidate the prefetch buffer *after* having fetched the BOP byte (but before calling its handler), not before fetching the byte :)

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65059 97493ccd-5924-5043-b1f5-66cb403b36ce
[NtUser]
- Revert 64363. See CORE-7797.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65060 97493ccd-5924-5043-b1f5-66cb403b36ce
[FAST486][NTVDM]
Get rid of Fast486Interrupt, since it's not used anywhere. Also we can now remove
workarounds for all of the bugs that it caused.
Implement the "single-instruction interrupt delay" for instructions that load the
stack segment only.



git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65061 97493ccd-5924-5043-b1f5-66cb403b36ce
[FAST486]
Fix a typo in r65061.



git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65062 97493ccd-5924-5043-b1f5-66cb403b36ce
[GDI32]
- Use GdiGetDcAttr instead of GdiGetHandleUserData where appropriate
- Add a few missing SetLastError()
- Fix return failure return value of GetBkColor()
- Improve order of operations in SelectObject (needs more fixing)

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65063 97493ccd-5924-5043-b1f5-66cb403b36ce
[DRIVERS]
don't use uninitialized variables

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65066 97493ccd-5924-5043-b1f5-66cb403b36ce
[GDI32]
Implement separate functions for all SelectObject cases.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65067 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTFS]
ReleaseAttributeContext() is to be used out of mft.c
I believe that at some point, we're leaking memory...


git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65068 97493ccd-5924-5043-b1f5-66cb403b36ce