2 writes to fileMappingHandle
System (2)
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (2)
1587
fileMappingHandle
= NativeMethods.CreateFileMapping((IntPtr)(-1), securityAttributes,
1596
fileMappingHandle
= NativeMethods.OpenFileMapping(NativeMethods.FILE_MAP_WRITE, false, mappingName);
5 references to fileMappingHandle
System (5)
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (5)
1590
if ((Marshal.GetLastWin32Error() != NativeMethods.ERROR_ACCESS_DENIED) || !
fileMappingHandle
.IsInvalid) {
1595
fileMappingHandle
.SetHandleAsInvalid();
1598
if ((Marshal.GetLastWin32Error() != NativeMethods.ERROR_FILE_NOT_FOUND) || !
fileMappingHandle
.IsInvalid) {
1613
if (
fileMappingHandle
.IsInvalid) {
1617
fileViewAddress = SafeFileMapViewHandle.MapViewOfFile(
fileMappingHandle
, NativeMethods.FILE_MAP_WRITE, 0,0, UIntPtr.Zero);