IVsRegisterNewDialogFilters::RegisterNewProjectDialogFilter Method (IVsFilterNewProjectDlg^, UInt32)
Visual Studio 2015
Registers a new filter for the Add New Project dialog.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int RegisterNewProjectDialogFilter( IVsFilterNewProjectDlg^ pFilter, [OutAttribute] unsigned int% pdwFilterCookie )
Parameters
- pFilter
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsFilterNewProjectDlg^
[in] Pointer to an IVsFilterNewProjectDlg interface representing the filter to register.
- pdwFilterCookie
-
Type:
System::UInt32
[out] Pointer to an integer containing a VSCOOKIE uniquely identifying the filter just registered. Needed for the UnregisterNewProjectDialogFilter method.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: