~~NOTOC~~
[[slave_control_api]] > [[BS2_GetDevicesCoreStation]]
----
===== BS2_GetDevicesCoreStation =====
검색된 CoreStation 장치를 가져옵니다.
==== 함수 ====
#include "BS_API.h"
int BS2_GetDevicesCoreStation(void* context, BS2_DEVICE_ID** deviceListObj, uint32_t* numDevice);
==== 파라미터 ====
* [In] ''//context//'' : Context
* [Out] ''//deviceListObj//'' : CoreStation 장치 ID 목록을 저장할 포인터
* [Out] ''//numDevice//'' : CoreStation 장치 수
**참고**\\
deviceListObj 변수는 사용한 뒤 [[BS2_ReleaseObject]] 함수를 이용해 시스템에 메모리를 반환해야 합니다.
==== 반환값 ====
성공적으로 수행될 경우 ''BS_SDK_SUCCESS''를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다.
==== 함께 보기 ====
[[BS2_SearchDevicesCoreStation]]