MsiRecordClearData function

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

Syntax


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

Version

Windows Installer 5.0 on Windows Server 2012, Windows 8, 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 or Windows XP

Header

Msiquery.h

Library

Msi.lib

DLL

Msi.dll

See also

Record Processing Functions

 

 

Show: