이전에 사용하도록 설정된 채널의 목록을 가져옵니다.
구문
MI_INLINE MI_Result MI_OperationOptions_GetEnabledChannels(
[in] MI_OperationOptions *options,
MI_Uint32 *channels,
[in] MI_Uint32 bufferLength,
[out] MI_Uint32 *channelCount,
[out, optional] MI_Uint32 *flags
);
매개 변수
[in] options
MI_OperationOptions 구조체입니다.
channels
활성화된 모든 채널의 수를 포함하는 반환된 버퍼입니다.
[in] bufferLength
채널 버퍼의 길이(요소) 입니다 . 0이면 반환된 channelCount 값에 채널 버퍼의 규모 가 반영됩니다.
[out] channelCount
활성화된 채널 수입니다.
[out, optional] flags
사용되지 않습니다.
반환 값
함수 반환 코드를 지정하는 MI_Result 열거형의 값입니다. 다음 코드 중 하나일 수 있습니다.
요구 사항
| 요구 사항 | 값 |
|---|---|
| 지원되는 최소 클라이언트 | Windows 8 |
| 지원되는 최소 서버 | Windows Server 2012 |
| 대상 플랫폼 | Windows |
| 헤더 | mi.h |
| 재배포 가능 파일 | windows Server 2008 R2 SP1, Windows 7 SP1 및 Windows Server 2008 SP2의 Windows Management Framework 3.0 |