Expand Minimize
This topic has not yet been rated - Rate this topic

SetupDuplicateDiskSpaceList Function

[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 SetupDuplicateDiskSpaceList function duplicates a disk-space list as a new independent disk-space list.

Syntax

HDSKSPC WINAPI SetupDuplicateDiskSpaceList(
  __in        HDSKSPC DiskSpace,
  __reserved  PVOID Reserved1,
  __reserved  DWORD Reserved2,
  __reserved  UINT Flags
);

Parameters

DiskSpace [in]

Handle to the disk-space list to be duplicated.

Reserved1

Unused, must be zero.

Reserved2

Unused, must be zero.

Flags

Unused, must be zero.

Return Value

If the function succeeds, it returns a handle to the new disk-space list.

If the function fails, it returns null. To get extended error information, call GetLastError.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Setupapi.h

Library

Setupapi.lib

DLL

Setupapi.dll

Unicode and ANSI names

SetupDuplicateDiskSpaceListW (Unicode) and SetupDuplicateDiskSpaceListA (ANSI)

See Also

Overview
Functions

 

 

Build date: 8/19/2010

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.