LoaderVerifierRemoveFromBlockList (Compact 2013)
3/28/2014
This function removes an item from one of the Loader Verifier lists of blocked items.
Syntax
HRESULT LoaderVerifierRemoveFromBlockList(
__in LV_BLOCKLIST slBlockList,
__in_bcount(cbItem) const BYTE* pbItem,
__in DWORD cbItem
);
Parameters
- slBlockList
[in] Type of the block list containing the item to be removed. Currently the only supported block list type is LV_BLOCKLIST_CERTHASH; and pbItem should point to the hash of a certificate to be blocked.
- pbItem
[in] Pointer to a variable that contains the item that is being deleted from the list. If slBlockList sets LV_BLOCKLIST_CERTHASH as the block list type, the item that this method removes from the list is the hash of the certificate to be blocked.
- cbItem
[in] Specifies the size, in bytes, of the buffer that pbItem points to.
Return Value
The following table shows the possible return values.
Value |
Description |
---|---|
S_OK |
The item was removed from the list successfully. |
E_INVALIDARG |
slBlockList contains an invalid value, or cbItem is 0 or greater than maximum item size. |
E_POINTER |
pbItem is NULL. |