Quantcast
Channel: Adobe Community : Popular Discussions - After Effects SDK
Viewing all articles
Browse latest Browse all 73444

CreateNewFolder: Mismatch between SDK function and documentation

$
0
0

Hi,

 

There is a mismatch between SDK documentation and actual API function.

 

SDK Documentation:

Creates a new folder in the project. The newly created

folder is allocated and owned by After Effects. Passing

NULL for parent_folderH0 creates the folder at the

project’s root.

AEGP_CreateNewFolder( 

          const A_UTF16Char *nameZ, 

          AEGP_ProjectH  projH), 

          AEGP_ItemH  parentH0), 

          AEGP_ItemH  *new_folderPH);


On the other side, the callback declaration looks slightly different:

SPAPI A_Err (*AEGP_CreateNewFolder)(

const A_UTF16Char        *nameZ,                                /* >> null terminated UTF16 */

AEGP_ItemH                        parent_folderH0,                /* >> */

AEGP_ItemH                        *new_folderPH);                        /* << allocated and owned by AE */



So the question is: what's teh parent_FolderH0 and how do I get it?


Best regards,

Yuri

 

         



Viewing all articles
Browse latest Browse all 73444

Latest Images

Trending Articles



Latest Images