ADIC Digital Camera 601355 Rev A 사용자 설명서

다운로드
페이지 1192
API Guide
2-302
API Functions
601355 Rev A
VS_
MediaType_
Destroy
VS_MediaType_Destroy
 deallocates a VolServ API media 
type handle that was allocated with 
VS_MediaType_Create
. A media type handle is used to 
pass information to and from VolServ.
Synopsis
VST_BOOLEAN VS_MediaType_Destroy
(VST_MEDIATYPE_HANDLE handle)
Arguments
handle = The media type handle to be destroyed.
Return Values
VS_MediaType_Destroy
 returns:
VSE_TRUE
 - Successful execution.
VSE_FALSE
 - API failure - An appropriate error code is set 
in 
VSG_Error
.
VSE_ERR_BADHANDLE
 - Specified handle was not a 
media type handle.
VSE_ERR_NULLHANDLE
 - Specified handle was a null 
pointer.
Example
1
/****************************************
*********
2
*
3
* FUNCTION: vst_mediatype_handle
4
*
5
* PURPOSE:
6
* This function tests a mediatype 
handle.
7
*
8
* PARAMETERS:
9
* none
10 *