Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
1/6/2010
This method gets the maximum number of alternates that should be generated for the specified CFG rule.
Syntax
HRESULT GetMaxAlternates(
SPRULEHANDLE hRule,
ULONG* pulNumAlts
);
Parameters
- hRule
[in] Handle to the rule to check.
- pulNumAlts
[out] Pointer to the maximum number of alternates for the rule.
Return Value
The following table shows the possible return values.
| Value | Description |
|---|---|
S_OK |
Function completed successfully. |
E_POINTER |
pulNumAlts is invalid or bad. |
FAILED(hr) |
Appropriate error message. |
Requirements
| Header | sapiddk.h, sapiddk.idl |
| Library | sapilib.lib |
| Windows Embedded CE | Windows CE .NET 4.1 and later |