Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DeviceDsmValidateOutputLength function validates the length of an output buffer.
Syntax
BOOLEAN DeviceDsmValidateOutputLength(
PDEVICE_DSM_DEFINITION Definition,
ULONG OutputLength
);
Parameters
Definition
Pointer to a DEVICE_DSM_DEFINITION structure that defines the operation.
OutputLength
Length, in bytes, of the output buffer.
Return value
DeviceDsmValidateOutputLength returns TRUE when the length of the output buffer is valid; otherwise, it returns FALSE.
Remarks
The output buffer includes the DEVICE_DSM_OUTPUT structure plus the output block that immediately follows it, if any.
See Data Set Management Overview for more details on handling a DSM.
Requirements
Requirement | Value |
---|---|
Header | ntddstor.h |