From 9cc4f5ceeeaff1e0ab88b6aab373d31ca26e229e Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Mon, 31 Jan 2011 14:20:53 +0000 Subject: [PATCH] [CMAKE] Don't automatically add stub files to the sources, instead add them manually where neccessary. also fix a number of spec files to resemble actual state of implementation. svn path=/branches/cmake-bringup/; revision=50574 --- dll/win32/advapi32/CMakeLists.txt | 4 +- dll/win32/advapi32/advapi32.spec | 6 +- dll/win32/advapi32/advapi32_stubs.c | 225 ------------------------- dll/win32/authz/CMakeLists.txt | 1 + dll/win32/bcrypt/CMakeLists.txt | 1 + dll/win32/cfgmgr32/CMakeLists.txt | 1 + dll/win32/clusapi/CMakeLists.txt | 1 + dll/win32/comdlg32/CMakeLists.txt | 1 + dll/win32/credui/CMakeLists.txt | 1 + dll/win32/crypt32/CMakeLists.txt | 1 + dll/win32/cryptdlg/CMakeLists.txt | 1 + dll/win32/cryptnet/CMakeLists.txt | 1 + dll/win32/cryptui/CMakeLists.txt | 1 + dll/win32/dbghelp/CMakeLists.txt | 1 + dll/win32/dciman32/CMakeLists.txt | 1 + dll/win32/devmgr/CMakeLists.txt | 1 + dll/win32/dhcpcsvc/CMakeLists.txt | 1 + dll/win32/dnsapi/CMakeLists.txt | 5 +- dll/win32/dnsapi/dnsapi.spec | 198 +++++++++++----------- dll/win32/dnsapi/dnsapi/stubs.c | 7 + dll/win32/dwmapi/CMakeLists.txt | 1 + dll/win32/faultrep/CMakeLists.txt | 1 + dll/win32/fmifs/CMakeLists.txt | 1 + dll/win32/fusion/CMakeLists.txt | 1 + dll/win32/gdiplus/CMakeLists.txt | 1 + dll/win32/hlink/CMakeLists.txt | 1 + dll/win32/httpapi/CMakeLists.txt | 1 + dll/win32/icmp/CMakeLists.txt | 1 + dll/win32/imagehlp/CMakeLists.txt | 1 + dll/win32/imm32/CMakeLists.txt | 1 + dll/win32/inetcomm/CMakeLists.txt | 1 + dll/win32/inetmib1/CMakeLists.txt | 1 + dll/win32/initpki/CMakeLists.txt | 1 + dll/win32/inseng/CMakeLists.txt | 1 + dll/win32/iphlpapi/CMakeLists.txt | 1 + dll/win32/iphlpapi/iphlpapi.spec | 24 +-- dll/win32/itircl/CMakeLists.txt | 1 + dll/win32/itss/CMakeLists.txt | 1 + dll/win32/localspl/CMakeLists.txt | 1 + dll/win32/lsasrv/CMakeLists.txt | 1 + dll/win32/mapi32/CMakeLists.txt | 1 + dll/win32/mlang/CMakeLists.txt | 1 + dll/win32/modemui/CMakeLists.txt | 1 + dll/win32/mpr/CMakeLists.txt | 1 + dll/win32/mprapi/CMakeLists.txt | 1 + dll/win32/msacm32/CMakeLists.txt | 1 + dll/win32/mscms/CMakeLists.txt | 1 + dll/win32/mscoree/CMakeLists.txt | 1 + dll/win32/msctf/CMakeLists.txt | 1 + dll/win32/msftedit/CMakeLists.txt | 1 + dll/win32/msgina/CMakeLists.txt | 1 + dll/win32/mshtml/CMakeLists.txt | 1 + dll/win32/msi/CMakeLists.txt | 1 + dll/win32/msimtf/CMakeLists.txt | 1 + dll/win32/msisip/CMakeLists.txt | 1 + dll/win32/mssign32/CMakeLists.txt | 1 + dll/win32/mssip32/CMakeLists.txt | 1 + dll/win32/mstask/CMakeLists.txt | 1 + dll/win32/msvfw32/CMakeLists.txt | 1 + dll/win32/msxml3/CMakeLists.txt | 1 + dll/win32/nddeapi/CMakeLists.txt | 1 + dll/win32/netapi32/CMakeLists.txt | 1 + dll/win32/netcfgx/CMakeLists.txt | 1 + dll/win32/netshell/CMakeLists.txt | 1 + dll/win32/newdev/CMakeLists.txt | 1 + dll/win32/ntdsapi/CMakeLists.txt | 1 + dll/win32/ntlanman/CMakeLists.txt | 1 + dll/win32/ntprint/CMakeLists.txt | 1 + dll/win32/odbc32/CMakeLists.txt | 1 + dll/win32/odbccp32/CMakeLists.txt | 1 + dll/win32/ole32/CMakeLists.txt | 1 + dll/win32/oleacc/CMakeLists.txt | 1 + dll/win32/oleaut32/CMakeLists.txt | 1 + dll/win32/olecli32/CMakeLists.txt | 3 +- dll/win32/olesvr32/CMakeLists.txt | 3 +- dll/win32/olethk32/CMakeLists.txt | 1 + dll/win32/opengl32/CMakeLists.txt | 1 + dll/win32/pdh/CMakeLists.txt | 3 +- dll/win32/pidgen/CMakeLists.txt | 1 + dll/win32/printui/CMakeLists.txt | 3 +- dll/win32/pstorec/CMakeLists.txt | 1 + dll/win32/query/CMakeLists.txt | 1 + dll/win32/rasadhlp/CMakeLists.txt | 1 + dll/win32/rasapi32/CMakeLists.txt | 3 +- dll/win32/rasdlg/CMakeLists.txt | 1 + dll/win32/rasman/CMakeLists.txt | 1 + dll/win32/resutils/CMakeLists.txt | 1 + dll/win32/rpcrt4/CMakeLists.txt | 1 + dll/win32/samlib/CMakeLists.txt | 1 + dll/win32/sccbase/CMakeLists.txt | 1 + dll/win32/schannel/CMakeLists.txt | 1 + dll/win32/secur32/CMakeLists.txt | 1 + dll/win32/security/CMakeLists.txt | 3 +- dll/win32/setupapi/CMakeLists.txt | 1 + dll/win32/sfc/CMakeLists.txt | 1 + dll/win32/sfc_os/CMakeLists.txt | 1 + dll/win32/shdocvw/CMakeLists.txt | 1 + dll/win32/shell32/CMakeLists.txt | 3 +- dll/win32/shimgvw/CMakeLists.txt | 1 + dll/win32/shlwapi/CMakeLists.txt | 1 + dll/win32/slbcsp/CMakeLists.txt | 1 + dll/win32/snmpapi/CMakeLists.txt | 3 +- dll/win32/spoolss/CMakeLists.txt | 1 + dll/win32/srclient/CMakeLists.txt | 3 +- dll/win32/sxs/CMakeLists.txt | 3 +- dll/win32/syssetup/CMakeLists.txt | 1 + dll/win32/t2embed/CMakeLists.txt | 1 + dll/win32/tapi32/CMakeLists.txt | 4 +- dll/win32/tapi32/tapi32.spec | 8 +- dll/win32/traffic/CMakeLists.txt | 1 + dll/win32/updspapi/CMakeLists.txt | 3 +- dll/win32/url/CMakeLists.txt | 1 + dll/win32/urlmon/CMakeLists.txt | 3 +- dll/win32/user32/CMakeLists.txt | 5 +- dll/win32/userenv/CMakeLists.txt | 1 + dll/win32/usp10/CMakeLists.txt | 1 + dll/win32/uxtheme/CMakeLists.txt | 1 + dll/win32/windowscodecs/CMakeLists.txt | 1 + dll/win32/wininet/CMakeLists.txt | 1 + dll/win32/winmm/CMakeLists.txt | 1 + dll/win32/winspool/CMakeLists.txt | 1 + dll/win32/wintrust/CMakeLists.txt | 1 + dll/win32/wlanapi/CMakeLists.txt | 1 + dll/win32/wldap32/CMakeLists.txt | 1 + dll/win32/ws2_32/ws2_32.spec | 10 +- dll/win32/wtsapi32/CMakeLists.txt | 1 + dll/win32/xmllite/CMakeLists.txt | 1 + gcc.cmake | 1 - msc.cmake | 1 - 129 files changed, 270 insertions(+), 368 deletions(-) delete mode 100644 dll/win32/advapi32/advapi32_stubs.c diff --git a/dll/win32/advapi32/CMakeLists.txt b/dll/win32/advapi32/CMakeLists.txt index b20aba71e12..e7e29dbd5d4 100644 --- a/dll/win32/advapi32/CMakeLists.txt +++ b/dll/win32/advapi32/CMakeLists.txt @@ -41,10 +41,10 @@ list(APPEND SOURCE service/sctrl.c token/privilege.c token/token.c - advapi32_stubs.c advapi32.rc + ${CMAKE_CURRENT_BINARY_DIR}/advapi32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/advapi32.def) - + add_library(advapi32 SHARED ${CMAKE_CURRENT_BINARY_DIR}/advapi32_advapi32.h.gch ${SOURCE}) diff --git a/dll/win32/advapi32/advapi32.spec b/dll/win32/advapi32/advapi32.spec index 810c1ab4754..249028013b2 100644 --- a/dll/win32/advapi32/advapi32.spec +++ b/dll/win32/advapi32/advapi32.spec @@ -383,8 +383,8 @@ @ stub LsaOpenSecret @ stub LsaOpenTrustedDomain @ stdcall LsaOpenTrustedDomainByName(ptr ptr long ptr) -@ stub LsaQueryDomainInformationPolicy -@ stub LsaQueryForestTrustInformation +@ stdcall LsaQueryDomainInformationPolicy(ptr long ptr) +@ stdcall LsaQueryForestTrustInformation(ptr ptr ptr) @ stdcall LsaQueryInfoTrustedDomain(long long long) @ stdcall LsaQueryInformationPolicy(ptr long ptr) @ stub LsaQuerySecret @@ -396,7 +396,7 @@ @ stub LsaRemovePrivilegesFromAccount @ stdcall LsaRetrievePrivateData(ptr ptr ptr) @ stdcall LsaSetDomainInformationPolicy(ptr long ptr) -@ stub LsaSetForestTrustInformation +@ stdcall LsaSetForestTrustInformation(ptr ptr ptr long ptr) @ stdcall LsaSetInformationPolicy(long long ptr) @ stub LsaSetInformationTrustedDomain @ stub LsaSetQuotasForAccount diff --git a/dll/win32/advapi32/advapi32_stubs.c b/dll/win32/advapi32/advapi32_stubs.c deleted file mode 100644 index 9259c279838..00000000000 --- a/dll/win32/advapi32/advapi32_stubs.c +++ /dev/null @@ -1,225 +0,0 @@ - -#include -#include "windef.h" -#include "winbase.h" -#include "wine/config.h" -#include "wine/exception.h" - -void __wine_spec_unimplemented_stub( const char *module, const char *function ) -{ - ULONG_PTR args[2]; - - args[0] = (ULONG_PTR)module; - args[1] = (ULONG_PTR)function; - RaiseException( EXCEPTION_WINE_STUB, EH_NONCONTINUABLE, 2, args ); -} - -static const char __wine_spec_file_name[] = "advapi32.dll"; - -void __wine_stub_advapi32_dll_12(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "AccessCheckByTypeResultList"); } -void __wine_stub_advapi32_dll_53(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CancelOverlappedAccess"); } -void __wine_stub_advapi32_dll_61(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CloseCodeAuthzLevel"); } -void __wine_stub_advapi32_dll_62(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CloseEncryptedFileRaw"); } -void __wine_stub_advapi32_dll_65(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CloseTrace"); } -void __wine_stub_advapi32_dll_67(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ComputeAccessTokenFromCodeAuthzLevel"); } -void __wine_stub_advapi32_dll_72(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ConvertAccessToSecurityDescriptorA"); } -void __wine_stub_advapi32_dll_73(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ConvertAccessToSecurityDescriptorW"); } -void __wine_stub_advapi32_dll_74(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ConvertSDToStringSDRootDomainA"); } -void __wine_stub_advapi32_dll_75(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ConvertSDToStringSDRootDomainW"); } -void __wine_stub_advapi32_dll_76(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ConvertSecurityDescriptorToAccessA"); } -void __wine_stub_advapi32_dll_77(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ConvertSecurityDescriptorToAccessNamedA"); } -void __wine_stub_advapi32_dll_78(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ConvertSecurityDescriptorToAccessNamedW"); } -void __wine_stub_advapi32_dll_79(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ConvertSecurityDescriptorToAccessW"); } -void __wine_stub_advapi32_dll_84(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ConvertStringSDToSDDomainA"); } -void __wine_stub_advapi32_dll_85(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ConvertStringSDToSDDomainW"); } -void __wine_stub_advapi32_dll_86(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ConvertStringSDToSDRootDomainA"); } -void __wine_stub_advapi32_dll_87(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ConvertStringSDToSDRootDomainW"); } -void __wine_stub_advapi32_dll_94(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CreateCodeAuthzLevel"); } -void __wine_stub_advapi32_dll_105(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CreateTraceInstanceId"); } -void __wine_stub_advapi32_dll_113(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CredGetTargetInfoA"); } -void __wine_stub_advapi32_dll_114(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CredGetTargetInfoW"); } -void __wine_stub_advapi32_dll_115(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CredIsMarshaledCredentialA"); } -void __wine_stub_advapi32_dll_116(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CredIsMarshaledCredentialW"); } -void __wine_stub_advapi32_dll_117(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CredMarshalCredentialA"); } -void __wine_stub_advapi32_dll_118(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CredMarshalCredentialW"); } -void __wine_stub_advapi32_dll_119(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CredProfileLoaded"); } -void __wine_stub_advapi32_dll_124(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CredRenameA"); } -void __wine_stub_advapi32_dll_125(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CredRenameW"); } -void __wine_stub_advapi32_dll_130(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CredpConvertCredential"); } -void __wine_stub_advapi32_dll_131(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CredpConvertTargetInfo"); } -void __wine_stub_advapi32_dll_132(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CredpDecodeCredential"); } -void __wine_stub_advapi32_dll_133(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "CredpEncodeCredential"); } -void __wine_stub_advapi32_dll_179(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "DuplicateEncryptionInfoFile"); } -void __wine_stub_advapi32_dll_182(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfBackupEventLogFileA"); } -void __wine_stub_advapi32_dll_183(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfBackupEventLogFileW"); } -void __wine_stub_advapi32_dll_184(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfChangeNotify"); } -void __wine_stub_advapi32_dll_185(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfClearEventLogFileA"); } -void __wine_stub_advapi32_dll_186(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfClearEventLogFileW"); } -void __wine_stub_advapi32_dll_187(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfCloseEventLog"); } -void __wine_stub_advapi32_dll_188(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfDeregisterEventSource"); } -void __wine_stub_advapi32_dll_189(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfDeregisterEventSourceW"); } -void __wine_stub_advapi32_dll_190(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfFlushEventLog"); } -void __wine_stub_advapi32_dll_191(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfNumberOfRecords"); } -void __wine_stub_advapi32_dll_192(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfOldestRecord"); } -void __wine_stub_advapi32_dll_193(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfOpenBackupEventLogA"); } -void __wine_stub_advapi32_dll_194(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfOpenBackupEventLogW"); } -void __wine_stub_advapi32_dll_195(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfOpenEventLogA"); } -void __wine_stub_advapi32_dll_196(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfOpenEventLogW"); } -void __wine_stub_advapi32_dll_197(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfReadEventLogA"); } -void __wine_stub_advapi32_dll_198(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfReadEventLogW"); } -void __wine_stub_advapi32_dll_199(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfRegisterEventSourceA"); } -void __wine_stub_advapi32_dll_200(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfRegisterEventSourceW"); } -void __wine_stub_advapi32_dll_201(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfReportEventA"); } -void __wine_stub_advapi32_dll_202(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ElfReportEventW"); } -void __wine_stub_advapi32_dll_206(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "EncryptedFileKeyInfo"); } -void __wine_stub_advapi32_dll_210(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "EnumServiceGroupA"); } -void __wine_stub_advapi32_dll_216(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "EnumerateTraceGuids"); } -void __wine_stub_advapi32_dll_223(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "FlushTraceA"); } -void __wine_stub_advapi32_dll_224(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "FlushTraceW"); } -void __wine_stub_advapi32_dll_225(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "FreeEncryptedFileKeyInfo"); } -void __wine_stub_advapi32_dll_229(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "GetAccessPermissionsForObjectA"); } -void __wine_stub_advapi32_dll_230(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "GetAccessPermissionsForObjectW"); } -void __wine_stub_advapi32_dll_244(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "GetInformationCodeAuthzLevelW"); } -void __wine_stub_advapi32_dll_245(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "GetInformationCodeAuthzPolicyW"); } -void __wine_stub_advapi32_dll_250(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "GetLocalManagedApplicationData"); } -void __wine_stub_advapi32_dll_251(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "GetLocalManagedApplications"); } -void __wine_stub_advapi32_dll_252(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "GetManagedApplicationCategories"); } -void __wine_stub_advapi32_dll_253(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "GetManagedApplications"); } -void __wine_stub_advapi32_dll_254(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "GetMangledSiteSid"); } -void __wine_stub_advapi32_dll_260(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "GetNamedSecurityInfoExA"); } -void __wine_stub_advapi32_dll_261(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "GetNamedSecurityInfoExW"); } -void __wine_stub_advapi32_dll_265(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "GetOverlappedAccessResults"); } -void __wine_stub_advapi32_dll_299(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "I_ScGetCurrentGroupStateW"); } -void __wine_stub_advapi32_dll_300(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "I_ScIsSecurityProcess"); } -void __wine_stub_advapi32_dll_301(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "I_ScPnPGetServiceName"); } -void __wine_stub_advapi32_dll_302(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "I_ScSendTSMessage"); } -void __wine_stub_advapi32_dll_303(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "I_ScSetServiceBit"); } -void __wine_stub_advapi32_dll_306(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "IdentifyCodeAuthzLevelW"); } -void __wine_stub_advapi32_dll_318(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "InstallApplication"); } -void __wine_stub_advapi32_dll_319(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "IsProcessRestricted"); } -void __wine_stub_advapi32_dll_322(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "IsTokenUntrusted"); } -void __wine_stub_advapi32_dll_329(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LogonUserExA"); } -void __wine_stub_advapi32_dll_330(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LogonUserExW"); } -void __wine_stub_advapi32_dll_342(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LookupSecurityDescriptorPartsA"); } -void __wine_stub_advapi32_dll_343(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LookupSecurityDescriptorPartsW"); } -void __wine_stub_advapi32_dll_345(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaAddPrivilegesToAccount"); } -void __wine_stub_advapi32_dll_346(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaClearAuditLog"); } -void __wine_stub_advapi32_dll_348(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaCreateAccount"); } -void __wine_stub_advapi32_dll_349(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaCreateSecret"); } -void __wine_stub_advapi32_dll_350(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaCreateTrustedDomain"); } -void __wine_stub_advapi32_dll_355(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaEnumerateAccounts"); } -void __wine_stub_advapi32_dll_357(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaEnumeratePrivileges"); } -void __wine_stub_advapi32_dll_358(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaEnumeratePrivilegesOfAccount"); } -void __wine_stub_advapi32_dll_362(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaGetQuotasForAccount"); } -void __wine_stub_advapi32_dll_363(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaGetRemoteUserName"); } -void __wine_stub_advapi32_dll_364(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaGetSystemAccessAccount"); } -void __wine_stub_advapi32_dll_366(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaICLookupNames"); } -void __wine_stub_advapi32_dll_367(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaICLookupNamesWithCreds"); } -void __wine_stub_advapi32_dll_368(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaICLookupSids"); } -void __wine_stub_advapi32_dll_369(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaICLookupSidsWithCreds"); } -void __wine_stub_advapi32_dll_372(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaLookupPrivilegeDisplayName"); } -void __wine_stub_advapi32_dll_377(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaOpenAccount"); } -void __wine_stub_advapi32_dll_379(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaOpenPolicySce"); } -void __wine_stub_advapi32_dll_380(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaOpenSecret"); } -void __wine_stub_advapi32_dll_381(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaOpenTrustedDomain"); } -void __wine_stub_advapi32_dll_383(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaQueryDomainInformationPolicy"); } -void __wine_stub_advapi32_dll_384(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaQueryForestTrustInformation"); } -void __wine_stub_advapi32_dll_387(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaQuerySecret"); } -void __wine_stub_advapi32_dll_388(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaQuerySecurityObject"); } -void __wine_stub_advapi32_dll_393(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaRemovePrivilegesFromAccount"); } -void __wine_stub_advapi32_dll_396(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaSetForestTrustInformation"); } -void __wine_stub_advapi32_dll_397(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaSetInformationTrustedDomain"); } -void __wine_stub_advapi32_dll_398(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaSetQuotasForAccount"); } -void __wine_stub_advapi32_dll_400(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaSetSecurityObject"); } -void __wine_stub_advapi32_dll_401(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "LsaSetSystemAccessAccount"); } -void __wine_stub_advapi32_dll_412(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "MSChapSrvChangePassword"); } -void __wine_stub_advapi32_dll_413(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "MSChapSrvChangePassword2"); } -void __wine_stub_advapi32_dll_430(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "OpenEncryptedFileRawA"); } -void __wine_stub_advapi32_dll_431(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "OpenEncryptedFileRawW"); } -void __wine_stub_advapi32_dll_440(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "OpenTraceA"); } -void __wine_stub_advapi32_dll_441(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "OpenTraceW"); } -void __wine_stub_advapi32_dll_445(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ProcessIdleTasks"); } -void __wine_stub_advapi32_dll_446(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ProcessTrace"); } -void __wine_stub_advapi32_dll_447(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ProvAccessRightsToNTAccessMask"); } -void __wine_stub_advapi32_dll_461(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "QueryTraceA"); } -void __wine_stub_advapi32_dll_462(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "QueryTraceW"); } -void __wine_stub_advapi32_dll_465(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "ReadEncryptedFileRaw"); } -void __wine_stub_advapi32_dll_522(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "RegRemapPreDefKey"); } -void __wine_stub_advapi32_dll_542(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "RegisterIdleTask"); } -void __wine_stub_advapi32_dll_549(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "RemoveTraceCallback"); } -void __wine_stub_advapi32_dll_554(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SaferCloseLevel"); } -void __wine_stub_advapi32_dll_555(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SaferComputeTokenFromLevel"); } -void __wine_stub_advapi32_dll_557(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SaferGetLevelInformation"); } -void __wine_stub_advapi32_dll_559(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SaferIdentifyLevel"); } -void __wine_stub_advapi32_dll_560(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SaferRecordEventLogEntry"); } -void __wine_stub_advapi32_dll_561(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SaferSetLevelInformation"); } -void __wine_stub_advapi32_dll_562(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SaferSetPolicyInformation"); } -void __wine_stub_advapi32_dll_563(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SaferiChangeRegistryScope"); } -void __wine_stub_advapi32_dll_564(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SaferiCompareTokenLevels"); } -void __wine_stub_advapi32_dll_565(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SaferiIsExecutableFileType"); } -void __wine_stub_advapi32_dll_566(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SaferiPopulateDefaultsInRegistry"); } -void __wine_stub_advapi32_dll_567(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SaferiRecordEventLogEntry"); } -void __wine_stub_advapi32_dll_568(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SaferiReplaceProcessThreadTokens"); } -void __wine_stub_advapi32_dll_569(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SaferiSearchMatchingHashRules"); } -void __wine_stub_advapi32_dll_571(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SetEntriesInAccessListA"); } -void __wine_stub_advapi32_dll_572(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SetEntriesInAccessListW"); } -void __wine_stub_advapi32_dll_575(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SetEntriesInAuditListA"); } -void __wine_stub_advapi32_dll_576(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SetEntriesInAuditListW"); } -void __wine_stub_advapi32_dll_579(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SetInformationCodeAuthzLevelW"); } -void __wine_stub_advapi32_dll_580(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SetInformationCodeAuthzPolicyW"); } -void __wine_stub_advapi32_dll_583(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SetNamedSecurityInfoExA"); } -void __wine_stub_advapi32_dll_584(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SetNamedSecurityInfoExW"); } -void __wine_stub_advapi32_dll_587(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SetPrivateObjectSecurityEx"); } -void __wine_stub_advapi32_dll_596(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SetSecurityInfoExA"); } -void __wine_stub_advapi32_dll_597(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SetSecurityInfoExW"); } -void __wine_stub_advapi32_dll_603(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SetTraceCallback"); } -void __wine_stub_advapi32_dll_604(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "SetUserFileEncryptionKey"); } -void __wine_stub_advapi32_dll_611(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "StopTraceA"); } -void __wine_stub_advapi32_dll_612(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "StopTraceW"); } -void __wine_stub_advapi32_dll_653(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "TraceEventInstance"); } -void __wine_stub_advapi32_dll_655(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "TraceMessageVa"); } -void __wine_stub_advapi32_dll_658(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "TrusteeAccessToObjectA"); } -void __wine_stub_advapi32_dll_659(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "TrusteeAccessToObjectW"); } -void __wine_stub_advapi32_dll_660(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "UninstallApplication"); } -void __wine_stub_advapi32_dll_662(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "UnregisterIdleTask"); } -void __wine_stub_advapi32_dll_664(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "UpdateTraceA"); } -void __wine_stub_advapi32_dll_665(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "UpdateTraceW"); } -void __wine_stub_advapi32_dll_666(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WdmWmiServiceMain"); } -void __wine_stub_advapi32_dll_667(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiCloseBlock"); } -void __wine_stub_advapi32_dll_668(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiCloseTraceWithCursor"); } -void __wine_stub_advapi32_dll_669(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiConvertTimestamp"); } -void __wine_stub_advapi32_dll_670(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiDevInstToInstanceNameA"); } -void __wine_stub_advapi32_dll_671(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiDevInstToInstanceNameW"); } -void __wine_stub_advapi32_dll_672(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiEnumerateGuids"); } -void __wine_stub_advapi32_dll_673(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiExecuteMethodA"); } -void __wine_stub_advapi32_dll_674(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiExecuteMethodW"); } -void __wine_stub_advapi32_dll_675(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiFileHandleToInstanceNameA"); } -void __wine_stub_advapi32_dll_676(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiFileHandleToInstanceNameW"); } -void __wine_stub_advapi32_dll_677(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiFreeBuffer"); } -void __wine_stub_advapi32_dll_678(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiGetFirstTraceOffset"); } -void __wine_stub_advapi32_dll_679(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiGetNextEvent"); } -void __wine_stub_advapi32_dll_680(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiGetTraceHeader"); } -void __wine_stub_advapi32_dll_681(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiMofEnumerateResourcesA"); } -void __wine_stub_advapi32_dll_682(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiMofEnumerateResourcesW"); } -void __wine_stub_advapi32_dll_683(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiNotificationRegistrationA"); } -void __wine_stub_advapi32_dll_684(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiNotificationRegistrationW"); } -void __wine_stub_advapi32_dll_685(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiOpenBlock"); } -void __wine_stub_advapi32_dll_686(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiOpenTraceWithCursor"); } -void __wine_stub_advapi32_dll_687(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiParseTraceEvent"); } -void __wine_stub_advapi32_dll_688(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiQueryAllDataA"); } -void __wine_stub_advapi32_dll_689(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiQueryAllDataMultipleA"); } -void __wine_stub_advapi32_dll_690(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiQueryAllDataMultipleW"); } -void __wine_stub_advapi32_dll_691(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiQueryAllDataW"); } -void __wine_stub_advapi32_dll_692(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiQueryGuidInformation"); } -void __wine_stub_advapi32_dll_693(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiQuerySingleInstanceA"); } -void __wine_stub_advapi32_dll_694(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiQuerySingleInstanceMultipleA"); } -void __wine_stub_advapi32_dll_695(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiQuerySingleInstanceMultipleW"); } -void __wine_stub_advapi32_dll_696(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiQuerySingleInstanceW"); } -void __wine_stub_advapi32_dll_697(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiReceiveNotificationsA"); } -void __wine_stub_advapi32_dll_698(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiReceiveNotificationsW"); } -void __wine_stub_advapi32_dll_699(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiSetSingleInstanceA"); } -void __wine_stub_advapi32_dll_700(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiSetSingleInstanceW"); } -void __wine_stub_advapi32_dll_701(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiSetSingleItemA"); } -void __wine_stub_advapi32_dll_702(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WmiSetSingleItemW"); } -void __wine_stub_advapi32_dll_703(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "Wow64Win32ApiEntry"); } -void __wine_stub_advapi32_dll_704(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "WriteEncryptedFileRaw"); } diff --git a/dll/win32/authz/CMakeLists.txt b/dll/win32/authz/CMakeLists.txt index f20118a0c99..9ed0f104c30 100644 --- a/dll/win32/authz/CMakeLists.txt +++ b/dll/win32/authz/CMakeLists.txt @@ -8,6 +8,7 @@ list(APPEND SOURCE clictx.c resman.c authz.rc + ${CMAKE_CURRENT_BINARY_DIR}/authz_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/authz.def) add_library(authz SHARED diff --git a/dll/win32/bcrypt/CMakeLists.txt b/dll/win32/bcrypt/CMakeLists.txt index c6e8501f387..3079a7316a6 100644 --- a/dll/win32/bcrypt/CMakeLists.txt +++ b/dll/win32/bcrypt/CMakeLists.txt @@ -8,6 +8,7 @@ spec2def(bcrypt.dll bcrypt.spec) list(APPEND SOURCE bcrypt_main.c version.rc + ${CMAKE_CURRENT_BINARY_DIR}/bcrypt_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/bcrypt.def) add_library(bcrypt SHARED ${SOURCE}) diff --git a/dll/win32/cfgmgr32/CMakeLists.txt b/dll/win32/cfgmgr32/CMakeLists.txt index dfd56661ad3..3eb7ffa63e3 100644 --- a/dll/win32/cfgmgr32/CMakeLists.txt +++ b/dll/win32/cfgmgr32/CMakeLists.txt @@ -3,6 +3,7 @@ spec2def(cfgmgr32.dll cfgmgr32.spec) list(APPEND SOURCE cfgmgr32.rc + ${CMAKE_CURRENT_BINARY_DIR}/cfgmgr32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/cfgmgr32.def) add_library(cfgmgr32 SHARED ${SOURCE}) diff --git a/dll/win32/clusapi/CMakeLists.txt b/dll/win32/clusapi/CMakeLists.txt index 40597b7faaf..44bf9c54503 100644 --- a/dll/win32/clusapi/CMakeLists.txt +++ b/dll/win32/clusapi/CMakeLists.txt @@ -8,6 +8,7 @@ spec2def(clusapi.dll clusapi.spec) list(APPEND SOURCE clusapi.c + ${CMAKE_CURRENT_BINARY_DIR}/clusapi_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/clusapi.def) add_library(clusapi SHARED ${SOURCE}) diff --git a/dll/win32/comdlg32/CMakeLists.txt b/dll/win32/comdlg32/CMakeLists.txt index d2e82582e04..8d31d2d7748 100644 --- a/dll/win32/comdlg32/CMakeLists.txt +++ b/dll/win32/comdlg32/CMakeLists.txt @@ -20,6 +20,7 @@ list(APPEND SOURCE fontdlg.c printdlg.c rsrc.rc + ${CMAKE_CURRENT_BINARY_DIR}/comdlg32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/comdlg32.def) add_library(comdlg32 SHARED ${SOURCE}) diff --git a/dll/win32/credui/CMakeLists.txt b/dll/win32/credui/CMakeLists.txt index b5c36565309..92dfdb7134d 100644 --- a/dll/win32/credui/CMakeLists.txt +++ b/dll/win32/credui/CMakeLists.txt @@ -10,6 +10,7 @@ spec2def(credui.dll credui.spec) list(APPEND SOURCE credui_main.c credui.rc + ${CMAKE_CURRENT_BINARY_DIR}/credui_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/credui.def) add_library(credui SHARED ${SOURCE}) diff --git a/dll/win32/crypt32/CMakeLists.txt b/dll/win32/crypt32/CMakeLists.txt index 4d535e90e06..18c8f458417 100644 --- a/dll/win32/crypt32/CMakeLists.txt +++ b/dll/win32/crypt32/CMakeLists.txt @@ -41,6 +41,7 @@ list(APPEND SOURCE str.c crypt32.rc version.rc + ${CMAKE_CURRENT_BINARY_DIR}/crypt32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/crypt32.def) add_library(crypt32 SHARED ${SOURCE}) diff --git a/dll/win32/cryptdlg/CMakeLists.txt b/dll/win32/cryptdlg/CMakeLists.txt index 43162cc4abc..fe8f32b9ee5 100644 --- a/dll/win32/cryptdlg/CMakeLists.txt +++ b/dll/win32/cryptdlg/CMakeLists.txt @@ -9,6 +9,7 @@ spec2def(cryptdlg.dll cryptdlg.spec) list(APPEND SOURCE main.c cryptdlg.rc + ${CMAKE_CURRENT_BINARY_DIR}/cryptdlg_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/cryptdlg.def) add_library(cryptdlg SHARED ${SOURCE}) diff --git a/dll/win32/cryptnet/CMakeLists.txt b/dll/win32/cryptnet/CMakeLists.txt index a0e44232f23..79ba8dd3a8f 100644 --- a/dll/win32/cryptnet/CMakeLists.txt +++ b/dll/win32/cryptnet/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(cryptnet.dll cryptnet.spec) list(APPEND SOURCE cryptnet_main.c + ${CMAKE_CURRENT_BINARY_DIR}/cryptnet_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/cryptnet.def) add_library(cryptnet SHARED ${SOURCE}) diff --git a/dll/win32/cryptui/CMakeLists.txt b/dll/win32/cryptui/CMakeLists.txt index fff4003bfa1..07cc7f8d19c 100644 --- a/dll/win32/cryptui/CMakeLists.txt +++ b/dll/win32/cryptui/CMakeLists.txt @@ -12,6 +12,7 @@ spec2def(cryptui.dll cryptui.spec) list(APPEND SOURCE main.c cryptui.rc + ${CMAKE_CURRENT_BINARY_DIR}/cryptui_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/cryptui.def) add_library(cryptui SHARED ${SOURCE}) diff --git a/dll/win32/dbghelp/CMakeLists.txt b/dll/win32/dbghelp/CMakeLists.txt index ea5a6d48171..efa5c00726d 100644 --- a/dll/win32/dbghelp/CMakeLists.txt +++ b/dll/win32/dbghelp/CMakeLists.txt @@ -42,6 +42,7 @@ list(APPEND SOURCE symbol.c type.c version.rc + ${CMAKE_CURRENT_BINARY_DIR}/dbghelp_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/dbghelp.def) add_library(dbghelp SHARED ${SOURCE}) diff --git a/dll/win32/dciman32/CMakeLists.txt b/dll/win32/dciman32/CMakeLists.txt index 9b2a7a8e927..9af2a57a5f3 100644 --- a/dll/win32/dciman32/CMakeLists.txt +++ b/dll/win32/dciman32/CMakeLists.txt @@ -9,6 +9,7 @@ spec2def(dciman32.dll dciman32.spec) list(APPEND SOURCE dciman_main.c + ${CMAKE_CURRENT_BINARY_DIR}/dciman32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/dciman32.def) add_library(dciman32 SHARED ${SOURCE}) diff --git a/dll/win32/devmgr/CMakeLists.txt b/dll/win32/devmgr/CMakeLists.txt index 2d2c1228b4b..29a8bad589f 100644 --- a/dll/win32/devmgr/CMakeLists.txt +++ b/dll/win32/devmgr/CMakeLists.txt @@ -10,6 +10,7 @@ list(APPEND SOURCE hwpage.c misc.c stubs.c + ${CMAKE_CURRENT_BINARY_DIR}/devmgr_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/devmgr.def) add_library(devmgr SHARED ${CMAKE_CURRENT_BINARY_DIR}/devmgr_precomp.h.gch ${SOURCE}) diff --git a/dll/win32/dhcpcsvc/CMakeLists.txt b/dll/win32/dhcpcsvc/CMakeLists.txt index c0040ddc944..a76c067bcd9 100644 --- a/dll/win32/dhcpcsvc/CMakeLists.txt +++ b/dll/win32/dhcpcsvc/CMakeLists.txt @@ -20,6 +20,7 @@ list(APPEND SOURCE dhcp/util.c dhcpcsvc.c dhcpcsvc.rc + ${CMAKE_CURRENT_BINARY_DIR}/dhcpcsvc_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/dhcpcsvc.def) add_library(dhcpcsvc SHARED diff --git a/dll/win32/dnsapi/CMakeLists.txt b/dll/win32/dnsapi/CMakeLists.txt index 903db3239f0..80b7920a1ed 100644 --- a/dll/win32/dnsapi/CMakeLists.txt +++ b/dll/win32/dnsapi/CMakeLists.txt @@ -10,7 +10,7 @@ add_definitions( spec2def(dnsapi.dll dnsapi.spec) -list(APPEND SOURCE +list(APPEND SOURCE dnsapi/adns.c dnsapi/context.c dnsapi/memory.c @@ -28,6 +28,9 @@ add_library(dnsapi SHARED set_entrypoint(dnsapi 0) target_link_libraries(dnsapi adns) +if(MSVC) + target_link_libraries(dnsapi msvcsup) +endif() add_importlibs(dnsapi user32 ws2_32 iphlpapi msvcrt kernel32 ntdll) add_pch(dnsapi ${CMAKE_CURRENT_SOURCE_DIR}/dnsapi/precomp.h ${SOURCE}) diff --git a/dll/win32/dnsapi/dnsapi.spec b/dll/win32/dnsapi/dnsapi.spec index 4c739916a5b..00727b1103a 100644 --- a/dll/win32/dnsapi/dnsapi.spec +++ b/dll/win32/dnsapi/dnsapi.spec @@ -1,132 +1,132 @@ @ stdcall DnsAcquireContextHandle_A(long ptr ptr) @ stdcall DnsAcquireContextHandle_UTF8(long ptr ptr) @ stdcall DnsAcquireContextHandle_W(long ptr ptr) -@ stub DnsAddRecordSet_A -@ stub DnsAddRecordSet_UTF8 -@ stub DnsAddRecordSet_W -@ stub DnsAllocateRecord -@ stub DnsApiHeapReset +@ stdcall DnsAddRecordSet_A() +@ stdcall DnsAddRecordSet_UTF8() +@ stdcall DnsAddRecordSet_W() +@ stdcall DnsAllocateRecord() +@ stdcall DnsApiHeapReset() @ stdcall DnsApiAlloc(long) @ stdcall DnsApiFree(ptr) -@ stub DnsAsyncRegisterHostAddrs_A -@ stub DnsAsyncRegisterHostAddrs_UTF8 -@ stub DnsAsyncRegisterHostAddrs_W -@ stub DnsAsyncRegisterInit -@ stub DnsAsyncRegisterTerm -@ stub DnsCheckNameCollision_A -@ stub DnsCheckNameCollision_UTF8 -@ stub DnsCheckNameCollision_W -@ stub DnsCopyStringEx -@ stub DnsCreateReverseNameStringForIpAddress -@ stub DnsCreateStandardDnsNameCopy -@ stub DnsCreateStringCopy -@ stub DnsDhcpSrvRegisterHostName_W -@ stub DnsDhcpSrvRegisterInit -@ stub DnsDhcpSrvRegisterTerm -@ stub DnsDisableAdapterDomainNameRegistration -@ stub DnsDisableBNodeResolverThread -@ stub DnsDisableDynamicRegistration -@ stub DnsDowncaseDnsNameLabel -@ stub DnsEnableAdapterDomainNameRegistration -@ stub DnsEnableBNodeResolverThread -@ stub DnsEnableDynamicRegistration +@ stdcall DnsAsyncRegisterHostAddrs_A() +@ stdcall DnsAsyncRegisterHostAddrs_UTF8() +@ stdcall DnsAsyncRegisterHostAddrs_W() +@ stdcall DnsAsyncRegisterInit() +@ stdcall DnsAsyncRegisterTerm() +@ stdcall DnsCheckNameCollision_A() +@ stdcall DnsCheckNameCollision_UTF8() +@ stdcall DnsCheckNameCollision_W() +@ stdcall DnsCopyStringEx() +@ stdcall DnsCreateReverseNameStringForIpAddress() +@ stdcall DnsCreateStandardDnsNameCopy() +@ stdcall DnsCreateStringCopy() +@ stdcall DnsDhcpSrvRegisterHostName_W() +@ stdcall DnsDhcpSrvRegisterInit() +@ stdcall DnsDhcpSrvRegisterTerm() +@ stdcall DnsDisableAdapterDomainNameRegistration() +@ stdcall DnsDisableBNodeResolverThread() +@ stdcall DnsDisableDynamicRegistration() +@ stdcall DnsDowncaseDnsNameLabel() +@ stdcall DnsEnableAdapterDomainNameRegistration() +@ stdcall DnsEnableBNodeResolverThread() +@ stdcall DnsEnableDynamicRegistration() @ stdcall DnsExtractRecordsFromMessage_UTF8(ptr long ptr) @ stdcall DnsExtractRecordsFromMessage_W(ptr long ptr) -@ stub DnsFindAuthoritativeZone +@ stdcall DnsFindAuthoritativeZone() @ stdcall DnsFlushResolverCache() -@ stub DnsFlushResolverCacheEntry_A -@ stub DnsFlushResolverCacheEntry_UTF8 -@ stub DnsFlushResolverCacheEntry_W -@ stub DnsFreeAdapterInformation -@ stub DnsFreeNetworkInformation -@ stub DnsFreeSearchInformation -@ stub DnsGetBufferLengthForStringCopy -@ stub DnsGetCacheDataTable -@ stub DnsGetDnsServerList -@ stub DnsGetDomainName -@ stub DnsGetHostName_A -@ stub DnsGetHostName_UTF8 -@ stub DnsGetHostName_W -@ stub DnsGetIpAddressInfoList -@ stub DnsGetIpAddressList -@ stub DnsGetLastServerUpdateIP -@ stub DnsGetMaxNumberOfAddressesToRegister -@ stub DnsGetNetworkInformation -@ stub DnsGetPrimaryDomainName_A -@ stub DnsGetPrimaryDomainName_UTF8 -@ stub DnsGetPrimaryDomainName_W -@ stub DnsGetSearchInformation -@ stub DnsIpv6AddressToString -@ stub DnsIpv6StringToAddress -@ stub DnsIsAdapterDomainNameRegistrationEnabled -@ stub DnsIsAMailboxType -@ stub DnsIsDynamicRegistrationEnabled -@ stub DnsIsStatusRcode -@ stub DnsIsStringCountValidForTextType -@ stub DnsMapRcodeToStatus -@ stub DnsModifyRecordSet_A -@ stub DnsModifyRecordSet_UTF8 -@ stub DnsModifyRecordSet_W +@ stdcall DnsFlushResolverCacheEntry_A() +@ stdcall DnsFlushResolverCacheEntry_UTF8() +@ stdcall DnsFlushResolverCacheEntry_W() +@ stdcall DnsFreeAdapterInformation() +@ stdcall DnsFreeNetworkInformation() +@ stdcall DnsFreeSearchInformation() +@ stdcall DnsGetBufferLengthForStringCopy() +@ stdcall DnsGetCacheDataTable() +@ stdcall DnsGetDnsServerList() +@ stdcall DnsGetDomainName() +@ stdcall DnsGetHostName_A() +@ stdcall DnsGetHostName_UTF8() +@ stdcall DnsGetHostName_W() +@ stdcall DnsGetIpAddressInfoList() +@ stdcall DnsGetIpAddressList() +@ stdcall DnsGetLastServerUpdateIP() +@ stdcall DnsGetMaxNumberOfAddressesToRegister() +@ stdcall DnsGetNetworkInformation() +@ stdcall DnsGetPrimaryDomainName_A() +@ stdcall DnsGetPrimaryDomainName_UTF8() +@ stdcall DnsGetPrimaryDomainName_W() +@ stdcall DnsGetSearchInformation() +@ stdcall DnsIpv6AddressToString() +@ stdcall DnsIpv6StringToAddress() +@ stdcall DnsIsAdapterDomainNameRegistrationEnabled() +@ stdcall DnsIsAMailboxType() +@ stdcall DnsIsDynamicRegistrationEnabled() +@ stdcall DnsIsStatusRcode() +@ stdcall DnsIsStringCountValidForTextType() +@ stdcall DnsMapRcodeToStatus() +@ stdcall DnsModifyRecordSet_A() +@ stdcall DnsModifyRecordSet_UTF8() +@ stdcall DnsModifyRecordSet_W() @ stdcall DnsModifyRecordsInSet_A(ptr ptr long ptr ptr ptr) @ stdcall DnsModifyRecordsInSet_UTF8(ptr ptr long ptr ptr ptr) @ stdcall DnsModifyRecordsInSet_W(ptr ptr long ptr ptr ptr) @ stdcall DnsNameCompare_A(str str) -@ stub DnsNameCompareEx_A -@ stub DnsNameCompareEx_UTF8 -@ stub DnsNameCompareEx_W +@ stdcall DnsNameCompareEx_A() +@ stdcall DnsNameCompareEx_UTF8() +@ stdcall DnsNameCompareEx_W() @ stdcall DnsNameCompare_W(wstr wstr) -@ stub DnsNameCopy -@ stub DnsNameCopyAllocate -@ stub DnsNotifyResolver +@ stdcall DnsNameCopy() +@ stdcall DnsNameCopyAllocate() +@ stdcall DnsNotifyResolver() @ stdcall DnsQuery_A(str long long ptr ptr ptr) @ stdcall DnsQueryConfig(long long wstr ptr ptr ptr) -@ stub DnsQueryEx +@ stdcall DnsQueryEx() @ stdcall DnsQuery_UTF8(str long long ptr ptr ptr) @ stdcall DnsQuery_W(wstr long long ptr ptr ptr) -@ stub DnsRecordBuild_UTF8 -@ stub DnsRecordBuild_W +@ stdcall DnsRecordBuild_UTF8() +@ stdcall DnsRecordBuild_W() @ stdcall DnsRecordCompare(ptr ptr) @ stdcall DnsRecordCopyEx(ptr long long) @ stdcall DnsRecordListFree(ptr long) @ stdcall DnsRecordSetCompare(ptr ptr ptr ptr) @ stdcall DnsRecordSetCopyEx(ptr long long) @ stdcall DnsRecordSetDetach(ptr) -@ stub DnsRecordStringForType -@ stub DnsRecordStringForWritableType -@ stub DnsRecordTypeForName -@ stub DnsRelationalCompare_UTF8 -@ stub DnsRelationalCompare_W +@ stdcall DnsRecordStringForType() +@ stdcall DnsRecordStringForWritableType() +@ stdcall DnsRecordTypeForName() +@ stdcall DnsRelationalCompare_UTF8() +@ stdcall DnsRelationalCompare_W() @ stdcall DnsReleaseContextHandle(ptr) -@ stub DnsRemoveRegistrations +@ stdcall DnsRemoveRegistrations() @ stdcall DnsReplaceRecordSetA(ptr long ptr ptr ptr) -@ stub DnsReplaceRecordSet_A +@ stdcall DnsReplaceRecordSet_A() @ stdcall DnsReplaceRecordSetUTF8(ptr long ptr ptr ptr) -@ stub DnsReplaceRecordSet_UTF8 +@ stdcall DnsReplaceRecordSet_UTF8() @ stdcall DnsReplaceRecordSetW(ptr long ptr ptr ptr) -@ stub DnsReplaceRecordSet_W -@ stub DnsServiceNotificationDeregister_A -@ stub DnsServiceNotificationDeregister_UTF8 -@ stub DnsServiceNotificationDeregister_W -@ stub DnsServiceNotificationRegister_A -@ stub DnsServiceNotificationRegister_UTF8 -@ stub DnsServiceNotificationRegister_W -@ stub DnsSetMaxNumberOfAddressesToRegister -@ stub DnsStatusString -@ stub DnsStringCopyAllocateEx -@ stub DnsUnicodeToUtf8 -@ stub DnsUpdate -@ stub DnsUpdateTest_A -@ stub DnsUpdateTest_UTF8 -@ stub DnsUpdateTest_W -@ stub DnsUtf8ToUnicode +@ stdcall DnsReplaceRecordSet_W() +@ stdcall DnsServiceNotificationDeregister_A() +@ stdcall DnsServiceNotificationDeregister_UTF8() +@ stdcall DnsServiceNotificationDeregister_W() +@ stdcall DnsServiceNotificationRegister_A() +@ stdcall DnsServiceNotificationRegister_UTF8() +@ stdcall DnsServiceNotificationRegister_W() +@ stdcall DnsSetMaxNumberOfAddressesToRegister() +@ stdcall DnsStatusString() +@ stdcall DnsStringCopyAllocateEx() +@ stdcall DnsUnicodeToUtf8() +@ stdcall DnsUpdate() +@ stdcall DnsUpdateTest_A() +@ stdcall DnsUpdateTest_UTF8() +@ stdcall DnsUpdateTest_W() +@ stdcall DnsUtf8ToUnicode() @ stdcall DnsValidateName_A(str long) @ stdcall DnsValidateName_UTF8(str long) @ stdcall DnsValidateName_W(wstr long) -@ stub DnsValidateUtf8Byte -@ stub DnsWinsRecordFlagForString -@ stub DnsWinsRecordFlagString +@ stdcall DnsValidateUtf8Byte() +@ stdcall DnsWinsRecordFlagForString() +@ stdcall DnsWinsRecordFlagString() @ stdcall DnsWriteQuestionToBuffer_UTF8(ptr ptr str long long long) @ stdcall DnsWriteQuestionToBuffer_W(ptr ptr wstr long long long) -@ stub DnsWriteReverseNameStringForIpAddress -@ stub GetCurrentTimeInSeconds +@ stdcall DnsWriteReverseNameStringForIpAddress() +@ stdcall GetCurrentTimeInSeconds() @ stdcall DnsFree(ptr long) diff --git a/dll/win32/dnsapi/dnsapi/stubs.c b/dll/win32/dnsapi/dnsapi/stubs.c index fd30c0c6a88..36cd71731e4 100644 --- a/dll/win32/dnsapi/dnsapi/stubs.c +++ b/dll/win32/dnsapi/dnsapi/stubs.c @@ -822,3 +822,10 @@ GetCurrentTimeInSeconds() UNIMPLEMENTED; return ERROR_OUTOFMEMORY; } + +DNS_STATUS WINAPI +DnsNotifyResolver() +{ + UNIMPLEMENTED; + return ERROR_OUTOFMEMORY; +} diff --git a/dll/win32/dwmapi/CMakeLists.txt b/dll/win32/dwmapi/CMakeLists.txt index c68219b6862..5623a82a6f1 100644 --- a/dll/win32/dwmapi/CMakeLists.txt +++ b/dll/win32/dwmapi/CMakeLists.txt @@ -10,6 +10,7 @@ spec2def(dwmapi.dll dwmapi.spec) list(APPEND SOURCE dwmapi_main.c version.rc + ${CMAKE_CURRENT_BINARY_DIR}/dwmapi_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/dwmapi.def) add_library(dwmapi SHARED ${SOURCE}) diff --git a/dll/win32/faultrep/CMakeLists.txt b/dll/win32/faultrep/CMakeLists.txt index 9dd53055562..b1f8499a666 100644 --- a/dll/win32/faultrep/CMakeLists.txt +++ b/dll/win32/faultrep/CMakeLists.txt @@ -9,6 +9,7 @@ spec2def(faultrep.dll faultrep.spec) list(APPEND SOURCE faultrep.c + ${CMAKE_CURRENT_BINARY_DIR}/faultrep_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/faultrep.def) add_library(faultrep SHARED ${SOURCE}) diff --git a/dll/win32/fmifs/CMakeLists.txt b/dll/win32/fmifs/CMakeLists.txt index 76f65d4a4eb..8f22bc1b63a 100644 --- a/dll/win32/fmifs/CMakeLists.txt +++ b/dll/win32/fmifs/CMakeLists.txt @@ -11,6 +11,7 @@ list(APPEND SOURCE media.c query.c fmifs.rc + ${CMAKE_CURRENT_BINARY_DIR}/fmifs_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/fmifs.def) add_pch(fmifs ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) diff --git a/dll/win32/fusion/CMakeLists.txt b/dll/win32/fusion/CMakeLists.txt index 1740494e1b8..a6b1b273e78 100644 --- a/dll/win32/fusion/CMakeLists.txt +++ b/dll/win32/fusion/CMakeLists.txt @@ -14,6 +14,7 @@ list(APPEND SOURCE assembly.c fusion.c fusion_main.c + ${CMAKE_CURRENT_BINARY_DIR}/fusion_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/fusion.def) add_library(fusion SHARED ${SOURCE}) diff --git a/dll/win32/gdiplus/CMakeLists.txt b/dll/win32/gdiplus/CMakeLists.txt index 27462da5d88..5af2c766a39 100644 --- a/dll/win32/gdiplus/CMakeLists.txt +++ b/dll/win32/gdiplus/CMakeLists.txt @@ -24,6 +24,7 @@ list(APPEND SOURCE pen.c region.c stringformat.c + ${CMAKE_CURRENT_BINARY_DIR}/gdiplus_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/gdiplus.def) add_library(gdiplus SHARED ${SOURCE}) diff --git a/dll/win32/hlink/CMakeLists.txt b/dll/win32/hlink/CMakeLists.txt index 2a856ae0f34..e3d8d3f1b4d 100644 --- a/dll/win32/hlink/CMakeLists.txt +++ b/dll/win32/hlink/CMakeLists.txt @@ -9,6 +9,7 @@ list(APPEND SOURCE extserv.c hlink_main.c link.c + ${CMAKE_CURRENT_BINARY_DIR}/hlink_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/hlink.def) add_library(hlink SHARED ${SOURCE}) diff --git a/dll/win32/httpapi/CMakeLists.txt b/dll/win32/httpapi/CMakeLists.txt index d2e9002b2ae..c9c51a059ca 100644 --- a/dll/win32/httpapi/CMakeLists.txt +++ b/dll/win32/httpapi/CMakeLists.txt @@ -7,6 +7,7 @@ spec2def(httpapi.dll httpapi.spec) list(APPEND SOURCE httpapi_main.c + ${CMAKE_CURRENT_BINARY_DIR}/httpapi_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/httpapi.def) add_library(httpapi SHARED ${SOURCE}) diff --git a/dll/win32/icmp/CMakeLists.txt b/dll/win32/icmp/CMakeLists.txt index cfded7bc1bc..1ddcd636617 100644 --- a/dll/win32/icmp/CMakeLists.txt +++ b/dll/win32/icmp/CMakeLists.txt @@ -8,6 +8,7 @@ spec2def(icmp.dll icmp.spec) list(APPEND SOURCE icmp_main.c icmp.rc + ${CMAKE_CURRENT_BINARY_DIR}/icmp_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/icmp.def) add_library(icmp SHARED ${SOURCE}) diff --git a/dll/win32/imagehlp/CMakeLists.txt b/dll/win32/imagehlp/CMakeLists.txt index 8163a6e56aa..a303c3ae569 100644 --- a/dll/win32/imagehlp/CMakeLists.txt +++ b/dll/win32/imagehlp/CMakeLists.txt @@ -13,6 +13,7 @@ list(APPEND SOURCE integrity.c modify.c imagehlp.rc + ${CMAKE_CURRENT_BINARY_DIR}/imagehlp_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/imagehlp.def) add_library(imagehlp SHARED diff --git a/dll/win32/imm32/CMakeLists.txt b/dll/win32/imm32/CMakeLists.txt index 5b06e6b498c..1a6336f3186 100644 --- a/dll/win32/imm32/CMakeLists.txt +++ b/dll/win32/imm32/CMakeLists.txt @@ -13,6 +13,7 @@ spec2def(imm32.dll imm32.spec) list(APPEND SOURCE imm.c version.rc + ${CMAKE_CURRENT_BINARY_DIR}/imm32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/imm32.def) add_library(imm32 SHARED ${SOURCE}) diff --git a/dll/win32/inetcomm/CMakeLists.txt b/dll/win32/inetcomm/CMakeLists.txt index aefd53fc782..20b0af6c97d 100644 --- a/dll/win32/inetcomm/CMakeLists.txt +++ b/dll/win32/inetcomm/CMakeLists.txt @@ -17,6 +17,7 @@ list(APPEND SOURCE pop3transport.c regsvr.c smtptransport.c + ${CMAKE_CURRENT_BINARY_DIR}/inetcomm_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def) add_library(inetcomm SHARED ${SOURCE}) diff --git a/dll/win32/inetmib1/CMakeLists.txt b/dll/win32/inetmib1/CMakeLists.txt index f80428315f8..bd7a6732a6b 100644 --- a/dll/win32/inetmib1/CMakeLists.txt +++ b/dll/win32/inetmib1/CMakeLists.txt @@ -9,6 +9,7 @@ spec2def(inetmib1.dll inetmib1.spec) list(APPEND SOURCE main.c + ${CMAKE_CURRENT_BINARY_DIR}/inetmib1_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/inetmib1.def) add_library(inetmib1 SHARED ${SOURCE}) diff --git a/dll/win32/initpki/CMakeLists.txt b/dll/win32/initpki/CMakeLists.txt index 2cdd32db813..4b629eba47e 100644 --- a/dll/win32/initpki/CMakeLists.txt +++ b/dll/win32/initpki/CMakeLists.txt @@ -7,6 +7,7 @@ spec2def(initpki.dll initpki.spec) list(APPEND SOURCE main.c + ${CMAKE_CURRENT_BINARY_DIR}/initpki_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/initpki.def) add_library(initpki SHARED ${SOURCE}) diff --git a/dll/win32/inseng/CMakeLists.txt b/dll/win32/inseng/CMakeLists.txt index c02e840da1b..757f87284da 100644 --- a/dll/win32/inseng/CMakeLists.txt +++ b/dll/win32/inseng/CMakeLists.txt @@ -11,6 +11,7 @@ spec2def(inseng.dll inseng.spec) list(APPEND SOURCE inseng_main.c regsvr.c + ${CMAKE_CURRENT_BINARY_DIR}/inseng_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/inseng.def) add_library(inseng SHARED ${SOURCE}) diff --git a/dll/win32/iphlpapi/CMakeLists.txt b/dll/win32/iphlpapi/CMakeLists.txt index 40b793f12c2..e9293a5591b 100644 --- a/dll/win32/iphlpapi/CMakeLists.txt +++ b/dll/win32/iphlpapi/CMakeLists.txt @@ -20,6 +20,7 @@ list(APPEND SOURCE resinfo_reactos.c route_reactos.c iphlpapi.rc + ${CMAKE_CURRENT_BINARY_DIR}/iphlpapi_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/iphlpapi.def) add_library(iphlpapi SHARED ${SOURCE}) diff --git a/dll/win32/iphlpapi/iphlpapi.spec b/dll/win32/iphlpapi/iphlpapi.spec index f65673b601f..ace65bf541d 100644 --- a/dll/win32/iphlpapi/iphlpapi.spec +++ b/dll/win32/iphlpapi/iphlpapi.spec @@ -10,7 +10,7 @@ @ stub AllocateAndGetUdpExTable2FromStack @ stub AllocateAndGetUdpExTableFromStack @ stdcall AllocateAndGetUdpTableFromStack( ptr long long long ) -@ stub CancelIPChangeNotify +@ stdcall CancelIPChangeNotify(ptr) @ stub CancelSecurityHealthChangeNotify @ stdcall CreateIpForwardEntry( ptr ) @ stdcall CreateIpNetEntry( ptr ) @@ -19,16 +19,16 @@ @ stdcall DeleteIpForwardEntry( ptr ) @ stdcall DeleteIpNetEntry( ptr ) @ stdcall DeleteProxyArpEntry( long long long ) -@ stub DisableMediaSense +@ stdcall DisableMediaSense(ptr ptr) @ stdcall EnableRouter( ptr ptr ) @ stdcall FlushIpNetTable( long ) @ stub FlushIpNetTableFromStack @ stdcall GetAdapterIndex( wstr ptr ) -@ stub GetAdapterOrderMap +@ stdcall GetAdapterOrderMap() @ stdcall GetAdaptersAddresses( long long ptr ptr ptr ) @ stdcall GetAdaptersInfo( ptr ptr ) @ stdcall GetBestInterface( long ptr ) -@ stub GetBestInterfaceEx +@ stdcall GetBestInterfaceEx(ptr ptr) @ stub GetBestInterfaceFromStack @ stdcall GetBestRoute( long long long ) @ stub GetBestRouteFromStack @@ -36,7 +36,7 @@ @ stub GetExtendedUdpTable @ stdcall GetFriendlyIfIndex( long ) @ stdcall GetIcmpStatistics( ptr ) -@ stub GetIcmpStatisticsEx +@ stdcall GetIcmpStatisticsEx(ptr long) @ stub GetIcmpStatsFromStack @ stub GetIcmpStatsFromStackEx @ stdcall GetIfEntry( ptr ) @@ -49,13 +49,13 @@ @ stdcall GetInterfaceInfo( ptr ptr ) @ stdcall GetIpAddrTable( ptr ptr long ) @ stub GetIpAddrTableFromStack -@ stub GetIpErrorString +@ stdcall GetIpErrorString(long ptr ptr) @ stdcall GetIpForwardTable( ptr ptr long ) @ stub GetIpForwardTableFromStack @ stdcall GetIpNetTable( ptr ptr long ) @ stub GetIpNetTableFromStack @ stdcall GetIpStatistics( ptr ) -@ stub GetIpStatisticsEx +@ stdcall GetIpStatisticsEx(ptr long) @ stub GetIpStatsFromStack @ stub GetIpStatsFromStackEx @ stdcall GetNetworkParams( ptr ptr ) @@ -68,14 +68,14 @@ @ stdcall GetRTTAndHopCount( long ptr long ptr ) @ stub GetTcpExTable2FromStack @ stdcall GetTcpStatistics( ptr ) -@ stub GetTcpStatisticsEx +@ stdcall GetTcpStatisticsEx(ptr long) @ stub GetTcpStatsFromStack @ stub GetTcpStatsFromStackEx @ stdcall GetTcpTable( ptr ptr long ) @ stub GetTcpTableFromStack @ stub GetUdpExTable2FromStack @ stdcall GetUdpStatistics( ptr ) -@ stub GetUdpStatisticsEx +@ stdcall GetUdpStatisticsEx(ptr long) @ stub GetUdpStatsFromStack @ stub GetUdpStatsFromStackEx @ stdcall GetUdpTable( ptr ptr long ) @@ -112,14 +112,14 @@ @ stub NhGetGuidFromInterfaceName @ stdcall NhGetInterfaceNameFromDeviceGuid(long long long long long) @ stub NhGetInterfaceNameFromGuid -@ stub NhpAllocateAndGetInterfaceInfoFromStack +@ stdcall NhpAllocateAndGetInterfaceInfoFromStack(ptr ptr long ptr long) @ stub NhpGetInterfaceIndexFromStack @ stdcall NotifyAddrChange( ptr ptr ) @ stdcall NotifyRouteChange( ptr ptr ) @ stub NotifyRouteChangeEx @ stub NotifySecurityHealthChange -@ stub RestoreMediaSense -@ stub SendARP +@ stdcall RestoreMediaSense(ptr ptr) +@ stdcall SendARP(long long ptr ptr) @ stub SetAdapterIpAddress @ stub SetBlockRoutes @ stdcall SetIfEntry( ptr ) diff --git a/dll/win32/itircl/CMakeLists.txt b/dll/win32/itircl/CMakeLists.txt index 8f65fb81571..c620b47d26b 100644 --- a/dll/win32/itircl/CMakeLists.txt +++ b/dll/win32/itircl/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(itircl.dll itircl.spec) list(APPEND SOURCE itircl_main.c + ${CMAKE_CURRENT_BINARY_DIR}/itircl_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/itircl.def) add_library(itircl SHARED ${SOURCE}) diff --git a/dll/win32/itss/CMakeLists.txt b/dll/win32/itss/CMakeLists.txt index b3b53b747aa..a6179091007 100644 --- a/dll/win32/itss/CMakeLists.txt +++ b/dll/win32/itss/CMakeLists.txt @@ -17,6 +17,7 @@ list(APPEND SOURCE protocol.c storage.c rsrc.rc + ${CMAKE_CURRENT_BINARY_DIR}/itss_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/itss.def) add_library(itss SHARED ${SOURCE}) diff --git a/dll/win32/localspl/CMakeLists.txt b/dll/win32/localspl/CMakeLists.txt index 96b79f62cbc..fcc72bbbaf2 100644 --- a/dll/win32/localspl/CMakeLists.txt +++ b/dll/win32/localspl/CMakeLists.txt @@ -15,6 +15,7 @@ list(APPEND SOURCE localspl_main.c provider.c localspl.rc + ${CMAKE_CURRENT_BINARY_DIR}/localspl_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/localspl.def) add_library(localspl SHARED ${SOURCE}) diff --git a/dll/win32/lsasrv/CMakeLists.txt b/dll/win32/lsasrv/CMakeLists.txt index 2f1718cb385..5b3062d6054 100644 --- a/dll/win32/lsasrv/CMakeLists.txt +++ b/dll/win32/lsasrv/CMakeLists.txt @@ -16,6 +16,7 @@ list(APPEND SOURCE privileges.c sids.c lsasrv.rc + ${CMAKE_CURRENT_BINARY_DIR}/lsasrv_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/lsasrv.def) add_library(lsasrv SHARED ${SOURCE}) diff --git a/dll/win32/mapi32/CMakeLists.txt b/dll/win32/mapi32/CMakeLists.txt index f76d402a467..08edaacf5d1 100644 --- a/dll/win32/mapi32/CMakeLists.txt +++ b/dll/win32/mapi32/CMakeLists.txt @@ -14,6 +14,7 @@ list(APPEND SOURCE util.c stubs.c version.rc + ${CMAKE_CURRENT_BINARY_DIR}/mapi32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/mapi32.def) add_library(mapi32 SHARED ${SOURCE}) diff --git a/dll/win32/mlang/CMakeLists.txt b/dll/win32/mlang/CMakeLists.txt index 6351d46b362..410ee011c5a 100644 --- a/dll/win32/mlang/CMakeLists.txt +++ b/dll/win32/mlang/CMakeLists.txt @@ -11,6 +11,7 @@ spec2def(mlang.dll mlang.spec) list(APPEND SOURCE mlang.c regsvr.c + ${CMAKE_CURRENT_BINARY_DIR}/mlang_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/mlang.def) add_library(mlang SHARED ${SOURCE}) diff --git a/dll/win32/modemui/CMakeLists.txt b/dll/win32/modemui/CMakeLists.txt index cd05533fe51..a78781ba60e 100644 --- a/dll/win32/modemui/CMakeLists.txt +++ b/dll/win32/modemui/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(modemui.dll modemui.spec) list(APPEND SOURCE modemui.c modemui.rc + ${CMAKE_CURRENT_BINARY_DIR}/modemui_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/modemui.def) add_library(modemui SHARED ${SOURCE}) diff --git a/dll/win32/mpr/CMakeLists.txt b/dll/win32/mpr/CMakeLists.txt index 83060ea925f..315efbebd45 100644 --- a/dll/win32/mpr/CMakeLists.txt +++ b/dll/win32/mpr/CMakeLists.txt @@ -17,6 +17,7 @@ list(APPEND SOURCE pwcache.c wnet.c mpr.rc + ${CMAKE_CURRENT_BINARY_DIR}/mpr_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/mpr.def) add_library(mpr SHARED ${SOURCE}) diff --git a/dll/win32/mprapi/CMakeLists.txt b/dll/win32/mprapi/CMakeLists.txt index 0cbd515eeb6..bcdee43856b 100644 --- a/dll/win32/mprapi/CMakeLists.txt +++ b/dll/win32/mprapi/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(mprapi.dll mprapi.spec) list(APPEND SOURCE mprapi.c + ${CMAKE_CURRENT_BINARY_DIR}/mprapi_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/mprapi.def) add_library(mprapi SHARED ${SOURCE}) diff --git a/dll/win32/msacm32/CMakeLists.txt b/dll/win32/msacm32/CMakeLists.txt index 58e88e718b4..e28512bd576 100644 --- a/dll/win32/msacm32/CMakeLists.txt +++ b/dll/win32/msacm32/CMakeLists.txt @@ -16,6 +16,7 @@ list(APPEND SOURCE msacm32_main.c pcmconverter.c stream.c + ${CMAKE_CURRENT_BINARY_DIR}/msacm32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/msacm32.def) add_library(msacm32 SHARED ${SOURCE}) diff --git a/dll/win32/mscms/CMakeLists.txt b/dll/win32/mscms/CMakeLists.txt index 8674eff28d1..bce5a4d65db 100644 --- a/dll/win32/mscms/CMakeLists.txt +++ b/dll/win32/mscms/CMakeLists.txt @@ -14,6 +14,7 @@ list(APPEND SOURCE stub.c transform.c version.rc + ${CMAKE_CURRENT_BINARY_DIR}/mscms_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/mscms.def) add_library(mscms SHARED ${SOURCE}) diff --git a/dll/win32/mscoree/CMakeLists.txt b/dll/win32/mscoree/CMakeLists.txt index 02494fe388a..45cec4b9411 100644 --- a/dll/win32/mscoree/CMakeLists.txt +++ b/dll/win32/mscoree/CMakeLists.txt @@ -7,6 +7,7 @@ spec2def(mscoree.dll mscoree.spec) list(APPEND SOURCE corruntimehost.c mscoree_main.c + ${CMAKE_CURRENT_BINARY_DIR}/mscoree_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/mscoree.def) add_library(mscoree SHARED ${SOURCE}) diff --git a/dll/win32/msctf/CMakeLists.txt b/dll/win32/msctf/CMakeLists.txt index 3edc063584b..1b4aa4007f7 100644 --- a/dll/win32/msctf/CMakeLists.txt +++ b/dll/win32/msctf/CMakeLists.txt @@ -25,6 +25,7 @@ list(APPEND SOURCE regsvr.c threadmgr.c version.rc + ${CMAKE_CURRENT_BINARY_DIR}/msctf_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/msctf.def) add_library(msctf SHARED ${SOURCE}) diff --git a/dll/win32/msftedit/CMakeLists.txt b/dll/win32/msftedit/CMakeLists.txt index 775c3e82f2e..117ae3f05cc 100644 --- a/dll/win32/msftedit/CMakeLists.txt +++ b/dll/win32/msftedit/CMakeLists.txt @@ -9,6 +9,7 @@ spec2def(msftedit.dll msftedit.spec) list(APPEND SOURCE msftedit_main.c version.rc + ${CMAKE_CURRENT_BINARY_DIR}/msftedit_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/msftedit.def) add_library(msftedit SHARED ${SOURCE}) diff --git a/dll/win32/msgina/CMakeLists.txt b/dll/win32/msgina/CMakeLists.txt index ce1440b3165..0a9f0e0273d 100644 --- a/dll/win32/msgina/CMakeLists.txt +++ b/dll/win32/msgina/CMakeLists.txt @@ -13,6 +13,7 @@ list(APPEND SOURCE stubs.c tui.c msgina.rc + ${CMAKE_CURRENT_BINARY_DIR}/msgina_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/msgina.def) add_library(msgina SHARED ${SOURCE}) diff --git a/dll/win32/mshtml/CMakeLists.txt b/dll/win32/mshtml/CMakeLists.txt index c9be5b858d7..422df098702 100644 --- a/dll/win32/mshtml/CMakeLists.txt +++ b/dll/win32/mshtml/CMakeLists.txt @@ -78,6 +78,7 @@ list(APPEND SOURCE txtrange.c view.c rsrc.rc + ${CMAKE_CURRENT_BINARY_DIR}/mshtml_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/mshtml.def) add_library(mshtml SHARED ${SOURCE}) diff --git a/dll/win32/msi/CMakeLists.txt b/dll/win32/msi/CMakeLists.txt index 21ddcfce611..550c93fb172 100644 --- a/dll/win32/msi/CMakeLists.txt +++ b/dll/win32/msi/CMakeLists.txt @@ -56,6 +56,7 @@ list(APPEND SOURCE where.c msi.rc ${CMAKE_CURRENT_BINARY_DIR}/msiserver_i.c + ${CMAKE_CURRENT_BINARY_DIR}/msi_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/msi.def) add_library(msi SHARED ${SOURCE}) diff --git a/dll/win32/msimtf/CMakeLists.txt b/dll/win32/msimtf/CMakeLists.txt index 950ce0b1f38..698d01afcea 100644 --- a/dll/win32/msimtf/CMakeLists.txt +++ b/dll/win32/msimtf/CMakeLists.txt @@ -10,6 +10,7 @@ list(APPEND SOURCE activeimmapp.c main.c rsrc.rc + ${CMAKE_CURRENT_BINARY_DIR}/msimtf_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/msimtf.def) add_library(msimtf SHARED ${SOURCE}) diff --git a/dll/win32/msisip/CMakeLists.txt b/dll/win32/msisip/CMakeLists.txt index 25b500408eb..0b1b4cb34b0 100644 --- a/dll/win32/msisip/CMakeLists.txt +++ b/dll/win32/msisip/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(msisip.dll msisip.spec) list(APPEND SOURCE main.c + ${CMAKE_CURRENT_BINARY_DIR}/msisip_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/msisip.def) add_library(msisip SHARED ${SOURCE}) diff --git a/dll/win32/mssign32/CMakeLists.txt b/dll/win32/mssign32/CMakeLists.txt index eeb0107e81e..22705b0c924 100644 --- a/dll/win32/mssign32/CMakeLists.txt +++ b/dll/win32/mssign32/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(mssign32.dll mssign32.spec) list(APPEND SOURCE mssign32_main.c + ${CMAKE_CURRENT_BINARY_DIR}/mssign32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/mssign32.def) add_library(mssign32 SHARED ${SOURCE}) diff --git a/dll/win32/mssip32/CMakeLists.txt b/dll/win32/mssip32/CMakeLists.txt index 7295e9d813e..9a33ec00c17 100644 --- a/dll/win32/mssip32/CMakeLists.txt +++ b/dll/win32/mssip32/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(mssip32.dll mssip32.spec) list(APPEND SOURCE main.c + ${CMAKE_CURRENT_BINARY_DIR}/mssip32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/mssip32.def) add_library(mssip32 SHARED ${SOURCE}) diff --git a/dll/win32/mstask/CMakeLists.txt b/dll/win32/mstask/CMakeLists.txt index d5d0406751d..935f64238fd 100644 --- a/dll/win32/mstask/CMakeLists.txt +++ b/dll/win32/mstask/CMakeLists.txt @@ -21,6 +21,7 @@ list(APPEND SOURCE task_trigger.c rsrc.rc ${CMAKE_CURRENT_BINARY_DIR}/mstask_local_i.c + ${CMAKE_CURRENT_BINARY_DIR}/mstask_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/mstask.def) add_library(mstask SHARED ${SOURCE}) diff --git a/dll/win32/msvfw32/CMakeLists.txt b/dll/win32/msvfw32/CMakeLists.txt index e6a900653a6..c95dc4434e6 100644 --- a/dll/win32/msvfw32/CMakeLists.txt +++ b/dll/win32/msvfw32/CMakeLists.txt @@ -12,6 +12,7 @@ list(APPEND SOURCE msvideo_main.c drawdib.c rsrc.rc + ${CMAKE_CURRENT_BINARY_DIR}/msvfw32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/msvfw32.def) add_library(msvfw32 SHARED ${SOURCE}) diff --git a/dll/win32/msxml3/CMakeLists.txt b/dll/win32/msxml3/CMakeLists.txt index e5bec37080d..a816dec6ed9 100644 --- a/dll/win32/msxml3/CMakeLists.txt +++ b/dll/win32/msxml3/CMakeLists.txt @@ -49,6 +49,7 @@ list(APPEND SOURCE domimpl.c entityref.c version.rc + ${CMAKE_CURRENT_BINARY_DIR}/msxml3_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/msxml3.def) add_library(msxml3 SHARED ${SOURCE}) diff --git a/dll/win32/nddeapi/CMakeLists.txt b/dll/win32/nddeapi/CMakeLists.txt index 4c01573b731..979839cd7e3 100644 --- a/dll/win32/nddeapi/CMakeLists.txt +++ b/dll/win32/nddeapi/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(nddeapi.dll nddeapi.spec) list(APPEND SOURCE nddeapi.c + ${CMAKE_CURRENT_BINARY_DIR}/nddeapi_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/nddeapi.def) add_library(nddeapi SHARED ${SOURCE}) diff --git a/dll/win32/netapi32/CMakeLists.txt b/dll/win32/netapi32/CMakeLists.txt index 33a67393662..65f7bf6ccc5 100644 --- a/dll/win32/netapi32/CMakeLists.txt +++ b/dll/win32/netapi32/CMakeLists.txt @@ -17,6 +17,7 @@ list(APPEND SOURCE netbios.c share.c wksta.c + ${CMAKE_CURRENT_BINARY_DIR}/netapi32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/netapi32.def) add_library(netapi32 SHARED ${SOURCE}) diff --git a/dll/win32/netcfgx/CMakeLists.txt b/dll/win32/netcfgx/CMakeLists.txt index 0ca604cef86..3286fdcab2c 100644 --- a/dll/win32/netcfgx/CMakeLists.txt +++ b/dll/win32/netcfgx/CMakeLists.txt @@ -11,6 +11,7 @@ list(APPEND SOURCE inetcfgcomp_iface.c tcpipconf_notify.c netcfgx.rc + ${CMAKE_CURRENT_BINARY_DIR}/netcfgx_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def) add_library(netcfgx SHARED ${SOURCE}) diff --git a/dll/win32/netshell/CMakeLists.txt b/dll/win32/netshell/CMakeLists.txt index 974ba569ba5..e1043b2cf0e 100644 --- a/dll/win32/netshell/CMakeLists.txt +++ b/dll/win32/netshell/CMakeLists.txt @@ -14,6 +14,7 @@ list(APPEND SOURCE connectmanager.c lanconnectui.c lanstatusui.c + ${CMAKE_CURRENT_BINARY_DIR}/netshell_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/netshell.def) add_library(netshell SHARED diff --git a/dll/win32/newdev/CMakeLists.txt b/dll/win32/newdev/CMakeLists.txt index b19bedf01f6..33e519bffaf 100644 --- a/dll/win32/newdev/CMakeLists.txt +++ b/dll/win32/newdev/CMakeLists.txt @@ -8,6 +8,7 @@ list(APPEND SOURCE stubs.c wizard.c newdev.rc + ${CMAKE_CURRENT_BINARY_DIR}/newdev_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/newdev.def) add_library(newdev SHARED ${SOURCE}) diff --git a/dll/win32/ntdsapi/CMakeLists.txt b/dll/win32/ntdsapi/CMakeLists.txt index 2c9171da4d4..a4d84c9a680 100644 --- a/dll/win32/ntdsapi/CMakeLists.txt +++ b/dll/win32/ntdsapi/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(ntdsapi.dll ntdsapi.spec) list(APPEND SOURCE ntdsapi.c + ${CMAKE_CURRENT_BINARY_DIR}/ntdsapi_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/ntdsapi.def) add_library(ntdsapi SHARED ${SOURCE}) diff --git a/dll/win32/ntlanman/CMakeLists.txt b/dll/win32/ntlanman/CMakeLists.txt index 8610a4d5508..c741c8aac1d 100644 --- a/dll/win32/ntlanman/CMakeLists.txt +++ b/dll/win32/ntlanman/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(ntlanman.dll ntlanman.spec) list(APPEND SOURCE ntlanman.c ntlanman.rc + ${CMAKE_CURRENT_BINARY_DIR}/ntlanman_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/ntlanman.def) add_library(ntlanman SHARED ${SOURCE}) diff --git a/dll/win32/ntprint/CMakeLists.txt b/dll/win32/ntprint/CMakeLists.txt index 4671417ed4e..9bebbdb55a3 100644 --- a/dll/win32/ntprint/CMakeLists.txt +++ b/dll/win32/ntprint/CMakeLists.txt @@ -7,6 +7,7 @@ spec2def(ntprint.dll ntprint.spec) list(APPEND SOURCE ntprint.c ntprint.rc + ${CMAKE_CURRENT_BINARY_DIR}/ntprint_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/ntprint.def) add_library(ntprint SHARED ${SOURCE}) diff --git a/dll/win32/odbc32/CMakeLists.txt b/dll/win32/odbc32/CMakeLists.txt index 1f1f231c4fd..e4019cdff8d 100644 --- a/dll/win32/odbc32/CMakeLists.txt +++ b/dll/win32/odbc32/CMakeLists.txt @@ -8,6 +8,7 @@ spec2def(odbc32.dll odbc32.spec) list(APPEND SOURCE proxyodbc.c + ${CMAKE_CURRENT_BINARY_DIR}/odbc32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/odbc32.def) add_library(odbc32 SHARED ${SOURCE}) diff --git a/dll/win32/odbccp32/CMakeLists.txt b/dll/win32/odbccp32/CMakeLists.txt index 77982c0d7a2..00b6696d375 100644 --- a/dll/win32/odbccp32/CMakeLists.txt +++ b/dll/win32/odbccp32/CMakeLists.txt @@ -9,6 +9,7 @@ spec2def(odbccp32.dll odbccp32.spec) list(APPEND SOURCE odbccp32.c + ${CMAKE_CURRENT_BINARY_DIR}/odbccp32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/odbccp32.def) add_library(odbccp32 SHARED ${SOURCE}) diff --git a/dll/win32/ole32/CMakeLists.txt b/dll/win32/ole32/CMakeLists.txt index 45fc20269ec..f184a7948cf 100644 --- a/dll/win32/ole32/CMakeLists.txt +++ b/dll/win32/ole32/CMakeLists.txt @@ -63,6 +63,7 @@ list(APPEND SOURCE usrmarshal.c ole32res.rc ${CMAKE_CURRENT_BINARY_DIR}/dcom_i.c + ${CMAKE_CURRENT_BINARY_DIR}/ole32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/ole32.def) add_library(ole32 SHARED ${SOURCE}) diff --git a/dll/win32/oleacc/CMakeLists.txt b/dll/win32/oleacc/CMakeLists.txt index 88c1744f122..bf85a9a419a 100644 --- a/dll/win32/oleacc/CMakeLists.txt +++ b/dll/win32/oleacc/CMakeLists.txt @@ -8,6 +8,7 @@ spec2def(oleacc.dll oleacc.spec) list(APPEND SOURCE main.c oleacc.rc + ${CMAKE_CURRENT_BINARY_DIR}/oleacc_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/oleacc.def) add_library(oleacc SHARED ${SOURCE}) diff --git a/dll/win32/oleaut32/CMakeLists.txt b/dll/win32/oleaut32/CMakeLists.txt index 4423820abe0..5c5db8bcae3 100644 --- a/dll/win32/oleaut32/CMakeLists.txt +++ b/dll/win32/oleaut32/CMakeLists.txt @@ -19,6 +19,7 @@ list(APPEND SOURCE variant.c vartype.c oleaut32.rc + ${CMAKE_CURRENT_BINARY_DIR}/oleaut32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/oleaut32.def) remove_definitions(-D_WIN32_WINNT=0x502) diff --git a/dll/win32/olecli32/CMakeLists.txt b/dll/win32/olecli32/CMakeLists.txt index 02f1376cd5e..f48f925125c 100644 --- a/dll/win32/olecli32/CMakeLists.txt +++ b/dll/win32/olecli32/CMakeLists.txt @@ -7,6 +7,7 @@ spec2def(olecli32.dll olecli32.spec) list(APPEND SOURCE olecli_main.c + ${CMAKE_CURRENT_BINARY_DIR}/olecli32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/olecli32.def) add_library(olecli32 SHARED ${SOURCE}) @@ -16,4 +17,4 @@ target_link_libraries(olecli32 wine) add_importlibs(olecli32 ole32 gdi32 kernel32 ntdll) add_dependencies(olecli32 psdk buildno_header) -add_cab_target(olecli32 1) \ No newline at end of file +add_cab_target(olecli32 1) diff --git a/dll/win32/olesvr32/CMakeLists.txt b/dll/win32/olesvr32/CMakeLists.txt index 1dc50f07139..68a772c2342 100644 --- a/dll/win32/olesvr32/CMakeLists.txt +++ b/dll/win32/olesvr32/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(olesvr32.dll olesvr32.spec) list(APPEND SOURCE olesvr_main.c + ${CMAKE_CURRENT_BINARY_DIR}/olesvr32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/olesvr32.def) add_library(olesvr32 SHARED ${SOURCE}) @@ -18,4 +19,4 @@ target_link_libraries(olesvr32 add_importlibs(olesvr32 kernel32 ntdll) add_dependencies(olesvr32 psdk buildno_header) -add_cab_target(olesvr32 1) \ No newline at end of file +add_cab_target(olesvr32 1) diff --git a/dll/win32/olethk32/CMakeLists.txt b/dll/win32/olethk32/CMakeLists.txt index 8a3425f9e8c..8e5c7c57576 100644 --- a/dll/win32/olethk32/CMakeLists.txt +++ b/dll/win32/olethk32/CMakeLists.txt @@ -8,6 +8,7 @@ spec2def(olethk32.dll olethk32.spec) list(APPEND SOURCE main.c version.rc + ${CMAKE_CURRENT_BINARY_DIR}/olethk32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/olethk32.def) add_library(olethk32 SHARED ${SOURCE}) diff --git a/dll/win32/opengl32/CMakeLists.txt b/dll/win32/opengl32/CMakeLists.txt index 8f8d69893e6..1cf8f188460 100644 --- a/dll/win32/opengl32/CMakeLists.txt +++ b/dll/win32/opengl32/CMakeLists.txt @@ -10,6 +10,7 @@ list(APPEND SOURCE gl.c opengl32.c wgl.c + ${CMAKE_CURRENT_BINARY_DIR}/opengl32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/opengl32.def) add_library(opengl32 SHARED diff --git a/dll/win32/pdh/CMakeLists.txt b/dll/win32/pdh/CMakeLists.txt index 8e69d4953c5..06f49307e31 100644 --- a/dll/win32/pdh/CMakeLists.txt +++ b/dll/win32/pdh/CMakeLists.txt @@ -10,6 +10,7 @@ spec2def(pdh.dll pdh.spec) list(APPEND SOURCE pdh_main.c + ${CMAKE_CURRENT_BINARY_DIR}/pdh_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/pdh.def) add_library(pdh SHARED ${SOURCE}) @@ -20,4 +21,4 @@ target_link_libraries(pdh wine) add_importlibs(pdh kernel32 ntdll) add_importlib_target(pdh.spec) -add_cab_target(pdh 1) \ No newline at end of file +add_cab_target(pdh 1) diff --git a/dll/win32/pidgen/CMakeLists.txt b/dll/win32/pidgen/CMakeLists.txt index c85952503d8..81c1f7efacb 100644 --- a/dll/win32/pidgen/CMakeLists.txt +++ b/dll/win32/pidgen/CMakeLists.txt @@ -8,6 +8,7 @@ spec2def(pidgen.dll pidgen.spec) list(APPEND SOURCE main.c rsrc.rc + ${CMAKE_CURRENT_BINARY_DIR}/pidgen_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/pidgen.def) add_library(pidgen SHARED ${SOURCE}) diff --git a/dll/win32/printui/CMakeLists.txt b/dll/win32/printui/CMakeLists.txt index 8964a78c03b..d2abd70058c 100644 --- a/dll/win32/printui/CMakeLists.txt +++ b/dll/win32/printui/CMakeLists.txt @@ -8,6 +8,7 @@ spec2def(printui.dll printui.spec) list(APPEND SOURCE printui.c printui.rc + ${CMAKE_CURRENT_BINARY_DIR}/printui_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/printui.def) add_library(printui SHARED ${SOURCE}) @@ -17,4 +18,4 @@ target_link_libraries(printui wine) add_importlibs(printui shell32 kernel32 ntdll) add_dependencies(printui psdk buildno_header) -add_cab_target(printui 1) \ No newline at end of file +add_cab_target(printui 1) diff --git a/dll/win32/pstorec/CMakeLists.txt b/dll/win32/pstorec/CMakeLists.txt index b3b7a46dfc1..88b23c64870 100644 --- a/dll/win32/pstorec/CMakeLists.txt +++ b/dll/win32/pstorec/CMakeLists.txt @@ -10,6 +10,7 @@ spec2def(pstorec.dll pstorec.spec) list(APPEND SOURCE pstorec.c rsrc.rc + ${CMAKE_CURRENT_BINARY_DIR}/pstorec_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/pstorec.def) add_library(pstorec SHARED ${SOURCE}) diff --git a/dll/win32/query/CMakeLists.txt b/dll/win32/query/CMakeLists.txt index b48e4f6b63d..f934bf87666 100644 --- a/dll/win32/query/CMakeLists.txt +++ b/dll/win32/query/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(query.dll query.spec) list(APPEND SOURCE query_main.c + ${CMAKE_CURRENT_BINARY_DIR}/query_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/query.def) add_library(query SHARED ${SOURCE}) diff --git a/dll/win32/rasadhlp/CMakeLists.txt b/dll/win32/rasadhlp/CMakeLists.txt index 1e0c6d01bff..417d4e5ab9b 100644 --- a/dll/win32/rasadhlp/CMakeLists.txt +++ b/dll/win32/rasadhlp/CMakeLists.txt @@ -7,6 +7,7 @@ list(APPEND SOURCE autodial.c init.c winsock.c + ${CMAKE_CURRENT_BINARY_DIR}/rasadhlp_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/rasadhlp.def) add_library(rasadhlp SHARED ${SOURCE}) diff --git a/dll/win32/rasapi32/CMakeLists.txt b/dll/win32/rasapi32/CMakeLists.txt index f3aef5629aa..80dab9615eb 100644 --- a/dll/win32/rasapi32/CMakeLists.txt +++ b/dll/win32/rasapi32/CMakeLists.txt @@ -7,6 +7,7 @@ spec2def(rasapi32.dll rasapi32.spec) list(APPEND SOURCE rasapi.c + ${CMAKE_CURRENT_BINARY_DIR}/rasapi32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/rasapi32.def) add_library(rasapi32 SHARED ${SOURCE}) @@ -16,4 +17,4 @@ target_link_libraries(rasapi32 wine) add_importlibs(rasapi32 kernel32 ntdll) add_dependencies(rasapi32 psdk buildno_header) -add_cab_target(rasapi32 1) \ No newline at end of file +add_cab_target(rasapi32 1) diff --git a/dll/win32/rasdlg/CMakeLists.txt b/dll/win32/rasdlg/CMakeLists.txt index cc51aaff9cf..2b25dc5ea76 100644 --- a/dll/win32/rasdlg/CMakeLists.txt +++ b/dll/win32/rasdlg/CMakeLists.txt @@ -4,6 +4,7 @@ spec2def(rasdlg.dll rasdlg.spec) list(APPEND SOURCE rasdlg.c rasdlg.rc + ${CMAKE_CURRENT_BINARY_DIR}/rasdlg_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/rasdlg.def) add_library(rasdlg SHARED ${SOURCE}) diff --git a/dll/win32/rasman/CMakeLists.txt b/dll/win32/rasman/CMakeLists.txt index 72f6f5ef2ee..479dbb4e92d 100644 --- a/dll/win32/rasman/CMakeLists.txt +++ b/dll/win32/rasman/CMakeLists.txt @@ -4,6 +4,7 @@ spec2def(rasman.dll rasman.spec) list(APPEND SOURCE rasman.c rasman.rc + ${CMAKE_CURRENT_BINARY_DIR}/rasman_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/rasman.def) add_library(rasman SHARED ${SOURCE}) diff --git a/dll/win32/resutils/CMakeLists.txt b/dll/win32/resutils/CMakeLists.txt index 0e404717576..4eb67fbb127 100644 --- a/dll/win32/resutils/CMakeLists.txt +++ b/dll/win32/resutils/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(resutils.dll resutils.spec) list(APPEND SOURCE resutils.c + ${CMAKE_CURRENT_BINARY_DIR}/resutils_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/resutils.def) add_library(resutils SHARED ${SOURCE}) diff --git a/dll/win32/rpcrt4/CMakeLists.txt b/dll/win32/rpcrt4/CMakeLists.txt index c62df39327a..df7cca5fcba 100644 --- a/dll/win32/rpcrt4/CMakeLists.txt +++ b/dll/win32/rpcrt4/CMakeLists.txt @@ -20,6 +20,7 @@ list(APPEND SOURCE rpc_server.c rpc_transport.c unix_func.c + ${CMAKE_CURRENT_BINARY_DIR}/rpcrt4_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/rpcrt4.def) remove_definitions(-D_WIN32_WINNT=0x502) diff --git a/dll/win32/samlib/CMakeLists.txt b/dll/win32/samlib/CMakeLists.txt index e6fa52aac2a..ea648fa5664 100644 --- a/dll/win32/samlib/CMakeLists.txt +++ b/dll/win32/samlib/CMakeLists.txt @@ -9,6 +9,7 @@ list(APPEND SOURCE dllmain.c samlib.c samlib.rc + ${CMAKE_CURRENT_BINARY_DIR}/samlib_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/samlib.def) add_library(samlib SHARED ${SOURCE}) diff --git a/dll/win32/sccbase/CMakeLists.txt b/dll/win32/sccbase/CMakeLists.txt index 453bc32b080..c0813c735c8 100644 --- a/dll/win32/sccbase/CMakeLists.txt +++ b/dll/win32/sccbase/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(sccbase.dll sccbase.spec) list(APPEND SOURCE main.c + ${CMAKE_CURRENT_BINARY_DIR}/sccbase_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/sccbase.def) add_library(sccbase SHARED ${SOURCE}) diff --git a/dll/win32/schannel/CMakeLists.txt b/dll/win32/schannel/CMakeLists.txt index 4f809fd4471..3301adb1b68 100644 --- a/dll/win32/schannel/CMakeLists.txt +++ b/dll/win32/schannel/CMakeLists.txt @@ -9,6 +9,7 @@ list(APPEND SOURCE schannel_main.c usermode.c version.rc + ${CMAKE_CURRENT_BINARY_DIR}/schannel_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/schannel.def) add_library(schannel SHARED ${SOURCE}) diff --git a/dll/win32/secur32/CMakeLists.txt b/dll/win32/secur32/CMakeLists.txt index 2e3811dfcbd..907919824fc 100644 --- a/dll/win32/secur32/CMakeLists.txt +++ b/dll/win32/secur32/CMakeLists.txt @@ -9,6 +9,7 @@ list(APPEND SOURCE secext.c sspi.c secur32.rc + ${CMAKE_CURRENT_BINARY_DIR}/secur32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/secur32.def ) diff --git a/dll/win32/security/CMakeLists.txt b/dll/win32/security/CMakeLists.txt index 1583c4c72af..749173a307b 100644 --- a/dll/win32/security/CMakeLists.txt +++ b/dll/win32/security/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(security.dll security.spec) list(APPEND SOURCE security.rc + ${CMAKE_CURRENT_BINARY_DIR}/security_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/security.def) add_library(security SHARED ${SOURCE}) @@ -13,4 +14,4 @@ set_entrypoint(security 0) add_importlibs(security advapi32 ntdll kernel32) -add_cab_target(security 1) \ No newline at end of file +add_cab_target(security 1) diff --git a/dll/win32/setupapi/CMakeLists.txt b/dll/win32/setupapi/CMakeLists.txt index 1347ac7eedc..49085837573 100644 --- a/dll/win32/setupapi/CMakeLists.txt +++ b/dll/win32/setupapi/CMakeLists.txt @@ -33,6 +33,7 @@ list(APPEND SOURCE stubs.c rpc.c setupapi.rc + ${CMAKE_CURRENT_BINARY_DIR}/setupapi_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/setupapi.def) add_library(setupapi SHARED ${SOURCE}) diff --git a/dll/win32/sfc/CMakeLists.txt b/dll/win32/sfc/CMakeLists.txt index 36c6da158d2..e17ddc8298b 100644 --- a/dll/win32/sfc/CMakeLists.txt +++ b/dll/win32/sfc/CMakeLists.txt @@ -3,6 +3,7 @@ spec2def(sfc.dll sfc.spec) list(APPEND SOURCE sfc.c + ${CMAKE_CURRENT_BINARY_DIR}/sfc_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/sfc.def) add_library(sfc SHARED diff --git a/dll/win32/sfc_os/CMakeLists.txt b/dll/win32/sfc_os/CMakeLists.txt index 99e2f85ef8d..8840daf13fb 100644 --- a/dll/win32/sfc_os/CMakeLists.txt +++ b/dll/win32/sfc_os/CMakeLists.txt @@ -3,6 +3,7 @@ spec2def(sfc_os.dll sfc_os.spec) list(APPEND SOURCE sfc_os.c + ${CMAKE_CURRENT_BINARY_DIR}/sfc_os_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/sfc_os.def) add_library(sfc_os SHARED diff --git a/dll/win32/shdocvw/CMakeLists.txt b/dll/win32/shdocvw/CMakeLists.txt index b472d03e227..f03abb90fdf 100644 --- a/dll/win32/shdocvw/CMakeLists.txt +++ b/dll/win32/shdocvw/CMakeLists.txt @@ -27,6 +27,7 @@ list(APPEND SOURCE view.c webbrowser.c shdocvw.rc + ${CMAKE_CURRENT_BINARY_DIR}/shdocvw_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/shdocvw.def) add_library(shdocvw SHARED ${SOURCE}) diff --git a/dll/win32/shell32/CMakeLists.txt b/dll/win32/shell32/CMakeLists.txt index 87b20b4ae8c..9998bbca44b 100644 --- a/dll/win32/shell32/CMakeLists.txt +++ b/dll/win32/shell32/CMakeLists.txt @@ -72,6 +72,7 @@ list(APPEND SOURCE folder_options.c shell32.rc ${CMAKE_CURRENT_BINARY_DIR}/shobjidl_local_i.c + ${CMAKE_CURRENT_BINARY_DIR}/shell32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/shell32.def) add_pch(shell32 ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) @@ -84,7 +85,7 @@ target_link_libraries(shell32 wine uuid recyclebin) - + add_importlibs(shell32 advapi32 gdi32 diff --git a/dll/win32/shimgvw/CMakeLists.txt b/dll/win32/shimgvw/CMakeLists.txt index da80a50009c..7ffc1e1a928 100644 --- a/dll/win32/shimgvw/CMakeLists.txt +++ b/dll/win32/shimgvw/CMakeLists.txt @@ -4,6 +4,7 @@ spec2def(shimgvw.dll shimgvw.spec) list(APPEND SOURCE shimgvw.c shimgvw.rc + ${CMAKE_CURRENT_BINARY_DIR}/shimgvw_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/shimgvw.def) add_library(shimgvw SHARED ${SOURCE}) diff --git a/dll/win32/shlwapi/CMakeLists.txt b/dll/win32/shlwapi/CMakeLists.txt index 8ad384fea45..da7a62728a4 100644 --- a/dll/win32/shlwapi/CMakeLists.txt +++ b/dll/win32/shlwapi/CMakeLists.txt @@ -23,6 +23,7 @@ list(APPEND SOURCE url.c wsprintf.c shlwapi.rc + ${CMAKE_CURRENT_BINARY_DIR}/shlwapi_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/shlwapi.def) add_library(shlwapi SHARED ${SOURCE}) diff --git a/dll/win32/slbcsp/CMakeLists.txt b/dll/win32/slbcsp/CMakeLists.txt index c617f96530b..67d8326a3fe 100644 --- a/dll/win32/slbcsp/CMakeLists.txt +++ b/dll/win32/slbcsp/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(slbcsp.dll slbcsp.spec) list(APPEND SOURCE main.c + ${CMAKE_CURRENT_BINARY_DIR}/slbcsp_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/slbcsp.def) add_library(slbcsp SHARED ${SOURCE}) diff --git a/dll/win32/snmpapi/CMakeLists.txt b/dll/win32/snmpapi/CMakeLists.txt index b12f56cc05e..9bde5c48610 100644 --- a/dll/win32/snmpapi/CMakeLists.txt +++ b/dll/win32/snmpapi/CMakeLists.txt @@ -11,8 +11,9 @@ spec2def(snmpapi.dll snmpapi.spec) list(APPEND SOURCE main.c snmpapi.rc + ${CMAKE_CURRENT_BINARY_DIR}/snmpapi_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/snmpapi.def) - + add_library(snmpapi SHARED ${SOURCE}) set_module_type(snmpapi win32dll) diff --git a/dll/win32/spoolss/CMakeLists.txt b/dll/win32/spoolss/CMakeLists.txt index d071da2c2f2..a7ad5df883b 100644 --- a/dll/win32/spoolss/CMakeLists.txt +++ b/dll/win32/spoolss/CMakeLists.txt @@ -7,6 +7,7 @@ spec2def(spoolss.dll spoolss.spec) list(APPEND SOURCE spoolss_main.c router.c + ${CMAKE_CURRENT_BINARY_DIR}/spoolss_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/spoolss.def) add_library(spoolss SHARED ${SOURCE}) diff --git a/dll/win32/srclient/CMakeLists.txt b/dll/win32/srclient/CMakeLists.txt index ccc647f2a79..3692f75e1fc 100644 --- a/dll/win32/srclient/CMakeLists.txt +++ b/dll/win32/srclient/CMakeLists.txt @@ -3,6 +3,7 @@ spec2def(srclient.dll srclient.spec) list(APPEND SOURCE srclient_main.c + ${CMAKE_CURRENT_BINARY_DIR}/srclient_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/srclient.def) add_library(srclient SHARED ${SOURCE}) @@ -11,4 +12,4 @@ set_entrypoint(srclient 0) add_importlibs(srclient kernel32 ntdll) add_dependencies(srclient psdk) -add_cab_target(srclient 1) \ No newline at end of file +add_cab_target(srclient 1) diff --git a/dll/win32/sxs/CMakeLists.txt b/dll/win32/sxs/CMakeLists.txt index 34fb7580497..5cdf08d64ef 100644 --- a/dll/win32/sxs/CMakeLists.txt +++ b/dll/win32/sxs/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(sxs.dll sxs.spec) list(APPEND SOURCE sxs.c + ${CMAKE_CURRENT_BINARY_DIR}/sxs_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/sxs.def) add_library(sxs SHARED ${SOURCE}) @@ -16,4 +17,4 @@ target_link_libraries(sxs wine) add_importlibs(sxs kernel32 ntdll) add_dependencies(sxs psdk) -add_cab_target(sxs 1) \ No newline at end of file +add_cab_target(sxs 1) diff --git a/dll/win32/syssetup/CMakeLists.txt b/dll/win32/syssetup/CMakeLists.txt index e7c54ee432a..9cc967b4dd3 100644 --- a/dll/win32/syssetup/CMakeLists.txt +++ b/dll/win32/syssetup/CMakeLists.txt @@ -12,6 +12,7 @@ list(APPEND SOURCE logfile.c wizard.c syssetup.rc + ${CMAKE_CURRENT_BINARY_DIR}/syssetup_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/syssetup.def) add_library(syssetup SHARED ${SOURCE}) diff --git a/dll/win32/t2embed/CMakeLists.txt b/dll/win32/t2embed/CMakeLists.txt index 500f45c0df3..93bc2e74f54 100644 --- a/dll/win32/t2embed/CMakeLists.txt +++ b/dll/win32/t2embed/CMakeLists.txt @@ -8,6 +8,7 @@ spec2def(t2embed.dll t2embed.spec) list(APPEND SOURCE t2embed.c t2embed.rc + ${CMAKE_CURRENT_BINARY_DIR}/t2embed_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/t2embed.def) add_library(t2embed SHARED ${SOURCE}) diff --git a/dll/win32/tapi32/CMakeLists.txt b/dll/win32/tapi32/CMakeLists.txt index 4545c196985..7d564e8a1e2 100644 --- a/dll/win32/tapi32/CMakeLists.txt +++ b/dll/win32/tapi32/CMakeLists.txt @@ -9,7 +9,9 @@ list(APPEND SOURCE internal.c line.c phone.c + ${CMAKE_CURRENT_BINARY_DIR}/tapi32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/tapi32.def) + add_library(tapi32 SHARED ${SOURCE}) set_entrypoint(tapi32 0) @@ -19,4 +21,4 @@ target_link_libraries(tapi32 wine) add_importlibs(tapi32 advapi32 kernel32 ntdll) add_dependencies(tapi32 psdk buildno_header) -add_cab_target(tapi32 1) \ No newline at end of file +add_cab_target(tapi32 1) diff --git a/dll/win32/tapi32/tapi32.spec b/dll/win32/tapi32/tapi32.spec index 93e3a35d599..7310100206b 100644 --- a/dll/win32/tapi32/tapi32.spec +++ b/dll/win32/tapi32/tapi32.spec @@ -100,7 +100,7 @@ @ stub lineGetCountryW @ stdcall lineGetDevCaps(long long long long ptr) lineGetDevCapsA @ stdcall lineGetDevCapsA(long long long long ptr) -@ stub lineGetDevCapsW +@ stdcall lineGetDevCapsW(ptr long long long ptr) @ stdcall lineGetDevConfig(long ptr str) lineGetDevConfigA @ stdcall lineGetDevConfigA(long ptr str) @ stub lineGetDevConfigW @@ -108,7 +108,7 @@ @ stub lineGetGroupListW @ stdcall lineGetID(long long long long ptr str) lineGetIDA @ stdcall lineGetIDA(long long long long ptr str) -@ stub lineGetIDW +@ stdcall lineGetIDW(ptr long ptr long ptr ptr) @ stdcall lineGetIcon(long str ptr) lineGetIconA @ stdcall lineGetIconA(long str ptr) @ stub lineGetIconW @@ -120,7 +120,7 @@ @ stdcall lineGetNumRings(long long ptr) @ stdcall lineGetProviderList(long ptr) lineGetProviderListA @ stdcall lineGetProviderListA(long ptr) -@ stub lineGetProviderListW +@ stdcall lineGetProviderListW(long ptr) @ stub lineGetProxyStatus @ stub lineGetQueueInfo @ stub lineGetQueueInfoA @@ -141,7 +141,7 @@ @ stub lineInitializeExW @ stdcall lineMakeCall(long ptr str long ptr) lineMakeCallA @ stdcall lineMakeCallA(long ptr str long ptr) -@ stub lineMakeCallW +@ stdcall lineMakeCallW(ptr ptr ptr long ptr) @ stdcall lineMonitorDigits(long long) @ stdcall lineMonitorMedia(long long) @ stdcall lineMonitorTones(long ptr long) diff --git a/dll/win32/traffic/CMakeLists.txt b/dll/win32/traffic/CMakeLists.txt index 92a2f04116f..fb7aaad293e 100644 --- a/dll/win32/traffic/CMakeLists.txt +++ b/dll/win32/traffic/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(traffic.dll traffic.spec) list(APPEND SOURCE traffic_main.c + ${CMAKE_CURRENT_BINARY_DIR}/traffic_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/traffic.def) add_library(traffic SHARED ${SOURCE}) diff --git a/dll/win32/updspapi/CMakeLists.txt b/dll/win32/updspapi/CMakeLists.txt index 3b6783ddb95..5ec1e559567 100644 --- a/dll/win32/updspapi/CMakeLists.txt +++ b/dll/win32/updspapi/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(updspapi.dll updspapi.spec) list(APPEND SOURCE main.c + ${CMAKE_CURRENT_BINARY_DIR}/updspapi_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/updspapi.def) add_library(updspapi SHARED ${SOURCE}) @@ -16,4 +17,4 @@ target_link_libraries(updspapi wine) add_importlibs(updspapi setupapi kernel32 ntdll) add_dependencies(updspapi psdk buildno_header) -add_cab_target(updspapi 1) \ No newline at end of file +add_cab_target(updspapi 1) diff --git a/dll/win32/url/CMakeLists.txt b/dll/win32/url/CMakeLists.txt index 692ccd05a8a..c98d150d208 100644 --- a/dll/win32/url/CMakeLists.txt +++ b/dll/win32/url/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(url.dll url.spec) list(APPEND SOURCE url_main.c + ${CMAKE_CURRENT_BINARY_DIR}/url_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/url.def) add_library(url SHARED ${SOURCE}) diff --git a/dll/win32/urlmon/CMakeLists.txt b/dll/win32/urlmon/CMakeLists.txt index 0c40f2f8520..1126af7e61a 100644 --- a/dll/win32/urlmon/CMakeLists.txt +++ b/dll/win32/urlmon/CMakeLists.txt @@ -34,10 +34,11 @@ list(APPEND SOURCE urlmon_main.c usrmarshal.c rsrc.rc + ${CMAKE_CURRENT_BINARY_DIR}/urlmon_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/urlmon.def) add_library(urlmon SHARED ${SOURCE}) - + set_module_type(urlmon win32dll) diff --git a/dll/win32/user32/CMakeLists.txt b/dll/win32/user32/CMakeLists.txt index 27b724e80e0..3354e42d089 100644 --- a/dll/win32/user32/CMakeLists.txt +++ b/dll/win32/user32/CMakeLists.txt @@ -64,8 +64,9 @@ list(APPEND SOURCE windows/window.c windows/winpos.c user32.rc + ${CMAKE_CURRENT_BINARY_DIR}/user32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/user32.def) - + add_library(user32 SHARED ${CMAKE_CURRENT_BINARY_DIR}/user32_user32.h.gch ${SOURCE}) @@ -77,7 +78,7 @@ target_link_libraries(user32 wine win32ksys ${PSEH_LIB}) - + add_pch(user32 ${CMAKE_CURRENT_SOURCE_DIR}/include/user32.h ${SOURCE}) add_importlibs(user32 gdi32 advapi32 imm32 msvcrt kernel32 ntdll) add_cab_target(user32 1) diff --git a/dll/win32/userenv/CMakeLists.txt b/dll/win32/userenv/CMakeLists.txt index f4a31c9a7e3..e638caf2cb0 100644 --- a/dll/win32/userenv/CMakeLists.txt +++ b/dll/win32/userenv/CMakeLists.txt @@ -12,6 +12,7 @@ list(APPEND SOURCE setup.c userenv.c userenv.rc + ${CMAKE_CURRENT_BINARY_DIR}/userenv_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/userenv.def) add_library(userenv SHARED diff --git a/dll/win32/usp10/CMakeLists.txt b/dll/win32/usp10/CMakeLists.txt index 298c79e55c7..1f385e85d76 100644 --- a/dll/win32/usp10/CMakeLists.txt +++ b/dll/win32/usp10/CMakeLists.txt @@ -10,6 +10,7 @@ list(APPEND SOURCE mirror.c shape.c shaping.c + ${CMAKE_CURRENT_BINARY_DIR}/usp10_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/usp10.def) add_library(usp10 SHARED ${SOURCE}) diff --git a/dll/win32/uxtheme/CMakeLists.txt b/dll/win32/uxtheme/CMakeLists.txt index 0c3e268672a..e745bcff013 100644 --- a/dll/win32/uxtheme/CMakeLists.txt +++ b/dll/win32/uxtheme/CMakeLists.txt @@ -16,6 +16,7 @@ list(APPEND SOURCE system.c uxini.c version.rc + ${CMAKE_CURRENT_BINARY_DIR}/uxtheme_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/uxtheme.def) add_library(uxtheme SHARED ${SOURCE}) diff --git a/dll/win32/windowscodecs/CMakeLists.txt b/dll/win32/windowscodecs/CMakeLists.txt index 01cfe445b02..5cadbddbe72 100644 --- a/dll/win32/windowscodecs/CMakeLists.txt +++ b/dll/win32/windowscodecs/CMakeLists.txt @@ -35,6 +35,7 @@ list(APPEND SOURCE tiffformat.c ungif.c version.rc + ${CMAKE_CURRENT_BINARY_DIR}/windowscodecs_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/windowscodecs.def) add_library(windowscodecs SHARED ${SOURCE}) diff --git a/dll/win32/wininet/CMakeLists.txt b/dll/win32/wininet/CMakeLists.txt index 4cb2bd72935..e0e5f3de2ae 100644 --- a/dll/win32/wininet/CMakeLists.txt +++ b/dll/win32/wininet/CMakeLists.txt @@ -23,6 +23,7 @@ list(APPEND SOURCE wininet_main.c rsrc.rc version.rc + ${CMAKE_CURRENT_BINARY_DIR}/wininet_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/wininet.def) add_library(wininet SHARED ${SOURCE}) diff --git a/dll/win32/winmm/CMakeLists.txt b/dll/win32/winmm/CMakeLists.txt index d27400519ac..4bbc5885639 100644 --- a/dll/win32/winmm/CMakeLists.txt +++ b/dll/win32/winmm/CMakeLists.txt @@ -17,6 +17,7 @@ list(APPEND SOURCE time.c winmm.c winmm_res.rc + ${CMAKE_CURRENT_BINARY_DIR}/winmm_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/winmm.def) add_library(winmm SHARED ${SOURCE}) diff --git a/dll/win32/winspool/CMakeLists.txt b/dll/win32/winspool/CMakeLists.txt index 78efc9c3c0d..a6fa8b6ea04 100644 --- a/dll/win32/winspool/CMakeLists.txt +++ b/dll/win32/winspool/CMakeLists.txt @@ -11,6 +11,7 @@ list(APPEND SOURCE info.c stubs.c winspool.rc + ${CMAKE_CURRENT_BINARY_DIR}/winspool_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/winspool.def) add_library(winspool SHARED ${SOURCE}) diff --git a/dll/win32/wintrust/CMakeLists.txt b/dll/win32/wintrust/CMakeLists.txt index d083842de80..f433a1cc8a6 100644 --- a/dll/win32/wintrust/CMakeLists.txt +++ b/dll/win32/wintrust/CMakeLists.txt @@ -12,6 +12,7 @@ list(APPEND SOURCE asn.c softpub.c version.rc + ${CMAKE_CURRENT_BINARY_DIR}/wintrust_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/wintrust.def) add_library(wintrust SHARED ${SOURCE}) diff --git a/dll/win32/wlanapi/CMakeLists.txt b/dll/win32/wlanapi/CMakeLists.txt index 47320e1b98a..fe0df966655 100644 --- a/dll/win32/wlanapi/CMakeLists.txt +++ b/dll/win32/wlanapi/CMakeLists.txt @@ -5,6 +5,7 @@ spec2def(wlanapi.dll wlanapi.spec) list(APPEND SOURCE main.c + ${CMAKE_CURRENT_BINARY_DIR}/wlanapi_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/wlanapi.def) add_library(wlanapi SHARED ${SOURCE}) diff --git a/dll/win32/wldap32/CMakeLists.txt b/dll/win32/wldap32/CMakeLists.txt index 2f1f712e1f8..da88ae89705 100644 --- a/dll/win32/wldap32/CMakeLists.txt +++ b/dll/win32/wldap32/CMakeLists.txt @@ -27,6 +27,7 @@ list(APPEND SOURCE search.c value.c wldap32.rc + ${CMAKE_CURRENT_BINARY_DIR}/wldap32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/wldap32.def) add_library(wldap32 SHARED ${SOURCE}) diff --git a/dll/win32/ws2_32/ws2_32.spec b/dll/win32/ws2_32/ws2_32.spec index afd1065719c..42efc68af94 100644 --- a/dll/win32/ws2_32/ws2_32.spec +++ b/dll/win32/ws2_32/ws2_32.spec @@ -48,7 +48,7 @@ 151 stdcall __WSAFDIsSet(long ptr) -500 stub WEP +500 stdcall WEP() # @ stdcall GetAddrInfoW(wstr wstr ptr ptr) @ stdcall WSApSetPostRoutine(ptr) @@ -84,13 +84,13 @@ @ stdcall WSALookupServiceEnd(long) @ stdcall WSALookupServiceNextA(long long ptr ptr) @ stdcall WSALookupServiceNextW(long long ptr ptr) -@ stub WSANSPIoctl +@ stdcall WSANSPIoctl(ptr long ptr long ptr long ptr ptr) @ stdcall WSANtohl(long long ptr) @ stdcall WSANtohs(long long ptr) @ stdcall WSAProviderConfigChange(ptr ptr ptr) @ stdcall WSARecv(long ptr long ptr ptr ptr ptr) @ stdcall WSARecvDisconnect(long ptr) -@ stdcall WSARecvFrom(long ptr long ptr ptr ptr ptr ptr ptr ) +@ stdcall WSARecvFrom(long ptr long ptr ptr ptr ptr ptr ptr ) @ stdcall WSARemoveServiceClass(ptr) @ stdcall WSAResetEvent(long) kernel32.ResetEvent @ stdcall WSASend(long ptr long ptr long ptr ptr) @@ -111,8 +111,8 @@ @ stdcall WSCInstallNameSpace(wstr wstr long long ptr) @ stdcall WSCInstallProvider(ptr wstr ptr long ptr) @ stdcall WSCUnInstallNameSpace(ptr) -@ stub WSCUpdateProvider -@ stub WSCWriteNameSpaceOrder +@ stdcall WSCUpdateProvider(ptr ptr long ptr) +@ stdcall WSCWriteNameSpaceOrder(ptr long) @ stdcall WSCWriteProviderOrder(ptr long) @ stdcall freeaddrinfo(ptr) @ stdcall getaddrinfo(str str ptr ptr) diff --git a/dll/win32/wtsapi32/CMakeLists.txt b/dll/win32/wtsapi32/CMakeLists.txt index b8834335429..abc1de6c6e6 100644 --- a/dll/win32/wtsapi32/CMakeLists.txt +++ b/dll/win32/wtsapi32/CMakeLists.txt @@ -6,6 +6,7 @@ spec2def(wtsapi32.dll wtsapi32.spec) list(APPEND SOURCE wtsapi32.c + ${CMAKE_CURRENT_BINARY_DIR}/wtsapi32_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/wtsapi32.def) add_library(wtsapi32 SHARED ${SOURCE}) diff --git a/dll/win32/xmllite/CMakeLists.txt b/dll/win32/xmllite/CMakeLists.txt index 8dfc706881a..33dc4cb4739 100644 --- a/dll/win32/xmllite/CMakeLists.txt +++ b/dll/win32/xmllite/CMakeLists.txt @@ -7,6 +7,7 @@ spec2def(xmllite.dll xmllite.spec) list(APPEND SOURCE reader.c xmllite_main.c + ${CMAKE_CURRENT_BINARY_DIR}/xmllite_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/xmllite.def) add_library(xmllite SHARED ${SOURCE}) diff --git a/gcc.cmake b/gcc.cmake index 586565b0954..c56d5479ccd 100644 --- a/gcc.cmake +++ b/gcc.cmake @@ -311,7 +311,6 @@ macro(spec2def _dllname _spec_file) set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${_file}.def PROPERTIES GENERATED TRUE EXTERNAL_OBJECT TRUE) set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${_file}_stubs.c PROPERTIES GENERATED TRUE) - list(APPEND SOURCE ${CMAKE_CURRENT_BINARY_DIR}/${_file}_stubs.c) endmacro() macro(macro_mc FILE) diff --git a/msc.cmake b/msc.cmake index 6469fa4e646..864eea0c4fe 100644 --- a/msc.cmake +++ b/msc.cmake @@ -197,7 +197,6 @@ macro(spec2def _dllname _spec_file) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_spec_file}) set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${_file}.def ${CMAKE_CURRENT_BINARY_DIR}/${_file}_stubs.c PROPERTIES GENERATED TRUE) - list(APPEND SOURCE ${CMAKE_CURRENT_BINARY_DIR}/${_file}_stubs.c) endmacro() macro(macro_mc FILE)