pub fn ms_platform_crypto_provider(alg_id: CNGAlgorithmIdentifier, flag: AlgorithmHandleFlag) -> std::result::Result<Self, NtError> {
        let p: &OsStr = "Microsoft Platform Crypto Provider".as_ref();
        let v: Vec<u16> = p.encode_wide().collect();
        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 TPM key storage provider that is provided by Microsoft.
Identifies the TPM key storage provider that is provided by Microsoft.
Identifies the TPM key storage provider that is provided by Microsoft .
pub fn ms_platform_crypto_provider(alg_id: CNGAlgorithmIdentifier, flag: AlgorithmHandleFlag) -> std::result::Result<Self, NtError> {
        let p: &OsStr = "Microsoft Platform Crypto Provider".as_ref();
        let v: Vec<u16> = p.encode_wide().collect();
        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_platform_crypto_provider ( alg_id : CNGAlgorithmIdentifier , flag : AlgorithmHandleFlag ) -> std :: result :: Result < Self , NtError > { let p : & OsStr = " " . as_ref ( ) ; let v : Vec < u16 > = p . encode_wide ( ) . collect ( ) ; 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 TPM key storage provider that is provided by Microsoft.
Identifies the TPM key storage provider that is provided by Microsoft .
alg_id
CNGAlgorithmIdentifier
flag
AlgorithmHandleFlag
alg_id
CNGAlgorithmIdentifier
flag
AlgorithmHandleFlag