Lines Matching refs:pRecord
778 static HRESULT Installer_CreateRecord(int count, IDispatch **pRecord) in Installer_CreateRecord() argument
790 *pRecord = V_DISPATCH(&varresult); in Installer_CreateRecord()
1274 static HRESULT View_Execute(IDispatch *pView, IDispatch *pRecord) in View_Execute() argument
1282 V_DISPATCH(&vararg[0]) = pRecord; in View_Execute()
1296 static HRESULT View_Modify(IDispatch *pView, int iMode, IDispatch *pRecord) in View_Modify() argument
1307 V_DISPATCH(&vararg[0]) = pRecord; in View_Modify()
1308 if (pRecord) in View_Modify()
1309 IDispatch_AddRef(pRecord); /* VariantClear in invoke will call IDispatch_Release */ in View_Modify()
1321 static HRESULT Record_FieldCountGet(IDispatch *pRecord, int *pFieldCount) in Record_FieldCountGet() argument
1325 … HRESULT hr = invoke(pRecord, "FieldCount", DISPATCH_PROPERTYGET, &dispparams, &varresult, VT_I4); in Record_FieldCountGet()
1331 static HRESULT Record_StringDataGet(IDispatch *pRecord, int iField, LPWSTR szString) in Record_StringDataGet() argument
1342 hr = invoke(pRecord, "StringData", DISPATCH_PROPERTYGET, &dispparams, &varresult, VT_BSTR); in Record_StringDataGet()
1348 static HRESULT Record_StringDataPut(IDispatch *pRecord, int iField, LPCWSTR szString) in Record_StringDataPut() argument
1362 return invoke(pRecord, "StringData", DISPATCH_PROPERTYPUT, &dispparams, &varresult, VT_EMPTY); in Record_StringDataPut()
1365 static HRESULT Record_IntegerDataGet(IDispatch *pRecord, int iField, int *pValue) in Record_IntegerDataGet() argument
1376 hr = invoke(pRecord, "IntegerData", DISPATCH_PROPERTYGET, &dispparams, &varresult, VT_I4); in Record_IntegerDataGet()
1382 static HRESULT Record_IntegerDataPut(IDispatch *pRecord, int iField, int iValue) in Record_IntegerDataPut() argument
1396 return invoke(pRecord, "IntegerData", DISPATCH_PROPERTYPUT, &dispparams, &varresult, VT_EMPTY); in Record_IntegerDataPut()
1628 IDispatch *pRecord = NULL; in test_Database() local
1636 hr = View_Fetch(pView, &pRecord); in test_Database()
1638 ok(pRecord != NULL, "View_Fetch should not have returned NULL record\n"); in test_Database()
1639 if (pRecord) in test_Database()
1643 hr = Record_StringDataGet(pRecord, 1, szString); in test_Database()
1648 hr = Record_StringDataPut(pRecord, 1, L"Two"); in test_Database()
1653 hr = Record_StringDataGet(pRecord, 1, szString); in test_Database()
1658 hr = Record_StringDataPut(pRecord, -1, szString); in test_Database()
1667 hr = View_Modify(pView, -5, pRecord); in test_Database()
1675 hr = View_Modify(pView, MSIMODIFY_REFRESH, pRecord); in test_Database()
1680 hr = Record_StringDataGet(pRecord, 1, szString); in test_Database()
1684 IDispatch_Release(pRecord); in test_Database()
1688 hr = View_Fetch(pView, &pRecord); in test_Database()
1690 ok(pRecord != NULL, "View_Fetch should not have returned NULL record\n"); in test_Database()
1691 if (pRecord) in test_Database()
1695 hr = Record_StringDataGet(pRecord, 1, szString); in test_Database()
1699 IDispatch_Release(pRecord); in test_Database()
1703 hr = View_Fetch(pView, &pRecord); in test_Database()
1705 ok(pRecord == NULL, "View_Fetch should have returned NULL record\n"); in test_Database()
1706 if (pRecord) in test_Database()
1707 IDispatch_Release(pRecord); in test_Database()
2461 …IDispatch *pSession = NULL, *pDatabase = NULL, *pRecord = NULL, *pStringList = NULL, *pSumInfo = N… in test_Installer() local
2469 hr = Installer_CreateRecord(-1, &pRecord); in test_Installer()
2474 hr = Installer_CreateRecord(1, &pRecord); in test_Installer()
2476 ok(pRecord != NULL, "Installer_CreateRecord should not have returned NULL record\n"); in test_Installer()
2477 if (pRecord) in test_Installer()
2480 hr = Record_FieldCountGet(pRecord, &iValue); in test_Installer()
2485 hr = Record_IntegerDataGet(pRecord, 1, &iValue); in test_Installer()
2490 hr = Record_IntegerDataGet(pRecord, 10, &iValue); in test_Installer()
2495 hr = Record_IntegerDataPut(pRecord, 1, 100); in test_Installer()
2499 hr = Record_IntegerDataPut(pRecord, 10, 100); in test_Installer()
2504 hr = Record_IntegerDataGet(pRecord, 1, &iValue); in test_Installer()
2508 IDispatch_Release(pRecord); in test_Installer()