Lines Matching refs:record
338 /*************************** Record objects **********************/
341 record_getfieldcount(msiobj* record, PyObject* args)
343 return PyInt_FromLong(MsiRecordGetFieldCount(record->h));
347 record_getinteger(msiobj* record, PyObject* args)
354 status = MsiRecordGetInteger(record->h, field);
356 PyErr_SetString(MSIError, "could not convert record field to integer");
363 record_getstring(msiobj* record, PyObject* args)
374 status = MsiRecordGetString(record->h, field, res, &size);
379 status = MsiRecordGetString(record->h, field, res, &size);
390 record_cleardata(msiobj* record, PyObject *args)
392 int status = MsiRecordClearData(record->h);
401 record_setstring(msiobj* record, PyObject *args)
410 if ((status = MsiRecordSetString(record->h, field, data)) != ERROR_SUCCESS)
418 record_setstream(msiobj* record, PyObject *args)
427 if ((status = MsiRecordSetStream(record->h, field, data)) != ERROR_SUCCESS)
435 record_setinteger(msiobj* record, PyObject *args)
444 if ((status = MsiRecordSetInteger(record->h, field, data)) != ERROR_SUCCESS)
473 "_msi.Record", /*tp_name*/
698 PyErr_SetString(PyExc_TypeError, "Execute argument must be a record");
751 PyErr_SetString(PyExc_TypeError, "Modify expects a record object");
782 PyDoc_STR("Modify(mode,record) -> None\nWraps MsiViewModify")},