ProcessFailedRequests Property

Whether failed requests should be processed.

Syntax

ANSI (Cross Platform)
int GetProcessFailedRequests();
int SetProcessFailedRequests(int bProcessFailedRequests); Unicode (Windows) BOOL GetProcessFailedRequests();
INT SetProcessFailedRequests(BOOL bProcessFailedRequests);
#define PID_CBFILTER_PROCESSFAILEDREQUESTS 30

CBFSFILTER_EXTERNAL void* CBFSFILTER_CALL CBFSFilter_CBFilter_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
CBFSFILTER_EXTERNAL int CBFSFILTER_CALL CBFSFilter_CBFilter_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

FALSE

Remarks

This property specifies whether the class's system driver should process failed requests (i.e., fire After* and/or Notify* events for them).

When this property is enabled, applications can inspect the Status parameter of the aforementioned events to determine whether an operation has failed. If an operation fails, then the corresponding event's Status parameter will contain a non-zero native status code. Applications can generally use the NtStatusToWin32Error method to convert these status codes into Win32 error codes (though keep in mind that not all native status codes have a direct Win32 error code mapping).

Data Type

Boolean

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS Filter 2020 C++ Edition - Version 20.0 [Build 8317]