MsiRecordIsNull Function

Windows Installer

MsiRecordIsNull Function

The MsiRecordIsNull function reports a null record field.

Syntax

C++BOOL MsiRecordIsNull(
  __in  MSIHANDLE hRecord,
  __in  unsigned int iField
);

Parameters

hRecord [in]

Handle to a record.

iField [in]

Specifies the field to check.

Return Value

FALSE

The function succeeds, and the field is not null or the record handle is invalid.

TRUE

The function succeeds, and the field is null or the field does not exist.

Remarks

The iField parameter is based on 1 (one).

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.