Michael Jung <[EMAIL PROTECTED]> writes: > I'm currently playing around with the rsabase.dll implementation. Since this > is the first time I'm writing wine code, I've got some questions: Is there > support code for managing HANDLE tables? Or does every dll implementation > provide it's own functions for doing this? Or do HANDLEs of each and every > kind have to be administered by wineserver? The current CVS version of > rsabase just casts between pointers and HCRYPTPROVs. Is this just a quick and > dirty hack or common practice?
It can be common practice, it all depends on what Windows does. There isn't a standard mechanism for handles, various Windows handles use different mechanisms: some are just pointers, some are index in a table, some contain various flags, etc. So it's up to the individual dll to provide an implementation that is compatible with the way Windows implements that specific handle type. -- Alexandre Julliard [EMAIL PROTECTED]
