Re: [PATCH 5/9] avrt: Add stub for Av(Set, Revert)MMThreadCharacteristics
12 Nov
2009
12 Nov
'09
1:31 p.m.
Maarten Lankhorst <m.b.lankhorst(a)gmail.com> writes:
+HANDLE WINAPI AvSetMmThreadCharacteristicsW(LPCWSTR TaskName, LPDWORD TaskIndex) +{ + FIXME("(%s,%p): stub\n", debugstr_w(TaskName), TaskIndex); + + if (!TaskName) + { + SetLastError(ERROR_INVALID_TASK_NAME); + return NULL; + } + if (!TaskIndex) + { + SetLastError(ERROR_INVALID_HANDLE); + return NULL; + } + return (HANDLE)(LONG_PTR)-1;
-1 is not a good choice for a valid handle value. -- Alexandre Julliard julliard(a)winehq.org
5876
Age (days ago)
5876
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard