Ejemplo n.º 1
0
 public static HWND CreateWindow(
     [In, Optional] LPWSTR lpClassName,
     [In, Optional] LPWSTR lpWindowName,
     [In] WS dwStyle,
     [In] int X,
     [In] int Y,
     [In] int nWidth,
     [In] int nHeight,
     [In, Optional] HWND hWndParent,
     [In, Optional] HMENU hMenu,
     [In, Optional] HINSTANCE hInstance,
     [In] void *lpParam
     )
 {
     return(CreateWindowEx(
                (WS_EX.LEFT | WS_EX.LTRREADING | WS_EX.LEFTSCROLLBAR),
                lpClassName,
                lpWindowName,
                dwStyle,
                X,
                Y,
                nWidth,
                nHeight,
                hWndParent,
                hMenu,
                hInstance,
                lpParam
                ));
 }
Ejemplo n.º 2
0
 public static extern HWND CreateWindowEx(
     [In] WS_EX dwExStyle,
     [In, Optional] LPWSTR lpClassName,
     [In, Optional] LPWSTR lpWindowName,
     [In] WS dwStyle,
     [In] int X,
     [In] int Y,
     [In] int nWidth,
     [In] int nHeight,
     [In, Optional] HWND hWndParent,
     [In, Optional] HMENU hMenu,
     [In, Optional] HINSTANCE hInstance,
     [In] void *lpParam
     );
Ejemplo n.º 3
0
 public static extern HMODULE GetModuleHandle(
     [In, Optional] LPWSTR lpModuleName
     );
Ejemplo n.º 4
0
 public static extern BOOL UnregisterClass(
     [In] LPWSTR lpClassName,
     [In, Optional] HINSTANCE hInstance
     );