Patch based on bug report #3669 by Michael Martin (aka bugboy) <martinmnet@hotmail.com> just like the patches r35748, r35750, r35752 and r35753.
svn path=/trunk/; revision=35768
- Implement a common service record delete function.
- RCloseServiceHandle: Remove a service if it has been marked for deletion and the reference counter reaches 0.
- RControlService: Stop a service only if there are no dependent services running.
Patch based on bug report #3669 by Michael Martin (aka bugboy) <martinmnet@hotmail.com> just like the patches r35748, r35750, r35752 and r35753.
svn path=/trunk/; revision=35767
- Only pad with zeroes if padding requested.
- Show signs for floating point numbers without checking for SIGN type (since there is no unsigned float/double).
See issue #3587 for more details.
svn path=/trunk/; revision=35764
- Import from ncpa properties and status dialog
- Implement INetConnectionProperty interface
- Fix a bug & handle leak in registering code
- Implement NcFreeNetconProperties
- Make resources of netshell to be similar of Windows XP to allow netshell to be loaded
- Add NCF constants from ncpa
- Implement enumerating control/protocol and devices - items dont appear for some unknown reason
- Load property dialog in the same way like Windows (using INetConnectionProperty) interface
svn path=/trunk/; revision=35760
- Add more parameter checks.
- Set the services "ObjectName" value to "LocalSystem" if it doesn't have a name.
- REnumServicesStatusW: Simplify it a little.
svn path=/trunk/; revision=35755
- RChangeServiceConfigW: Update the display name if it has been changed.
- RQueryServiceConfigW: Return pointers to empty strings instead of NULL pointers if information is not available.
- RQueryServiceConfig2W: Fail if lpBuffer is NULL.
- Implement RChangeServiceConfigA, RQueryServiceConfigA and RQueryServiceConfig2A.
Patch is based on bug report #3669 by bugboy <marinmnet@hotmail.com>.
svn path=/trunk/; revision=35752
- ROpenServiceW: Fail if lpServiceName is NULL.
- ROpenServiceA: Don't pass an empty string to ROpenServiceW if lpServiceName is NULL. Use NULL instead.
This patch is based on bug report #3669 by bugboy <martinmnet@hotmail.com>.
svn path=/trunk/; revision=35750
- RGetServiceDisplayNameW: Return the service name if the display name is not available.
- Implement RGetServiceDisplayNameA and RGetServiceKeyNameA.
svn path=/trunk/; revision=35748
- Fix incorrect freeing of a buffer returned by a call to CmpConstructName (spotted by Stefan Ginsberg).
- Changes in a couple of comments for better description, and a couple of 80col exceeders fixed.
svn path=/trunk/; revision=35732
- Fix freeing of the buffer returned by CmpConstructName in CmpQueryKeyName routine.
- Fixes bug 3616 and related query-routines.
See issue #3616 for more details.
svn path=/trunk/; revision=35727
- Implement INetConnectionManager, IEnumNetConnection, INetConnection interface for CLSID_ConnectionManager
- Refactor Network Connections Shell Folder enumeration code to use the now available COM functionality
svn path=/trunk/; revision=35718
- Fix parameter types of NtQuery/SetSystemInformation, ExInitialize(N)PagedLookasideList, KeBugCheckWithTf, IoGetstackLimits
- Use ALIGN_UP_POINTER for a pointer
- Fix pointer to ULONG cast
svn path=/trunk/; revision=35715
recyclebin: DWORD -> SIZE_T and SIZE_T -> DWORD
rtl:
- cast AtomName to ULONG_PTR instead of ULONG
- RtlQueryProcessdebugInformation(): cast teb->ClientId.UniqueProcess to ULONG_PTR for assignment to Pid.
- vs(w)nprintf: cast argument to ULONG_PTR instead of unsigned long for a %p
crt:
- int -> intptr_t
- unsigned long -> uintptr_t
- #undef _MINGW_IMPORT in ctype.c, to avoid warnings
scrnsafe: rename _toul to _toulptr and make it return an ULONG_PTR
svn path=/trunk/; revision=35712
- Fix prototypes of _findfirst, _findnext, _findclose, _findfirsti64, _findnexti64 _wfindfirst, _wfindnext, _wfindfirst64, _wfindnext64, strndup,
- Fix a number of pointer to int casts
svn path=/trunk/; revision=35695
- Exclude platform-independent CI math function stubs when compiling x86 target. Should finally fix bug 1255.
See issue #1255 for more details.
svn path=/trunk/; revision=35677
- Use precompiled headers for shell32
- Use __inline for MSVC compability
- Fix api definitions of SHCreateStdEnumFmtEtc, GetFileNameFromBrowse, SHCreateDirectory, SHCreateDirectoryExA, SHCreateDirectoryExW, Dad_AutoScroll, CDefFolderMenu_Create2, SHChangeNotifyRegister
- msvc now compiles nearly all of shell32 (with WDK headers)
svn path=/trunk/; revision=35674