Commit Graph
2525 Commits
Author SHA1 Message Date
Eric Kohl 1378d2051b Add missing prototypes and definitions.
svn path=/trunk/; revision=22613
2006-06-25 22:16:43 +00:00
Aleksey Bragin e17e93569f Sync DDE with Wine
svn path=/trunk/; revision=22608
2006-06-25 10:38:48 +00:00
Hervé Poussineau 4fde697f9d I forgot the ! when committing revision 22589.
svn path=/trunk/; revision=22603
2006-06-24 23:12:31 +00:00
Eric Kohl 92d62b0f19 Implement CM_Set_HW_Prof_Flags[_Ex]A/W.
svn path=/trunk/; revision=22600
2006-06-24 22:57:53 +00:00
Hervé Poussineau 78baad6812 Update msiquery.h header (sync with Wine)
svn path=/trunk/; revision=22599
2006-06-24 22:34:49 +00:00
Hervé Poussineau aa481c7afb Don't redefine UNICODE_STRING/STRING (may happen if winternl.h is already included)
svn path=/trunk/; revision=22589
2006-06-24 21:14:41 +00:00
Hervé Poussineau 6d736e0d3a Update wincrypt.h header (sync with Wine)
svn path=/trunk/; revision=22588
2006-06-24 20:59:20 +00:00
Hervé Poussineau 1f7943c579 Fix MLLoadLibraryA/W prototypes
svn path=/trunk/; revision=22585
2006-06-24 20:40:55 +00:00
Alex Ionescu d2ced73e52 - Reformat heap.c to ROS standards
- HeapCreate should mask out NT flags and tag allocations with CLASS 1.
- Implemented HeapCreateTagsW, HeapExtend, HeapQueryTagW, HeapSummary, HeapUsage.
- Stubbed RtlUsageHeap, RtlQueryTagHeap, RtlExtendHeap, RtlCreateTagHeap.

svn path=/trunk/; revision=22583
2006-06-24 19:49:28 +00:00
Alex Ionescu 8ec0cfcce6 - Fixup Local* Heap implementation so that calls which have different semantics don't call the Global APIs (ie: LocalAlloc/LocalReAlloc and LocalFlags). The rest can be shared beteween them. Also fix some prototypes.
- Rename all the defintions to BASE_HEAP instead of GLOBAL_HEAP, since they apply just as well to the Local Heap.

svn path=/trunk/; revision=22582
2006-06-24 19:00:07 +00:00
Hervé Poussineau aa75a24d24 Fix prototype of WritePwrScheme. Prototypes shouldn't have LPTSTR in their parameter list!
svn path=/trunk/; revision=22581
2006-06-24 18:47:50 +00:00
Hervé Poussineau fec0bf98d0 Fix definition of NtGdiAlphaBlend
svn path=/trunk/; revision=22580
2006-06-24 18:26:28 +00:00
Alex Ionescu 142dbcc0b4 - Fix boot
svn path=/trunk/; revision=22569
2006-06-24 16:05:37 +00:00
Alex Ionescu 6f34173bc0 - Hackplement RtlSetUserValueHeap and RtlGetUserInfoHeap, they are needed for being able to build higher-level heap management around the Heap APIs (either for developers or the OS). Case in point, needed for my Global* rewrite in kernel32. The current APIs are utter hacks, but they work (eventually we should get rid of the Wine Windows 95 heap implementation and replace it).
svn path=/trunk/; revision=22552
2006-06-23 23:10:58 +00:00
Alex Ionescu 8cd72eb3cd - Fixes in source code required for the NDK update.
svn path=/trunk/; revision=22551
2006-06-23 21:25:11 +00:00
Alex Ionescu b3653a9abd - Update the NDK to the current vendor import.
svn path=/trunk/; revision=22550
2006-06-23 21:21:45 +00:00
Johannes Anderwald f4ef526c52 oops
thnx Greatlord

svn path=/trunk/; revision=22540
2006-06-23 18:48:57 +00:00
Johannes Anderwald 98b5733eb2 yet another msvc fix inline -> __inline
svn path=/trunk/; revision=22536
2006-06-23 18:07:10 +00:00
Johannes Anderwald a37b36dfc4 replace DECL_WINELIB_TYPE_AW macros with typedefs
thnx to Greatlord for reviewing patch

svn path=/trunk/; revision=22528
2006-06-23 17:39:04 +00:00
Johannes Anderwald 06cb1d0c38 msvc fix (remove obsolete semicolon)
svn path=/trunk/; revision=22526
2006-06-23 16:30:22 +00:00
Alex Ionescu 8727a1f7ff [AUDIT] - Unlock Thomas's low resource notification code, since it's clean.
- Entirely rewrite Kernel32 Probe functions to um, actually probe (ported Thomas's code in the kernel and adjusted for user-mode and then checked with WINE's code). I can't begin to fathom what the previous routines were supposed to be doing.

svn path=/trunk/; revision=22520
2006-06-22 23:40:50 +00:00
Hervé Poussineau e57648e8e2 Fail start of the serial port currently used for debugging, according to http://blogs.msdn.com/doronh/archive/2006/06/07/621604.aspx
svn path=/trunk/; revision=22516
2006-06-22 22:14:51 +00:00
Hervé Poussineau f1df497132 Fix exports of device object types.
svn path=/trunk/; revision=22511
2006-06-22 21:16:55 +00:00
Ged Murphy eac2be9ab7 header changes for r22491
svn path=/trunk/; revision=22492
2006-06-21 21:20:28 +00:00
Ged Murphy a14bed3e15 fix incorrect macro
svn path=/trunk/; revision=22479
2006-06-21 18:43:14 +00:00
Hervé Poussineau cee03bff64 Fix a cast
svn path=/trunk/; revision=22437
2006-06-20 18:56:41 +00:00
Johannes Anderwald 45c3f05329 add a few sublang constants
svn path=/trunk/; revision=22429
2006-06-19 20:01:01 +00:00
Eric Kohl 1c0c7413bd Implement CM_Get_HW_Prof_Flags[_Ex]A/W and add PNP_HwProfFlags stub.
svn path=/trunk/; revision=22391
2006-06-18 14:36:42 +00:00
James Tabor 12647707d7 Add two static control styles, SS_EDITCONTROL and SS_REALSIZECONTROL.
svn path=/trunk/; revision=22380
2006-06-17 05:18:49 +00:00
James Tabor be83be8f50 Adding future DefWnd calls to win32k.
svn path=/trunk/; revision=22340
2006-06-13 15:13:02 +00:00
Eric Kohl bc297b2f4b Implement CM_Delete_DevNode_Key and add CM_Delete_DevNode_Key_Ex stub.
svn path=/trunk/; revision=22316
2006-06-11 21:56:08 +00:00
Alex Ionescu 259db9be47 - Fix definitions of OB_QUERYNAME_METHOD and OB_OKAYTOCLOSE_METHOD. Add fixme for OB_SECURITY_METHOD, will change it later.
- Simplified NtDuplicateObject to a simple stub around ObDuplicateObject, there is no need to have lengthy hacks for NtCurrentProcess/NtCurrentThread().
- Cleanup ObDuplicateObject to use normal Ob routines instead of grovelling through handle table structures and manually touching the handle count: It now calls ObpIncrementHandleCount and all the underlying operations are done on the duplicated handle. Also access state creation is done if the duplicated handle has different desired access.

svn path=/trunk/; revision=22303
2006-06-11 06:52:56 +00:00
Alex Ionescu d7c17c883d - Add Object Header Quota structure/define
- Give Files/Devices a parse routine and currently stubplement it for debugging purposes and trying to figure out a way to kill the IopCreateFile hack.
- Implement ObpChargeQuotaForObject. Using a memory breakpoint in WinDBG I've finally found where the OB_FLAG_CREATE_INFO flag gets masked out. Also attempted a very naive quota charging implementation, but it's a guess and probably wrong (but at least it does...something.)

svn path=/trunk/; revision=22287
2006-06-08 20:58:21 +00:00
James Tabor fb9a28f2b5 Implement Get & SetTextCharacterExtra. Does nothing ATM.
svn path=/trunk/; revision=22261
2006-06-07 01:22:47 +00:00
Johannes Anderwald dd221de709 small compilation fix
svn path=/trunk/; revision=22256
2006-06-06 22:54:18 +00:00
Alex Ionescu 21baa4ddb6 - Add function documentation header to ObpDeleteHandle, comment and re-format the function, and simplify the code to reduce some code duplication.
- Call the OkayToClose Procedure, if one is present, to allow the object owner a chance to disallow closing this handle. I believe this is required for properly protecting Winsta/Desktop handles (instead of using the regular protection mode, since that one can be bypassed). Thomas, get to work!

svn path=/trunk/; revision=22246
2006-06-06 06:12:09 +00:00
Ged Murphy 485867fdaf silence some rather annoying alignment errors when building with msvc
svn path=/trunk/; revision=22240
2006-06-05 19:00:52 +00:00
Alex Ionescu a46ee938fa - Rename ObpCreateTypeObject to ObCreateObjectType and fix definition. The latter is actually exported in NT, and there's no reason not to export it while having our own internally renamed version.
- Added stub exports for ObCloseHandle, ObReferenceSecurityDesciptor, ObSetHandleAttributes, ObSetSecurityObjectByPointer so that someday someone can know what needs to be implemented.
- Removed ObGetObjectPointerCount. It is not exported in newer OSes and was always undocumented.
- Move ObQueryObjecctAuditingByHandle to security.c and optimized it not to attach to the system process, as well as to cache the handle table instead of dereferencing the owner process all the time.

svn path=/trunk/; revision=22232
2006-06-05 06:31:42 +00:00
Eric Kohl 0c13f30550 Add PNP_AddID stub and implement CM_Add_ID_ExW.
svn path=/trunk/; revision=22218
2006-06-04 19:12:58 +00:00
Johannes Anderwald 449a2042e7 forgot header in last commit
bug report(1455) & patch by w3seek

svn path=/trunk/; revision=22178
2006-06-02 14:08:22 +00:00
Hervé Poussineau 0e5ee8026d Implement CM_Add_IDA, CM_Add_IDW, CM_Add_ID_ExA
Add stub for CM_Add_ID_ExW

svn path=/trunk/; revision=22174
2006-06-02 11:17:37 +00:00
Alex Ionescu a12050c789 - Object Manager Improvements (3 of 3):
* Implement Per-Processor Lookaside List based allocation and de-allocation of the Object Create Information (object attributes capture) and of the object name. I counted over 4000 allocations for only 30 seconds of runtime, so this change greatly reduces pool fragmentation and increases speed. (Implementation is similar to the IRP lookaside list implementation, but inlined for speed).
  * Fix some cases where we weren't freeing captured information properly. This patch should also decrease memory leaks/usage.
  * Comment/formatting fixes.

svn path=/trunk/; revision=22100
2006-05-29 03:32:43 +00:00
Alex Ionescu 0817ba9198 - Object Manager Improvement Patch 1/3:
- Re-implement delayed object deletion by using an optimized Object Reaper based on OBJECT_HEADER->NextToFree. Thanks to Thomas for the algorithm.
  - Refactor object deletion into two operations: Removal and de-allocation (this is needed for failure during allocation, which we don't do yet).
  - BugFixes:
    * After freeing an object header structure, also clear the pointer so we don't attempt it again. 
    * Clear the handle database if there is one
    * Make sure the create info flag is set before deleting captured attributes.
    * Use the allocation pool tag when de-allocating.
    * Use OBJECT_TYPE accounting for tracking the numbef of objects.
    * Remove the object from it's typelist if it has creator information.
    * Call the security procedure to delete the security descriptor.

svn path=/trunk/; revision=22098
2006-05-29 00:05:07 +00:00
Hervé Poussineau 10052376c0 Add newdev.h of the w32api package
svn path=/trunk/; revision=22094
2006-05-28 21:24:28 +00:00
Aleksey Bragin f07bc589f6 Fix an incorrect HalBeginSystemInterrupt() prototype
svn path=/trunk/; revision=22080
2006-05-27 15:38:37 +00:00
Ged Murphy ae25dcdf0f Fix possible memory leak in ProbeAndCaptureUnicodeString
Patch from Thomas Weidenmueller

svn path=/trunk/; revision=22078
2006-05-27 15:06:51 +00:00
Ged Murphy 02d5b02191 add some function definitions I've had floating about in my headers for a while.
svn path=/trunk/; revision=22066
2006-05-27 09:01:39 +00:00
Steven Edwards a8373ada71 update the winetest framework to 0.9.14 and sync some tests. Untested on ReactOS but at least it builds. More tests will come later. Fsck subversion
svn path=/trunk/; revision=22053
2006-05-26 16:20:53 +00:00
Andrew Munger 6e538fae59 Bump trunk to 0.4.0, no turning back now.
svn path=/trunk/; revision=22052
2006-05-26 15:14:13 +00:00
Alex Ionescu 340a5ed71a - Get rid of the intriguing idea that exported/public APIs should have prototypes with inversed parameters (fix ObOpenObjectByName and all its callers).
- Isolate ObFindObject into CmFindObject for the registry routines. Because of their well-known abuse of Ob, it's better to give them their internal routine so that when/if Ob ever gets fixed to parse properly, it won't force a re-write of Cm's object routines.

svn path=/trunk/; revision=22047
2006-05-25 20:50:58 +00:00