MI_Context_ConstructInstance 함수(mi.h)
스택 또는 구조체의 멤버로 MI 클래스 instance 초기화합니다.
구문
MI_INLINE MI_Result MI_INLINE_CALL MI_Context_ConstructInstance(
[in] MI_Context *context,
[in] const MI_ClassDecl *classDecl,
[out] MI_Instance *instance
);
매개 변수
[in] context
요청 컨텍스트에 대한 포인터입니다.
[in] classDecl
instance 초기화하는 데 사용되는 클래스 선언에 대한 포인터입니다.
[out] instance
반환된 instance 대한 포인터입니다.
반환 값
이 함수는 MI_INLINE MI_Result MI_INLINE_CALL 반환합니다.
설명
스택 또는 힙에서 instance 대한 메모리를 예약해야 합니다. instance 사용을 마쳤으면 MI_Instance_Destruct 함수를 호출하여 삭제합니다.
요구 사항
요구 사항 | 값 |
---|---|
지원되는 최소 클라이언트 | 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 |