1 instantiation of SafeLocalAllocHandle
mscorlib (1)
microsoft\win32\safehandles\safelocalallochandle.cs (1)
19
get { return new
SafeLocalAllocHandle
(IntPtr.Zero); }
29 references to SafeLocalAllocHandle
mscorlib (29)
microsoft\win32\safehandles\safelocalallochandle.cs (1)
18
internal static
SafeLocalAllocHandle
InvalidHandle {
microsoft\win32\win32native.cs (4)
533
internal UNICODE_INTPTR_STRING (int stringBytes,
SafeLocalAllocHandle
buffer) {
769
SafeLocalAllocHandle
LocalAlloc(
2292
[In]
SafeLocalAllocHandle
TokenInformation,
2302
[In]
SafeLocalAllocHandle
TokenInformation,
system\security\principal\windowsidentity.cs (24)
177
SafeLocalAllocHandle
.InvalidHandle, 0, out dwLength);
526
using (
SafeLocalAllocHandle
tokenOwner = GetTokenInformation(m_safeTokenHandle, TokenInformationClass.TokenOwner)) {
544
using (
SafeLocalAllocHandle
tokenUser = GetTokenInformation(m_safeTokenHandle, TokenInformationClass.TokenUser)) {
562
using (
SafeLocalAllocHandle
pGroups = GetTokenInformation(m_safeTokenHandle, TokenInformationClass.TokenGroups)) {
888
using (
SafeLocalAllocHandle
information = GetTokenInformation(m_safeTokenHandle, tokenInformationClass)) {
931
using (
SafeLocalAllocHandle
pStatistics = GetTokenInformation(safeTokenHandle, TokenInformationClass.TokenStatistics)) {
938
private static
SafeLocalAllocHandle
GetTokenInformation (SafeAccessTokenHandle tokenHandle, TokenInformationClass tokenInformationClass) {
939
SafeLocalAllocHandle
safeLocalAllocHandle =
SafeLocalAllocHandle
.InvalidHandle;
987
using (
SafeLocalAllocHandle
pSourceName = Win32Native.LocalAlloc(Win32Native.LPTR, ptrLength)) {
1038
using (
SafeLocalAllocHandle
pPackageName = Win32Native.LocalAlloc(Win32Native.LMEM_FIXED, ptrLength)) {
1074
using (
SafeLocalAllocHandle
logonInfoBuffer = Win32Native.LocalAlloc(Win32Native.LPTR, new UIntPtr(logonInfoSize))) {
1327
SafeLocalAllocHandle
safeAllocHandle =
SafeLocalAllocHandle
.InvalidHandle;
1377
SafeLocalAllocHandle
safeAllocHandle =
SafeLocalAllocHandle
.InvalidHandle;
1378
SafeLocalAllocHandle
safeAllocHandlePrimaryGroup =
SafeLocalAllocHandle
.InvalidHandle;
1441
SafeLocalAllocHandle
safeAllocHandle =
SafeLocalAllocHandle
.InvalidHandle;
1472
SafeLocalAllocHandle
safeAllocHandle =
SafeLocalAllocHandle
.InvalidHandle;
1476
SafeLocalAllocHandle
safeLocalAllocHandle =
SafeLocalAllocHandle
.InvalidHandle;