http://bugs.winehq.org/show_bug.cgi?id=28008
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #18 from Bruno Jesus 00cpxxx@gmail.com 2011-09-15 08:30:29 CDT --- Hi, please find my comments below.
+ info->pwszName = (LPWSTR)(info + 1); info is a struct and using info + 1 inside parenthesis would make it go to the next struct address which may be out of bounds (or not?).
+ if(!pguidServiceProvider) + { + lstrcpyW(info->pwszName, dp_providerW); There is an extra space after the {
+ *pcReturned = 1; + + return DPN_OK; You're not setting *pcbEnumData = req_size; when the function return success, isn't it required?
Can you give an example of this function call with real parameters?