Commit Graph

4070 Commits

Author SHA1 Message Date
Jason Edmeades 33025b203c - Handle failures to allocate storage more gracefully.
- Only prototype the interfaces which are subclassed (I overdid it
  last time!).
- Implement Get/Set Texture and GetBackBuffer, plus device's
  GetDisplayMode / GetDeviceCaps.
- Make some of the d3d9 skeleton code issue fixme's to highlight code
  which hasn't been migrated yet.
- Correct the d3d9 headers for D3DSURFACE_DESC which caused stack
  corruption in demos.
2005-01-18 11:42:29 +00:00
Mike McCormack 64d7cb1634 Add definitions for session change notifications. 2005-01-18 11:40:38 +00:00
Juan Lang 2c95e0205d Make netspi.h private, as some of its declarations conflict with
npapi.h.  Spotted by Paul Vriens.
2005-01-18 11:40:24 +00:00
Alexandre Julliard 6758db9a0c Get rid of nonclient.h and of the corresponding exported functions in
user32.spec.
2005-01-17 20:27:11 +00:00
Hans Leidekker fd5425e1a7 Stub implementations for DrawDibChangePalette, DrawDibGetBuffer,
DrawDibTime, ICSeqCompressFrame{,End,Start}.
Forward GetOpenFileNamePreview to GetOpenFileNamePreviewA.
2005-01-17 15:33:43 +00:00
Jason Edmeades bcecddc084 - Add texture support for all the texture types for d3d9->wined3d.
- Add prototypes for the COM interfaces.
- Fix some incorrect types from the last patch.
2005-01-17 13:44:57 +00:00
Michael Jung 6c95ff6d9e Added definitions of TLS1PRF algorithm identifiers. 2005-01-17 13:42:30 +00:00
Eric Pouech 4634447d6b - got rid of include/async.h
- fixed some overlapped issues in socket handling
- moved kernel32.CancelIo implementation to ntdll
2005-01-14 19:54:38 +00:00
Mike McCormack 939179d681 Fix, add and rearrange winsvc.h declarations. 2005-01-14 16:50:57 +00:00
Dmitry Timoshkov 8af3e67e29 Add WM_GETOBJECT definition, remove WM_OTHERWINDOWCREATED define. 2005-01-14 15:14:41 +00:00
Ge van Geldorp 7cf104aa52 Fix prototypes according to PSDK. 2005-01-14 15:11:40 +00:00
Robert Shearman 7b3d092c26 Add a LIST_FOR_EACH_ENTRY list helper. 2005-01-14 15:11:07 +00:00
Robert Shearman e1d2a837a0 Add LIST_FOR_EACH_SAFE - a list iteration macro that is safe against
removal.
2005-01-12 19:27:35 +00:00
Rémi Assailly 88d049d102 Added missing declarations in some headers. 2005-01-11 10:46:58 +00:00
Hans Leidekker 8be26da723 Stub implementations for WPUCompleteOverlappedRequest,
WSADuplicateSocketW, WSAEnumNameSpaceProviders{A,W}, WSAGetQOSByName,
WSAGetServiceClassInfo{A,W}, WSAGetServiceClassNameByClassId{A,W},
WSALookupServiceEnd, WSALookupServiceNext{A,W},
WSAProviderConfigChange,  WSASetService{A,W}, WSCEnableNSProvider,
WSCGetProviderPath, WSCInstallNameSpace,  WSCWriteProviderOrder.
Implementations for WSANtohl, WSANtohs, WSASocketA->W crosscall.
Avoid NULL dereferences in WSAStringToAddress{A,W} and
WSAAddressToString{A,W}.
2005-01-10 14:34:15 +00:00
Jacek Caban c2ccf0f48c Added mshtml.idl. 2005-01-10 13:31:29 +00:00
Francois Gouget 87b0906789 Assorted spelling fixes. 2005-01-10 13:29:24 +00:00
Vincent Béron 151015fa02 Only use Alsa if 1.0 is detected. 2005-01-10 13:26:33 +00:00
Michael Jung b273845c95 Added SCHANNEL_ALG typedef.
Corrected struct tag in HMAC_INFO typedef.
2005-01-10 12:26:43 +00:00
Jason Edmeades 41427857b1 Add render target support, and ensure there is a front and back buffer
created during device creation.
2005-01-09 17:37:02 +00:00
Vitaly Lipatov 386cf457c9 Added handling of SBM_GETSCROLLBARINFO message. 2005-01-09 16:35:41 +00:00
Diego Pettenò 6febc8a7f8 Added stub implementation for WINNLS* functions. 2005-01-07 17:15:30 +00:00
Marcus Meissner 67d3afb0d1 Load libcapi20.so.* dynamically on demand. 2005-01-07 15:33:02 +00:00
Mike McCormack bd55684d97 Declare more functions. 2005-01-06 19:44:46 +00:00
Vitaly Lipatov 0590343445 Add description for ExtTextOut (also include comments from Shachar
Shemesh) and missed constants ETO_NUMERICSLOCAL, ETO_NUMERICSLATIN,
ETO_PDY in wingdi.h.
2005-01-05 13:24:52 +00:00
Lionel Ulmer cc89feb9c4 fpos_t should be 64 bits (verified with native MSVCRT.DLL) 2005-01-04 20:38:14 +00:00
Mike McCormack b84561cd0d Added some extra functions.
Removed parameter name for consistency with other declarations.
2005-01-04 20:31:31 +00:00
Alexandre Julliard 1e48f0970c Remove the no longer needed DCE_ExcludeRgn function and
DCX_KEEPCLIPRGN style.
2005-01-04 12:12:19 +00:00
Alexandre Julliard 1fd6264244 Fixed the FIXME in RtlNtStatusToDosError, and implemented
RtlGetLastNtStatus and RtlSetLastWin32ErrorAndNtStatusFromNtStatus.
2005-01-04 12:09:32 +00:00
Jacek Caban fc9446cbd4 Uncommented 'optional' attributes. 2005-01-04 11:56:41 +00:00
Mike McCormack b624b87363 Add cfgmgr32.h header. 2005-01-04 11:56:13 +00:00
Alexandre Julliard e7f5fade9e Fixed CLSID_AVISimpleUnMarshal export. 2005-01-03 20:43:13 +00:00
Hans Leidekker c1236fd120 Stub implementations for SHUpdateImageA, SHHandleUpdateImage,
SHObjectProperties, SHGetNewLinkInfo{A,W}, SHStartNetConnectionDialog,
SHEmptyRecycleBin{A,W}, SHFormatDrive, SHQueryRecycleBin{A,W}.
'HeapAlloc can fail' fix for ExtractIconExA.
Implement ExtractAssociatedIconA -> W.
Correct prototype for SHObjectProperties.
Forward SHGetNewLinkInfo to SHGetNewLinkInfoA.
2005-01-03 20:26:06 +00:00
Peter Berg Larsen 06f9b8b9ad Define DirectPlayLobbyCreate to be either the W or A version. 2005-01-03 20:15:56 +00:00
Michael Jung 521d221748 Added some defines concerning SChannel CSPs. 2005-01-03 20:14:49 +00:00
Hans Leidekker 0cc2031409 Stub implementations for GetKernelObjectSecurity,
GetPrivateObjectSecurity, GetServiceKeyName{A,W},
ImpersonateNamedPipeClient, InitiateSystemShutdown{A,W},
IsTokenRestricted, LogonUser{A,W}, LookupAccountNameW,
LookupPrivilegeDisplayName{A,W}, MapGenericMask,
ObjectCloseAuditAlarm{A,W}, ObjectOpenAuditAlarm{A,W},
ObjectPrivilegeAuditAlarm{A,W}, PrivilegedServiceAuditAlarm{A,W},
QueryServiceLockStatus{A,W}, SetAclInformation,
SetPrivateObjectSecurity, SetSecurityDescriptorControl,
SetServiceBits, LsaSetInformationPolicy, LsaLookupNames,
LsaEnumerateTrustedDomains.
2005-01-03 17:12:51 +00:00
Hans Leidekker c730eec6e1 Stub implementations for GetAltTabInfo{A,W}.
Forward GetAltTabInfo to GetAltTabInfoA.
2005-01-03 17:02:34 +00:00
Ivan Leo Puoti 918214313e Update copyright info for the new year. 2005-01-03 16:53:50 +00:00
Michael Jung 1d7800bdee Implemented parallel hashing in CPEncrypt and CPDecrypt.
Implemented CPHashSessionKey.
2005-01-03 14:35:35 +00:00
Hans Leidekker e121d5094b Stub implementations for RasConnectionNotification{A,W},
RasCreatePhonebookEntry{A,W}, RasDeleteSubEntry{A,W}, RasDial{A,W},
RasEditPhonebookEntry{A,W}, RasGetConnectStatus{A,W},
RasGetEntryDialParamsW, RasHangUpW, RasGetEntryPropertiesW,
RasGetErrorString{A,W}, RasGetProjectionInfo{A,W},
RasRenameEntry{A,W}, RasSetEntryDialParams{A,W},
RasSetSubEntryProperties{A,W}.
2005-01-03 14:30:14 +00:00
Robert Shearman 2a4b6fdc94 Add definition of IInternalUnknown. 2005-01-03 14:23:33 +00:00
Jacek Caban ed40d3ae50 Added IInternetBindInfo, IInternetProtocolRoot, IInternetProtocolSink
and IInternetProtocol declarations.
2004-12-27 17:41:58 +00:00
Hans Leidekker feef8957b9 Stub implementations for GetICMProfileW, SetICMProfile{A,W},
UpdateICMRegKey{A,W}.
Forward UpdateICMRegKey to UpdateICMRegKeyA.
2004-12-27 17:23:17 +00:00
Hans Leidekker f4f4dff978 Stub implementations for AVIMakeStreamFromClipboard, AVISave{A,W}.
Forward AVIBuildFilter, AVIFileCreateStream, AVIFileOpen, AVISave,
EditStreamSetInfo, EditStreamSetName to their respective *A variants.
2004-12-27 16:58:18 +00:00
Bill Medland bf42021e06 Implemented DceErrorInqText. 2004-12-23 11:29:54 +00:00
Mike McCormack a751dd3daf Declare SetLayeredWindowAttributes. 2004-12-23 11:23:18 +00:00
Mike McCormack 98511484c7 Declare GetSecurityInfo. 2004-12-22 18:17:56 +00:00
Alexandre Julliard 1d36d12917 Fixed prototypes of a couple of ntdll functions.
Replaced the CallWin32ToNt macro by a proper function.
PBOOL cannot be cast to PBOOLEAN, we need to use an intermediate
variable.
2004-12-22 15:31:16 +00:00
Hans Leidekker 49f7f6c208 Stub implementations for AdjustTokenGroups, AreAllAccessesGranted,
CreatePrivateObjectSecurity, CreateProcessAsUser{A,W},
DestroyPrivateObjectSecurity, DuplicateToken{,Ex},
EnumDependentServices{A,W}, GetEffectiveRightsFromAcl{A,W},
ConvertStringSecurityDescriptorToSecurityDescriptorA. Implementations
for BuildExplicitAccessWithName{A,W},
BuildTrusteeWithObjectsAndName{A,W},
BuildTrusteeWithObjectsAndSid{A,W}.
Correct prototype for InitializeAcl, RtlCopySid and RtlGetAce.
Use the CallWin32ToNt macro only with functions that return an
NTSTATUS.
2004-12-21 16:16:10 +00:00
Peter Berg Larsen 2db7165005 Added D3DERR_COLORKEYATTACHED and DDGDI_GETHOSTIDENTIFIER. 2004-12-21 16:03:55 +00:00
Jacek Caban 51077d1e86 - Added test of BindToStorage.
- Added some declarations to urlmon.idl.
2004-12-20 18:58:04 +00:00
Hans Leidekker c1cd989450 Stub implementations for all documented functions. 2004-12-20 17:04:11 +00:00
Peter Berg Larsen 08dbbeb015 Remove compiler warnings for the # not being at the start of the
line.
2004-12-20 16:53:12 +00:00
Alexandre Julliard 758b2887e9 Remove some no longer needed AW functions. 2004-12-17 19:20:07 +00:00
Robert Reif eb3113dc5c Added a missing define. 2004-12-17 19:03:35 +00:00
Andreas Mohr 35583201e8 GetTempPath*() uses DWORD parameters instead of UINT. 2004-12-17 19:00:09 +00:00
Serge S. Spiridonoff e3c8afe98b IMessageFilter::HandleIncomingCall must be HandleInComingCall as per
MS headers.
2004-12-17 18:55:02 +00:00
Vitaly Lipatov 5c4116bc66 Add description for MsiGetMode, MSIRUNMODE constants. 2004-12-16 14:29:25 +00:00
Rémi Assailly 4fd0c5fdcf PC_SYS_MAPPED is unused, remove it. 2004-12-15 10:49:27 +00:00
Jason Edmeades c4de952eb5 Add Clear, Present and EndScene support and fix a bug in the drawing
code.
2004-12-14 11:54:27 +00:00
Eric Pouech 4056d7ef8c Fixed some errors in function prototypes. 2004-12-13 21:19:01 +00:00
Robert Shearman 7572b125b5 Implement NtQueryTimer. 2004-12-13 21:10:58 +00:00
Jason Edmeades 2003c7ab11 Add {G,S}etRenderState and {G,S}etTextureStageState support, and
ensure the stateblock is fully populated at device startup.
2004-12-13 13:35:38 +00:00
Hans Leidekker 3e60f767ef Test and implement SetColorProfileElement.
Document more functions.
2004-12-13 13:23:17 +00:00
Jacek Caban dd30516f72 Added CMultiLanguage and AMMultiMediaStream coclass declarations. 2004-12-13 13:15:39 +00:00
Jason Edmeades f738c146e2 Add {G,S}etIndices, {G,S}Viewport and enable the basic drawing
functionality into wined3d and call from d3d9.
2004-12-09 11:42:34 +00:00
Mike McCormack 42d55786b9 Stub implementation for GetLastInputInfo. 2004-12-08 19:41:36 +00:00
Alexandre Julliard 6a78c16aac Moved private USER definitions to a new user_private.h header, and
removed the global user.h.
2004-12-08 18:06:14 +00:00
Alexandre Julliard 56ef1fec30 Moved palette functions to user_main.c and removed
windows/painting.c.
2004-12-08 14:12:09 +00:00
Robert Shearman cd0970eb24 Make the DECIMAL_SETZERO macro take a DECIMAL instead of a DECIMAL* as
in the Microsoft headers and fix up the only caller.
2004-12-08 13:59:52 +00:00
Ge van Geldorp c24ca67f58 Match PSDK definitions for LPCWAVEFORMATEX. 2004-12-08 13:57:55 +00:00
Jon Griffiths ee6884b65b Unicode fixes. 2004-12-08 13:39:52 +00:00
Alexandre Julliard 5defa49979 Moved update region handling to the server. 2004-12-07 17:31:53 +00:00
Paul Millar 10a6c56071 Check for features missing in mingw environment, allowing tools
subdirectory to be cross-built again.
2004-12-07 17:19:54 +00:00
Robert Shearman ee6982eeae Implement handle tables and add tests for them. 2004-12-07 14:47:13 +00:00
Hans Leidekker 8360a3a87e Move ICC profile handling into its own file.
Test GetColorProfileFromHandle and SetColorProfileHeader.
Test and partially implement {G,S}etStandardColorSpaceProfile{A,W}.
Improve existing tests and fix any bugs they revealed.
2004-12-07 14:42:47 +00:00
Jason Edmeades 819b0e1190 Add BaseTexture class support, call from d3d9. 2004-12-07 14:29:12 +00:00
Eric Pouech 294835a839 Another round of const correctness fixes. 2004-12-06 20:43:55 +00:00
Rémi Assailly 3e108badc3 Added two missing styles. 2004-12-06 16:13:04 +00:00
Vincent Béron df5a79562d Remove some unused tests. 2004-12-06 11:57:08 +00:00
Robert Shearman acf2dd572c Remove duplicate function declaration. 2004-12-06 11:43:26 +00:00
Eric Kohl faa7df1e08 Implement SetupDiBuildClassInfoList(ExW),
SetupDiClassGuidsFromName(W/ExW), SetupDiClassNameFromGuid(W/ExW),
SetupDiGetActualSectionToInstallW, SetupDiGetClassDescription(W/ExW),
SetupDiInstallClassW partially, SetupDiOpenClassRegKey(ExW),
SetupOpenMasterInf.
2004-12-02 18:09:53 +00:00
Eric Pouech 44158dd690 - moved event, semaphore, mutex implementation from kernel32 to ntdll
- added mutant implementation in ntdll, and use it for mutex
  implementation in kernel32
- added access parameter on event, semaphore, timer creation in
  wineserver (as ntdll interface requires it)
- added missing definitions in include/winternl.h
2004-12-02 18:05:37 +00:00
Robert Shearman 3b0a5d0a06 - Add some function declarations to objbase.h.
- Add stubs for server ref counting.
- Implement HRESULT marshaling.
2004-12-01 15:33:34 +00:00
Rémi Assailly 60cd092c68 Add some mirroring defines. 2004-12-01 15:30:53 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Jacek Caban d9ce4cd628 - Added stub implementation of IInternetZoneManager interface.
- Added implementation of CoInternetCreateZoneManager function.
- Added stub implementation of UrlMkGetSessionOption and corrected
  declaration of UrlMkSetSessionOption.
- Code cleanup.
2004-11-30 21:14:21 +00:00
Hans Leidekker 7c98f01159 Infrastructure for handling ICC profiles.
Always load color profiles into memory.
Implement and test GetColorProfileElement and GetColorProfileHeader.
Implement GetColorProfileFromHandle and SetColorProfileHeader.
2004-11-30 21:06:14 +00:00
Dmitry Timoshkov d7e56cffd0 Gather all DrawText flags together, convert them to hex for
readability.
2004-11-30 17:22:47 +00:00
Alexandre Julliard ff986a5a93 Converted the timer list to use standard list functions.
Allocate a timer id when the window is 0 instead of relying on the
client to do it.
Allow setting timers on windows belonging to other threads (found by
Mike McCormack).
2004-11-29 18:08:18 +00:00
Jason Edmeades 0a944ae319 Implement Material, Clip plane and Light support plus
MultiplyTransform.
2004-11-29 17:53:42 +00:00
Jason Edmeades eba27af4f1 Add Get/Set Transform support, plus BeginScene (does nothing). 2004-11-28 15:04:41 +00:00
Eric Frias 958f4c643e More portable POINTSTOPOINT macro. 2004-11-24 18:36:13 +00:00
Alexandre Julliard 04e4bbc43b Prevent use of MAKEPOINTS in Wine code. 2004-11-24 18:32:35 +00:00
Jason Edmeades 73e8baffd2 Add indexbuffer support into wined3d. 2004-11-24 18:13:41 +00:00
Kevin Koltzau a2bbacb04f Look for lcms.h in lcms/lcms.h. 2004-11-23 17:33:55 +00:00
Jason Edmeades 289562eeb5 - Implement SetStreamSource
- Ensure wined3d objects maintain a reference count of at least that
  of the d3dx version.
2004-11-23 13:52:46 +00:00
Huw Davies 14de4815b3 We don't use DGA version 1 so remove the configure check for it. 2004-11-23 13:48:00 +00:00
Hans Leidekker 9db71b35d8 Implement and test GetColorProfileElementTag,
GetCountColorProfileElements and IsColorProfileTagPresent. Stub
GetStandardColorSpaceProfile{A,W}.
2004-11-21 15:48:18 +00:00
Rémi Assailly 101e1f20fa Added some structure tags and error defines. 2004-11-21 15:32:31 +00:00