示例#1
0
 public static extern bool CryptStringToBinary(
     [In] string pszString,
     [In] uint cchString,
     [In] CryptStringFlags dwFlags,
     [Out] IntPtr pbBinary,
     [In, Out] ref uint pcbBinary,
     [Out] out uint pdwSkip,
     [Out] out CryptStringFlags pdwFlags);
示例#2
0
 internal static extern bool CryptStringToBinary(
         [MarshalAs(UnmanagedType.LPWStr)] string pszString,
         int stringLength,
         CryptStringFlags dwFlags,
         [In, Out] byte[] pbBinary,
         ref uint pcbBinary,
         out uint pdwSkip, out uint pdwFlags
     );