src/Foundation/Media/Gimela.Media.Video.DirectShow/Internals/Win32.cs
/// <summary>
/// Invokes a new property frame, that is, a property sheet dialog box.
/// </summary>
/// 
/// <param name="hwndOwner">Parent window of property sheet dialog box.</param>
/// <param name="x">Horizontal position for dialog box.</param>
/// <param name="y">Vertical position for dialog box.</param>
/// <param name="caption">Dialog box caption.</param>
/// <param name="cObjects">Number of object pointers in <b>ppUnk</b>.</param>
/// <param name="ppUnk">Pointer to the objects for property sheet.</param>
/// <param name="cPages">Number of property pages in <b>lpPageClsID</b>.</param>
/// <param name="lpPageClsID">Array of CLSIDs for each property page.</param>
/// <param name="lcid">Locale identifier for property sheet locale.</param>
/// <param name="dwReserved">Reserved.</param>
/// <param name="lpvReserved">Reserved.</param>
/// 
/// <returns>Returns <b>S_OK</b> on success.</returns>
/// 
Invokes a new property frame, that is, a property sheet dialog box.
Invokes a new property frame that is a property sheet dialog box .
[DllImport("oleaut32.dll")]
    public static extern int OleCreatePropertyFrame(
        IntPtr hwndOwner,
        int x,
        int y,
        [MarshalAs(UnmanagedType.LPWStr)] string caption,
        int cObjects,
        [MarshalAs(UnmanagedType.Interface, ArraySubType = UnmanagedType.IUnknown)] 
            ref object ppUnk,
        int cPages,
        IntPtr lpPageClsID,
        int lcid,
        int dwReserved,
        IntPtr lpvReserved);
[ DllImport ( " " ) ] public static extern int OleCreatePropertyFrame ( IntPtr hwndOwner , int x , int y , [ MarshalAs ( UnmanagedType . LPWStr ) ] string caption , int cObjects , [ MarshalAs ( UnmanagedType . Interface , ArraySubType = UnmanagedType . IUnknown ) ] ref object ppUnk , int cPages , IntPtr lpPageClsID , int lcid , int dwReserved , IntPtr lpvReserved ) ;
Invokes a new property frame, that is, a property sheet dialog box.
Invokes a new property frame that is a property sheet dialog box .
None
hwndOwner
IntPtr
Parent window of property sheet dialog box.
Parent window of property sheet dialog box .
x
int
Horizontal position for dialog box.
Horizontal position for dialog box .
y
int
Vertical position for dialog box.
Vertical position for dialog box .
string
[MarshalAs(UnmanagedType.LPWStr)]
cObjects
int
Number of object pointers in ppUnk
Number of object pointers in ppUnk
ref
[MarshalAs(UnmanagedType.Interface, ArraySubType = UnmanagedType.IUnknown)]
cPages
int
Number of property pages in lpPageClsID
Number of property pages in lpPageClsID
lpPageClsID
IntPtr
Array of CLSIDs for each property page.
Array of CLSIDs for each property page .
lcid
int
Locale identifier for property sheet locale.
Locale identifier for property sheet locale .
dwReserved
int
None
lpvReserved
IntPtr
None
caption
Dialog box caption.
Dialog box caption .
ppUnk
Pointer to the objects for property sheet.
Pointer to the objects for property sheet .