Lines Matching defs:data
62 "QueryValueEx() - Retrieves the type and data for a specified value name\n"
67 "SetValueEx() - Stores data in the value field of an open registry key.\n"
235 def render(self, function, data):
236 self.declare(data)
237 self.err_occurred_if_null_pointer("_return_value", data)
238 data.return_conversion.append(
247 def render(self, function, data):
248 self.declare(data)
249 data.return_conversion.append(
518 fixupMultiSZ(wchar_t **str, wchar_t *data, int len)
524 if (len > 0 && data[len - 1] == '\0') {
525 Q = data + len - 1;
528 Q = data + len;
531 for (P = data, i = 0; P < Q; P++, i++) {
540 countStrings(wchar_t *data, int len)
545 if (len > 0 && data[len - 1] == '\0') {
546 Q = data + len - 1;
549 Q = data + len;
552 for (P = data, strings = 0; P < Q; P++, strings++) {
560 /* Convert PyObject into Registry data.
704 /* ALSO handle ALL unknown data types here. Even if we can't
740 /* Convert Registry data into PyObject*/
766 wchar_t *data = (wchar_t *)retDataBuf;
767 size_t len = wcsnlen(data, retDataSize / sizeof(wchar_t));
768 obData = PyUnicode_FromWideChar(data, len);
777 wchar_t *data = (wchar_t *)retDataBuf;
779 int s = countStrings(data, len);
784 fixupMultiSZ(str, data, len);
807 /* ALSO handle ALL unknown data types here. Even if we can't
1156 An object that holds the value data, and whose type depends
1159 An integer that identifies the type of the value data.
1301 CloseKey(), the FlushKey() method returns only when all the data has
1331 The name of the file to load registry data from. This file must
1337 Insert data into the registry from a file.
1494 Values in the registry have name, type, and data components. This method
1495 retrieves the data for a key's first value that has a NULL name.
1633 The name of the file to save registry data to. This file cannot
1680 An integer that specifies the type of the data. Currently this must
1761 An integer that specifies the type of the data, one of:
1762 REG_BINARY -- Binary data in any form.
1782 Stores data in the value field of an open registry key.
1801 BYTE *data;
1806 if (!Py2Reg(value, type, &data, &len))
1810 "Could not convert the data to the specified type.");
1816 PyMem_Free(data);
1820 rc = RegSetValueExW(key, value_name, 0, type, data, len);
1822 PyMem_Free(data);