EPDM IEdmBatchAdd::CommitAdd Help

Hello Everyone,

I am having an issue with EPDM. I am using the CommitAdd method, and want the arguments lHwnd(parent window handle) = null (type long). I mainly just don't want any window to pop up. How do I call it nothing or null in C#? The API_GB.Chm does not tell you if anyone can help I would greatly appreciate this.

IEdmBatchAdd::CommitAdd

This method commits the batch and adds all files and folders to the vault.

Prototype

HRESULT CommitAdd( [in] long lHwnd,
[in,out] SAFEARRAY ( struct EdmFileInfo ) *ppoRetFiles,
[in,defaultvalue(0)] long lEdmBatchAddFlags,
[in,defaultvalue(0)] IUnknown *poCallback,
[out,retval] long *plFileCount );

Arguments

Type

Description

lHwnd

long

Parent window handle (sent to add-ins).

ppoRetFiles

SAFEARRAY ( struct EdmFileInfo )*

Returned array of information about created files and folders.

lEdmBatchAddFlags

long

A combination of EdmBatchAddFlag bits.

poCallback

IUnknown*

Optional callback interface that can provide the caller with progress bar information etc. The argument can either be an IEdmCallback or an IEdmCallback6.

plFileCount

long*

The returned number of elements in ppoRetFiles.

SolidworksSolidworks Pdm enterprise Pdm