pub fn ms_primitive_provider(alg_id: CNGAlgorithmIdentifier, flag: AlgorithmHandleFlag) -> std::result::Result<Self, NtError> {
        let p: &OsStr = "Microsoft Primitive Provider".as_ref();
        let mut v: Vec<u16> = p.encode_wide().collect();
        v.push(0);
        let mut alg_id: Vec<u16> = alg_id.encode_wide().collect();
        alg_id.push(0);
        Self::open_algorithm_provider(alg_id.as_ptr(), v.as_ptr(), flag.0)
    }
/// Identifies the basic Microsoft CNG provider. 
Identifies the basic Microsoft CNG provider.
Identifies the basic Microsoft CNG provider .
pub fn ms_primitive_provider(alg_id: CNGAlgorithmIdentifier, flag: AlgorithmHandleFlag) -> std::result::Result<Self, NtError> {
        let p: &OsStr = "Microsoft Primitive Provider".as_ref();
        let mut v: Vec<u16> = p.encode_wide().collect();
        v.push(0);
        let mut alg_id: Vec<u16> = alg_id.encode_wide().collect();
        alg_id.push(0);
        Self::open_algorithm_provider(alg_id.as_ptr(), v.as_ptr(), flag.0)
    }
pub fn ms_primitive_provider ( alg_id : CNGAlgorithmIdentifier , flag : AlgorithmHandleFlag ) -> std :: result :: Result < Self , NtError > { let p : & OsStr = " " . as_ref ( ) ; let mut v : Vec < u16 > = p . encode_wide ( ) . collect ( ) ; v . push ( 0 ) ; let mut alg_id : Vec < u16 > = alg_id . encode_wide ( ) . collect ( ) ; alg_id . push ( 0 ) ; Self :: open_algorithm_provider ( alg_id . as_ptr ( ) , v . as_ptr ( ) , flag . 0 ) }
Identifies the basic Microsoft CNG provider.
Identifies the basic Microsoft CNG provider .
alg_id
CNGAlgorithmIdentifier
flag
AlgorithmHandleFlag
alg_id
CNGAlgorithmIdentifier
flag
AlgorithmHandleFlag