Raphael fenix@club-internet.fr writes:
On Friday 04 March 2005 00:45, Robert Shearman wrote:
I have made a few comments on the implementation below:
SRCDIR = @srcdir@ VPATH = @srcdir@ MODULE = advapi32.dll -IMPORTS = kernel32 ntdll +IMPORTS = winspool kernel32 ntdll
Should be in DELAYIMPORTS. We don't want to slow down the loading of all applications because of this one uncommon case.
I didn't known this wine makefile option :) Done
This doesn't look right at all, even with delayed imports. Do you have evidence that Windows advapi32 calls into winspool?
On Friday 04 March 2005 11:56, Alexandre Julliard wrote:
Raphael fenix@club-internet.fr writes:
On Friday 04 March 2005 00:45, Robert Shearman wrote:
I have made a few comments on the implementation below:
SRCDIR = @srcdir@ VPATH = @srcdir@ MODULE = advapi32.dll -IMPORTS = kernel32 ntdll +IMPORTS = winspool kernel32 ntdll
Should be in DELAYIMPORTS. We don't want to slow down the loading of all applications because of this one uncommon case.
I didn't known this wine makefile option :) Done
This doesn't look right at all, even with delayed imports. Do you have evidence that Windows advapi32 calls into winspool?
No it doesnt directly calls winspool but msdn reference say that is how it works. how we can do it ?
Regards, Raphael
On Friday 04 March 2005 11:56, Alexandre Julliard wrote:
Raphael fenix@club-internet.fr writes:
On Friday 04 March 2005 00:45, Robert Shearman wrote:
I have made a few comments on the implementation below:
SRCDIR = @srcdir@ VPATH = @srcdir@ MODULE = advapi32.dll -IMPORTS = kernel32 ntdll +IMPORTS = winspool kernel32 ntdll
Should be in DELAYIMPORTS. We don't want to slow down the loading of all applications because of this one uncommon case.
I didn't known this wine makefile option :) Done
This doesn't look right at all, even with delayed imports. Do you have evidence that Windows advapi32 calls into winspool?
Hi,
cf: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/se...
You can see low-level functions for each supported objects (specified by SE_OBJECT_TYPE)
Anyway, native advapi32 seems to do dynamic loading :)
-=(FeniX as fenix@darkblue)-(on tty1)-(at 09:46:55)=- -={$:'/cvs-src/wine/dlls/advapi32'}=->winedump dump -j import -C /mnt/win_c/windows/system32/advapi32.dll | grep GetModule 358 GetModuleFileNameW 646d2 362 GetModuleHandleW 64984 359 GetModuleHandleA 64ce0 -=(FeniX as fenix@darkblue)-(on tty1)-(at 09:47:03)=- -={$:'/cvs-src/wine/dlls/advapi32'}=->winedump dump -j import -C /mnt/win_c/windows/system32/advapi32.dll | grep LoadLib 560 LoadLibraryExW 64664 561 LoadLibraryW 64bd0 558 LoadLibraryA 64dd2 -=(FeniX as fenix@darkblue)-(on tty1)-(at 09:47:51)=- -={$:'/cvs-src/wine/dlls/advapi32'}=->winedump dump -j import -C /mnt/win_c/windows/system32/advapi32.dll | grep GetProcAd 393 GetProcAddress 64de2
Changelog: - simple implentation of SetSecurityInfo - add some stubs to ntdll to support native advapi32
Regards, Raphael
Raphael fenix@club-internet.fr writes:
cf: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/se...
You can see low-level functions for each supported objects (specified by SE_OBJECT_TYPE)
Anyway, native advapi32 seems to do dynamic loading :)
-=(FeniX as fenix@darkblue)-(on tty1)-(at 09:46:55)=- -={$:'/cvs-src/wine/dlls/advapi32'}=->winedump dump -j import -C /mnt/win_c/windows/system32/advapi32.dll | grep GetModule 358 GetModuleFileNameW 646d2 362 GetModuleHandleW 64984 359 GetModuleHandleA 64ce0 -=(FeniX as fenix@darkblue)-(on tty1)-(at 09:47:03)=- -={$:'/cvs-src/wine/dlls/advapi32'}=->winedump dump -j import -C /mnt/win_c/windows/system32/advapi32.dll | grep LoadLib 560 LoadLibraryExW 64664 561 LoadLibraryW 64bd0 558 LoadLibraryA 64dd2 -=(FeniX as fenix@darkblue)-(on tty1)-(at 09:47:51)=- -={$:'/cvs-src/wine/dlls/advapi32'}=->winedump dump -j import -C /mnt/win_c/windows/system32/advapi32.dll | grep GetProcAd 393 GetProcAddress 64de2
It loads some functions dynamically, sure, but that doesn't mean it loads the winspool ones. If it did, a 'strings advapi32.dll' should find them, but it doesn't in all the versions I've checked.