Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11InfoQueue::AddRetrievalFilterEntries method

Add storage filters to the top of the retrieval-filter stack.

Syntax


HRESULT AddRetrievalFilterEntries(
  [in] D3D11_INFO_QUEUE_FILTER *pFilter
);

Parameters

pFilter [in]

Type: D3D11_INFO_QUEUE_FILTER*

Array of retrieval filters (see D3D11_INFO_QUEUE_FILTER).

Return value

Type: HRESULT

This method returns one of the following Direct3D 11 Return Codes.

Remarks

The following code example shows how to use ID3D11InfoQueue::AddRetrievalFilterEntries:



D3D11_MESSAGE_CATEGORY cats[] = { ..., ..., ... };
D3D11_MESSAGE_SEVERITY sevs[] = { ..., ..., ... };
UINT ids[] = { ..., ..., ... };

D3D11_INFO_QUEUE_FILTER filter;
memset( &filter, 0, sizeof(filter) );

// To set the type of messages to allow, 
// set filter.AllowList as follows:
filter.AllowList.NumCategories = sizeof(cats / sizeof(D3D11_MESSAGE_CATEGORY)); 
filter.AllowList.pCategoryList = cats;
filter.AllowList.NumSeverities = sizeof(sevs / sizeof(D3D11_MESSAGE_SEVERITY)); 
filter.AllowList.pSeverityList = sevs;
filter.AllowList.NumIDs = sizeof(ids) / sizeof(UINT);
filter.AllowList.pIDList = ids;

// To set the type of messages to deny, set filter.DenyList 
// similarly to the preceding filter.AllowList.

// The following single call sets all of the preceding information.
hr = infoQueue->AddRetrievalFilterEntries( &filter );


Requirements

Header

D3D11SDKLayers.h

Library

D3D11.lib

See also

ID3D11InfoQueue Interface

 

 

Show:
© 2017 Microsoft