13 references to LMEM_FIXED
System.Security (13)
system\security\cryptography\cryptoapi.cs (5)
45
internal const uint LPTR = (
LMEM_FIXED
| LMEM_ZEROINIT);
2336
ptr = CAPI.LocalAlloc(CAPI.
LMEM_FIXED
, new IntPtr(cbDecoded));
2376
pbDecoded = CAPI.LocalAlloc(CAPI.
LMEM_FIXED
, new IntPtr(cbDecoded));
2411
pbEncoded = CAPI.LocalAlloc(CAPI.
LMEM_FIXED
, new IntPtr(cbEncoded));
2445
pbEncoded = CAPI.LocalAlloc(CAPI.
LMEM_FIXED
, new IntPtr(cbEncoded));
system\security\cryptography\pkcs\pkcsutils.cs (4)
134
SafeLocalAllocHandle pbAlgorithm = CAPI.LocalAlloc(CAPI.
LMEM_FIXED
, new IntPtr(cbAlgorithm));
301
SafeLocalAllocHandle pbCmsgSignerInfo = CAPI.LocalAlloc(CAPI.
LMEM_FIXED
, new IntPtr(cbCmsgSignerInfo));
373
ptr = CAPI.LocalAlloc(CAPI.
LMEM_FIXED
, new IntPtr(checked(2 * cbSize)));
959
certBlob = CAPI.LocalAlloc(CAPI.
LMEM_FIXED
, new IntPtr(certificates.Count * Marshal.SizeOf(typeof(CAPI.CRYPTOAPI_BLOB))));
system\security\cryptography\pkcs\signedpkcs7.cs (1)
303
SafeLocalAllocHandle pSignerEncodeInfo = CAPI.LocalAlloc(CAPI.
LMEM_FIXED
, new IntPtr(Marshal.SizeOf(typeof(CAPI.CMSG_SIGNER_ENCODE_INFO))));
system\security\cryptography\pkcs\signerinfo.cs (1)
748
SafeLocalAllocHandle pbCmsgSignerInfo = CAPI.LocalAlloc(CAPI.
LMEM_FIXED
, new IntPtr(cbCmsgSignerInfo));
system\security\cryptography\x509\x509utils.cs (2)
130
SafeLocalAllocHandle pb = CAPI.LocalAlloc(CAPI.
LMEM_FIXED
, new IntPtr(arr.Length));
157
ptr = CAPI.LocalAlloc(CAPI.
LMEM_FIXED
, new IntPtr(cbData));