Export (0) Print
Expand All

IVsRegisterNewDialogFilters.RegisterNewProjectDialogFilter Method

Registers a new filter for the AddNewProject dialog.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in microsoft.visualstudio.shell.interop.8.0.dll)

int RegisterNewProjectDialogFilter (
	[InAttribute] IVsFilterNewProjectDlg pFilter,
	out uint pdwFilterCookie
)
int RegisterNewProjectDialogFilter (
	/** @attribute InAttribute() */ IVsFilterNewProjectDlg pFilter, 
	/** @attribute OutAttribute() */ /** @ref */ UInt32 pdwFilterCookie
)
JScript does not support passing value-type arguments by reference.

Parameters

pFilter

[in] Pointer to an IVsFilterNewProjectDlg interface representing the filter to register.

pdwFilterCookie

[out] Pointer to an integer containing a VSCOOKIE uniquely identifying the filter just registered. Needed for the UnregisterNewProjectDialogFilter method.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Community Additions

ADD
Show:
© 2015 Microsoft