https://bugs.winehq.org/show_bug.cgi?id=36993
--- Comment #9 from Brad Baago bbaago@gmail.com --- (In reply to hanska2 from comment #8)
If you have wine source code there and needed compiler libraries etc you could try this
http://www.reactos.org/pipermail/ros-diffs/2006-June/012411.html
They have implemented the function more than wine.
Bye the looks of it they dont have it working either
their version: BOOL WINAPI DecryptFileW(LPCWSTR lpFileName, DWORD dwReserved) { DPRINT1("%s(%S) not implemented!\n", __FUNCTION__, lpFileName); SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; } our version: BOOL WINAPI DecryptFileW(LPCWSTR lpFileName, DWORD dwReserved) { FIXME("(%s, %08x): stub\n", debugstr_w(lpFileName), dwReserved); return TRUE; }
Only real difference is ours returns true while theres returns false. From what I read here: http://technet.microsoft.com/en-ca/aa363903%28v=vs.80%29.aspx it is suppose to return 0 or false when it fails. So I changed the wine version to return false which resulted in the program closing once it hit the fixme instead of waiting for me to kill it.
Does anyone know how one would go about implementing windows encryption functions? Is it even possible?