Lines Matching refs:record
358 /*************************** Record objects **********************/
361 record_getfieldcount(msiobj* record, PyObject* args)
363 return PyLong_FromLong(MsiRecordGetFieldCount(record->h));
367 record_getinteger(msiobj* record, PyObject* args)
374 status = MsiRecordGetInteger(record->h, field);
376 PyErr_SetString(MSIError, "could not convert record field to integer");
383 record_getstring(msiobj* record, PyObject* args)
394 status = MsiRecordGetStringW(record->h, field, res, &size);
399 status = MsiRecordGetStringW(record->h, field, res, &size);
410 record_cleardata(msiobj* record, PyObject *args)
412 int status = MsiRecordClearData(record->h);
420 record_setstring(msiobj* record, PyObject *args)
429 if ((status = MsiRecordSetStringW(record->h, field, data)) != ERROR_SUCCESS)
436 record_setstream(msiobj* record, PyObject *args)
445 if ((status = MsiRecordSetStreamW(record->h, field, data)) != ERROR_SUCCESS)
452 record_setinteger(msiobj* record, PyObject *args)
461 if ((status = MsiRecordSetInteger(record->h, field, data)) != ERROR_SUCCESS)
489 "_msi.Record", /*tp_name*/
731 PyErr_SetString(PyExc_TypeError, "Execute argument must be a record");
787 PyErr_SetString(PyExc_TypeError, "Modify expects a record object");
816 PyDoc_STR("Modify(mode,record) -> None\nWraps MsiViewModify")},