Name

Public Const CDM_GETFOLDERPATH = (CDM_FIRST + &H2)

Synopsis

wParam

Size of the buffer pointed to by lParam.

lParam

Pointer to a buffer, which gets the path and filename.

Description

Gets the path of the opened folder in an Open or Save As common dialog box.

Return Value

A negative number indicates failure; otherwise, the number indicates the length of the path, filename, and terminating null character.

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.