C# Class cadencii.win32

显示文件 Open project: cadencii/cadencii

Public Properties

Property Type Description
INVALID_HANDLE_VALUE HANDLE

Public Methods

Method Description
MAKELONG ( int a, int b ) : int
joyGetDevCapsW ( uint uJoyID, JOYCAPSW &pjc, uint cbjc ) : uint
joyGetNumDevs ( ) : uint
joyGetPos ( uint uJoyID, JOYINFO &pji ) : uint
joyGetPosEx ( uint uJoyID, JOYINFOEX &pji ) : uint
midiInClose ( uint hMidiIn ) : uint
midiInGetDevCaps ( uint uDeviceID, MIDIINCAPS &lpMidiInCaps, uint cbMidiInCaps ) : uint
midiInGetNumDevs ( ) : uint
midiInOpen ( uint &lphMidiIn, int uDeviceID, IntPtr dwCallback, int dwCallbackInstance, int dwFlags ) : uint
midiInReset ( uint hMidiIn ) : uint
midiInStart ( uint hMidiIn ) : uint
midiOutClose ( IntPtr hMidiOut ) : uint
midiOutGetDevCapsA ( uint uDeviceID, MIDIOUTCAPSA &pMidiOutCaps, uint cbMidiOutCaps ) : uint
midiOutGetNumDevs ( ) : uint
midiOutLongMsg ( IntPtr hMidiOut, MIDIHDR &lpMidiOutHdr, uint uSize ) : uint
midiOutOpen ( IntPtr &lphMidiOut, uint uDeviceID, Delegate dwCallback, uint dwInstance, uint dwFlags ) : uint
midiOutPrepareHeader ( IntPtr hMidiOut, MIDIHDR &lpMidiOutHdr, uint uSize ) : uint
midiOutShortMsg ( IntPtr hMidiOut, uint dwMsg ) : uint
midiOutUnprepareHeader ( IntPtr hMidiOut, MIDIHDR &lpMidiOutHdr, uint uSize ) : uint

Private Methods

Method Description
AppendMenu ( IntPtr hMenu, uint uFlags, uint uIDNewItem, string lpNewItem ) : bool
ClientToScreen ( IntPtr hWnd, POINT &lpPoint ) : bool
CreateDirectoryW ( [ lpPathName, IntPtr lpSecurityAttributes ) : bool
CreateFileW ( [ lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, IntPtr lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile ) : HANDLE
CreateMenu ( ) : IntPtr
CreatePopupMenu ( ) : IntPtr
CreateWindowEx ( uint dwExStyle, string lpClassName, string lpWindowName, uint dwStyle, int x, int y, int nWidth, int nHeight, IntPtr hWndParent, IntPtr hMenu, IntPtr hInstance, int lpParam ) : IntPtr
DeleteCriticalSection ( IntPtr &lpCriticalSection ) : void
DeleteObject ( IntPtr hObject ) : bool
DestroyMenu ( IntPtr hMenu ) : bool
DestroyWindow ( IntPtr hWnd ) : bool
DeviceIoControl ( IntPtr hDevice, uint dwIoControlCode, byte lpInBuffer, uint nInBufferSize, [ lpOutBuffer, uint nOutBufferSize, IntPtr lpBytesReturned, IntPtr lpOverlapped ) : bool
DispatchMessage ( Message &msg ) : bool
EnterCriticalSection ( IntPtr &lpCriticalSection ) : void
EnumChildWindows ( IntPtr hWndParent, [ lpEnumFunc, int lParam ) : bool
EqualRect ( RECT &lprc1, RECT &lprc2 ) : bool
FreeLibrary ( IntPtr hModule ) : bool
GetClientRect ( IntPtr hWnd, RECT &lpRect ) : bool
GetFileAttributesW ( [ lpFileName ) : DWORD
GetFullPathNameW ( [ lpFileName, DWORD nBufferLength, [ lpBuffer, [ lpFilePart ) : DWORD
GetMessage ( Message &msg, int hWnd, uint wFilterMin, uint wFilterMax ) : bool
GetModuleFileName ( IntPtr hModule, IntPtr lpFilename, DWORD nSize ) : DWORD
GetProcAddress ( IntPtr hModule, string lpProcName ) : IntPtr
GetProfileString ( string lpAppName, string lpKeyName, string lpDefault, System.StringBuilder lpReturnedString, uint nSize ) : uint
GetShortPathNameW ( string longPath, System.StringBuilder shortPathBuffer, int bufferSize ) : int
GetWindowLongPtr ( IntPtr hWnd, int nIndex ) : IntPtr
GetWindowRect ( IntPtr hWnd, RECT &lpRect ) : bool
ImageList_Create ( int cx, int cy, uint flags, int cInitial, int cGrow ) : IntPtr
ImageList_Destroy ( IntPtr himl ) : bool
ImageList_GetImageCount ( IntPtr himl ) : int
InitCommonControlsEx ( INITCOMMONCONTROLSEX &ComCtls ) : bool
InitializeCriticalSection ( IntPtr &lpCriticalSection ) : void
InsertMenuItem ( IntPtr hMenu, uint uItem, bool fByPosition, MENUITEMINFO &lpmii ) : bool
IntersectRect ( RECT &lprcDst, RECT &lprcSrc1, RECT &lprcSrc2 ) : bool
InvalidateRect ( IntPtr hWnd, IntPtr lpRect, bool bErase ) : bool
LeaveCriticalSection ( IntPtr &lpCriticalSection ) : void
LoadLibraryExW ( [ lpFileName, IntPtr hFile, uint dwFlags ) : IntPtr
MessageBox ( int h, string m, string c, int type ) : int
MoveWindow ( IntPtr hWnd, int X, int Y, int nWidth, int nHeight, bool bRepaint ) : int
PeekMessage ( Message &msg, int hWnd, uint wFilterMin, uint wFilterMax, uint wFlag ) : bool
PostMessage ( IntPtr hWnd, int Msg, uint wParam, uint lParam ) : bool
RedrawWindow ( IntPtr hWnd, RECT &lprcUpdate, IntPtr hrgnUpdate, uint flags ) : bool
RegCloseKey ( uint hKey ) : int
RegEnumKeyExW ( uint hKey, uint dwIndex, [ pName, uint pcbName, uint pReserved, [ pClass, uint pcbClass, FILETIME pftLastWrite ) : int
RegOpenKeyExW ( uint hKey, [ pSubKey, uint ulOptions, uint samDesired, uint phkResult ) : int
RegQueryValueExW ( uint hKey, [ pValueName, uint pReserved, uint pType, byte pData, uint pcbData ) : int
SHGetFileInfo ( string pszPath, uint dwFileAttributes, SHFILEINFO &psfi, uint cbSizeFileInfo, uint uFlags ) : IntPtr
SendMessage ( IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam ) : uint
SendMessage ( IntPtr hWnd, int Msg, int wParam, COLORREF lParam ) : uint
SendMessage ( IntPtr hWnd, int Msg, int wParam, COLORSCHEME &lParam ) : uint
SendMessage ( IntPtr hWnd, int Msg, int wParam, IntPtr lParam ) : uint
SendMessage ( IntPtr hWnd, int Msg, int wParam, MARGINS &lParam ) : uint
SendMessage ( IntPtr hWnd, int Msg, int wParam, REBARBANDINFO &lParam ) : uint
SendMessage ( IntPtr hWnd, int Msg, int wParam, REBARINFO &lParam ) : uint
SendMessage ( IntPtr hWnd, int Msg, int wParam, RECT &lParam ) : uint
SendMessage ( IntPtr hWnd, int Msg, int wParam, TBBUTTONINFO &lParam ) : uint
SendMessage ( IntPtr hWnd, int Msg, uint wParam, uint lParam ) : uint
SetMenu ( IntPtr hWnd, IntPtr hMenu ) : bool
SetWindowLongPtr ( IntPtr hWnd, int nIndex, IntPtr dwNewLong ) : IntPtr
SetWindowPos ( IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags ) : bool
TrackMouseEvent ( TRACKMOUSEEVENT &lpEventTrack ) : bool
TrackPopupMenu ( IntPtr hMenu, uint uFlags, int x, int y, int nReserved, IntPtr hWnd, RECT &prcRect ) : int
TranslateMessage ( Message &msg ) : bool
WaitMessage ( ) : bool
WriteProfileString ( string section, string keyName, string value ) : bool
__joyGetDevCapsW ( uint uJoyID, JOYCAPSW &pjc, uint cbjc ) : uint
__joyGetNumDevs ( ) : uint
__joyGetPos ( uint uJoyID, JOYINFO &pji ) : uint
__joyGetPosEx ( uint uJoyID, JOYINFOEX &pji ) : uint
__midiInClose ( uint hMidiIn ) : uint
__midiInGetDevCaps ( [ uDeviceID, MIDIINCAPS &lpMidiInCaps, [ cbMidiInCaps ) : uint
__midiInGetNumDevs ( ) : uint
__midiInOpen ( uint &lphMidiIn, int uDeviceID, IntPtr dwCallback, int dwCallbackInstance, int dwFlags ) : uint
__midiInReset ( uint hMidiIn ) : uint
__midiInStart ( uint hMidiIn ) : uint
__midiOutClose ( [ hMidiOut ) : uint
__midiOutGetDevCapsA ( [ uDeviceID, MIDIOUTCAPSA &pMidiOutCaps, [ cbMidiOutCaps ) : uint
__midiOutGetNumDevs ( ) : uint
__midiOutLongMsg ( [ hMidiOut, MIDIHDR &lpMidiOutHdr, [ uSize ) : uint
__midiOutOpen ( [ lphMidiOut, [ uDeviceID, [ dwCallback, [ dwInstance, [ dwFlags ) : uint
__midiOutPrepareHeader ( [ hMidiOut, MIDIHDR &lpMidiOutHdr, [ uSize ) : uint
__midiOutShortMsg ( [ hMidiOut, [ dwMsg ) : uint
__midiOutUnprepareHeader ( [ hMidiOut, MIDIHDR &lpMidiOutHdr, [ uSize ) : uint
__so_midiInClose ( uint hMidiIn ) : uint
__so_midiInGetDevCaps ( [ uDeviceID, MIDIINCAPS &lpMidiInCaps, [ cbMidiInCaps ) : uint
__so_midiInGetNumDevs ( ) : uint
__so_midiInOpen ( uint &lphMidiIn, int uDeviceID, IntPtr dwCallback, int dwCallbackInstance, int dwFlags ) : uint
__so_midiInReset ( uint hMidiIn ) : uint
__so_midiInStart ( uint hMidiIn ) : uint
__so_midiOutClose ( [ hMidiOut ) : uint
__so_midiOutGetDevCapsA ( [ uDeviceID, MIDIOUTCAPSA &pMidiOutCaps, [ cbMidiOutCaps ) : uint
__so_midiOutGetNumDevs ( ) : uint
__so_midiOutLongMsg ( [ hMidiOut, MIDIHDR &lpMidiOutHdr, [ uSize ) : uint
__so_midiOutOpen ( [ lphMidiOut, [ uDeviceID, [ dwCallback, [ dwInstance, [ dwFlags ) : uint
__so_midiOutPrepareHeader ( [ hMidiOut, MIDIHDR &lpMidiOutHdr, [ uSize ) : uint
__so_midiOutShortMsg ( [ hMidiOut, [ dwMsg ) : uint
__so_midiOutUnprepareHeader ( [ hMidiOut, MIDIHDR &lpMidiOutHdr, [ uSize ) : uint
mciGetErrorStringA ( uint mcierr, [ pszText, UINT cchText ) : bool
waveOutClose ( IntPtr hwo ) : uint
waveOutGetPosition ( IntPtr hwo, MMTIME &pmmt, UINT cbmmt ) : uint
waveOutOpen ( IntPtr &hWaveOut, int uDeviceID, WAVEFORMATEX &lpFormat, delegateWaveOutProc dwCallback, IntPtr dwInstance, uint dwFlags ) : uint
waveOutPrepareHeader ( IntPtr hwo, WAVEHDR &pwh, UINT cbwh ) : uint
waveOutReset ( IntPtr hwo ) : uint
waveOutUnprepareHeader ( IntPtr hwo, WAVEHDR &pwh, UINT cbwh ) : uint
waveOutWrite ( IntPtr hwo, WAVEHDR &pwh, uint cbwh ) : uint

Method Details

MAKELONG() public static method

public static MAKELONG ( int a, int b ) : int
a int
b int
return int

joyGetDevCapsW() public static method

public static joyGetDevCapsW ( uint uJoyID, JOYCAPSW &pjc, uint cbjc ) : uint
uJoyID uint
pjc JOYCAPSW
cbjc uint
return uint

joyGetNumDevs() public static method

public static joyGetNumDevs ( ) : uint
return uint

joyGetPos() public static method

public static joyGetPos ( uint uJoyID, JOYINFO &pji ) : uint
uJoyID uint
pji JOYINFO
return uint

joyGetPosEx() public static method

public static joyGetPosEx ( uint uJoyID, JOYINFOEX &pji ) : uint
uJoyID uint
pji JOYINFOEX
return uint

midiInClose() public static method

public static midiInClose ( uint hMidiIn ) : uint
hMidiIn uint
return uint

midiInGetDevCaps() public static method

public static midiInGetDevCaps ( uint uDeviceID, MIDIINCAPS &lpMidiInCaps, uint cbMidiInCaps ) : uint
uDeviceID uint
lpMidiInCaps MIDIINCAPS
cbMidiInCaps uint
return uint

midiInGetNumDevs() public static method

public static midiInGetNumDevs ( ) : uint
return uint

midiInOpen() public static method

public static midiInOpen ( uint &lphMidiIn, int uDeviceID, IntPtr dwCallback, int dwCallbackInstance, int dwFlags ) : uint
lphMidiIn uint
uDeviceID int
dwCallback IntPtr
dwCallbackInstance int
dwFlags int
return uint

midiInReset() public static method

public static midiInReset ( uint hMidiIn ) : uint
hMidiIn uint
return uint

midiInStart() public static method

public static midiInStart ( uint hMidiIn ) : uint
hMidiIn uint
return uint

midiOutClose() public static method

public static midiOutClose ( IntPtr hMidiOut ) : uint
hMidiOut IntPtr
return uint

midiOutGetDevCapsA() public static method

public static midiOutGetDevCapsA ( uint uDeviceID, MIDIOUTCAPSA &pMidiOutCaps, uint cbMidiOutCaps ) : uint
uDeviceID uint
pMidiOutCaps MIDIOUTCAPSA
cbMidiOutCaps uint
return uint

midiOutGetNumDevs() public static method

public static midiOutGetNumDevs ( ) : uint
return uint

midiOutLongMsg() public static method

public static midiOutLongMsg ( IntPtr hMidiOut, MIDIHDR &lpMidiOutHdr, uint uSize ) : uint
hMidiOut IntPtr
lpMidiOutHdr MIDIHDR
uSize uint
return uint

midiOutOpen() public static method

public static midiOutOpen ( IntPtr &lphMidiOut, uint uDeviceID, Delegate dwCallback, uint dwInstance, uint dwFlags ) : uint
lphMidiOut IntPtr
uDeviceID uint
dwCallback Delegate
dwInstance uint
dwFlags uint
return uint

midiOutPrepareHeader() public static method

public static midiOutPrepareHeader ( IntPtr hMidiOut, MIDIHDR &lpMidiOutHdr, uint uSize ) : uint
hMidiOut IntPtr
lpMidiOutHdr MIDIHDR
uSize uint
return uint

midiOutShortMsg() public static method

public static midiOutShortMsg ( IntPtr hMidiOut, uint dwMsg ) : uint
hMidiOut IntPtr
dwMsg uint
return uint

midiOutUnprepareHeader() public static method

public static midiOutUnprepareHeader ( IntPtr hMidiOut, MIDIHDR &lpMidiOutHdr, uint uSize ) : uint
hMidiOut IntPtr
lpMidiOutHdr MIDIHDR
uSize uint
return uint

Property Details

INVALID_HANDLE_VALUE public_oe static_oe property

public static HANDLE INVALID_HANDLE_VALUE
return HANDLE