pub unsafe extern "system" fn CryptSignAndEncodeCertificate(
    hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE,
    dwkeyspec: CERT_KEY_SPEC,
    dwcertencodingtype: CERT_QUERY_ENCODING_TYPE,
    lpszstructtype: PCSTR,
    pvstructinfo: *const c_void,
    psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER,
    pvhashauxinfo: *const c_void,
    pbencoded: *mut u8,
    pcbencoded: *mut u32,
) -> BOOL