MSI.CreateRecord

number MSI.CreateRecord ( 

number NumArgs )

Description

Calls the MsiCreateRecord function that creates a new record object with the specified number of fields. This function returns a handle that should be closed using MSI.CloseHandle.

Parameters

NumArgs

(number) Specifies the number of fields the record will have. The maximum number of fields in a record is limited to 65535. Field 0 is not included in this count.

Returns

(number)  The record handle of the created record. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions