IDSF::SetDriverFlags Method
The SetDriverFlags method sets the given driver's debug flags.
Syntax
HRESULT SetDriverFlags(
[in] BSTR DriverGuid,
[in] DSFFlagType FlagType,
[in] unsigned long Flags
);
Parameters
DriverGuid [in]
The GUID of the driver whose flags are to be updated.FlagType [in]
The type of flags to be updated.Flags [in]
A new value for the debug flags.
Return Value
SetDriverFlags returns S_OK if the driver flags are set correctly.
This method can also return many standard COM return values.
Examples
The following VBScript code example shows you how to set the debug flags for the given driver.
Dim DSF : Set DSF = CreateObject("DSF.DSF")
' Turn on all logging
DSF.SetDriverFlags "{71db82b3-a01c-409c-904d-4c7848311a97}" , 0 , &HFFFFFFF
DSF.SetDriverFlags "{71db82b3-a01c-409c-904d-4c7848311a97}" , 1 , &HFFFFFFF
Requirements
Header |
DSFif.h |
See Also
Send comments about this topic to Microsoft
Build date: 9/21/2010