次の方法で共有


LoaderVerifierIsInBlockList (Compact 2013)

3/28/2014

This function checks whether an item is in one of the Loader Verifier lists of blocked items.

Syntax

HRESULT LoaderVerifierIsInBlockList(
    __in LV_BLOCKLIST slBlockList,
    __in_bcount(cbItem) const BYTE* pbItem,
    __in DWORD cbItem,
    __out BOOL* pfInBlockList
); 

Parameters

  • slBlockList
    [in] Type of block list being checked for an item. Currently the only supported block list type is LV_BLOCKLIST_CERTHASH.
  • pbItem
    [in] Pointer to a variable that contains the item to be checked.
  • cbItem
    [in] Size, in bytes, of the buffer that pbItem points to.
  • pfInBlockList
    [out] Pointer to a Boolean variable that returns the result of the check. The Boolean variable pointed to by this parameter is TRUE if the item was in the block list or FALSE if it was not.

Return Value

The following table shows the possible return values.

Value

Description

S_OK

No error occurred during the search.

E_INVALIDARG

slBlockList contains an invalid value, or cbItem is 0 or greater than the maximum item size.

E_POINTER

pbItem or pfInBlockList is NULL.

Remarks

See Also

Reference

Security Loader Functions