Home | History | Annotate | Download | only in win

Lines Matching refs:Protection

133 static DWORD accessRights(SharedMemory::Protection protection)
135 switch (protection) {
146 PassRefPtr<SharedMemory> SharedMemory::create(const Handle& handle, Protection protection)
148 RefPtr<SharedMemory> memory = adopt(handle.m_handle, handle.m_size, protection);
158 PassRefPtr<SharedMemory> SharedMemory::adopt(HANDLE handle, size_t size, Protection protection)
163 DWORD desiredAccess = accessRights(protection);
187 bool SharedMemory::createHandle(Handle& handle, Protection protection)
195 if (!::DuplicateHandle(processHandle, m_handle, processHandle, &duplicatedHandle, accessRights(protection), FALSE, 0))