Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

OpenFileName (Structures)
 
.
Summary
TODO - a short description

C# Definition:

[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)]
public class OpenFileName
{
    int lstructSize;
    int hwndOwner;
    int hInstance;
    string lpstrFilter = null;
    string lpstrCustomFilter = null;
    int lMaxCustomFilter;
    int lFilterIndex;
    string lpstrFile = null;
    int lMaxFile = 0;
    string lpstrFiteTitle = null;
    int lMaxFileTitle = 0;
    string lpstrInitialDir = null;
    string lpstrTitle = null;
    int lFlags;
    ushort nFileOffset;
    ushort nFileExtension;
    string lpstrDefExt = null;
    int lCustData;
    int lpfHook;
    int lpTemplateName;
}

VB Definition:

Structure OpenFileName
   Dim lStructSize As Integer ' Filled with UDT size
   Dim hwndOwner As Integer ' Tied to Owner
   Dim hInstance As Integer ' Ignored
   Dim lpstrFilter As String ' Tied to Filter
   Dim lpstrCustomFilter As String ' Ignored
   Dim nMaxCustFilter As Integer ' Ignored
   Dim nFilterIndex As Integer ' Tied to FilterIndex
   Dim lpstrFile As String ' Tied to FileName
   Dim nMaxFile As Integer ' Handled internally
   Dim lpstrFileTitle As String ' Tied to FileTitle
   Dim nMaxFileTitle As Integer ' Handled internally
   Dim lpstrInitialDir As String ' Tied to InitDir
   Dim lpstrTitle As String ' Tied to DlgTitle
   Dim Flags As Integer ' Tied to Flags
   Dim nFileOffset As Short ' Ignored
   Dim nFileExtension As Short ' Ignored
   Dim lpstrDefExt As String ' Tied to DefaultExt
   Dim lCustData As Integer ' Ignored
   Dim lpfnHook As Integer ' Ignored
   Dim lpTemplateName As Integer ' Ignored
End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions