コード例 #1
0
    internal static extern int BCryptSetProperty(
#endif
        BCryptHandle hObject,
        [MarshalAs(UnmanagedType.LPWStr)] string pszProperty,
        void *pbInput,
        uint cbInput,
        uint dwFlags);
コード例 #2
0
 // http://msdn.microsoft.com/en-us/library/windows/desktop/aa375464(v=vs.85).aspx
 internal static extern int BCryptGetProperty(
     [In] BCryptHandle hObject,
     [In, MarshalAs(UnmanagedType.LPWStr)] string pszProperty,
     [In] void *pbOutput,
     [In] uint cbOutput,
     [Out] out uint pcbResult,
     [In] uint dwFlags);
コード例 #3
0
    internal static extern int BCryptGetProperty(
#endif
        BCryptHandle hObject,
        [MarshalAs(UnmanagedType.LPWStr)] string pszProperty,
        void *pbOutput,
        uint cbOutput,
        out uint pcbResult,
        uint dwFlags);