Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Note
The Network Access Protection platform is not available starting with Windows 10
The GetConfigFromID method is implemented by system health validators (SHVs) to provide a way to obtain configuration data for a specific configuration ID.
Syntax
HRESULT GetConfigFromID(
[in] UINT32 configID,
[out] UINT16 *count,
[out] BYTE **outdata
);
Parameters
-
configID [in]
-
A value that represents the configuration. If ConfigID is 0, the SHV should return the default configuration data in outdata.
-
count [out]
-
The size, in bytes, of the configuration data returned in outdata.
-
outdata [out]
-
On return, a BYTE array that contains the configuration data represented by ConfigID.
Return value
Returns one of the following error codes based on the result of this operation.
| Return code | Description |
|---|---|
|
The operation is successful. |
|
ConfigID cannot be found. |
Remarks
The NewConfig method must be used to allocate configuration data for ConfigID before this method can be called.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
None supported |
| Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
| Header |
|
| IDL |
|