Using WINAPI methods...
C#
2
Posts
2
Posters
0
Views
1
Watching
-
how we can use winapi methods in c# regards' Amir Jalaly
-
how we can use winapi methods in c# regards' Amir Jalaly
Nick Seng already gave you a helpful link below. P/Invoke uses the
DllImportAttribute
on external function declarations. You should read the SDK documentation for theSystem.Runtime.InteropServices
namespace elements, include theMarshalAsAttribute
which helps the framework marshal parameters (when necessary) for native functions and COM interop.-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----