Skip to content

Latest commit

 

History

History
96 lines (71 loc) · 3.59 KB

nf-setupapi-setupinitdefaultqueuecallback.md

File metadata and controls

96 lines (71 loc) · 3.59 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:setupapi.SetupInitDefaultQueueCallback
SetupInitDefaultQueueCallback function (setupapi.h)
The SetupInitDefaultQueueCallback function initializes the context used by the default queue callback routine included with the Setup API.
SetupInitDefaultQueueCallback
SetupInitDefaultQueueCallback function [Setup API]
_setupapi_setupinitdefaultqueuecallback
setup.setupinitdefaultqueuecallback
setupapi/SetupInitDefaultQueueCallback
setup\setupinitdefaultqueuecallback.htm
setup
3ee7da67-42ff-4ea1-9c7f-6c0dcc3dc0b4
12/05/2018
SetupInitDefaultQueueCallback, SetupInitDefaultQueueCallback function [Setup API], _setupapi_setupinitdefaultqueuecallback, setup.setupinitdefaultqueuecallback, setupapi/SetupInitDefaultQueueCallback
setupapi.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Setupapi.lib
Setupapi.dll
Windows
19H1
SetupInitDefaultQueueCallback
setupapi/SetupInitDefaultQueueCallback
c++
APIRef
kbSyntax
DllExport
Setupapi.dll
SetupInitDefaultQueueCallback

SetupInitDefaultQueueCallback function

-description

[This function is available for use in the operating systems indicated in the Requirements section. It may be altered or unavailable in subsequent versions. SetupAPI should no longer be used for installing applications. Instead, use the Windows Installer for developing application installers. SetupAPI continues to be used for installing device drivers.]

The SetupInitDefaultQueueCallback function initializes the context used by the default queue callback routine included with the Setup API.

-parameters

-param OwnerWindow [in]

Handle to the window to use as the parent of any dialog boxes generated by the default callback routine.

-returns

Pointer to the context used by the default queue callback routine.

If the call to SetupInitDefaultQueueCallback fails, the function returns a PVOID value of null.

To get extended error information, call GetLastError.

-remarks

Regardless of whether you initialized the context used by the default queue callback routine with SetupInitDefaultQueueCallback or SetupInitDefaultQueueCallbackEx, after the queued operations have finished processing, call SetupTermDefaultQueueCallback to release the resources allocated in initializing the context structure. For more information, see Initializing and Terminating the Callback Context.

-see-also

Functions

Overview

SetupDefaultQueueCallback

SetupInitDefaultQueueCallbackEx