MsiRecordClearData Function

Windows Installer

MsiRecordClearData Function

The MsiRecordClearData function sets all fields in a record to null.

Syntax

C++unsigned int MsiRecordClearData(
  __in  MSIHANDLE hRecord
);

Parameters

hRecord [in]

Handle to the record.

Return Value

ERROR_INVALID_HANDLE

The handle is inactive or does not represent a record.

ERROR_SUCCESS

The function succeeded.

Requirements

VersionWindows Installer 5.0 on Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003, Windows XP, and Windows 2000
HeaderMsiquery.h
LibraryMsi.lib
DLLMsi.dll

See Also

Record Processing Functions

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.