Skip to content
Snippets Groups Projects
Commit bfb7a0aa authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard
Browse files

mstask: Don't touch instance count field of the job file in the client.


It should be managed on the server side.

Signed-off-by: default avatarDmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 0932d858
No related branches found
No related tags found
No related merge requests found
......@@ -1260,9 +1260,8 @@ static HRESULT WINAPI MSTASK_IPersistFile_Save(IPersistFile *iface, LPCOLESTR ta
goto failed;
}
/* Instance Count */
word = 0;
if (!WriteFile(hfile, &word, sizeof(word), &size, NULL))
/* Instance Count: don't touch it in the client */
if (SetFilePointer(hfile, sizeof(word), NULL, FILE_CURRENT) == INVALID_SET_FILE_POINTER)
{
hr = HRESULT_FROM_WIN32(GetLastError());
goto failed;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment