yucad3d

CadFileOpenMem

Loads a drawing from an in-memory, NUL-terminated DXF buffer.

std::int32_t CadFileOpenMem ( YuHandle hDwg, void* hWin, void* pMem );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
hWin (void*)
Host window handle (Win32 HWND, passed as an opaque pointer).
pMem (void*)
Pointer to the in-memory drawing (NUL-terminated DXF text, the same convention as CadFileOpenMem).

Return Value

Nonzero (TRUE) on success, 0 (FALSE) on failure.

See Also