59 references to WriteInt32
PresentationFramework (3)
src\Framework\MS\Internal\IO\Packaging\managedIStream.cs (2)
62Marshal.WriteInt32(bytesReadPtr, bytesRead); 172Marshal.WriteInt32(bytesWrittenPtr, bufferSize);
src\Framework\System\Windows\Documents\InputScopeAttribute.cs (1)
94Marshal.WriteInt32(ppinputscopes, (Int32)InputScopeNameValue.Default);
System (4)
services\monitoring\system\diagnosticts\ProcessManager.cs (4)
363Marshal.WriteInt32(bufferPtr, bufferSize); 379Marshal.WriteInt32(bufferPtr, bufferSize); 433Marshal.WriteInt32(bufferPtr, bufferSize); 448Marshal.WriteInt32(bufferPtr, bufferSize);
System.Drawing (17)
commonui\System\Drawing\Advanced\EncoderParameter.cs (17)
168Marshal.WriteInt32(parameterValue, unchecked((int)value)); 189Marshal.WriteInt32(parameterValue, numerator); 190Marshal.WriteInt32(Add(parameterValue, size), denominator); 211Marshal.WriteInt32(parameterValue, unchecked((int)rangebegin)); 212Marshal.WriteInt32(Add(parameterValue, size), unchecked((int)rangeend)); 235Marshal.WriteInt32(parameterValue, numerator1); 236Marshal.WriteInt32(Add(parameterValue, size), demoninator1); 237Marshal.WriteInt32(Add(parameterValue, 2*size), numerator2); 238Marshal.WriteInt32(Add(parameterValue, 3*size), demoninator2); 372Marshal.WriteInt32(Add(i*2*size, parameterValue), (int)numerator[i]); 373Marshal.WriteInt32(Add((i*2+1)*size, parameterValue), (int)denominator[i]); 401Marshal.WriteInt32(Add(i*2*size, parameterValue), unchecked((int)rangebegin[i])); 402Marshal.WriteInt32(Add((i*2+1)*size, parameterValue), unchecked((int)rangeend[i])); 434Marshal.WriteInt32(Add(parameterValue, 4*i*size), numerator1[i]); 435Marshal.WriteInt32(Add(parameterValue, (4*i+1)*size), denominator1[i]); 436Marshal.WriteInt32(Add(parameterValue, (4*i+2)*size), numerator2[i]); 437Marshal.WriteInt32(Add(parameterValue, (4*i+3)*size), denominator2[i]);
System.Messaging (3)
System\Messaging\Interop\Columns.cs (1)
66Marshal.WriteInt32((IntPtr)((long)this.columnIdentifiers + (index * 4)), columnId);
System\Messaging\Interop\Restrictions.cs (2)
48Marshal.WriteInt32(restrictionStructure.GetNextValidPtr(0), op); 49Marshal.WriteInt32(restrictionStructure.GetNextValidPtr(4), id);
System.Security (22)
system\security\cryptography\pkcs\envelopedpkcs7.cs (21)
704Marshal.WriteInt32(pcbSize, Marshal.SizeOf(typeof(CAPI.CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO))); 722Marshal.WriteInt32(pcbData, (int) certInfo.SubjectPublicKeyInfo.Algorithm.Parameters.cbData); 736Marshal.WriteInt32(pcbData, (int) certInfo.SubjectPublicKeyInfo.PublicKey.cbData); 744Marshal.WriteInt32(pcUnusedBIts, (int) certInfo.SubjectPublicKeyInfo.PublicKey.cUnusedBits); 769Marshal.WriteInt32(pdwIdChoice, (int) CAPI.CERT_ID_KEY_IDENTIFIER); 776Marshal.WriteInt32(pcbData, (int) cbData); 785Marshal.WriteInt32(pdwIdChoice, (int) CAPI.CERT_ID_ISSUER_SERIAL_NUMBER); 795Marshal.WriteInt32(pcbData, (int) certInfo.Issuer.cbData); 806Marshal.WriteInt32(pcbData, (int) certInfo.SerialNumber.cbData); 819Marshal.WriteInt32(pcbSize, Marshal.SizeOf(typeof(CAPI.CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO))); 865Marshal.WriteInt32(pdwKeyChoice, (int) CAPI.CMSG_KEY_AGREE_EPHEMERAL_KEY_CHOICE); 885Marshal.WriteInt32(pcbData, (int) certInfo.SubjectPublicKeyInfo.Algorithm.Parameters.cbData); 895Marshal.WriteInt32(pcRecipientEncryptedKeys, 1); 906Marshal.WriteInt32(pcbSize, Marshal.SizeOf(typeof(CAPI.CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO))); 913Marshal.WriteInt32(pcbData, (int) certInfo.SubjectPublicKeyInfo.PublicKey.cbData); 921Marshal.WriteInt32(pcUnusedBits, (int) certInfo.SubjectPublicKeyInfo.PublicKey.cUnusedBits); 930Marshal.WriteInt32(pdwIdChoice, (int) CAPI.CERT_ID_KEY_IDENTIFIER); 954Marshal.WriteInt32(pcbData, (int) cbKeyId); 961Marshal.WriteInt32(pdwIdChoice, (int) CAPI.CERT_ID_ISSUER_SERIAL_NUMBER); 971Marshal.WriteInt32(pcbData, (int) certInfo.Issuer.cbData); 982Marshal.WriteInt32(pcbData, (int) certInfo.SerialNumber.cbData);
system\security\cryptography\pkcs\signerinfo.cs (1)
424Marshal.WriteInt32(pcbData, (int)cbParameters);
System.ServiceModel (9)
System\ServiceModel\ComIntegration\ComPlusAuthorization.cs (5)
493Marshal.WriteInt32(authnSvc, (int)tempAuthnSvc); 498Marshal.WriteInt32(authzSvc, (int)RPC_C_AUTHZ_NONE); 513Marshal.WriteInt32(authnLevel, (int)RPC_C_AUTHN_LEVEL_DEFAULT); 518Marshal.WriteInt32(impLevel, 0); 530Marshal.WriteInt32(Capabilities, 0);
System\ServiceModel\ComIntegration\ProxyManager.cs (1)
144Marshal.WriteInt32(pDispID, (int)dispID);
System\ServiceModel\ComIntegration\ServiceMoniker.cs (3)
82System.Runtime.InteropServices.Marshal.WriteInt32(pdwHash, 0); 134System.Runtime.InteropServices.Marshal.WriteInt32(pdwMksys, 0); 177System.Runtime.InteropServices.Marshal.WriteInt32(pchEaten, pszDisplayName.Length);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\StringSource.cs (1)
130Marshal.WriteInt32(pceltFetched, fetched);