[This is preliminary documentation and subject to change.]
The MsiCreateRecord function creates a new record object with the specified number of fields.
MSIHANDLE MsiCreateRecord(
unsigned int cParams // the number of data fields
);
If the function succeeds, the return value is handle to a new record object.
If the function fails, the return value is NULL.
Field 0 of the record object created by the MsiCreateRecord function is used for format strings and operation codes and is not included in the count specified by cParams. All fields are initialized to NULL.
Windows NT: Requires version 4.0 or later. Available as a redistributable for Windows NT 4.0.
Windows: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in msiquery.h.
Import Library: Use msi.lib.
Database Access Reference, Record Processing Functions