Uwaga
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Gets the default scan profile.
Syntax
HRESULT GetDefaultProfile(
[in] BSTR bstrDeviceID,
[out] IScanProfile **ppScanProfile
);
Parameters
-
bstrDeviceID [in]
-
Type: BSTR
The ID of the device.
-
ppScanProfile [out]
-
Type: IScanProfile**
The address of a pointer to the device's default profile.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The default profile has a <Default>
element.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
IDL |
|
See also