Lines Matching defs:section
21 Additional permission under GNU GPL version 3 section 7
113 /* Construct the name for a named section (a.k.a. `file mapping') object.
139 HANDLE section, event;
144 section = OpenFileMapping (FILE_MAP_WRITE, FALSE, name);
147 OpenFileMapping() fails; so we assume it failed because the section
149 if (!section)
152 info = MapViewOfFile (section, FILE_MAP_WRITE, 0, 0, 0);
155 CloseHandle (section);
176 CloseHandle (section);
190 essentially identical. We create a specially named section object that
200 HANDLE section, event, h[2];
207 section = pi.hProcess = pi.hThread = NULL;
235 /* Create a named section object with a name based on the process id of
238 section =
243 /* Fail if the section object already exists (should not happen). */
244 if (!section || (le == ERROR_ALREADY_EXISTS))
250 /* Copy the event handle into the section object. */
251 info = MapViewOfFile (section, FILE_MAP_WRITE, 0, 0, 0);
279 info = MapViewOfFile (section, FILE_MAP_READ, 0, 0, 0);
304 if (section)
305 CloseHandle (section);