18 references to GlobalLock
System.Drawing (18)
commonui\System\Drawing\Printing\DefaultPrintController.cs (1)
102
IntPtr modePointer = SafeNativeMethods.
GlobalLock
(new HandleRef(this, modeHandle));
commonui\System\Drawing\Printing\PageSettings.cs (6)
211
IntPtr modePointer = SafeNativeMethods.
GlobalLock
(new HandleRef(this, modeHandle));
283
IntPtr modePointer = SafeNativeMethods.
GlobalLock
(new HandleRef(this, modeHandle));
338
IntPtr modePointer = SafeNativeMethods.
GlobalLock
(new HandleRef(null, hdevmode));
431
IntPtr modePointer = SafeNativeMethods.
GlobalLock
(new HandleRef(this, modeHandle));
473
IntPtr modePointer = SafeNativeMethods.
GlobalLock
(new HandleRef(null, modeHandle));
557
IntPtr pointer = SafeNativeMethods.
GlobalLock
(new HandleRef(null, hdevmode));
commonui\System\Drawing\Printing\PrinterSettings.cs (11)
667
IntPtr modePointer = SafeNativeMethods.
GlobalLock
(new HandleRef(null, hdevmode));
705
IntPtr modePointer = SafeNativeMethods.
GlobalLock
(new HandleRef(null, hdevmode));
863
IntPtr names = SafeNativeMethods.
GlobalLock
(new HandleRef(data, handle));
886
IntPtr names = SafeNativeMethods.
GlobalLock
(new HandleRef(data, handle));
918
IntPtr names = SafeNativeMethods.
GlobalLock
(new HandleRef(data, handle));
942
IntPtr names = SafeNativeMethods.
GlobalLock
(new HandleRef(data, handle));
1011
IntPtr pointer = SafeNativeMethods.
GlobalLock
(new HandleRef(null, handle));
1111
IntPtr namesPointer = SafeNativeMethods.
GlobalLock
(new HandleRef(null, handle));
1147
IntPtr modePointer = SafeNativeMethods.
GlobalLock
(new HandleRef(this, modeHandle));
1318
IntPtr pointer = SafeNativeMethods.
GlobalLock
(new HandleRef(null, hdevmode));
1362
IntPtr namesPointer = SafeNativeMethods.
GlobalLock
(new HandleRef(null, hdevnames));