Module: wine Branch: master Commit: d060160b7a045337507a2398c8f20c90b486580a URL: http://source.winehq.org/git/wine.git/?a=commit;h=d060160b7a045337507a2398c8...
Author: Hans Leidekker hans@it.vu.nl Date: Fri May 18 11:38:30 2007 +0200
setupapi: Implement pSetup{Get, Set}QueueFlags.
---
dlls/setupapi/queue.c | 19 +++++++++++++++++++ dlls/setupapi/setupapi.spec | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/dlls/setupapi/queue.c b/dlls/setupapi/queue.c index 063e8c0..0014a54 100644 --- a/dlls/setupapi/queue.c +++ b/dlls/setupapi/queue.c @@ -1527,3 +1527,22 @@ UINT WINAPI SetupCopyErrorW( HWND parent, PCWSTR dialogTitle, PCWSTR diskname, w32error, debugstr_w(sourcefile), debugstr_w(sourcepath) ,debugstr_w(targetpath)); return DPROMPT_SKIPFILE; } + +/*********************************************************************** + * pSetupGetQueueFlags (SETUPAPI.@) + */ +DWORD WINAPI pSetupGetQueueFlags( HSPFILEQ handle ) +{ + struct file_queue *queue = handle; + return queue->flags; +} + +/*********************************************************************** + * pSetupSetQueueFlags (SETUPAPI.@) + */ +BOOL WINAPI pSetupSetQueueFlags( HSPFILEQ handle, DWORD flags ) +{ + struct file_queue *queue = handle; + queue->flags = flags; + return TRUE; +} diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec index 006f1fc..d6a6b6e 100644 --- a/dlls/setupapi/setupapi.spec +++ b/dlls/setupapi/setupapi.spec @@ -545,13 +545,13 @@ @ stdcall pSetupGetField(ptr long) @ stdcall pSetupGetGlobalFlags() @ stub pSetupGetOsLoaderDriveAndPath -@ stub pSetupGetQueueFlags +@ stdcall pSetupGetQueueFlags(ptr) @ stub pSetupGetVersionDatum @ stub pSetupGuidFromString @ stub pSetupIsGuidNull @ stub pSetupMakeSurePathExists @ stdcall pSetupSetGlobalFlags(long) -@ stub pSetupSetQueueFlags +@ stdcall pSetupSetQueueFlags(ptr long) @ stub pSetupSetSystemSourceFlags @ stub pSetupStringFromGuid @ stdcall pSetupStringTableAddString(ptr wstr long) StringTableAddString